Re: What is on-topic for the python list [was "Re: BASIC vs Python"]

2004-12-21 Thread Doug Holton
Reinhold Birkenfeld wrote: Non sequitur. The phrase's interpretation depends on the posting(s) it refers to. Exactly. He was saying boo (and/or I) am offensive, but logo is not. And then he apologized for misleading me to believe he was censuring me instead of flaming me. -- http://mail.python.o

Re: regular expression: perl ==> python

2004-12-22 Thread Doug Holton
Fredrik Lundh wrote: "JZ" <[EMAIL PROTECTED]> wrote: import re line = "The food is under the bar in the barn." if re.search(r'foo(.*)bar',line): print 'got %s\n' % _.group(1) Traceback (most recent call last): File "jz.py", line 4, in ? print 'got %s\n' % _.group(1) NameError: name '_' is

Peter Hansen [Re: newbie question]

2004-12-22 Thread Doug Holton
n just a little. (Okay, I mean "a lot".) Flame away, Peter. As a result of all the activity in the "Boo who?" thread, however, that you started I went and searched a bit to find out who this Doug character is. It turns out that he's been mentioning Boo in postings *to newb

Re: newbie question

2004-12-22 Thread Doug Holton
tioning it here occasionally. Luis, that is *exactly* Peter's position: Peter Hansen wrote: ... If Doug wants to come in from time to time and mention Boo, however, he's welcome to do so. ... ... so there is no need for you to say you see no harm in it, making it sound as though Peter *

Re: [Re: newbie question]

2004-12-22 Thread Doug Holton
Reinhold Birkenfeld wrote: Doug Holton wrote: Peter Hansen wrote: As a result of all the activity in the "Boo who?" thread, however, that you started Apart from that it is considered disrespectful to put your "opponent's" name into the subject, this flame war is bi

Re: [Re: newbie question]

2004-12-22 Thread Doug Holton
Steve Holden wrote: > 'Scuse me? This group has a long history of off-topic posting, and > anyway who decided that CPython should be the exclusive focus? Even > on-topic we can talk about Jython and PyPy as well as CPython. > > Off-topic we can talk about what we damned well please. Even boo :-) Th

Re: [Re: newbie question]

2004-12-22 Thread Doug Holton
Ed Leafe wrote: You've missed the obvious: it's 'criticism' or 'observation' when it comes from Doug, but it's a 'flame' when it is directed at Doug. > Unless there is something more substantial then whining, howzabout we all just ignore i

Re: Optional Static Typing

2004-12-23 Thread Doug Holton
[EMAIL PROTECTED] wrote: Adding Optional Static Typing to Python looks like a quite complex thing, but useful too: http://www.artima.com/weblogs/viewpost.jsp?thread=85551 Thanks for pointing out that article by Guido van Rossum. Looks like it just came out today. It is something that may be adde

Re: argument type

2004-12-28 Thread Doug Holton
It's me wrote: The argument I wish to pass is either one string, or a list of strings, or a tuple of strings. For instance, I have: def abc(arg1, arg2, arg3) Let say that I expect arg1 and arg3 to be a number, and arg2 can be either one string, or a bunch of strings and I need to do something o

Re: Other notes

2004-12-28 Thread Doug Holton
[EMAIL PROTECTED] wrote: for i in 1..12: pass for c in "a".."z": pass > @infix > def interval(x, y): return range(x, y+1) # 2 parameters needed > assert 5 interval 9 == interval(5,9) > 10) There can be something in the middle between the def statement and > the lambda. These will likely n

File Uploads

2005-03-27 Thread Doug Helm
Hey, Folks: I'm trying to write a very simple file upload CGI. I'm on a Windows server. I *am* using the -u switch to start Python for CGIs, as follows: c:\python\python.exe -u %s %s I *do* have write permissions on the directory I'm trying to write to. But, when I click submit, it just hangs.

Re: String Splitter Brain Teaser

2005-03-27 Thread Doug Schwarz
, ['T'], ['A', 'G']] How about this? import re s = "ATT/GATA/G" result1 = re.findall(r"./.|.", s) consensus = [c.split("/") for c in result1] -- Doug Schwarz dmschwarz&urgrad,rochester,edu Make obvious changes to get real email address. -- http://mail.python.org/mailman/listinfo/python-list

Re: File Uploads

