Search found 1 match

by electricidea
Wed Mar 09, 2022 1:44 pm
Forum: MicroPython pyboard
Topic: how to execute "OTHER" python scripts
Replies: 12
Views: 60212

Re: how to execute "OTHER" python scripts

Another possibility is to load and execute the script with the exec() command:
exec(open("foo.py").read())