Topic: Started today

I started learning python today and its pretty fun. I'm on Mac OS 10 Lion and is currently using TextWrangler as my python compiler. I don't have any troubles so far except for one. When I try to run a program I created, the content will build up in a new window called Unix Script Output. So it would be like this

*Opens file*
*new window pops up named unix script output*
*window says* print "hello world"
*closes window*
*opens same file*
*windows says* print "hello world"
print "hello world"

And this just keeps on building up every time I open a file. But of course my files are more complicated than that.

Last edited by geekygeek (November 23, 2011 07:17)

Thumbs up

Re: Started today

From my understanding of Mac OS, it has a terminal(command prompt) just like Linux. Have you tried opening and running the program through the terminal?

Thumbs up

Re: Started today

Yeah, run through terminal by opening the file like this:

python filename.py

Or just use IDLE editor.

Thumbs up