Python • Re: Using python script to run xdotool command
xdotool does not work with the now default Wayland.You can use sudo raspi-config (advanced menu) to switch back to X11.Statistics: Posted by klricks — Tue Jan 23, 2024 4:39 pm
View ArticlePython • Adafruit Python Library Deprecation
Hi,Although I've been messing around with Raspberry Pi SBCs and Python for several years, I'm still getting used to it all - especially given that it's a moving target. What isn't helping, and I'm...
View ArticlePython • Re: Adafruit Python Library Deprecation
The second link is the source code.The third link is a link to the pip installer project, it installs the same software found in the second link.But it is for LCD libs only.I didn't look at the entire...
View ArticlePython • Unsuccessful Connection when Connecting Pico to PC
Hello community,I am encountering an issue while trying to connect my Pico to my PC. When I attempt to establish the connection, I receive an error message stating "Connection Failed" or "Unable to...
View ArticlePython • Re: Unsuccessful Connection when Connecting Pico to PC
Is your PC running Windows 10 or other?Statistics: Posted by neilgl — Wed Jan 24, 2024 9:54 am
View ArticlePython • Security Concern with Raspberry Pi Pico W: Reconnecting to WiFi with...
Hello Raspberry Pi Community,I'm encountering a concerning issue with the Raspberry Pi Pico W, specifically related to its WiFi module. I've noticed that if the WiFi module disconnects from an access...
View ArticlePython • Manipulate % variables Python
Hi,I am running the following code to help with a robot project.Code: import timeimport boardimport busioimport adafruit_adxl34xi2c = busio.I2C(board.SCL, board.SDA)accelerometer =...
View ArticlePython • Re: Manipulate % variables Python
From https://docs.circuitpython.org/projects ... t/api.html Now you have access to the acceleration attribute acceleration = accelerometer.accelerationproperty acceleration: Tuple[int, int, int]¶ The...
View ArticlePython • Re: Security Concern with Raspberry Pi Pico W: Reconnecting to WiFi...
I've noticed that if the WiFi module disconnects from an access point (AP), it can subsequently reconnect to the same network using an incorrect password, provided the SSID remains unchanged. How are...
View ArticlePython • DWM1000 Library
Hello to all forum members. We have raspberry pi based real time location project Like this https://www.youtube.com/watch?v=jcmUr1Z ... AwMA%3D%3D. We want to use DWM1000 and this is our question: Is...
View ArticlePython • Help with UART on TCM2209 with Micropython and Pico
Hi AllBare with me here, quite new to everything… I am trying to learn how to drive stepper motors with MicroPython using TMC2209 v3. So far I figured out how to drive it with steps… And then started...
View ArticlePython • Re: Re Bookworm on Pi 5, no vcgencmd import for python
Perhaps you could provide feedback to the anonymous source where you found the incomplete tutorial, so they can guide others around the difficulty?Everyone who references using 'pip' to install...
View ArticlePython • Error when using p5 package in python
Hello I am a beginner at python and this is my first time on this forum. I have a question for a program I was writing from the raspberry pi projects area. Specifically the rocket launch project....
View ArticlePython • Installation of pyexcel
Hello, in past I could install pyexcel simply with command Code: sudo pip3 install pyexcelwhich doesn't work anymore on last release of Raspbian OS, I got errorCode: vlado@raspberrypi:~ $ sudo pip3...
View ArticlePython • Re: Installation of pyexcel
As it says in the text you quoted -For more information visit http://rptl.io/venvThat takes you to the relevant section of the official Raspberry Pi documentation which explains the situation and how...
View ArticlePython • Re: Error when using p5 package in python
Do you happen to know if your Pi is running the latest "Bookworm" version of Raspberry Pi OS?There have been some changes in Python with "Bookworm" compared to the previous version "Bullseye"Also, is...
View ArticlePython • Re: Raspberry Pi 5 - gpiod vs RPi.GPIO
To take this all a step further... is there any good way to bit-bang the GPIOs on the RPI5 for doing serial on non-UART GPIOs?I use pigpio (Joan's amazing code) for that on all previous Pi's with...
View ArticlePython • Re: DWM1000 Library
https://www.google.com/search?q=DWM1000 ... e&ie=UTF-8Statistics: Posted by memjr — Sat Jan 27, 2024 4:50 am
View ArticlePython • Can't launch external completely independent of script
HelloI want to launch an external application and have it completely independent of my script. I have tried subprocess.Popen os.system() and been searching without finding any way of just launching it...
View ArticlePython • Re: Can't launch external completely independent of script
suppose your script to be lauched is called SCRIPT; you just have to prefix it by nohup and end it by & and it will be detached fom your thread -python- and cannot be interrupted by python...
View Article