revise the navigation bar and webpage stucture
This commit is contained in:
37
Homepage.py
37
Homepage.py
@@ -1,37 +0,0 @@
|
||||
import streamlit as st
|
||||
|
||||
# setup page setttings
|
||||
st.set_page_config(
|
||||
page_title="Welcome to PythonX",
|
||||
page_icon="👋",
|
||||
)
|
||||
|
||||
|
||||
# load pythonx logo
|
||||
st.image("./image/PythonXPicture.png")
|
||||
|
||||
st.markdown("# :question: What is PythonX")
|
||||
|
||||
st.markdown(
|
||||
""":blush: Computer programming is the art of designing and creating instructions for computers to follow and execute in the form of software programs. It involves using programming languages, algorithms, and data structures to solve problems and accomplish tasks. With the advancement of technology, programming has expanded beyond traditional computer platforms to include smartphones, smartwatches, and even automobiles. It has also become a powerful tool in other fields such as chemistry, biology, finance, and more.
|
||||
\nIn this tutorial, we aim to introduce the basics of Python programming and demonstrate its utility across various fields. Our goal is not to make you an expert software developer or engineer, but rather to equip you with fundamental Python programming skills that can enhance your work in your chosen field. That's why we've named this tutorial \"PythonX\" where 'X' represents the infinite possibilities and diverse applications in various domains."""
|
||||
)
|
||||
|
||||
|
||||
st.markdown("# :question: Why Choose Python")
|
||||
|
||||
st.markdown(
|
||||
"""
|
||||
|
||||
:snake: [Python](https://www.python.org/) is a high-level, widely-used programming language known for its simplicity and readability. As a general-purpose language, it is versatile enough to create a variety of software, including desktop applications, web and mobile apps, games, as well as for scientific and mathematical computing, data analysis and visualization, machine learning, and more.
|
||||
|
||||
:smiley: Python is also considered a **beginner-friendly** language due to its straightforward syntax, making it accessible for new programmers to learn. Furthermore, Python boasts a large and active community that provides a plethora of **libraries, frameworks, and modules**, enabling developers to perform complex tasks with minimal code.
|
||||
|
||||
:chart_with_upwards_trend: The language is widely utilized in **scientific and numerical computing, data science, and artificial intelligence**.
|
||||
|
||||
:+1: Overall, Python is a **powerful, versatile, and easy-to-learn** programming language, making it one of the most popular languages in use today.
|
||||
|
||||
"""
|
||||
)
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 20 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 20 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 747 KiB |
@@ -1,24 +0,0 @@
|
||||
import streamlit as st
|
||||
|
||||
st.title("Lesson 1: Introduction to Python")
|
||||
|
||||
st.markdown("# :one: From Idea to Program")
|
||||
|
||||
st.markdown(
|
||||
"""
|
||||
The following chat outlines the basic logic of computer programming. We start with a task that we want the computer to help complete.
|
||||
|
||||
- **Step 1**: The programmer **analyzes reuqirements** to identify the process to complete the task.
|
||||
- **Step 2**: The programmer **implements** the identified process in programming code as a computer program.
|
||||
- **Step 3**: The programmer **deploys** the program on the computer and let the complete complete the task and give expected outcomes.
|
||||
|
||||
This is a simplified outline of coding (computer programming), and additional steps may be involved depending on the task's complexity and the program.
|
||||
""")
|
||||
st.image("./image/CodingProcess.png")
|
||||
|
||||
|
||||
st.markdown("# :two: First Python Program: Hello PythonX!")
|
||||
st.markdown("""Now, let's try our first program, which print out "Hello PythonX" on our computer screen""")
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
import streamlit as st
|
||||
|
||||
st.title("Lesson 2: Create WordClouds in Python")
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
import streamlit as st
|
||||
|
||||
st.markdown("This page is used to list all references when implementing this online tutorials")
|
||||
st.markdown("""
|
||||
|
||||
- [Emoji for Markdown](https://gist.github.com/rxaviers/7360908)"
|
||||
- [Streamlit Cheat Sheet](https://cheat-sheet.streamlit.app/)
|
||||
|
||||
""")
|
||||
@@ -1,8 +0,0 @@
|
||||
import streamlit as st
|
||||
|
||||
|
||||
|
||||
video = "https://youtu.be/HluANRwPyNo?feature=shared"
|
||||
st.video(video)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user