Thread: Need help.

    #1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2012
    Posts
    1
    Rep Power
    0

    Lightbulb Need help.


    Hello everyone I just started programing in Python but I would like to execute a program but I dont know how , it would be very good if someone was to help me, thanks.


    -Austinnyc116
  2. #2
  3. Contributing User
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Aug 2011
    Posts
    4,837
    Rep Power
    480
    At your operating system shell prompt, assuming you've used a standard python installation that puts the python executable onto the PATH environment,

    A:> python program.py

    or

    $ python3 program.py


    Someone else can advise you on running codes from idle or other environments

    Executable scripts are another possibility.

    #! /usr/bin/python
    import work_horse
    [code]Code tags[/code] are essential for python code and Makefiles!

IMN logo majestic logo threadwatch logo seochat tools logo