Author Archive
 
 
 
General Tips & Tricks
 
memory
memory
memory

Memory for Random Generation Scripts

Python scripts can be used to create many things – shoes and ships and sealing wax, cabbages and kings – and to do many things – to make the sea boiling hot, and give pigs some wings. You will perhaps want to ...
 
Python Programming
 
563px-Markovkate_01
563px-Markovkate_01
563px-Markovkate_01

Python Script for Markov Chains

Consider the following problem in order to understand why we would need to create a Python Script for Markov Chains: A certain attire-fickle girl changes her outfit every hour. Her opinion for what outfit she should wear is alw...

 
Python Programming
 
alg2_ineq
alg2_ineq
alg2_ineq

Graphing Linear Inequalities with Python

Here is a practical example of the matplotlib.pyplot module in use. This code generates a list of linear inequalities, prints them in numbered groups (such as if you were to be creating worksheets for students), and then displa...
 
Python Programming
 
Go_board
Go_board
Go_board

Read, Set, Go! How to Create a GO Board Game in Python

The board game of Go is so expressly Japanese – elegant, yet simple, yet layered with depths of genius for those who meditate upon it. The rules are simple, and well documented here. Here is an example of a python program...
 
Python Programming
 
qml-tic-tac-toe-example
qml-tic-tac-toe-example
qml-tic-tac-toe-example

Code A Learn By Mistake Artificial Intelligence Opponent in Python For a Tic Tac Toe Game

I was going to write about how to get SkyNet up and operational, but then I decided that I would like the human race to continue. So, instead, I thought I would introduce a very simple strategy AI that can learn how to play any...

 
Funny / Interesting
 
472097903_b781a0f4f8
472097903_b781a0f4f8
472097903_b781a0f4f8

How to Say “Hello World” In Various Languages – A Funny Approach

It’s been 39 years, and still we honor Kernigham’s greatest contribution to computer science: the Hello World program. The classic main() { printf(“hello, world”); } has been translated into trillions up...