<?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[Import python module in UIFlow project]]></title><description><![CDATA[<p dir="auto">Hello,<br />
I would like to use a Python class from <a href="https://github.com/nasa/XPlaneConnect" target="_blank" rel="noopener noreferrer nofollow ugc">this project</a> in order to send commands directly to my X-Plane flight simulator.<br />
Is there a way to import a python class to a UIFlow project?<br />
I guess I could use a custom block but for now it doesn't work (when I click on create *.m5b file, a window shows a 502 bad Gateway error on both UIFlowDesktop and online)</p>
<p dir="auto">Thanks,</p>
<p dir="auto">Nicolas</p>
]]></description><link>https://community.m5stack.com/topic/2608/import-python-module-in-uiflow-project</link><generator>RSS for Node</generator><lastBuildDate>Sun, 15 Mar 2026 20:29:09 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/2608.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 15 Dec 2020 21:04:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Import python module in UIFlow project on Wed, 16 Dec 2020 13:56:07 GMT]]></title><description><![CDATA[<p dir="auto">thanks <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/187">@world101</a><br />
I've seen this block but I can't manage to paste anything in it, it looks like pasteboard doesn't work in UIFlow IDE ... do you know any workaround ? (besides emulating keystrokes ...)</p>
<p dir="auto">Edit : Ok I managed to drag and drop the code in the Execute block text field, and I think we can edit it in the Python tab. Will try stuff now, thanks !</p>
]]></description><link>https://community.m5stack.com/post/11238</link><guid isPermaLink="true">https://community.m5stack.com/post/11238</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Wed, 16 Dec 2020 13:56:07 GMT</pubDate></item><item><title><![CDATA[Reply to Import python module in UIFlow project on Wed, 16 Dec 2020 11:48:12 GMT]]></title><description><![CDATA[<p dir="auto">Try using the Execute block in uiFlow to import the module and also for any custom commands.</p>
]]></description><link>https://community.m5stack.com/post/11237</link><guid isPermaLink="true">https://community.m5stack.com/post/11237</guid><dc:creator><![CDATA[world101]]></dc:creator><pubDate>Wed, 16 Dec 2020 11:48:12 GMT</pubDate></item></channel></rss>