-
Hi, Does anyone know how to use the uio module in pybrick to read a txt file that saved at the same path as the project (main.py)? Normally we do f = open('myfile.txt', 'r') in python. May I know how to use it in pybrick? Appreciate for your response. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
This works in Pybricks on ev3dev too. |
Beta Was this translation helpful? Give feedback.
-
Hi dlech, thank you so much. I have figured out the issue. The file path location should be like this '../storelocation_bycolor.txt'. Issue resolved. Thank you! |
Beta Was this translation helpful? Give feedback.
Hi dlech, thank you so much. I have figured out the issue. The file path location should be like this '../storelocation_bycolor.txt'. Issue resolved. Thank you!