Hey, we started the Linuxdoc.org blog. You want to write a guest post about your favorite Linux related topic? Just send us a mail.The Linux community would appreciate it.

Hi, starting with it... I know some php but this is a different world. I wrote my firsts lines of code. I'm in mac os x 10.5.8. I manage to get it to run from the Terminal, that was a few hours for me :-( , but I got it (a Ctrl+D problem...), from the Python Shell runs without any problem. But I can't get it run it by double clicking the file. I believe it's suppose to do so... Can anyone tell me what I'm missing? Thanks Ana

pd: forgive any errors in the use of english, it is not my birth language.

asked 18 Feb '12, 21:14

anita%20turrillo's gravatar image

anita turrillo
1222
accept rate: 0%


Hi,

Maybe you could try running your script from IDLE in a DOS prompt. To do that just start a DOS prompt and then type idle.exe or python.exe, then import your script file using the import hook. Good luck and welcome to Python! :-)

Cogito Ergo Sum

link

answered 17 Mar '12, 19:39

Cogito%20Ergo%20Sum's gravatar image

Cogito Ergo Sum
11
accept rate: 0%

edited 17 Mar '12, 19:40

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×1
×1
×1

Asked: 18 Feb '12, 21:14

Seen: 2,160 times

Last updated: 17 Mar '12, 19:40

Related questions

we use OSQA