Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #45990 > unrolled thread

Learning Python

Started byAsad Hasan <pythonasad@gmail.com>
First post2013-05-25 18:11 +0530
Last post2013-05-25 14:35 +0000
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  Learning Python Asad Hasan <pythonasad@gmail.com> - 2013-05-25 18:11 +0530
    Re: Learning Python Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-25 14:35 +0000

#45990 — Learning Python

FromAsad Hasan <pythonasad@gmail.com>
Date2013-05-25 18:11 +0530
SubjectLearning Python
Message-ID<mailman.2131.1369486567.3114.python-list@python.org>

[Multipart message — attachments visible in raw view] — view raw

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,

[toc] | [next] | [standalone]


#45997

FromSteven D'Aprano <steve+comp.lang.python@pearwood.info>
Date2013-05-25 14:35 +0000
Message-ID<51a0cc42$0$30002$c3e8da3$5496439d@news.astraweb.com>
In reply to#45990
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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web