python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
micropython: loading data from a file in function causing an endless loop
I am working on a lopy4 from pycom and I have encountered an od problem while loading config data from a txt file:
def loadFromConfigFile():
f= open('config.txt')
for line in f:
if &qu...

Dennis
Votes: 0
Answers: 1
esp32 micropython littlefs
Using a Expressif dev-board and standard micropython.bin I was able to create a littlefs2 partition, mount it and write data into a file:
# ESP8266 and ESP32
import os
os.umount('/')
os.VfsLfs2.mkfs(...

juerg
Votes: 0
Answers: 1
Open filedialog when pluggin in pi pico
I want to execute my script in a specific folder of my pc, there is something in micropython that can open filedialog to choose that when the script start?
Luca Prezzo
Votes: 0
Answers: 0
Import Modules vice versa
In MicroPython I created two modules 'mod_a' and 'mod_b'.
I am trying to grab functionality from one to the other and the other way around.
|mod_a
| | foo.py
| | __init__.py
|mod b
| | baa.py
| | ...

Dinkheller
Votes: 0
Answers: 2