Difference between revisions of "Python"

From ASSS Wiki
Jump to: navigation, search
(Initial Learning Python links, will expand later)
 
m (added link to Writing Modules In Python)
Line 10: Line 10:
  
 
[http://projects.edgewall.com/python-sidebar/ If you're a FireFox/Mozilla guy like I am, you'll certainly appreciate this awesome Python Sidebar!]
 
[http://projects.edgewall.com/python-sidebar/ If you're a FireFox/Mozilla guy like I am, you'll certainly appreciate this awesome Python Sidebar!]
 +
 +
'''ASSS'''
 +
 +
[[Writing Modules In Python]]
  
 
'''Optimization'''
 
'''Optimization'''

Revision as of 09:27, 13 March 2006

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!

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.


Python Cheat Sheet
Dive into Python
How to Think Like a Computer Scientist: Learning with Python