Windows command line not displaying print commands
doulos05 at gmail.com
Tue Mar 31 00:57:46 CEST 2009
On Mar 30, 6:28 pm, John Machin <sjmac... at lexicon.net> wrote:
> On Mar 31, 8:37 am, Irmen de Jong <irmen.NOS... at xs4all.nl> wrote:
> > Does just typing:
> > python
Yes, just typing python takes me to my interactive prompt
> > Or do you have a module in your E:\Python\dev directory called 'os', 'sys' or something
> > else that may clobber one of the default library modules.
The only module in the directory is called pyfind.py
> or perhaps there's a file named python.bat that does nothing.
> What directory is Python installed in? What does your Windows PATH
> look like? Is this your very first attempt to do anything at all with
> Python or have you managed to get any output from a Python script
> before? If the latter, what have you changed in your environment? Does
> E: refer to a removable disk?
Unfortunately, this problem is on my work computer, so I'm not in
front of it right now. I've done the development on this in
PortablePython, but I have python installed in C:/Python25 and that
should be in my path (I went though and added it). I've never run a
script that output to the command line before, only django apps.
Django will output stuff though, which makes me wonder if I've somehow
borked my stdout in the script. Not sure how I could have done that,
but I'll post the script I've written in the next post just in case
I'm somehow messing up the calls (although "print var" seems fairly
user-proof...). E: does refer to a removable disc.
More information about the Python-list