in Beginner, Programming, psychoPy, Python

Now its easy steps to create a new project.

  1.  Setup the interpreter to python. Click Eclipse(osX), File (Win7) > Preferences > on the left pane PyDev > Interpreter > Python Interpreter
  2. Click “”Quick Auto-Config” to automatically add the path since you have already installed python. The following image shows the status of the screen. Click ok and you are good to go to create new project

    Adding python interpreter.

    Adding python interpreter.

  3. To create a new project: File>New>Project. Click pyDev and pyDev project as show in the picture. Finish this step by the following pictures

    create a new project in python

    create a new project in python

  4. Click “Create “src” folder and add it to the PYTHON PATH. There is folder called src where you can put all the source code.

    creating a new project  and filling the description

    creating a new project and filling the description

  5. Create a python file and start adding your python code into it.

    Creating a new pydev module to start coding

    Creating a new pydev module to start coding

  6. Start coding and execute by right clicking the file > run as > python and see the output in the console!

    My code for this tutorial

    My code for this tutorial

 

Write a Comment

Comment

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Webmentions

  • Setting up your first psychoPy application in Eclipse | #akrv

    […] I believe you have already ready the previous post about setting up the environment. if not do it here! <PSYCHOPY APP DEVELOPMENT IN PYTHON USING ECLIPSE AND PYDEV> […]