[Tutor] getting the size of an open TarFile object

2007-08-18 Thread Adam A. Zajac
Hello all, I've been working with the tarfile module and just noticed an apparent flaw in my own logic. I wanted to add files to the tar until it neared a certain file size. After every addition I would use os.path.getsize(). What I noticed today is that I could add a file to the tar without th

[Tutor] Need some help about pywin32.

2007-08-18 Thread pierre cutellic
Hi, I'm actually working with many softwares for 3D-CAD-modeling, like Blender and Rhino, and i have heard about pywin32 and makepy which can define Rhinoscript command but really don't know how to do. This is something which could be really usefull (and a super saving-time tip!!) for me to command

Re: [Tutor] Efficiency of Doxygen on Python vs C++?

2007-08-18 Thread Eric Brunson
Stephen McInerney wrote: > Kent, > > >>> I was asking if it's a recognized good programming practice to >>> declare and initialize *all* members in the class defn. >>> >> What do you mean by "initialize *all* members in the class defn"? >> > - obviously I meant to say do it in the __

Re: [Tutor] The Python 2.5 Quick Reference

2007-08-18 Thread Dick Moores
At 04:42 AM 8/18/2007, Kent Johnson wrote: >Dick Moores wrote: >>I was wondering if the Python 2.5 Quick Reference, by Richard >>Gruet, wouldn't make a suitable addition to a list of useful Python >>references. > >It has a link on the top-level documentation page at python.org: >http://www.python

Re: [Tutor] The Python 2.5 Quick Reference

2007-08-18 Thread Kent Johnson
Dick Moores wrote: > I was wondering if the Python 2.5 Quick Reference, by Richard Gruet, > wouldn't make a suitable addition to a list of useful Python > references. It has a link on the top-level documentation page at python.org: http://www.python.org/doc/ Kent __

Re: [Tutor] Efficiency of Doxygen on Python vs C++?

2007-08-18 Thread Kent Johnson
Stephen McInerney wrote: > Kent, > >>> I was asking if it's a recognized good programming practice to >>> declare and initialize *all* members in the class defn. >> >> What do you mean by "initialize *all* members in the class defn"? > - obviously I meant to say do it in the __init__() method, > I

[Tutor] [OFF TOPIC] Re: What is a "symbolic debugger"

2007-08-18 Thread Alan Gauld
This is miles away from Python but some might find it fun/educational. "Dick Moores" <[EMAIL PROTECTED]> wrote >>If you want to have fun with that try loading a simple program into >>the DOS DEBUG command and stepping through it examining >>the memory image as you go., It is decidedly non symboli

Re: [Tutor] What is a "symbolic debugger"

2007-08-18 Thread Dick Moores
At 01:13 AM 8/18/2007, Alan Gauld wrote: >"Dick Moores" <[EMAIL PROTECTED]> wrote > > > article I saw a term, "symbolic debugger", I had been wondering > > about for a while. Google was of little help (to me, at least), and > >Its a debugger that undestand symbols, in other words it can read >the

Re: [Tutor] Efficiency of Doxygen on Python vs C++?

2007-08-18 Thread Stephen McInerney
Kent, I was asking if it's a recognized good programming practice to declare and initialize *all* members in the class defn. What do you mean by "initialize *all* members in the class defn"? - obviously I meant to say do it in the __init__() method, I wrote the snippet as I was rushing out th

[Tutor] The Python 2.5 Quick Reference

2007-08-18 Thread Dick Moores
I was wondering if the Python 2.5 Quick Reference, by Richard Gruet, wouldn't make a suitable addition to a list of useful Python references. It seems to be very well-done to me. It comes in various forms. See http://rgruet.free.fr/. I find I prefer . Us

Re: [Tutor] What is a "symbolic debugger"

2007-08-18 Thread Alan Gauld
"Dick Moores" <[EMAIL PROTECTED]> wrote > article I saw a term, "symbolic debugger", I had been wondering > about for a while. Google was of little help (to me, at least), and Its a debugger that undestand symbols, in other words it can read the symbol table produced by a compiler/interpreter.

Re: [Tutor] Efficiency of Doxygen on Python vs C++?

2007-08-18 Thread Alan Gauld
"Stephen McInerney" <[EMAIL PROTECTED]> wrote > I was asking if it's a recognized good programming practice to > declare and initialize *all* members in the class defn. > I think I'm hearing a general yes on that - any other opinions? It depends on what you mean by the class definition. In gen