Pygame Help!

Started by
14 comments, last by Roboguy 18 years, 10 months ago
in konqueror press F4 to bring up the konsole.
$ chmod 755 chimp.py$ ./chimp.py

thats it!
Advertisement
Whats "Konkorer"?
Quote:Original post by Genjix
in konqueror press F4 to bring up the konsole.
$ chmod 755 chimp.py$ ./chimp.py

thats it!
He might not have Konqueror (He's on OS X). Go into /Applications/Utilities and open Terminal.app. That should bring up a standard bash (or tcsh) prompt. Then type in (after you cd into the appropriate directory):
echo "#!/usr/bin/env python" >Chimp.new.pycat Chimp.py >>Chimp.new.pychmod 755 Chimp.new.py./Chimp.new.py
If you want, you can rename Chimp.new.py after this by typing mv Chimp.new.py Chimp.py, but you might want to make sure it works first since that would overwrite the old Chimp.py.
Quote:Original post by llamaSong
Whats "Konkorer"?
It's a web/file browser commonly used on KDE.
Typed in what you said. Heres what I got :(
-bash: !/usr/bin/env: event not found
Quote:Original post by llamaSong
Typed in what you said. Heres what I got :(
-bash: !/usr/bin/env: event not found
Sounds like you forgot the double quotes around #!/usr/bin/env python

This topic is closed to new replies.

Advertisement