Created
March 8, 2022 22:29
-
-
Save alexlenail/0a38ac0041fb6d908f2dd16fd714c04a to your computer and use it in GitHub Desktop.
This file contains 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
# Long running cell | |
import multiprocessing, time | |
def network_call(): | |
for i in range(20): | |
print(i) | |
time.sleep(1) | |
multiprocessing.Process(target=network_call).start() | |
# Another cell | |
print("Output from another cell") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment