was it installed ? [Archive] - C Board

PDA

View Full Version : was it installed ?


black
07-10-2002, 08:47 PM
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~

SilentStrike
07-10-2002, 11:07 PM
run python. If it works, you've got Python.

TK
07-10-2002, 11:34 PM
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.

black
07-11-2002, 03:48 AM
Originally posted by SilentStrike
run python. If it works, you've got Python.

when it was running, I got a double >>. is this python ???

and have it GUI please ? :rolleyes:

Unregistered
07-11-2002, 06:47 AM
when it was running, I got a double >>. is this python ???

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)...

black
07-11-2002, 07:26 PM
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)...

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 ?

Unregistered
07-11-2002, 10:09 PM
www.python.org...they have a basic tutorial there...

onurak
07-27-2002, 06:11 AM
try man pyton if you hava u will see the manual

raimo
07-27-2002, 05:39 PM
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.

onurak
08-19-2002, 05:41 AM
type man pyton and read