<?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[String literal (f-string) not supported in uiflow &#x2F; micropython on M5StickC Plus?]]></title><description><![CDATA[<p dir="auto">Hi there,</p>
<p dir="auto">I have a script which is using string literal, something like:</p>
<p dir="auto">name = "john"<br />
print(f"My name is {name}")</p>
<p dir="auto">This code is not working in UIFlow v1 with an M5StickCPlus<br />
I also tried directly in the REPL and I have the same error.</p>
<p dir="auto">Can someone please confirm this is not supported (by UIFlow? Micropython version of the StickCPlus?)</p>
<p dir="auto">Thanks<br />
Eric</p>
]]></description><link>https://community.m5stack.com/topic/5693/string-literal-f-string-not-supported-in-uiflow-micropython-on-m5stickc-plus</link><generator>RSS for Node</generator><lastBuildDate>Fri, 06 Mar 2026 14:13:28 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/5693.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 08 Oct 2023 15:54:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to String literal (f-string) not supported in uiflow &#x2F; micropython on M5StickC Plus? on Mon, 23 Oct 2023 05:43:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/16469">@pandian-nano</a> yes you’re right, thanks for the clarification!</p>
]]></description><link>https://community.m5stack.com/post/22556</link><guid isPermaLink="true">https://community.m5stack.com/post/22556</guid><dc:creator><![CDATA[erich]]></dc:creator><pubDate>Mon, 23 Oct 2023 05:43:22 GMT</pubDate></item><item><title><![CDATA[Reply to String literal (f-string) not supported in uiflow &#x2F; micropython on M5StickC Plus? on Mon, 23 Oct 2023 03:56:12 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/5210">@erich</a>,<br />
These features(f string) are supported by microPython version v1.17 or higher and uiflow 1 is supported by micropython v1.12, so these features(f string) are not supported.</p>
<p dir="auto"><img src="/assets/uploads/files/1698032926816-wechat-screenshot_20231023114716-resized.png" alt="0_1698032926638_WeChat Screenshot_20231023114716.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/22555</link><guid isPermaLink="true">https://community.m5stack.com/post/22555</guid><dc:creator><![CDATA[pandian.nano]]></dc:creator><pubDate>Mon, 23 Oct 2023 03:56:12 GMT</pubDate></item><item><title><![CDATA[Reply to String literal (f-string) not supported in uiflow &#x2F; micropython on M5StickC Plus? on Fri, 20 Oct 2023 06:45:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/16469">@pandian-nano</a> thanks a lot this is very helpful but according to the page you mention your statement saying”fstring is not supported in micropython” is not totally true.<br />
If you refer to the page you mention you can use FString but not in all scenarios.</p>
<p dir="auto">Example;:</p>
<p dir="auto">print(f"{x}" "ab")  # works<br />
print("a{}a" f"{x}")  # fails</p>
<p dir="auto">FString is therefore ‘partially’ supported in micropython</p>
<p dir="auto">Thanks anyway, now I have an official explanation ;;)</p>
]]></description><link>https://community.m5stack.com/post/22514</link><guid isPermaLink="true">https://community.m5stack.com/post/22514</guid><dc:creator><![CDATA[erich]]></dc:creator><pubDate>Fri, 20 Oct 2023 06:45:33 GMT</pubDate></item><item><title><![CDATA[Reply to String literal (f-string) not supported in uiflow &#x2F; micropython on M5StickC Plus? on Fri, 20 Oct 2023 06:15:05 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/5210">@erich</a> f-strings don’t support for micropython<br />
refer this link: <a href="https://docs.micropython.org/en/latest/genrst/core_language.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.micropython.org/en/latest/genrst/core_language.html</a></p>
<p dir="auto"><img src="/assets/uploads/files/1697782420618-wechat-screenshot_20231020141318-resized.png" alt="0_1697782420373_WeChat Screenshot_20231020141318.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/22513</link><guid isPermaLink="true">https://community.m5stack.com/post/22513</guid><dc:creator><![CDATA[pandian.nano]]></dc:creator><pubDate>Fri, 20 Oct 2023 06:15:05 GMT</pubDate></item><item><title><![CDATA[Reply to String literal (f-string) not supported in uiflow &#x2F; micropython on M5StickC Plus? on Wed, 18 Oct 2023 04:01:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/16469">@pandian-nano</a> thanks I have already applied this workaround but I was just asking for confirmation that f-string is not supported on the StickCPlus with uiflow1.</p>
]]></description><link>https://community.m5stack.com/post/22494</link><guid isPermaLink="true">https://community.m5stack.com/post/22494</guid><dc:creator><![CDATA[erich]]></dc:creator><pubDate>Wed, 18 Oct 2023 04:01:48 GMT</pubDate></item><item><title><![CDATA[Reply to String literal (f-string) not supported in uiflow &#x2F; micropython on M5StickC Plus? on Wed, 18 Oct 2023 01:26:00 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/5210">@erich</a><br />
For example:<br />
name='john'<br />
print("my name is {0}".format(name))</p>
]]></description><link>https://community.m5stack.com/post/22493</link><guid isPermaLink="true">https://community.m5stack.com/post/22493</guid><dc:creator><![CDATA[pandian.nano]]></dc:creator><pubDate>Wed, 18 Oct 2023 01:26:00 GMT</pubDate></item></channel></rss>