Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import os, platform
- if platform.system() == "Windows":
- import msvcrt
- def getch():
- if platform.system() == "Linux":
- os.system("bash -c \"read -n 1\"")
- else:
- msvcrt.getch()
- print("Tipee una letra!")
- getch()
- print("\nJoya :)")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement