Python

From ASSS Wiki
Jump to: navigation, search

Quick links to learning python. Source: SA Thread

The Language

Some really neat things to check-out regarding lamdas

If you were to have only one Python quick reference, this would have to be it!

Some very awesome Python HOWTOs from a guy named Andrew Kuchling

If you're a FireFox/Mozilla guy like I am, you'll certainly appreciate this awesome Python Sidebar!

Python with ASSS

Writing Modules In Python

Optimization

Python Performance Tips

Python Optimization Tips

Both of these are GREAT reads.

Debugging/profiling

Python has two very slick tools to instigate a better debug routine. First, allow me to introduce you to PDB

The module pdb defines an interactive source code debugger for Python programs. It supports setting (conditional) breakpoints and single stepping at the source line level, inspection of stack frames, source code listing, and evaluation of arbitrary Python code in the context of any stack frame. It also supports post-mortem debugging and can be called under program control.

Also, you should get acquainted with the Python Profiler. This guy will help you find exactly what is choking your application -- between the debugger and profiler, I think you could almost tackle anything.

Lastly, you should really take a look at Python's Unicode facilities -- Data encoding is a big thing these days. Here is a link on that.

External Links