<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Combining files?]]></title><description><![CDATA[<p dir="auto">I would like to combine 2 m5f files, but I can't seem to find a way. Is this supported?</p>
]]></description><link>https://community.m5stack.com/topic/1861/combining-files</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 06:49:24 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/1861.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 18 Apr 2020 03:30:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Combining files? on Mon, 20 Apr 2020 12:14:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dclaar" aria-label="Profile: dclaar">@<bdi>dclaar</bdi></a><br />
I'm using 2 techniques:</p>
<ol>
<li>Use Notepad++ as an editor. If you name your program *.py, it will highlite the code as in Blockly/Python. You can then copy and paste the code into UIflow (but you cant save them there). So if the code works, I copy and paste the code back into Notepad++ and save it as a *.py file.</li>
<li>Using the standard editor programming ESP32 and ESP8266 in microphyton: yPyCraft or Thonny (<a href="https://randomnerdtutorials.com/getting-started-micropython-esp32-esp8266/" target="_blank" rel="noopener noreferrer nofollow ugc">https://randomnerdtutorials.com/getting-started-micropython-esp32-esp8266/</a>). The UIFlow Python editor probably is a clone of one of these. With these editors you can even do a simple code/syntax check, then copy and paste back and forth as I described with Notepad++.</li>
</ol>
]]></description><link>https://community.m5stack.com/post/8256</link><guid isPermaLink="true">https://community.m5stack.com/post/8256</guid><dc:creator><![CDATA[crami25]]></dc:creator><pubDate>Mon, 20 Apr 2020 12:14:48 GMT</pubDate></item><item><title><![CDATA[Reply to Combining files? on Mon, 20 Apr 2020 09:10:07 GMT]]></title><description><![CDATA[<p dir="auto">Same problem, that's how i deal with it : i open boths m5f files in blocknote (windows) and do some copy paste in UIflow.<br />
And close to that problem, when i want to save from UIflow my python code, i copy from UIflow , paste it in blocknote and save it.<br />
Not really happy with that.</p>
]]></description><link>https://community.m5stack.com/post/8244</link><guid isPermaLink="true">https://community.m5stack.com/post/8244</guid><dc:creator><![CDATA[Serge]]></dc:creator><pubDate>Mon, 20 Apr 2020 09:10:07 GMT</pubDate></item><item><title><![CDATA[Reply to Combining files? on Mon, 20 Apr 2020 03:16:11 GMT]]></title><description><![CDATA[<p dir="auto">Thanks! I was hoping to merge the UiFlow code.<br />
<em>The rest is kind of philosphical</em><br />
I keep trying to create something in this kind of drag-and-drop, just to see how it has progressed. And it really <em>is</em> nice for testing out a few lines just to see what happens.<br />
But I've always run into limitations, and dropped back into a text editor and a "real" language. (No offense to UiFlow intended).<br />
Besides, I can crank out Python in a fraction of the time it takes to drag around GUI elements. Particularly since it's my day job. But the allure of writing a program with blocks remains.</p>
]]></description><link>https://community.m5stack.com/post/8238</link><guid isPermaLink="true">https://community.m5stack.com/post/8238</guid><dc:creator><![CDATA[dclaar]]></dc:creator><pubDate>Mon, 20 Apr 2020 03:16:11 GMT</pubDate></item><item><title><![CDATA[Reply to Combining files? on Sat, 18 Apr 2020 16:13:08 GMT]]></title><description><![CDATA[<p dir="auto">Beyond Compare would be another way to merge the files, allowing you to visually compare what code you want to keep from each file.</p>
]]></description><link>https://community.m5stack.com/post/8218</link><guid isPermaLink="true">https://community.m5stack.com/post/8218</guid><dc:creator><![CDATA[world101]]></dc:creator><pubDate>Sat, 18 Apr 2020 16:13:08 GMT</pubDate></item><item><title><![CDATA[Reply to Combining files? on Sat, 18 Apr 2020 14:11:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dclaar" aria-label="Profile: dclaar">@<bdi>dclaar</bdi></a> As far as I know, it would be difficult to do that using the UiFlow platform. But you could try the following way using Visual Studio Code:</p>
<ol>
<li>Assume your m5f files are A.m5f and B.m5f.</li>
<li>Open A.mf5 with UiFlow and go the python tab and copy your python code and save it to <a href="http://A.py" target="_blank" rel="noopener noreferrer nofollow ugc">A.py</a>.</li>
<li>Do the same for B.mf5, save to <a href="http://B.py" target="_blank" rel="noopener noreferrer nofollow ugc">B.py</a>.</li>
<li>Open Visual Studio Code, and combine your two python codes.<br />
Of course, you have to make sure which one (A or B) is the main program and you have to make "correction" when combining the two codes. But DO NOT EXPECT that your new combined python code can be opened and further modified by using UiFlow platform.</li>
</ol>
]]></description><link>https://community.m5stack.com/post/8215</link><guid isPermaLink="true">https://community.m5stack.com/post/8215</guid><dc:creator><![CDATA[liemph]]></dc:creator><pubDate>Sat, 18 Apr 2020 14:11:40 GMT</pubDate></item></channel></rss>