<< Back to Programming Forum   Search

Posts 1 - 6 of 6   
Problems with Python: 12/13/2012 22:04:06


Clifford The Big Red Dog 
Level 37
Report
I downloaded python, i tried to open it with python launcher, and then this pops up

"PythonLauncher is not the default application for all Python script types. You should fix this with the Finder's "Get Info" command.
See "Changing the application that opens a file" in Mac Help for details."

I went to mac help and did what it said but that didn't work, i can just press okay on this message and then it just sends me to preferences and i can't get past that. Any suggestions?
Problems with Python: 12/14/2012 12:07:24


ps 
Level 60
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: 12/14/2012 22:19:30


Clifford The Big Red Dog 
Level 37
Report
thanks i got it that was really helpful
Problems with Python: 12/14/2012 23:22:21


Wally Balls 
Level 58
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: 12/15/2012 10:55:06


ps 
Level 60
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" :)
Problems with Python: 12/15/2012 20:18:57


Clifford The Big Red Dog 
Level 37
Report
in the videos im learning this on the person seems to have 2 screens that can do different things
/Users/Ry/Desktop/Screen shot 2012-12-15 at 12.17.35 PM.png

do you have something that can do this?
Posts 1 - 6 of 6