more shapely
shenanigans
#503
villares
started this conversation in
Show and tell
Replies: 2 comments 3 replies
-
Nice experiment. Why did you try monkey patching here? I agree, it can be useful, but I do try to avoid it also. Here you could have written a stand-alone |
Beta Was this translation helpful? Give feedback.
1 reply
-
py5.run_sketch(block=False) Is there a way to write Python code to determine if it is running through the Thonny editor and not a generic Python interpreter? For example, IPython and Jupyter define the variable |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
EDIT: I simplified the code using the suggestion from @hx2A in comment down here, the previous code had some monkey-patching and the text below then made sense:
Beta Was this translation helpful? Give feedback.
All reactions