I found a file named python in my folder of usr/bin, Was it a hint that python has already been installed in my machine ? :)
thanx for any ideas~
Printable View
I found a file named python in my folder of usr/bin, Was it a hint that python has already been installed in my machine ? :)
thanx for any ideas~
run python. If it works, you've got Python.
http://python.org/doc/2.2/tut/tut.html
I don't know how to use python myself but here is an online tutorial from the python website.
when it was running, I got a double >>. is this python ???Quote:
Originally posted by SilentStrike
run python. If it works, you've got Python.
and have it GUI please ? :rolleyes:
that's python. it's called the interactive mode. you can enter python code, and it's processed by the interpreter one statement at a time.Quote:
when it was running, I got a double >>. is this python ???
python files can also be passed on the interpreter: [myprompt$] python foo.py
there's a simple gui called idle that's included with most distros. also i use a gui called Black Adder, which is a full featured IDE, but it costs money (a small amount)...
I am at a bit loss because I was used to GUI, I didnt know how to control it under console. :( for example how to save. where could I find some explaination doc please ?Quote:
Originally posted by Unregistered
that's python. it's called the interactive mode. you can enter python code, and it's processed by the interpreter one statement at a time.
python files can also be passed on the interpreter: [myprompt$] python foo.py
there's a simple gui called idle that's included with most distros. also i use a gui called Black Adder, which is a full featured IDE, but it costs money (a small amount)...
www.python.org...they have a basic tutorial there...
try man pyton if you hava u will see the manual
The traditional way to write Python code would with Emacs. ;)
Emacs's Python mode is really great. By saying C-C C-C(C- means Ctrl) you get the buffer interpreted immediately. You get also syntax highlightning if you have set it up.
type man pyton and read