Skip to content

Instantly share code, notes, and snippets.

@glof2
Last active June 9, 2020 08:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save glof2/b8b051b2467a3d103c9ac6f670325146 to your computer and use it in GitHub Desktop.
Save glof2/b8b051b2467a3d103c9ac6f670325146 to your computer and use it in GitHub Desktop.
#!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