<?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[Akash Kumar]]></title><description><![CDATA[A blog where I (Akash) share tutorials, experiments, and insights on programming, web development, automation, and technology.]]></description><link>https://akashkmr.hashnode.dev</link><image><url>https://cdn.hashnode.com/uploads/logos/69ab39ef0bca1a3976495f73/9af5598c-7f3e-4dcf-a2b6-630c5c25957c.png</url><title>Akash Kumar</title><link>https://akashkmr.hashnode.dev</link></image><generator>RSS for Node</generator><lastBuildDate>Sun, 20 Sep 2026 03:47:43 GMT</lastBuildDate><atom:link href="https://akashkmr.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Streamlit Tutorial]]></title><description><![CDATA[Streamlit is a Python library for creating webpages. Streamlit does not require programmers to know HTML, CSS, or JavaScript.
Streamlit writes declarative Python code.
How to initialise a Streamlit Pr]]></description><link>https://akashkmr.hashnode.dev/streamlit-tutorial</link><guid isPermaLink="true">https://akashkmr.hashnode.dev/streamlit-tutorial</guid><category><![CDATA[streamlit]]></category><dc:creator><![CDATA[Akash]]></dc:creator><pubDate>Fri, 06 Mar 2026 21:05:47 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/69ab39ef0bca1a3976495f73/30f4f420-29ae-40ac-a359-4302ea6e5055.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Streamlit is a Python library for creating webpages. Streamlit does not require programmers to know HTML, CSS, or JavaScript.</p>
<p><a href="https://streamlit.io/">Streamlit</a> writes declarative Python code.</p>
<h2>How to initialise a Streamlit Project</h2>
<pre><code class="language-bash">uv init {project name)
uv add streamlit
</code></pre>
<h2>How to Run</h2>
<p>In my case, so I used it.</p>
<p>But if it doesn’t work for you, then Use:</p>
<pre><code class="language-shell">uvx streamlit run main.py
</code></pre>
<p>where <a href="http://main.py">main.py</a> is your filename</p>
<h2>How to Write Streamlit Code</h2>
<h3>title</h3>
<pre><code class="language-python">import streamlit as st
st.title("Programming Language Picker")
</code></pre>
<h3>subheader</h3>
<pre><code class="language-python">st.subheader("Welcome to Programming Language Picker")
</code></pre>
<h3>text</h3>
<pre><code class="language-python">st.text("This is programming language picker in which you are given option to choose one language")
</code></pre>
<h3>write</h3>
<pre><code class="language-python">st.write("Here is programming Language Picker")
</code></pre>
<h3>select box</h3>
<p>To create an option picker, a tool <code>st.selectbox( “ “, [ ] )</code> is used. Inside the quote, “title of options" goes, and a list is also passed, and each member of the list is an option.</p>
<pre><code class="language-python">st.selectbox("Your Favourite Language", ["JavaScripts", "Python", "Kotlin", "C++"])
</code></pre>
<p>You can also store it in a variable and use it later.</p>
<h3>success</h3>
<pre><code class="language-python">st.success("Thank You for choosing Language")
</code></pre>
<h3>How our site looks:</h3>
<img src="https://cdn.hashnode.com/uploads/covers/69ab39ef0bca1a3976495f73/1b49ea7c-ab97-4d26-8f36-9b6678c82254.jpg" alt="" style="display:block;margin:0 auto" />]]></content:encoded></item></channel></rss>