2005-03-27 Thread Doug Helm
. .py = python.exe -u %s %s)? Thanks. Doug "dimitri pater" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Maybe this helps: > http://www.voidspace.org.uk/python/cgi.shtml#upload > > I use it, it works for fine me > Maybe it will give you some clues on how t

File Uploads -- Windows Server

2005-03-27 Thread Doug Helm
t an error if I didn't)... I'm not getting any error. I submit a multi-part form to save a file attachment to disk, and the post just hangs. Does anyone have any ideas on this? Has anyone made CGI file uploads work in a Windows / IIS environment? Thanks much for any help that you ca

Re: String Splitter Brain Teaser

2005-03-28 Thread Doug Schwarz
, ['T'], ['A', 'G']] How about this? import re s = "ATT/GATA/G" result1 = re.findall(r"./.|.", s) consensus = [c.split("/") for c in result1] -- Doug Schwarz dmschwarz&urgrad,rochester,edu Make obvious changes to get real email address. -- http://mail.python.org/mailman/listinfo/python-list

Re: String Splitter Brain Teaser

2005-03-28 Thread Doug Schwarz
, ['T'], ['A', 'G']] How about this? import re s = "ATT/GATA/G" result1 = re.findall(r"./.|.", s) consensus = [c.split("/") for c in result1] -- Doug Schwarz dmschwarz&urgrad,rochester,edu Make obvious changes to get real email address. -- http://mail.python.org/mailman/listinfo/python-list

Re: File Uploads

2005-03-28 Thread Doug Helm
Andrew: I'm a dope. You're brilliant. Thank you. That worked splendidly. Doug <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Doug Helm wrote: > > > form = cgi.FieldStorage() > > if lobjUp.Save('filename', 'SomeFile.

Re: File Uploads

2005-03-31 Thread Doug Helm
OTECTED]> wrote in message news:[EMAIL PROTECTED] > "Doug Helm" <[EMAIL PROTECTED]> wrote: > > >Hey, Folks: > > > >I'm trying to write a very simple file upload CGI. I'm on a Windows server. > >I *am* using the -u switch to start Python for C

Re: Compute pi to base 12 using Python?

2005-04-13 Thread Doug Schwarz
iven by f(n+1) = f(n) * 2^(1/12) so by the time you go all 12 notes in an octave you have doubled the frequency. There is nothing here involving base 12 or pi. -- Doug Schwarz dmschwarz&urgrad,rochester,edu Make obvious changes to get real email address. -- http://mail.python.org/mailman/listinfo/python-list

Re: Filename case-insensitivity on OS X

2006-01-03 Thread Doug Schwarz
File System". Use Disk Utility to create a disk image and then erase it (again, using Disk Utility) and put UFS on it. You'll find that "touch foo FOO" will create two files. -- Doug Schwarz dmschwarz&urgrad,rochester,edu Make obvious changes to get real email address. -- http://mail.python.org/mailman/listinfo/python-list

cross compile python for linux-ppc-604

2006-01-11 Thread Doug Crawford
Has anyone successfully compiled python 2.4 to run under linux powerpc 604? I have the ELINOS cross compile environemnt working, but always run into problems when executing make. Unfortunately, my target embedded system does not have a complete build chain so I have to use a cross compiler. Is th

Accessing USGS Web Service Using Python

2006-07-28 Thread Doug Caldwell
Hi! ** Accessing the USGS Web Service Using Python ** I am trying to access the US Geological Survey's gazetteer SOAP web service using Python to find the locations of all the places with the name 'Alexandria.' I tried to keep this simple by putting a soap message in a string and sending the

py2exe questions

2006-11-03 Thread Doug Stell
source code from users? These users are software developers, but we don't want them to see how the code does what it does. thanks, doug -- http://mail.python.org/mailman/listinfo/python-list

Re: How do you practice Python?

2006-06-02 Thread Doug Bromley
On 6/2/06, Norbert Kaufmann <[EMAIL PROTECTED]> wrote: Ray wrote:[...]> Um, I mean, what if you have to use something other than> Python/Jython/IronPython? :) How do you keep your Python skill sharp?>You could use IPython as your primary shell. Than you have the opportunity to do all these nasty au

ASN.1 encoder & decoder

