add testing page

This commit is contained in:
Cheng Zhang
2024-09-05 10:59:51 -05:00
parent bafb6de280
commit 8a08257986
8 changed files with 49 additions and 8 deletions

View File

@@ -8,7 +8,7 @@ st.set_page_config(
# load pythonx logo
st.image("../image/PythonXPicture.png")
st.image("./image/PythonXPicture.png")
st.markdown("# :question: What is PythonX")
@@ -33,3 +33,5 @@ st.markdown(
"""
)

BIN
image/CodingProcess.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -1,3 +0,0 @@
import streamlit as st
st.title("Lesson1")

View File

@@ -1,3 +0,0 @@
import streamlit as st
st.title("Lesson2")

View File

@@ -0,0 +1,24 @@
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""")

View File

@@ -0,0 +1,4 @@
import streamlit as st
st.title("Lesson 2: Create WordClouds in Python")

View File

@@ -0,0 +1,9 @@
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/)
""")

8
pages/testing.py Normal file
View File

@@ -0,0 +1,8 @@
import streamlit as st
video = "https://youtu.be/HluANRwPyNo?feature=shared"
st.video(video)