Baffled on Windows.

BartlebyScrivener rpdooling at gmail.com
Thu Jun 7 17:16:17 CEST 2007


On Jun 7, 8:17 am, Neil Cerutti <horp... at yahoo.com> wrote:
> I have the following Python program:
>
> Running this program with 2.5.1 causes another Python script in
> the same directory to be loaded . . . 'new.py'

A good habit for naming your scripts: If you have a script and you
want to name it text.py, or list.py or new.py or old.py or some common
name that might be found in the thousand and one other modules and
programs in your various installations, just use my_text.py or
my_list.py or neil_new.py or something to reduce the chances that
you'll be shadowing without knowing it.

rick





More information about the Python-list mailing list