2006-08-25 Thread Doug Stell
Can anyone provide guidance on building an ASN.1 decoder and encoder in Python? This does not have to be a general purpose implementation, drivenf from an ASN.1 template. It can be dedicated hard coded to a particular template. Doug Stell, [EMAIL PROTECTED] -- http://mail.python.org/mailman

Re: ASN.1 encoder & decoder

2006-08-25 Thread Doug Stell
2006 23:20:41 +0100, Bruce Stephens <[EMAIL PROTECTED]> wrote: >Doug Stell <[EMAIL PROTECTED]> writes: > >> Can anyone provide guidance on building an ASN.1 decoder and encoder >> in Python? > ><http://sourceforge.net/projects/pyasn1/>? -- http://mail.python.org/mailman/listinfo/python-list

Re: ASN.1 encoder & decoder

2006-08-27 Thread Doug Stell
Thanks Paul. This is exactly the type andlevel of implementation that I was looking for. I will look at the other implementation again. On 25 Aug 2006 16:32:46 -0700, Paul Rubin <http://[EMAIL PROTECTED]> wrote: >Doug Stell <[EMAIL PROTECTED]> writes: >> Can anyone provide

Re: Looking for the Perfect Editor

2006-09-08 Thread Doug Stell
Try www.TextPad.com. I've used it for years and love it. It understands many programming language constructs and can be taught to understand python so that things show up in color. On 7 Sep 2006 13:18:22 -0700, "Omar" <[EMAIL PROTECTED]> wrote: >I'd love the perfect editor that would be: > >a) fr

Re: Jedit

2006-02-14 Thread Doug Bromley
I've often wondered this. I was thinking more along the lines of a scriptable Python editor like Emacs. The only thing I've noticed is: CUTE - *nix only. - (http://cute.sourceforge.net/) PyEditor - (http://www.rexx.com/~dkuhlman/pyeditor_howto.html) ViImproved - (http://wiki.python.org/moin/ViImp

Re: editor for Python on Linux

2006-02-20 Thread Doug Bromley
I did a review of Python IDE's at my blog.  If you're interested you can take a look:http://www.straw-dogs.co.uk/blog/python-ide-reviewI have a couple of links to other reviews on there too.  Worth a look if you're trying to find a good IDE. On 2/20/06, Tim Parkin <[EMAIL PROTECTED]> wrote: Mladen

Python for PHP Programmers

2006-02-20 Thread Doug Bromley
Hi AllPlease be gentle but I'm primarily a PHP coder after a few years of academic experience in Java I've lost my object orientated programming style and have become a procedural PHP coder.  I started using Python almost 12mths ago now but I'm still very much working in a PHP style.  Obviously I n

Re: warning for google api users

2006-02-21 Thread Doug Bromley
Producing a SERPS scraper for Google would be very easy and possible in about 10-15 lines of code.  However, its against the Google terms of service and if they decide to bite you for breaching them then you'll be in trouble.  Its also a reason you'll not likely find one that trumpets its existence

Re: Regex for repeated character?

2005-06-17 Thread Doug Schwarz
does? In other words, I want a > pattern like this: > > >>> re.findall(".+", "foo") # not what I want > ['foo'] > >>> re.findall("something", "foo") # what I want > ['f', 'oo'] How's this?

RE: Python optimization (was Python's "only one way to do it"philosophy isn't good?)

2007-06-10 Thread Doug Phillips
> Is anyone out there who uses MS Word and doesn't deactivate > the "suggest" mode i.e. Clippy? Me... I don't install Clippy (or any of his horribly annoying friends) to start with. :) On the topic though, the suggest mode of the MS help system is generally way off-base, even for my 80-yr-old gr

RE: Are there any python jobs worked at home from the internet?

2007-06-11 Thread Doug Phillips
with and felt comfortable working with. Hope this helps. -Doug -- http://mail.python.org/mailman/listinfo/python-list

RE: Database Access using pyodbc. I've a problem

2007-06-17 Thread Doug Phillips
not familiar with how apache handles these functions in a Windows environment, but the references in a prior answer to this thread should help you out. -Doug -- http://mail.python.org/mailman/listinfo/python-list

RE: installing cx_Oracle.

2007-05-24 Thread Doug Phillips
MAIL PROTECTED] ~]$ python -c "import os; print os.environ['FOOD']" > eggs Just tried on a FreeBSD 6.1 development box with stock /bin/sh and it works there too... ... And I just learned something new! -Doug -- http://mail.python.org/mailman/listinfo/python-list

