[Tutor] visualizing code structure / flow charting

2007-11-06 Thread Timmie
Hello, I am stepping forward into learning python and write my first programs now. To facilitate my development I have a question: Is there a tool which I can run on my code and then get a flow chart from it or visualize its structure in another form? There was a discussion about that soem time

Re: [Tutor] visualizing code structure / flow charting

2007-11-06 Thread Kent Johnson
Timmie wrote: > Hello, > I am stepping forward into learning python and write my first programs now. > To facilitate my development I have a question: > > Is there a tool which I can run on my code and then get a flow chart from it > or > visualize its structure in another form? http://pycallgra

Re: [Tutor] visualizing code structure / flow charting

2007-11-06 Thread bhaaluu
Greetings, On Nov 6, 2007 4:15 AM, Timmie <[EMAIL PROTECTED]> wrote: > Hello, > I am stepping forward into learning python and write my first programs now. > To facilitate my development I have a question: > > Is there a tool which I can run on my code and then get a flow chart from it > or > vis

Re: [Tutor] visualizing code structure / flow charting

2007-11-06 Thread Wesley Brooks
Following on from the comments above two things I've found really helpful are the __doc__ strings and the exec command. for example: >>> a = 'a random string' >>> dir(a) ['__add__', '__class__', '__contains__', '__delattr__', '__doc__', '__eq__', '__ge__', '__getattribute__', '__getitem__', '__ge

Re: [Tutor] visualizing code structure / flow charting

2007-11-06 Thread Scott SA
On 11/6/07, Wesley Brooks ([EMAIL PROTECTED]) wrote: >Taking both one step further if you can extract all the __doc__ >strings for all the objects listed from the dir of an object: > >a = 'a random string' >for i in dir(a): >command = "print str." + i + ".__doc__" >exec(command) > >This wi

Re: [Tutor] visualizing code structure / flow charting

2007-11-06 Thread Dave Kuhlman
On Tue, Nov 06, 2007 at 07:36:51AM -0500, Kent Johnson wrote: > Timmie wrote: > > Hello, > > I am stepping forward into learning python and write my first programs now. > > To facilitate my development I have a question: > > > > Is there a tool which I can run on my code and then get a flow chart

[Tutor] New Introductory Book

2007-11-06 Thread Michael H. Goldwasser
We are pleased to announce the release of a new Python book. Object-Oriented Programming in Python by Michael H. Goldwasser and David Letscher Prentice Hall, 2008 (available as of 10/29/2007) The book differs greatly from existing introductory Python books as it w

Re: [Tutor] New Introductory Book

2007-11-06 Thread Rikard Bosnjakovic
On 06/11/2007, Michael H. Goldwasser <[EMAIL PROTECTED]> wrote: >We are pleased to announce the release of a new Python book. [...yadayada...] I thought this list was supposed to be clean from commercial advertisements. -- - Rikard. ___ Tutor ma

Re: [Tutor] visualizing code structure / flow charting

2007-11-06 Thread Timmie
> > Is there a tool which I can run on my code and then get a flow chart from it or > > visualize its structure in another form? > > http://pycallgraph.slowchop.com/ will show the call graph I think this is exactly what I was after. I still need to install Graphviz but from the homepage it seems

Re: [Tutor] New Introductory Book

2007-11-06 Thread Kent Johnson
Rikard Bosnjakovic wrote: > On 06/11/2007, Michael H. Goldwasser <[EMAIL PROTECTED]> wrote: > >>We are pleased to announce the release of a new Python book. > > [...yadayada...] > > I thought this list was supposed to be clean from commercial advertisements. I don't think there is a specifi

Re: [Tutor] New Introductory Book

2007-11-06 Thread jay
I agree as well. Its not like there is a flood of these books coming out, or emails slamming the list announcing them. Jay On Nov 6, 2007 1:38 PM, Kent Johnson <[EMAIL PROTECTED]> wrote: > Rikard Bosnjakovic wrote: > > On 06/11/2007, Michael H. Goldwasser <[EMAIL PROTECTED]> wrote: > > > >>W

Re: [Tutor] New Introductory Book

2007-11-06 Thread Jeff Johnson
As far as I am concerned this may be a commercial advertisement, but is it a book on Python to help people learn Python. I get all of my information from books and then turn to the lists (Tutor being one) to get my questions asked or what I have learned clarified. I have a difficult time read

Re: [Tutor] New Introductory Book

2007-11-06 Thread Chris Calloway
Michael H. Goldwasser wrote: >We are pleased to announce the release of a new Python book. Why is this book $102? -- Sincerely, Chris Calloway http://www.seacoos.org office: 332 Chapman Hall phone: (919) 962-4323 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 ___

Re: [Tutor] New Introductory Book

2007-11-06 Thread wesley chun
On 11/6/07, Kent Johnson <[EMAIL PROTECTED]> wrote: > Rikard Bosnjakovic wrote: > > On 06/11/2007, Michael H. Goldwasser <[EMAIL PROTECTED]> wrote: > >>We are pleased to announce the release of a new Python book. > > I thought this list was supposed to be clean from commercial advertisements. >

Re: [Tutor] New Introductory Book

2007-11-06 Thread Alex Ezell
On 11/6/07, Chris Calloway <[EMAIL PROTECTED]> wrote: > Michael H. Goldwasser wrote: > >We are pleased to announce the release of a new Python book. > > Why is this book $102? Supply and demand aside, I suspect the market for this, based on both the publisher and the author's employment, is mo

Re: [Tutor] New Introductory Book

2007-11-06 Thread Michael H. Goldwasser
Thanks to the many voices supporting our decision to post to Tutor. We only posted to the most directly relevant mailing lists (announce, tutor, edusig). As an introductory book, it seemed quite appropriate for tutor. In fact, the topic of our (developing) book was raised in a thread on Tutor th

Re: [Tutor] New Introductory Book

2007-11-06 Thread Eric Brunson
Michael H. Goldwasser wrote: > Thanks to the many voices supporting our decision to post to Tutor. > We only posted to the most directly relevant mailing lists (announce, > tutor, edusig). As an introductory book, it seemed quite appropriate > for tutor. > > In fact, the topic of our (developing)

Re: [Tutor] New Introductory Book

2007-11-06 Thread Eric Lake
For that price the book better write my code for me. Alex Ezell wrote: > On 11/6/07, Chris Calloway <[EMAIL PROTECTED]> wrote: >> Michael H. Goldwasser wrote: >>>We are pleased to announce the release of a new Python book. >> Why is this book $102? > > Supply and demand aside, I suspect the m

Re: [Tutor] New Introductory Book

2007-11-06 Thread Jeff Johnson
I have been developing software for over 25 years in various languages. I am new to Python because for me it is the very best fit for my business going forward. People ask me how do I keep up with the industry - probably the fastest moving industry there is. Books, email lists and conferenc

Re: [Tutor] New Introductory Book

2007-11-06 Thread wesley chun
> In fact, the topic of our (developing) book was raised in a thread on > Tutor this past August 9/10th. Ironically, the topic at that time is > the same as that raised by Chris Calloway's question today, about the > $102 list price. fyi, here is a link to the 1st post of the august thread from k

Re: [Tutor] New Introductory Book

2007-11-06 Thread Kent Johnson
Jeff Johnson wrote: > I went to Amazon and ordered the book right away. I hope you will tell us about it when you receive your copy! Kent ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor