I’ve started working on some new psychopy features. My PsychoPy development environment with a fork of the repository is running fine from the command line. However, if I thought about adding some features to (e.g.) monitor center, how could I go about running a monitor center window from within my development environment?
You just need to launch the file MonitorCenter.py so if you know the location of that you can do python my_location_of_file/MonitorCenter.py
But also, if this is on your Python installation (e.g. you’ve done a developer install of the psychopy repository) then you can do simply:
python -m psychopy.monitors.MonitorCenter
which runs that file as a script and means you don’t need to know where it is. The danger with this is that you rely on python finding the version you’re editing