Bullet proof passing numeric values from NMEA data stream.

2007-03-20 Thread Doug Gray
27;00.') int(' 00.') float('- 00') float(' - 00') float(' - 00') float(' - 00.') float('- 00.') float('- 10.') float('- 10.') float('- 10.') int('- 10.') int('- 10.&#x

Re: Eureka moments in Python

2007-03-20 Thread Doug Gray
7;yum install pybluez' in Fedora Core 5. See: http://www.robertprice.co.uk/robblog/archive/2007/1/Using_A_Bluetooth_GPS_From_Python.shtml Doug Gray -- http://mail.python.org/mailman/listinfo/python-list

Re: Bullet proof passing numeric values from NMEA data stream.

2007-03-20 Thread Doug Gray
On Wed, 21 Mar 2007 00:29:00 +1100, Steven D'Aprano wrote: > On Tue, 20 Mar 2007 12:09:29 +0000, Doug Gray wrote: > >> Folks, >> I am looking for a fast but most importantly a bullet proof method to pass >> and NMEA data stream (GPS output) ascii numeric string

Inconsistent list/pointer problem

2007-02-01 Thread Doug Stell
le(listA) listB = list(listB) I've tried building the copy of listA, element by element, but that doesn't work. listB = [] for x in listA: listB.append(x) I finally had to do some type changing during the element by element copy and that does seem to work. Thanks in adva

Re: book for a starter

2007-02-27 Thread Knight, Doug
Excellent choice. I used the 2nd edition for better than a year as a reference as I "came up to speed" on the language. Didn't know there was a 3rd edition out. Doug On Tue, 2007-02-27 at 11:08 -0800, Sriram wrote: > Hi, > > If you have experience programming, just rea

Re: changing fonts?

2007-12-07 Thread Doug Morse
efore you (as I see them): escape sequences, some sort of IPC, or system signals. Again, I think you might get luckly with the first option, whereas I have serious doubts that Terminal supports the latter two options (but ya never know...) Good luck, Doug P.S. -- I just realized that you probabl

Re: Is Python really a scripting language?

2007-12-12 Thread Doug Morse
although perhaps not a part of the definition of scripting languages per se, one aspect of them is that they are often used to "glue" a wide variety of other components together. perl's initial and continued success is in no small part to all the wrappers and interfaces it has to all sorts of othe

Re: Can I use python for this .. ??

2006-05-05 Thread Doug Bromley
Careful of using the wrong tool for the job.  Don't use Python for the sake of it unless its as a learning experience.All of the things you ask for can be done by simply using the Windows start menu to launch a shortcut with various command line options.  Voila - problem solved. On 5 May 2006 05:15

Re: Best IDE for Python?

2006-05-05 Thread Doug Bromley
I have a Python IDE review I did a few months back you may want to view:http://www.straw-dogs.co.uk/blog/python-ide-reviewHope that helps. DougOn 5 May 2006 08:28:00 -0700, Saurabh Sardeshpande <[EMAIL PROTECTED]> wrote: Pardon if this is already discussed extensively. But what is the bestIDE for P

Re: Best IDE for Python?

2006-05-05 Thread Doug Bromley
On 5/5/06, Christoph Haas <[EMAIL PROTECTED]> wrote: On Fri, May 05, 2006 at 04:50:11PM +0100, Doug Bromley wrote:> I have a Python IDE review I did a few months back you may want to view:> http://www.straw-dogs.co.uk/blog/python-ide-review Sounds interesting. Could you fix the screens

Extracting images from a PDF file

2007-12-26 Thread Doug Farrell
me in the right direction, it would be most appreciated! Also, does anyone know of a way to validate a PDF file? Thanks in advance, Doug -- http://mail.python.org/mailman/listinfo/python-list

Re: ISO books of official Python docs

2008-01-09 Thread Doug Morse
Several of the O'Reilly & Assoc. books -- such as Python in a Nutshell, The Python Standard Library, etc -- are in large part reproductions of the official docs and references. So, while not exactly what you asked for, the ORA books might be a viable alternative if what you want isn't available.

Re: ISO books of official Python docs

2008-01-09 Thread Doug Morse
Hi Fredrik, I'm terribly confused. You want me to apologize for recommending that someone buy your books? To apologize for noting that they are a quality reference sources for Python? Doug On Wed, 09 Jan 2008 21:59:34 +0100, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > Do

Re: OT: Speed of light [was Re: Why not a Python compiler?]

2008-02-09 Thread Doug Morse
So, showing of my physics ignorance: I presume then that this means that light, say from the sun, is actually sending particles to the earth, since the space between is mostly vacuum? Or is there enough material in the near-vacuum of space for propogation to occur? On Sat, 09 Feb 2008 12:25:51

Newbie: How can I use a string value for a keyword argument?

2008-02-25 Thread Doug Morse
eed': x.foo(speed=12);" etc., but then the statement has to be maintained every time a new parameter is added/changed etc. Plus, such a solution seems to me grossly inelegant and un-Pythonic. Thanks in advance for any and all assistance! Doug -- http://mail.python.org/mailman/listinfo/python-list

Re: Newbie: How can I use a string value for a keyword argument?

2008-02-25 Thread Doug Morse
On Mon, 25 Feb 2008 04:20:37 -0800 (PST), John Machin <[EMAIL PROTECTED]> wrote: > On Feb 25, 10:42 pm, Doug Morse <[EMAIL PROTECTED]> wrote: > > Hi, > > > > My apologies for troubling for what is probably an easy question... it's > > just > >

app runs fine with interpreter, but not under py2exe

2008-03-11 Thread Doug Morse
it, and (b) more generally, why would a problem like this occur under py2exe but not with the standard distro? Thanks in adavance for any and all help. Cheers, Doug Traceback (most recent call last): File "VisionTrainer.py", line 49, in File "SessionController.pyc",

Re: app runs fine with interpreter, but not under py2exe

2008-03-12 Thread Doug Morse
do with dynamic importing, but I can't be sure. I would note that "zeros" is a built-in function found in the "python dll" multiarray.pyd (in the Numeric module directory). Thanks again, Doug On Wed, 12 Mar 2008 03:09:59 -0700 (PDT), GHUM <[EMAIL PROTECTED]>

Re: app runs fine with interpreter, but not under py2exe

2008-03-14 Thread Doug Morse
efore except, of course, on line 19 now instead of line 18. Doug On Thu, 13 Mar 2008 11:46:41 -0700 (PDT), GHUM <[EMAIL PROTECTED]> wrote: > Doug, > > > Precision.py is part of the Numeric package. AFAIKT, the problem is during > > the module initialization. The firs

Re: app runs fine with interpreter, but not under py2exe

2008-03-14 Thread Doug Morse
roblems seem to revolve around confusions when duplicate files exist in different modules. I wouldn't thinking that getting py2exe to pay better attention to the containing modules when building it's dependency tree would be that difficult (or is it)? Cheers, Doug On Fri, 14 Ma

Re: app runs fine with interpreter, but not under py2exe

2008-03-14 Thread Doug Morse
array2.pyd and umath2.pyd, and then manual create the "stub"-like .pyc files that py2exe creates to point to these alternate .pyd files and then place these stubs in library.zip/numpy/core? Or am I just hoping for too much here and am going to be stuck with using the --skip-archive option?

Re: app runs fine with interpreter, but not under py2exe

2008-03-16 Thread Doug Morse
ikely to me. Thanks again to you and everyone. I'll definitely visit the py2exe wiki and see what I can come up with (and or course will report back with success / failures). If you or anyone has any further thoughts based on this post, I'm all ears and would be most grateful. Regards, Do

Re: A different kind of interface

2009-01-22 Thread Doug Morse
On Thu, 22 Jan 2009 08:13:49 -0800 (PST), Vic Kelson wrote: > > > How about IDLE? It's a nice tool for the Python programmer. I've tried > lots of IDEs, but when it comes down to it, on small-to-medium jobs I > am be very productive indeed using IDLE... > > --v I find Stani's Python Edito

Re: Fedora: Dual Python Versions Installed System Not Picking Up Newer Version

2009-03-25 Thread Doug Morse
ied to figure it out, to no avail, so if > anyone is pretty familiar with this, because I do NOT want to > stipulate which binary to use in all my source files... Hi, One option would be to use the alternatives system, which RHL / Fedora install by default. Run "man a

Re: Formatting Output

