

#Psychopy discourse code
Running this code and pressing a key produces output like: /Users/hoechenberger/miniconda3/envs/psychopy-test/bin/python /Users/hoechenberger/Library/Preferences/P圜harm2018.3/scratches/scratch_19.pyĬore.getTime() timestamp: 4.988316210000001 " Avoid `this`, `these`, `continue`, `Clock`, or `component` in name", "one of your Components, Routines, or condition parameters", Namespace._localized is defined as (in psychopy/experiment/exports.py) toTranslate = [ Msg = namespace.isPossiblyDerivable(newName) elif namespace.isPossiblyDerivable(newName): This function is called as follows (in psychopy/app/builder/dialogs/_init_.py). Return (" Avoid `this`, `these`, `continue`, `Clock`," """catch all possible derived-names, regardless of whether currently I searched this string from source codes and found at NameSpace.isPossibleDerivable() in psychopy/experiment/exports.py. When "this" is used as the component name, Builder warns us not to use "this" as the name.
#Psychopy discourse windows 7
I downloaded and installed PsychoPy v3.0 using the standalone version (StandalonePsychoP圓-3.0.2-win32.exe to be exact) under Windows 7 SP 1, but when I try to start it, nothing happens.

I posted this in the PsychoPy forum a few days ago, but so far nobody has responded, so I thought I'd try here. Hi! I don't know if this is a bug in PsychoPy or just an installation issue. I guess all devs already have write access to my branch, I hope GitHub makes coordinating this straightforward (I have never done that before). Since this is a big one, I hope that others will contribute as well. Let me know if this approach works for you. Note that it will probably be inconvenient to write code that is compatible with both 2 and 3, so I suggest that once everything runs in Python 3, development will switch to that version (and PsychoPy for Python 2 will remain available but not receive any further updates). I hope that this is a first step towards getting PsychoPy to run with Python 3.
Right now, we should probably ignore the GUI parts since these will likely require a lot of work. Msg = visual.TextStim(win, text=u"\u00A1Hola mundo!")Įventually, this will hopefully fix #1061.
#Psychopy discourse manual
I ran 2to3 and added some manual edits so that the following simple example from the documentation already works (on my Mac): from psychopy import visual, core For more, see CONTRIBUTING.md and the developers documentation at More information To contribute, please fork the repository, hack in a feature branch, and send a pull request. The textbook, Building Experiments in PsychoPy.The entire application and library are written in Python and is platform independent. To meet these goals PsychoPy provides a choice of interface - you can use a simple graphical user interface called Builder, or write your experiments in Python code. able to run experiments in a local Python script or online in JavaScript.

It aims to provide a single package that is: PsychoPy is an open-source package for creating experiments in behavioral science.
