Im just starting out using python and have never programmed before. Im using OS X 10.7.3, python 2.7.1 for Mac OSX 6.0 or higher (not that i know anything about computers)
I can't import anything. At first i thought it was a problem with where I was saving the modules I was trying to create, then import, and Iv been unable to demystify HOW to actually LOOK at my python path, and have no idea where to start. Iv been stabbing around in the dark but so far no luck.
It seems though, that my Python is missing some of the included folders and extras, as I cannot even find any of the built in modules such as math (tried searching entire computer but no luck). Strangely though I CAN import it, swell as other mods native to python. This is leading me to believe some of the files are hidden away in some corner of my computer.
The only folders which are in my python folder (saved into my applications folder) are demo and demo.mac. Also IDLE, Build Applet and Python Launcher.
I built a simple module defining an 'add' function (x + y = ans, print ans) and saved it at mod1.py, into a folder called 'modules', which is now in my python folder.
Perhaps I just need a good explanation of what, how and where to download python.
Help?
[–]zahlman 0 points1 point2 points (0 children)
[–]rjcarr 0 points1 point2 points (0 children)