serhii.net

In the middle of the desert you can say anything you want

06 Feb 2019

Day 37. Python and game theory

Aaand after a short downtime we start again! Today I will be reviewing again all the basics of Python OOP and playing with some game theory by programming a simple simulator, having open the PEP 8 — Style Guide, and focusing on not bottoming-out my keyboard keys.

Python

  • Ankify import random and randInt(x, y)
  • This is how __init__ and inheritance work in Python.

Scratchbox/stack

  • How does the apropos thing work? Do I need to create a database for it? I think it worked out of the box before.
    • I needed to run mandb as root, and apparently need to do it every time a enew man page is added
Nel mezzo del deserto posso dire tutto quello che voglio.
comments powered by Disqus