Kyy 0.2 Beta – Python Cheatsheet in Code

Kyy is Tero’s Python Cheatsheet in Code. Kyy shows you how to program the most common things in Python. Each concept is shown as a separate, stand alone program. This is the obvious stuff I don’t want to search for when I’m coding.

  • Hello world (UTF-8 scandic letters, main(), sys.exit)
  • Parsing command line arguments (argparse, globbing)
  • Regular expressions (sub, match, pgrep, string to list)
  • File manipulation (read file by line, slurp, with, write a file)
  • Directories (mkdir -p, recursion, os.walk)
  • Exception handling (try-except, raise, errno)
  • Network (sniffer in five lines)

Kyy – Tero’s Python Cheatsheet in Code.

Kyy is 0.2 beta. The examples are in funny order and there are no unit tests. Edit: split preview, added image

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , , | Leave a comment

Leave a Reply

Your email address will not be published. Required fields are marked *



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

  • Recent Posts

  • Picks

  • Boxing Clock for AndroidOcton8 Diving T-ShirtsShaking Tower Panda Android GameLearn Chinese with Android
  • Student projects