Re: [Tutor] running program in terminal

2012-09-24 Thread Alan Gauld
On 25/09/12 00:31, Benjamin Fishbein wrote: Last login: Mon Sep 24 18:27:48 on ttys000 Benjamins-MacBook-Air:~ bfishbein$ cd '/Users/bfishbein/Documents/Python in Use/' && '/usr/local/bin/pythonw' '/Users/bfishbein/Documents/Python in Use/BB.py' && echo Exit status: $? && e

Re: [Tutor] running program in terminal

2012-09-24 Thread Benjamin Fishbein
> > Can you start up a terminal window then try to run your program and finally > paste the whole session into a mail and post it here? > > That should help. > If your program is complex try a simple one like: > > print ('Hello world') > input('Hit enter to quit...') Last login: Mon Sep 24 18:

Re: [Tutor] running program in terminal

2012-09-24 Thread Alan Gauld
On 24/09/12 17:41, Benjamin Fishbein wrote: Hello. I can run programs in IDLE but when I try to do it in a terminal or with textwrangler, it usually just logs out and says it's completed, but the program hasn't been run. This is particularly so when the program uses urllib. I'm using OS X. lo

Re: [Tutor] running program in terminal

2012-09-24 Thread Matt Hite
On Mon, Sep 24, 2012 at 9:41 AM, Benjamin Fishbein wrote: > Hello. I can run programs in IDLE but when I try to do it in a terminal or > with textwrangler, it usually just logs out and says it's completed, but the > program hasn't been run. This is particularly so when the program uses > urllib

Re: [Tutor] running program in terminal

2012-09-24 Thread Oscar Benjamin
On 24 September 2012 17:41, Benjamin Fishbein wrote: > Hello. I can run programs in IDLE but when I try to do it in a terminal or > with textwrangler, it usually just logs out and says it's completed, but > the program hasn't been run. This is particularly so when the program uses > urllib. I'm u