Last active
June 9, 2020 08:42
-
-
Save glof2/b8b051b2467a3d103c9ac6f670325146 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!python3 | |
# Skrypt testowany na wersji 3.7 Pythona | |
# Potrzebne biblioteki: | |
# PySimpleGUI - Dokumentacja: https://pysimplegui.readthedocs.io/en/latest/ | |
# Importuje potrzebne biblioteki | |
import time | |
import PySimpleGUI as sg | |
# Prosty Interface i wprowadzanie danych w oknie konsoli | |
print("---Program przypominajacy---") | |
przypomnienie = str(input("O czym Ci przypomniec?: ")) | |
czas = int(input(f"Za ile przypomniec ci o : {przypomnienie}; (w sekundach):")) | |
# Czekaj 'czas' sekund i wyswietl okienko z przypomnieniem | |
time.sleep(czas) | |
sg.popup(przypomnienie, title="Przypomnienie!") | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment