[Tutor] upgrading Python

2007-10-13 Thread LandSurveyor
I wish to upgrade Python from the [Vers.] 2.3.4 that came packaged with my Mandrake 10.1 Linux OS to the current 2.5.1. The 'hash/bang' line of my python scripts is "#!/usr/bin/python". There are two files, both executables, in my /usr/bin directory; they are 1)python, and 2)python2.3. I just

Re: [Tutor] upgrading Python

2007-10-14 Thread LandSurveyor
ks for all the help. BTW, I think-with this post-I've figured out how to correctly reply within this tutor envronment. I THINK!? -Original Message- >From: bhaaluu <[EMAIL PROTECTED]> >Sent: Oct 13, 2007 5:47 PM >To: LandSurveyor <[EMAIL PROTECTED]> >Cc: tuto

Re: [Tutor] upgrading Python

2007-10-14 Thread LandSurveyor
 Some interesting (!?) things happened when I upgraded from Python 2.3 to Python 2.5.1.  My editor of choice is Vim, the platform is MandrakeLinux 10.1...the digraphs I have incorporated from the Vim environment into my scripts no longer work.  The resultant error message referred me to pep-0263Wit

[Tutor] upgrading Python

2007-10-20 Thread LandSurveyor
If I could be so bold...as to return for a moment to my long since buried question: What happened to the once pleasant relation between Python & digraphs. Given that digraphs are a form offered by Vim (not intrinsic to Python[?]), they worked when I was using Python 2.3. Now, with the upgrade

Re: [Tutor] Please suggest a Python Book

2006-11-25 Thread LandSurveyor
"Python Programming for the absolute beginner" auth: Michael Dawson Although touted as, and directed toward, a new programmer, the book is an excellent 'sing along' tome that illustrates good examples with a good structure of creating small working scripts, and gets very well into some heavy su

[Tutor] display text in colors

2007-01-01 Thread LandSurveyor
I would like to direct a python script to display 'print' strings in various (chosen) colors; for example: print \ """ color this line blue # in the printout display-be it screen or hardcopy color this line green # in the printout display-be it screen or hardcopy """ what I tried doing was: im

Re: [Tutor] display text in colors

2007-01-01 Thread LandSurveyor
ED] >>echo \[\e[31;1m\]"See if this goes to color red?"\[\e\0m\] -Original Message- >From: Luke Paireepinart <[EMAIL PROTECTED]> >Sent: Jan 1, 2007 2:55 PM >To: LandSurveyor <[EMAIL PROTECTED]> >Cc: tutor@python.org >Subject: Re: [Tutor] displa