Re: What Python looks like

2008-08-05 Thread William Pursell
On 5 Aug, 16:08, Brett Ritter <[EMAIL PROTECTED]> wrote: > On Aug 4, 3:43 pm, Gary Herron <[EMAIL PROTECTED]> wrote: > > > A page of Python code looks *clean*,  with not a lot of > > punctuation/special symbols and (in particular) no useless lines > My first impression of Python was that it was vi

Re: looking for IDE advice or workflow tips

2008-08-04 Thread William Pursell
On 4 Aug, 19:08, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I'm a novice developer at best and often work with the R statistical > programming language. I use an editor called TINN-R which allows me to > write a script, then highlight a few lines and send them to the > interpreter. I am using

Re: Looking for a Python Program/Tool That Will Add Line Numbers to a txt File

2008-02-18 Thread William Pursell
On Feb 14, 6:54 am, "W. Watson" <[EMAIL PROTECTED]> wrote: > See Subject. It's a simple txt file, each line is a Python stmt, but I need > up to four digits added to each line with a space between the number field > and the text. Perhaps someone has already done this or there's a source on > the we

Re: object vs class oriented -- xotcl

2008-01-29 Thread William Pursell
On Jan 24, 9:16 pm, "Guilherme Polo" <[EMAIL PROTECTED]> wrote: > 2008/1/24, William Pursell <[EMAIL PROTECTED]>: > > Can I do it in Python? > > > class A(object): pass > class B(object): pass > > a = A() > a.__class__ = B > > That ? May

object vs class oriented -- xotcl

2008-01-24 Thread William Pursell
I've been away from Python for at least a year, and in the interim have spent a little time looking at the XOTcl object framework for Tcl. One of the interesting features of XOTcl is the ability for an object to change class dynamically. The XOtcl documentation makes the claim that this makes it