Python • find() function behavior
I have written the following code to scan through a line of text and return the index of the key strings that exist in the scan stringWhat I want it to do:1. Return ALL the instances of the key...
View ArticlePython • Re: find() function behavior
https://stackoverflow.com/questions/466 ... -substringKudos for the ELP reference.Statistics: Posted by jamesh — Fri Aug 15, 2025 3:20 pm
View ArticlePython • Autostart Python script in pyenv help needed
Hi Guys,I'm very new at Rasberry with a little bit of arduino under my belt but not much.I'm trying to setup a Karaoke for my kids using a Pi 5.I've install an awesome program ( have a look if you are...
View ArticlePython • Re: Autostart Python script in pyenv help needed
See viewtopic.php?t=314455Statistics: Posted by DS256 — Sun Aug 17, 2025 11:08 am
View ArticlePython • Accessing Met Office DataHub forecasts
I've written a basic guide to accessing the free Met Office DataHub service on a Raspberry Pi. DataHub provides weather forecasts for the UK and beyond. The guide uses Python, but is at a fairly basic...
View ArticlePython • Re: Accessing Met Office DataHub forecasts
NiceStatistics: Posted by neilgl — Sun Aug 17, 2025 4:55 pm
View ArticlePython • Best Practices and Tools for Python Development: Tips and...
Hi everyone,I’m diving deeper into Python development and would love to hear from the community about the best practices, tools, and frameworks you use.Some things I’m curious about:What are your...
View ArticlePython • Re: Best Practices and Tools for Python Development: Tips and...
My common favorite libraries:ipythonptpythonrequestsniquestsblackisortshedruffmypyjupiter-notebooknumpymatplotlibmore-itertoolsflaskpydanticfastapiSQLAlchemyLibraries for my...
View ArticlePython • Re: Interfacing the Hiwonder ESP32-S3 vision module
I’m trying to reprogram a hiwonder armpi fpv to use computer vision to detect insects but I keep getting errors. Here’s my output:jack@raspberrypi:~ $ startxX.Org X Server 1.21.1.7X Protocol Version...
View ArticlePython • Re: which conda on a raspebrry pi zero 2 w
So chatgpt was telling me to use Miniforge. I did it as below:wget https://github.com/conda-forge/miniforg ... aarch64.sh chmod +x Miniforge3-Linux-aarch64.sh./Miniforge3-Linux-aarch64.shThe problem...
View ArticlePython • Problem during rpi-kms installation
Hi thereI need to install picamera2 in an virtual environment, which requires the installation of rpi-kms. The problem is that for my application I the highest version of Python I can use is 3.10. So...
View ArticlePython • Re: Problem during rpi-kms installation
Directly copied from the Description:If you are able to use the system python, then running sudo apt install -y python3-kms++ will install pykms in the simplest way.If you do require a virtual...
View ArticlePython • Re: Cannot find BME280 module
The next problem, also overcome, was getting Thonny to use the venv. As the author of Thonny says, documentation is 'obscure')Can you share your fix for Thonny+VENV?I can get Thonny to work if it...
View ArticlePython • Can Someone Help Me out with Pyautogui?
Ok So Im trying to Automate this1. Open Glabels (Did this with Popen)2. Have Glabels Open a File so its ready to work with.(This involves an (alt + f) keystroke, then manually typing in a file name...
View ArticlePython • Re: Can Someone Help Me out with Pyautogui?
Nevermind, needed to run the program as administrator All Good Statistics: Posted by Andrew_2112 — Tue Aug 26, 2025 2:58 am
View ArticlePython • VENV Considerations when needing --SYSTEM-SITE-PACKAGES
This post is an off shoot of one I started on the Python Documentation Forum at https://discuss.python.org/t/recommend- ... ges/103291My premise is that RP Python Users use enough system level...
View ArticlePython • Re: VENV Considerations when needing --SYSTEM-SITE-PACKAGES
Clarification question: OP mentions "PIP -L", but the web page you point to on pip.pypa.io only mentions "-l" (lower case).Presumably the capital L is a typo that should be lower case l?Statistics:...
View ArticlePython • Python apt install OBD module
Trying to build an automotive dash with python-OBDsudo apt install python3-obdreturns error Unable to locate package.New to raspberry pi and have never gotten pip installs to work correctly. Is there...
View ArticlePython • Re: Python apt install OBD module
On a Pi5 running Raspberry Pi OS "Bookworm" 64-bit, this worked for meCode: mkdir myenvcd myenvpython -m venv --system-site-packages envsource env/bin/activatepip install obd…Successfully installed...
View ArticlePython • Interfacing with CN0554 using PyADI-IIO
Hello, I'm very new to using raspberrypi's so apologies in advance if my wording or use of terminology is not the best.I'm attempting to use a raspberrypi 3 with a CN0554 Hat from ADI to convert...
View Article