Windows command line not displaying print commands

2009-03-30 Thread JonathanB
Ok, I'm sure this is really simple, but I cannot for the life of me get any print statements from any of my python scripts to actually print when I call them from the windows command line. What am I doing wrong? hello.py: print "Hello World!" command line: E:\Python\dev>python hello.py E:\Python

Re: Windows command line not displaying print commands

2009-03-30 Thread Irmen de Jong
JonathanB wrote: Ok, I'm sure this is really simple, but I cannot for the life of me get any print statements from any of my python scripts to actually print when I call them from the windows command line. What am I doing wrong? hello.py: print "Hello World!" command line: E:\Python\dev>python

Re: Windows command line not displaying print commands

2009-03-30 Thread John Machin
On Mar 31, 8:37 am, Irmen de Jong wrote: > JonathanB wrote: > > Ok, I'm sure this is really simple, but I cannot for the life of me > > get any print statements from any of my python scripts to actually > > print when I call them from the windows command line. What am I doing > > wrong? > > > hell

Re: Windows command line not displaying print commands

2009-03-30 Thread JonathanB
On Mar 30, 6:28 pm, John Machin wrote: > On Mar 31, 8:37 am, Irmen de Jong 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 cl

Re: Windows command line not displaying print commands

2009-03-30 Thread JonathanB
#This is pyFind, a python replacement for find(1) import os, sys, re, fnmatch from os.path import join from optparse import OptionParser usage = "usage: %prog --name [directory1 directory2]" parser = OptionParser(usage=usage) parser.add_option("--regex", dest="regex", help="REGEX MATCHING DOES NO

Re: Windows command line not displaying print commands

2009-03-30 Thread Terry Reedy
JonathanB wrote: Ok, I'm sure this is really simple, but I cannot for the life of me get any print statements from any of my python scripts to actually print when I call them from the windows command line. What am I doing wrong? hello.py: print "Hello World!" command line: E:\Python\dev>python

Re: Windows command line not displaying print commands

2009-03-31 Thread John Machin
On Mar 31, 11:42 am, Terry Reedy wrote: > JonathanB wrote: > > Ok, I'm sure this is really simple, but I cannot for the life of me > > get any print statements from any of my python scripts to actually > > print when I call them from the windows command line. What am I doing > > wrong? > > > hello

Re: Windows command line not displaying print commands

2009-03-31 Thread John Machin
On Mar 31, 9:57 am, JonathanB wrote: > On Mar 30, 6:28 pm, John Machin wrote: > > > On Mar 31, 8:37 am, Irmen de Jong 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 cal

Re: Windows command line not displaying print commands

2009-03-31 Thread JonathanB
I think I found the problem. I recently removed Python 2.5 and replaced it with 2.6. When I got in, I tried to run some django commands and even they weren't producing output. On a hunch, I tried to uninstall 2.6 and reinstall it, since now even django wasn't producing output. When I tried, it told