UIFLOW does not save python code
-
Yes, its been so since beginning. We hope it will be implented soon
-
UIFlow cannot save python code.You can save .py file in visual studio.
-
The only way to get custom code to save within UIFlow is to...
- add it to the Execute block (under Advanced)
- Create your own custom blocks with http://block-maker.m5stack.com/
-
@sysdl132 Yes, but it is confusing because I can save it, but nothing is saved :-)
-
If you want to download visual studio,click me
-
@sysdl132 said in UIFLOW does not save python code:
If you want to download visual studio,click me
No problem, already installed (I'm a developer). Its just dangerous if someone save a file in UiFlow and then nothing is in it. So maybe m5stack should disable the save button if you are in py-code. :-)
-
@m5stickfreakler only the blocks are saved not micropython code. This has been the same since the beginning.
-
@ajb2k3 said in UIFLOW does not save python code:
@m5stickfreakler only the blocks are saved not micropython code. This has been the same since the beginning.
What will you say with that? I know it is not saving micropython code - that's the point!
Again: If I have the python code in front of you and then save it, then it is not saved and you don't see that.
A good UI does not allow such things.
So in my opinion there are two solutions:- It is not possible to use the save function if switched to python code
- or it saves a py-file if switched to python code
-
Just use vs code lol
You can run uiflow dual-box to check for m5 libraries code and simply copy strings to vs code -
Import large MicroPython scripts with UIFlow
https://qiita.com/ciniml/items/68bc7f362d6985efc640