Python on a mac.

Discussion in 'Programming General' started by kmjt, Sep 22, 2010.

Python on a mac.
  1. Unread #1 - Sep 22, 2010 at 9:30 AM
  2. kmjt
    Joined:
    Aug 21, 2009
    Posts:
    14,450
    Referrals:
    8
    Sythe Gold:
    449

    kmjt -.- The nocturnal life chose me -.-
    Banned

    Python on a mac.

    For a class were using python. When installed on my mac these are my options:

    [​IMG]

    I understand that the IDLE is just something I can kind of play around with. Is it also called the interactive mode?

    My main problem is where is the actual python where I can save programs and edit them when there are problems etc. I tried opening Python Launcher but nothing happens :confused:
     
  3. Unread #2 - Sep 22, 2010 at 2:30 PM
  4. cp
    Joined:
    Jan 30, 2007
    Posts:
    3,278
    Referrals:
    6
    Sythe Gold:
    0

    cp an cat
    Banned

    Python on a mac.

    IDLE is an IDE that contains an interactive mode.

    It's similar to command prompt/terminal. You know how you can input commands in the form of a single line? You can do that with the interactive mode in IDLE.

    IDLE can also be used as an IDE. Press ctrl+n, and you'll get a new window with a text editor. You can write whole python files and run them from within the same window. You do not need IDLE to edit python scripts - personally I think it's just plain crappy. You can use any text editor. To run a python script, make sure its extension is .py, and in terminal, run "python scriptfilename.py".
     
  5. Unread #3 - Sep 22, 2010 at 6:33 PM
  6. kmjt
    Joined:
    Aug 21, 2009
    Posts:
    14,450
    Referrals:
    8
    Sythe Gold:
    449

    kmjt -.- The nocturnal life chose me -.-
    Banned

    Python on a mac.

    Where is the script mode part of python.. as in where can I actually edit the code that I write?

    Or do I just do it in textedit
     
  7. Unread #4 - Sep 22, 2010 at 7:49 PM
  8. cp
    Joined:
    Jan 30, 2007
    Posts:
    3,278
    Referrals:
    6
    Sythe Gold:
    0

    cp an cat
    Banned

    Python on a mac.

    You can do it in a text editor, or just press ctrl+n on the IDLE window.
     
< help | VB 2010 mouse positions >

Users viewing this thread
1 guest


 
 
Adblock breaks this site