[Tutor] running program in terminal

Benjamin Fishbein bfishbein79 at gmail.com
Tue Sep 25 01:31:49 CEST 2012

> 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: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: $? && exit 1
put in the text input  

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://ogp.me/ns/fb#"> <head><meta name="keywords" content="buyback, BUYBACK, Buyback, sell textbooks, SELL TEXTBOOKS, Sell Textbooks, " /><meta name="description" content="Textbooks.com will buy your textbooks back for cash" /><title>Textbooks.com - Your Search Results for Buyback</title><meta name="robots" content="index,follow"><meta name='title' content='Textbooks.com - Your Search Results for Buyback' /><link rel='shortcut icon' href='http://www.textbooks.com/favicon.ico'><link rel='apple-touch-icon' sizes='114x114' href='http://www.textbooks.com/apple-touch-icon-114x114.png' /><link rel='apple-touch-icon' sizes='72x72' href='http://www.textbooks.com/apple-touch-icon-72x72.png' /><link rel='apple-touch-icon' href='http://www.textbooks.com/apple-touch-icon.png' /><link rel='apple-touch-icon-precomposed' sizes='114x114' href='http:Exit status: 0

[Process completed]

I've been using python launcher. For most of the programs, it seems to be working, successfully launching it in the terminal with python launcher. But for the programs like this one that take large chunks of raw input and then parse through them, it stops after a dozen lines or so...it doesn't even finish pasting the text into the terminal.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20120924/dcb7def6/attachment.html>

More information about the Tutor mailing list