Problems with Python: 2012-12-14 12:07:24 |
ps
Level 61
Report
|
what the message told you was to assign all .py files to be opened with python launcher app by default. you need to right click one of them, go to get info screen and there is an option to select what app to launch the file with and also a button to apply that setting to all other same extension files.
but in the end, it's not important, if python is properly installed you should be able can start python launcher all the same and open/run files with it.
python launcher opens in preferences screen by default, to allow you configure it with proper paths on the first time you run it.
you can launch python scripts with it using File -> Open
i would suggest you to just use the terminal console if you're learning python. just open a terminal (Applications -> Utilities -> Terminal.app, or install iTerm if you want a better version) and type python. if it's installed properly it should start you with the >>> prompt from the python console environment.
if you'd rather code scripts just use any decent text editor (TextWrangler is a nice freeware option for example) and save them as something.py and then you can execute the script through the console calling "python something.py"
hope this helps you get started
|
Problems with Python: 2012-12-14 23:22:21 |
Wally Balls
Level 59
Report
|
This is 90% of what programming is when you start. Solving stupid problems like this. Don't give up! Everybody has to do this. It's called 'setting up your environment' and it sucks but it's totally normal.
|
Problems with Python: 2012-12-15 10:55:06 |
ps
Level 61
Report
|
yeah, Billy Walsh is right. These steps can either go smooth as silk or just as easily get horribly frustrating. Just look at it as a 3vs2 with 75% luck. The good news is: you don't have top ladder opponents expanding all around you, so "stay calm and carry on" :)
|