Trey Hunner 🐍 on Nostr: If you had the ability to run some Python code in every Python REPL launched on your ...
If you had the ability to run some Python code in every Python REPL launched on your machine what would it do? (Automagically available PyPI dependencies are allowed)
Asking for someone who just realized they are not yet heavily overusing their PYTHONSTARTUP file. (me)
Seriously, I'm looking for ideas. Good ones, bad ones, all ideas welcome.
#Python
Published at
2025-10-09 03:31:45 UTCEvent JSON
{
"id": "c26e7b46b496c6679944e00a8151feae5f1eeec723521e4298726acaebebe606",
"pubkey": "7e9159fbfd5526415c8d2de2e4c7654e3660883f9ccae720a70fa3c1f3cf1f45",
"created_at": 1759980705,
"kind": 1,
"tags": [
[
"t",
"python"
],
[
"proxy",
"https://mastodon.social/@treyhunner/115342095523453647",
"web"
],
[
"proxy",
"https://mastodon.social/users/treyhunner/statuses/115342095523453647",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.social/users/treyhunner/statuses/115342095523453647",
"pink.momostr"
],
[
"-"
]
],
"content": "If you had the ability to run some Python code in every Python REPL launched on your machine what would it do? (Automagically available PyPI dependencies are allowed) \n\nAsking for someone who just realized they are not yet heavily overusing their PYTHONSTARTUP file. (me)\n\nSeriously, I'm looking for ideas. Good ones, bad ones, all ideas welcome.\n\n#Python",
"sig": "df2093d0683c2cf28a03237987567788d46ef32d42fd2bc0ab9e38cc983299d82d609641e2f83a1f1dc0ad5208399239f1123b40d4b509f6332dcdf69ea8c586"
}