add testing page
This commit is contained in:
@@ -8,7 +8,7 @@ st.set_page_config(
|
|||||||
|
|
||||||
|
|
||||||
# load pythonx logo
|
# load pythonx logo
|
||||||
st.image("../image/PythonXPicture.png")
|
st.image("./image/PythonXPicture.png")
|
||||||
|
|
||||||
st.markdown("# :question: What is PythonX")
|
st.markdown("# :question: What is PythonX")
|
||||||
|
|
||||||
@@ -33,3 +33,5 @@ st.markdown(
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
BIN
image/CodingProcess.png
Normal file
BIN
image/CodingProcess.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
@@ -1,3 +0,0 @@
|
|||||||
import streamlit as st
|
|
||||||
|
|
||||||
st.title("Lesson1")
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
import streamlit as st
|
|
||||||
|
|
||||||
st.title("Lesson2")
|
|
||||||
24
pages/Lesson_1_Introduction_to_Python.py
Normal file
24
pages/Lesson_1_Introduction_to_Python.py
Normal 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""")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
4
pages/Lesson_2_Create_WordClouds_in_Python.py
Normal file
4
pages/Lesson_2_Create_WordClouds_in_Python.py
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
import streamlit as st
|
||||||
|
|
||||||
|
st.title("Lesson 2: Create WordClouds in Python")
|
||||||
|
|
||||||
9
pages/resources_for_coding.py
Normal file
9
pages/resources_for_coding.py
Normal 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
8
pages/testing.py
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
import streamlit as st
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
video = "https://youtu.be/HluANRwPyNo?feature=shared"
|
||||||
|
st.video(video)
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user