Use python from command line

Discussion in 'Python' started by trixie, Mar 6, 2006.

  1. trixie

    trixie Guest

    Using WinXP and Python24 on generic desktop.
    Being used to linux and command line operations I cannot make Windows accept
    the 'python myprog.py' command.
    Any help appreciated.
    Bob
     
    trixie, Mar 6, 2006
    #1
    1. Advertising

  2. trixie

    Xavier Morel Guest

    trixie wrote:
    > Using WinXP and Python24 on generic desktop.
    > Being used to linux and command line operations I cannot make Windows accept
    > the 'python myprog.py' command.
    > Any help appreciated.
    > Bob
    >
    >

    I think you could've given us the error message that this command yields.

    Issue is probably that the Python directory isn't on your path
     
    Xavier Morel, Mar 6, 2006
    #2
    1. Advertising

  3. trixie

    nak Guest

    have you added the path to 'c:\program files\python2.4\python.exe' in
    the Environment variables?
     
    nak, Mar 7, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Lucas Cowald
    Replies:
    4
    Views:
    1,078
    Tohid
    Oct 23, 2003
  2. Bernd Oninger
    Replies:
    1
    Views:
    795
    Martin Honnen
    Jul 7, 2004
  3. Replies:
    4
    Views:
    1,716
    Terry Hancock
    Apr 23, 2005
  4. Lucas Cowald

    RUN/execute a Command-Line command from an ASP page

    Lucas Cowald, Oct 22, 2003, in forum: ASP .Net Building Controls
    Replies:
    1
    Views:
    251
    Genich
    Oct 22, 2003
  5. Ting Wang
    Replies:
    3
    Views:
    197
    Paul Lalli
    Dec 13, 2005
Loading...

Share This Page