Posts

Showing posts from November, 2013

System Setup for Python, PyDev and Eclipse

Follow these steps to set up your Eclipse development environment for developing Python programs. You should do this only when you have enough time to reasonably wait for all the downloads and installations to complete. Contents/Steps:     Installing the Python 3.2/3.3 Interpreter     Installing the Eclipse IDE     Initializing your Eclipse Workspace     Installing the PyDev Python Development Plugin for Eclipse     Configuring PyDev and Eclipse to work Python 3     Saving Orphan .pyc Files: Critical PyDev Configuration Step     Validating Installation of Python 3 and PyDev under Eclipse     Running the PyDev debugger and Python 3 under Eclipse Install Python 3.2/3.3 This quarter's project only works with Python version 3.2 and 3.3. If you have installed a newer version, you must additionally get Python 3.2 or 3.3 and make sure to use it for anything project related. If you do not follow this warning, you will get errors when you run the project complaining about a "bad magic

Syntax error on print with Python 3

I'm trying to do a brief tutorial with Python and I can't make it work. I downloaded 3.3.2 and I typed "print "Hello, World!" It highlights the lattermost quotation mark ("Hello, World! " ) and says "SyntaxError: invalid syntax". I don't know what to do to fix it and I'm completely inept with most things computer-related. Any and all assistance would be awesome. This is definitely a duplicate - print() is now a function as of Python3 and the issue would be resolved by adding parentheses. type: print ( "Hello World" ) Read the docs! :)