was it installed ?

This is a discussion on was it installed ? within the Linux Programming forums, part of the Platform Specific Boards category; I found a file named python in my folder of usr/bin, Was it a hint that python has already been ...

  1. #1
    flashing vampire black's Avatar
    Join Date
    May 2002
    Posts
    563

    was it installed ?

    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~

  2. #2
    geek SilentStrike's Avatar
    Join Date
    Aug 2001
    Location
    NJ
    Posts
    1,141
    run python. If it works, you've got Python.
    Prove you can code in C++ or C# at TopCoder, referrer rrenaud
    Read my livejournal

  3. #3
    TK
    Guest
    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.

  4. #4
    flashing vampire black's Avatar
    Join Date
    May 2002
    Posts
    563
    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 ?
    Never end on learning~

  5. #5
    Unregistered
    Guest
    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)...

  6. #6
    flashing vampire black's Avatar
    Join Date
    May 2002
    Posts
    563
    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 ?
    Never end on learning~

  7. #7
    Unregistered
    Guest
    www.python.org...they have a basic tutorial there...

  8. #8
    Registered User
    Join Date
    Jun 2002
    Posts
    106
    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

  9. #9
    Registered User raimo's Avatar
    Join Date
    Jun 2002
    Posts
    107
    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()

  10. #10
    Registered User
    Join Date
    Jun 2002
    Posts
    106
    type man pyton and read
    C++ Makes you Feel Better

    "Gravity connot be held reponsible for people falling in love"--Albert Einstein

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. strange error -- COM DLL is not installed correctly?
    By George2 in forum C# Programming
    Replies: 0
    Last Post: 07-16-2007, 09:32 AM
  2. Multiple C Compilers installed
    By Hansie in forum Tech Board
    Replies: 6
    Last Post: 06-25-2007, 12:39 PM
  3. installed new dlave HD, but
    By DarkViper in forum Tech Board
    Replies: 6
    Last Post: 01-18-2004, 02:06 PM
  4. Replies: 2
    Last Post: 03-08-2003, 04:54 PM
  5. Program that does not need to be installed.
    By Badman in forum Windows Programming
    Replies: 3
    Last Post: 10-20-2001, 09:57 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21