Mastodon Feed: Post

Mastodon Feed

jonny@neuromatch.social ("jonny (nonvenomous)") wrote:

Good lord what in the fuck

an ad-hoc "save data" script in a jupyter notebook that constructs a python module by constructing a string from a literal, catting the inspected source from live functions to it, calling eval, and then writing that out to a separate script? despite the fact that.... we are in a jupyter notebook??? and we can just.... write python??? and run it???