Closed Thread
Results 1 to 7 of 7

Thread: just started python... and now am lost

  1. #1
    begdev is offline Newbie
    Join Date
    Feb 2009
    Posts
    12
    Rep Power
    0

    just started python... and now am lost

    k first im on a mac, and i downloaded python 2.6.x (the updated version)

    then i went in spotlight and opened the python 2.6 folder, and inside were the:
    - IDLE
    - Python Launcher
    - Build Applet
    - and some txt files

    ok so, where do i write the actual code because i don't think its in IDLE because its like instant actions, if i say "print "hi"" then it says hi... that's all.

    so where do i write the code and then how do i run it

    (by the way, i did do some research but i can't find anything on it)

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Join Date
    Jul 2006
    Posts
    16,491
    Blog Entries
    75
    Rep Power
    143

    Re: just started python... and now am lost

    You can write the code with any text editor.
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  4. #3
    begdev is offline Newbie
    Join Date
    Feb 2009
    Posts
    12
    Rep Power
    0

    Re: just started python... and now am lost

    o rite... rite...

    ok so then i save em and then how do i run them? with the python launcher right?

    What is the IDLE used for, quick results?

  5. #4
    Join Date
    Feb 2009
    Posts
    14
    Rep Power
    0

    Re: just started python... and now am lost

    I don't know how to describe exactly what IDLE is but it is where you write and run programs.

  6. #5
    deer dance's Avatar
    deer dance is offline Learning Programmer
    Join Date
    Feb 2009
    Location
    Indiana
    Posts
    40
    Rep Power
    0

    Re: just started python... and now am lost

    Open IDLE, goto file, new window, then you can write programs directly in IDLE.
    Ameteur programmer
    HTML Expert
    Official Lunatic

  7. #6
    begdev is offline Newbie
    Join Date
    Feb 2009
    Posts
    12
    Rep Power
    0

    Re: just started python... and now am lost

    yeah i got it now, i wrote the script, saved it as a .py then opened it in IDLE, then ran module, and it worked fine.

    but now just one question, how do i use that script in either a webpage or an GUI application?

  8. #7
    deer dance's Avatar
    deer dance is offline Learning Programmer
    Join Date
    Feb 2009
    Location
    Indiana
    Posts
    40
    Rep Power
    0

    Re: just started python... and now am lost

    It should be as simple as linking the file to whatever you want.

    i.e.
    code
    code
    Link("python.py")
    code
    //pointless comment
    return 0;
    Ameteur programmer
    HTML Expert
    Official Lunatic

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Lost in PHP in need of help
    By rebelcreek in forum PHP Development
    Replies: 0
    Last Post: 02-20-2011, 04:07 PM
  2. Replies: 5
    Last Post: 03-25-2010, 01:41 AM
  3. Is all lost?
    By TechieJeff in forum C and C++
    Replies: 2
    Last Post: 01-10-2010, 06:22 AM
  4. im lost
    By Darkyere in forum Pascal and Delphi
    Replies: 3
    Last Post: 12-15-2008, 03:52 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts