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)
You can write the code with any text editor.
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?
I don't know how to describe exactly what IDLE is but it is where you write and run programs.
Open IDLE, goto file, new window, then you can write programs directly in IDLE.
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?
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;
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks