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~
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~
Never end on learning~
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 ???Originally posted by SilentStrike
run python. If it works, you've got Python.
and have it GUI please ?
Never end on learning~
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.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 ?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)...
Never end on learning~
www.python.org...they have a basic tutorial there...
try man pyton if you hava u will see the manual
C++ Makes you Feel Better
"Gravity connot be held reponsible for people falling in love"--Albert Einstein
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.
I am not using Dev-C++.
#!/usr/bin/env python
import sys;file=open(sys.argv[0]);print file.read();file.close()
type man pyton and read
C++ Makes you Feel Better
"Gravity connot be held reponsible for people falling in love"--Albert Einstein