Learning Python

Steven D'Aprano steve+comp.lang.python at pearwood.info
Sat May 25 10:35:47 EDT 2013


On Sat, 25 May 2013 18:11:11 +0530, Asad Hasan wrote:

> I have started leaning Python through web . Would like to know
> if I should follow any book so that basics become clear with examples 

Reading books is a good thing to do.


> also
> want to know like in perl i use to invoke perl -d to get a debugged
> output is there any option in python.

Yes. Instead of calling your script like this:

    python myscript.py

call it like this:

    python -m pdb myscript.py



-- 
Steven



More information about the Python-list mailing list