2008-06-02 Thread Doug Morse
;<<<<<<<<<<<<<<<<<<<<<<<<< @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ~ $res->{'address_1c'},$res->{'address_2c'} @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ~ $city_1 $city_2 @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ~ $res->{'email_1'}, $res->{'email_2'} -- ~ . Then, all I have to do is populate my $res object/hash as desired -- in this example simple the results of a SQL query -- and lastly just call the "write" function: write; and Perl will produce very nicely formatted results. This is useful not only for producing human readable output, but also fixed-column-width data files, etc. I'd love to learn the Pythonistic way of doing the same thing. Thanks! Doug -- http://mail.python.org/mailman/listinfo/python-list

Re: Core Dump - Segmentation Fault -Newbie

2008-07-18 Thread Doug Morse
hon Hello.py The trace of system calls will be in the file logfile.txt. For more info on strace, see the strace(1) man page (i.e., run "man strace"). Doug -- http://mail.python.org/mailman/listinfo/python-list

Re: New python.org website

2006-03-09 Thread Doug Bromley
haps this is an example where we could do with taking a leaf out of Ruby's book? ( http://redhanded.hobix.com/redesign2005/)-Doug Bromleyblog.straw-dogs.co.uk On 8 Mar 2006 14:20:29 -0800, Kay Schluehr <[EMAIL PROTECTED]> wrote: Michael Tobis wrote:> > No one> > of the com

Re: Python Evangelism

2006-03-09 Thread Doug Bromley
Python is in desperate need of marketing and I don't think its new site will help it.The Ruby community has a fanaticism we could learn from and its going some way to 'converting' me.  The community is alive, growing, shouting from the roof tops while the Python community seems to sit in its ivory

Re: Python Evangelism

2006-03-09 Thread Doug Bromley
A defector!Release the hounds!Burn the scum! -- http://mail.python.org/mailman/listinfo/python-list

Re: Programming challenge: wildcard exclusion in cartesian products

2006-03-17 Thread Doug Quale
"funkyj" <[EMAIL PROTECTED]> writes: > One advantage of a generator over filtering the full product is that I, > as the user of the generator, am not obligated to iterate over the > entire solution space. > > Are there other _practical_ advantages of generators over mapping & > filtering complete

Re: Best IDE for Python?

2006-03-31 Thread Doug Bromley
You may find the IDE review at Straw Dogs worth a look:  http://www.straw-dogs.co.uk/blog/python-ide-reviewOn 3/31/06, Keith B. Perry <[EMAIL PROTECTED]> wrote: To me, it just doesn't behave the same way as Eclipse for java.  I have used the plug-in, and I usually use it on my home machine ( I am

Re: Wing in mod_python vs wsgi?

2011-02-08 Thread Doug Epling
I don't know about your IDE, I am using the default IDLE just because it is handy. But I have made the switch from mod_python. It was a good idea, but mod_wsgi is a better idea. And as you know, mod_python is no longer supported. I am running Apache with mod_wsgi in a windows 7 environment

Re: Which non SQL Database ?

2011-02-11 Thread Doug Epling
On 12/4/2010 5:42 PM, Jorge Biquez wrote: Hello all. Newbie question. Sorry. As part of my process to learn python I am working on two personal applications. Both will do it fine with a simple structure of data stored in files. I now there are lot of databases around I can use but I would like

Another related OO Python ?

2011-02-11 Thread Doug Epling
hey, does anyone find the UML useful during Python development of larger projects? -- http://mail.python.org/mailman/listinfo/python-list

Re: newbie question about PYTHONPATH

2011-02-19 Thread Doug Epling
The best way I have found is to place that definition of your PYTHONPATH in your .bash_profile in your home directory and export it from there. PYTHONPATH=/home/foo/prog/learning_python export PYTHONPATH This way your PYTHONPATH is picked up each time you log on. You might

Detecting platform architecture with Parallels and Win XP x64

2009-07-02 Thread Doug McCorkle
having to use the python executable to see if the application is on a 64bit architecture? Thanks. Doug -- http://mail.python.org/mailman/listinfo/python-list

Supporting Python 2.x and 3.x on a PC

2010-11-12 Thread Doug Stell
I support multiple projects, some of which will remain on Python 2.x and some of which want to use Python 3.1.2. While I have installed both on my Windows PC, only the last installed version can be used. I do not have admin rights on the machine, so altering registry settings is not an option. Any

<    1   2