Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I'm using Psychopy for some stimulus presentation and have written a script thats working well but always presents on my laptop monitor not the second monitor (even if that one is set to primary display). I know you can use the Monitor Center for this type of adjustment but I would like to save the script as an exe so if it is possible to utilize the Monitor Class to always use the Primary screen for displaying that would be ideal.
I'm struggling with this page, however, http://www.psychopy.org/api/monitors.html
-->Does anyone know if it is possible to write a psychopy script to always display in the Window's Primary Display monitor??
THANKS!
Use the screen keyword in psychopy.visual.Window and set it to whatever value works for you, e.g.:
from psychopy import visual
win = visual.Window(screen=1)
See the documentation for visual.Window.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I am trying to use open cv to edit what my camera sees, then run it through zoom. I was thinking that maybe I could make my computer think that there were two cameras, the second being the one that connects through zoom because 2 apps cant use the same camera. How can I do this(I use windows 10)? (with detailed instructions please.)
If you want to create a virtual webcam device, you could take a look at https://github.com/radium226/fake-webcam.
To capture it, you could use opencv, which allows image grabbing and some pretty cool modification.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
How do you build complex application, I mean application with lots of code in kivy. Like a game that has many levels when you can't import one kivy file inside another(not .kv)
You can use Screen Manager for create pages so you can transfer values between these screens.It doesn't matter how many screen u created or you wrote code.You can create your own game which has different levels or characters (and other things.) I'm seeing you asking many questions in these days.But you're asking another question before giving any feedback or confirmation. You have to start coding first, after that you can share your issues here with an examples. Start coding for you game. So we can help you.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I have been making a GUI with pyQt5 and I'm at the point where I need to think about how to save the things the user do in my GUI. For example, if he/she checks a box I want it to be saved until next time they start the GUI.
I have been thinking of using a .ini file, but I'm asking if there is another file type I should be using or is there a function/class in pyQt5.
Sry for my bad English plus I'm on my phone typing.
Ty in advanced.
I would use QSettings, Its part of PyQt/Qt and handles location of your settings/config files.
https://doc.qt.io/qtforpython/PySide2/QtCore/QSettings.html
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I am looking to create a simple online multiplayer game. Each player choose a number as their input and get a result based on simple calculations as their output. The code for the game itself is already created in VBA, but i am looking to make it online. Could i use Python for that, and do i need to create a website?
Online for public use or to share with someone specific (friend or someone else)?
If it is with a friend you could try rerouting traffic from your router to you PC with a specific port. Then create a simple website (with Flask for example, as it uses python) to make the game playable. Finally others could play the game by accessing your website through your public IP.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I have a python script that incorporates Excel sheets being imported, written, and that also contain username and password information. I received the massive script from a friend. It is very long and intricate and I need to incorporate it into a GUI. What is the best way to do this without having to rewrite and edit the whole script? I am a beginner to most of this.
I'd start with PyQt and read about the model-view structure it implements. Design a layout with Designer, then connect GUI buttons (signals) with functions written in the script (slots) to perform the functionality.