Go to advanced search

by NPDedyukhin
Wed Oct 09, 2019 5:30 am
Forum: Python
Topic: Round trip cycle
Replies: 2
Views: 473

Round trip cycle

Good afternoon! :) I have a variable: "a" It can take two values: 1 or 2. By default, the variable must be of type: 1 Further, using "pygame", we analyze events on the keyboard - if one of the arrows is pressed (left or right), the variable value changes from 1 to 2, and vice versa - each time you c...
by NPDedyukhin
Tue Oct 08, 2019 4:31 pm
Forum: Python
Topic: A script that reads the Enter key, and runs the following script
Replies: 7
Views: 699

Re: A script that reads the Enter key, and runs the following script

Then I guess we need more information about your pi and its OS and how you are running this program. So which pi are you using what OS are you running inc full desktop or lite version how are you auto starting the program , in detail if not using what I suggested. what do you see on the monitor/tv ...
by NPDedyukhin
Tue Oct 08, 2019 3:47 pm
Forum: Python
Topic: A script that reads the Enter key, and runs the following script
Replies: 7
Views: 699

Re: A script that reads the Enter key, and runs the following script

Seeing as you have posted this in the python subforum , I will assume you are wanting to start a python program on the desktop. So in your existing program you add junk = input ("press Enter to start") your code will stop at this line and will only continue once enter has been pressed. to call you ...
by NPDedyukhin
Tue Oct 08, 2019 3:16 am
Forum: Python
Topic: A script that reads the Enter key, and runs the following script
Replies: 7
Views: 699

A script that reads the Enter key, and runs the following script

Good afternoon! :) There is a Raspbian Buster, and an empty script that automatically loads when you turn on the device. A USB keyboard is connected to the device (Pi). It is necessary that after turning on the device, when the Enter key is pressed on the keyboard, the following script is launched. ...
by NPDedyukhin
Fri Sep 20, 2019 4:07 am
Forum: Beginners
Topic: Connect to Yandex disk
Replies: 7
Views: 1230

Connect to Yandex disk

Good afternoon! Recently, I needed to connect a Yandex drive to my project in order to increase the space for files. When Raspberry starts, as intended, the Yandex drive should automatically mount. I am using a Raspbian Stretch. The problem is that after completing all the steps described in the man...

Go to advanced search