Re: Replace string except inside quotes?

2004-12-03 Thread Raymond Hettinger
<[EMAIL PROTECTED]> wrote > The code > > for text in open("file.txt","r"): > print text.replace("foo","bar")[:-1] > > replaces 'foo' with 'bar' in a file, but how do I avoid changing text > inside single or double quotes? For making changes to Python code, I > would also like to avoid changing

Re: debian python2.4

2004-12-03 Thread Marcos Dione
On Fri, Dec 03, 2004 at 08:57:46PM +0530, km wrote: > > Hi all, > is there a debian binary of python2.4 ? well, 2.4 cvs is in since a couple of weeks in unstable. release will come up soon I guess. -- (Not so) Random fortune: sos fanático del fútbol? añorás el prode? http://ega.zidev.com/

Re: Help With Hiring Python Developers

2004-12-03 Thread Ed Leafe
On Dec 1, 2004, at 12:18 PM, Bill McClain wrote: My company (http://primedia.com/divisions/businessinformation/) has two job openings that we're having a heckuva time filling. Allow offsite workers and you'll have all the candidates you want. Exactly. I'm 5 hours away in Rochester, NY, and might b

Re: pythonwin broke

2004-12-03 Thread Peter Hansen
Jive wrote: "Steve Holden" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] . You might consider asking on the python-win32 list, which is more specifically directed at Mark Hammond's stuff. Okay. How do I find the python-win32 list? It's not a newsgroup, apparently. What happened when

Re: How did you learn Python?

2004-12-03 Thread rakanishu
I started with the official tutorial, then Dive Into Python, followed by Learning Python. I also regularly read the python-tutor mail list. -- http://mail.python.org/mailman/listinfo/python-list

Re: Help With Hiring Python Developers

2004-12-03 Thread William Park
fuego <[EMAIL PROTECTED]> wrote: > My company (http://primedia.com/divisions/businessinformation/) has > two job openings that we're having a heckuva time filling. We've > posted at Monster, Dice, jobs.perl.org and python.jobmart.com. Can > anyone advise other job boards that might be helpful? A

Help me asap!!

2004-12-03 Thread the_proud_family
HELP ME PLEASE!! I can't get the ball to go up right side and then I need it to turn around and keep turning until velocity=0 I have been at it for the past 2 weeks now i give up and call for help. Please if anyone can gide me through i will be so grateful!! I have pasted my code below

Quixote+Nevow+LivePage

2004-12-03 Thread Mir Nazim
Hi I am a PHP developer and in trying to get a better tool for developing web apps, I have been strugling with zope for past few months and still could not get anything useful work up and going. I really felt that "Z" shaped learning curve. Yesterday I was looking at quixote. I was surprized how s

Re: debian python2.4

2004-12-03 Thread Ganesan R
> "Marcos" == Marcos Dione <[EMAIL PROTECTED]> writes: > On Fri, Dec 03, 2004 at 08:57:46PM +0530, km wrote: >> >> Hi all, >> is there a debian binary of python2.4 ? > well, 2.4 cvs is in since a couple of weeks in unstable. release will come > up soon I guess. 2.4c1 has already made i

Newby Q: nested classes, access of upper method

2004-12-03 Thread Gregor Horvath
Hello, class A(self): def A1(): pass class B(self): def B1(): # #*** How can I access A1 here *** # self.A1() # doesnet work because self references to B self.self.A

<    1   2   3