Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Learning Python

27 views
Skip to first unread message

Asad Hasan

unread,
May 25, 2013, 8:41:11 AM5/25/13
to Pytho...@python.org
Hi All ,

         I have started leaning Python through web . Would like to know if I should follow any book so that basics become clear with examples also want to know like in perl i use to invoke perl -d to get a debugged output is there any option in python.

THanks,

Steven D'Aprano

unread,
May 25, 2013, 10:35:47 AM5/25/13
to
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

Carlos Nepomuceno

unread,
May 25, 2013, 1:26:53 PM5/25/13
to pytho...@python.org
________________________________
> Date: Sat, 25 May 2013 18:11:11 +0530
> Subject: Learning Python
> From: pytho...@gmail.com
> To: Pytho...@python.org
>
> Hi All ,
>
> I have started leaning Python through web . Would like to know
> if I should follow any book so that basics become clear with examples
> also want to know like in perl i use to invoke perl -d to get a
> debugged output is there any option in python.
>
> THanks,
>
> -- http://mail.python.org/mailman/listinfo/python-list


I have used those:

"Dive into Python" (2004)[1]
"Python Programming" (2012)[2]
"Programming Python, 3rd Ed" (2006) [print]
 
[1] http://www.diveintopython.net/
[1] http://en.wikibooks.org/wiki/Python_Programming

0 new messages