hex<->dez<->oct<->bin
tomtom slash and pipe
This commit is contained in:
39
app/app.py
39
app/app.py
@@ -120,11 +120,29 @@ def auswahl_verarbeiten():
|
||||
elif auswahl == "Primfaktorenzerlegung":
|
||||
st.session_state.output_text = tools.primfaktoren(text)
|
||||
st.session_state.map_data = None
|
||||
elif auswahl == "REPLACE":
|
||||
st.session_state.output_text = tools.REPLACE(text)
|
||||
elif auswahl == "HEX -> DEZ,OCT,BIN":
|
||||
st.session_state.output_text = tools.hex_to_dez_oct_bin(text)
|
||||
st.session_state.map_data = None
|
||||
elif auswahl == "REPLACE":
|
||||
st.session_state.output_text = tools.REPLACE(text)
|
||||
elif auswahl == "DEZ -> HEX,OCT,BIN":
|
||||
st.session_state.output_text = tools.dez_to_hex_oct_bin(text)
|
||||
st.session_state.map_data = None
|
||||
elif auswahl == "OCT -> HEX,DEZ,BIN":
|
||||
st.session_state.output_text = tools.oct_to_hex_dez_bin(text)
|
||||
st.session_state.map_data = None
|
||||
elif auswahl == "BIN -> HEX,DEZ,OCT":
|
||||
st.session_state.output_text = tools.bin_to_hex_dez_oct(text)
|
||||
st.session_state.map_data = None
|
||||
elif auswahl == "Text->Tomtom":
|
||||
st.session_state.output_text = tools.abc_to_tomtom(text)
|
||||
st.session_state.map_data = None
|
||||
elif auswahl == "Tomtom->Text":
|
||||
st.session_state.output_text = tools.tomtom_to_abc(text)
|
||||
st.session_state.map_data = None
|
||||
elif auswahl == "Text->Slash and Pipe":
|
||||
st.session_state.output_text = tools.text_to_slashpipe(text)
|
||||
st.session_state.map_data = None
|
||||
elif auswahl == "Slash and Pipe->Text":
|
||||
st.session_state.output_text = tools.slashpipe_to_text(text)
|
||||
st.session_state.map_data = None
|
||||
elif auswahl == "REPLACE":
|
||||
st.session_state.output_text = tools.REPLACE(text)
|
||||
@@ -186,11 +204,14 @@ option = st.sidebar.radio("hidden_label",
|
||||
"ist (n.te) Primzahl?",
|
||||
"zeige n.te Primzahl",
|
||||
"Primfaktorenzerlegung",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"HEX -> DEZ,OCT,BIN",
|
||||
"DEZ -> HEX,OCT,BIN",
|
||||
"OCT -> HEX,DEZ,BIN",
|
||||
"BIN -> HEX,DEZ,OCT",
|
||||
"Text->Tomtom",
|
||||
"Tomtom->Text",
|
||||
"Text->Slash and Pipe",
|
||||
"Slash and Pipe->Text",
|
||||
"",
|
||||
),
|
||||
key='option',
|
||||
|
||||
Reference in New Issue
Block a user