Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Delete __main__.<line> @L1
- Delete __main__.<line> @L2
- Delete __main__.func @L4
- Delete __main__.<line> @L7
- Run __main__ @L1: import time
- Run __main__ @L2: import sys
- Add __main__.func @L4
- Run __main__ @L7: if __name__ == "__main__":
- print(__name__)
- while True:
- func()
- time.sleep(1)
Advertisement
Add Comment
Please, Sign In to add comment