<?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[Delete stock *.py apps from M5S-Core]]></title><description><![CDATA[<p dir="auto">Most of these are useless, after first test.<br />
How can I delete them, or are they embedded?</p>
]]></description><link>https://community.m5stack.com/topic/3484/delete-stock-py-apps-from-m5s-core</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 11:01:22 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/3484.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 27 Jul 2021 21:46:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Delete stock *.py apps from M5S-Core on Fri, 30 Jul 2021 01:10:52 GMT]]></title><description><![CDATA[<p dir="auto">Nope...</p>
]]></description><link>https://community.m5stack.com/post/14544</link><guid isPermaLink="true">https://community.m5stack.com/post/14544</guid><dc:creator><![CDATA[ganeyvim]]></dc:creator><pubDate>Fri, 30 Jul 2021 01:10:52 GMT</pubDate></item><item><title><![CDATA[Reply to Delete stock *.py apps from M5S-Core on Thu, 29 Jul 2021 18:23:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/robalstona" aria-label="Profile: robalstona">@<bdi>robalstona</bdi></a> said in <a href="/post/14530">Delete stock *.py apps from M5S-Core</a>:</p>
<blockquote>
<p dir="auto">import os</p>
<h1>change directory and delete</h1>
<p dir="auto">os.chdir("/apps")<br />
os.remove("<a href="http://example.py" target="_blank" rel="noopener noreferrer nofollow ugc">example.py</a>")</p>
<h1>ewentually delete with full path</h1>
<p dir="auto">os.remove("/apps/example.py")</p>
<h1>print file list of actual directory</h1>
<p dir="auto">print( os.listdir() )</p>
</blockquote>
<p dir="auto">Thanks. Will give this a try.</p>
]]></description><link>https://community.m5stack.com/post/14540</link><guid isPermaLink="true">https://community.m5stack.com/post/14540</guid><dc:creator><![CDATA[ganeyvim]]></dc:creator><pubDate>Thu, 29 Jul 2021 18:23:00 GMT</pubDate></item><item><title><![CDATA[Reply to Delete stock *.py apps from M5S-Core on Wed, 28 Jul 2021 15:34:02 GMT]]></title><description><![CDATA[<p dir="auto">You could use a python commands in REPL via serial port connection or <strong>execute</strong> block in UiFlow. These .py files should be placed in <strong>/apps</strong> folder in flash</p>
<pre><code>import os

# change directory and delete
os.chdir("/apps")
os.remove("example.py")

# ewentually delete with full path
os.remove("/apps/example.py")

# print file list of actual directory
print( os.listdir() )
</code></pre>
]]></description><link>https://community.m5stack.com/post/14530</link><guid isPermaLink="true">https://community.m5stack.com/post/14530</guid><dc:creator><![CDATA[robalstona]]></dc:creator><pubDate>Wed, 28 Jul 2021 15:34:02 GMT</pubDate></item></channel></rss>