I have a python script, and i need it to run 24/7 so i cant run it on my pc or it will heat up too much, so i wanted it to run arduino instead. Is it possible? The python script needs some internet services like discord.py, requests... Etc.
Don't shoot for an Arduino get a RPi (or rewrite the python code in C++ on an ESP32 for example)
The Nano and Portenta seem to be able to run MicroPython.
Nope.
Read it again.
Okay, some Nano boards then. Thanks.
I guess @jfjlaros took a shortcut and wanted to say Nano 33 or RP2040 as per his link
but MicroPython is no Python
Indeed, I would not expect any Python script to work out of the box.
Yes I would highly doubt that discord.py has been / can be entirely ported in microPython
Specifically, some Nano 33 boards, which are very different from the "original" Nano and should probably just be treated as their own thing.
But, as others have said, if you need libraries that are aimed at PCs, you likely won't be able to run them on MicroPython or CircuitPython on a microcontroller. Get a Raspberry Pi which can run Linux, or run your script on a cloud platform (costs money, not for beginners).
I just wanted to point out that MicroPython exists. I do not have any shares.
Adafruit sells boards that can run CircuitPython or be programmed with the Arduino IDE.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.