Sam Howell on Nostr: Just when I thought I couldn't go wrong with some simple print() lines, I find my ...
Just when I thought I couldn't go wrong with some simple print() lines, I find my script flushes them when exiting, defeating the purpose of their placement in the script. Now I need to get a grasp of how to appropriately flush. Every day's a school day... #python #coding #scripting
Published at
2024-02-13 18:28:36Event JSON
{
"id": "a5b70a45ecec6593404929773d95dec377c4db201c1b28bddd023a5dd688970b",
"pubkey": "df46b7d3b3f5046e237c51e6ea56ed2ac18c8ba569641ff2bfe26a51e8ff468f",
"created_at": 1707848916,
"kind": 1,
"tags": [
[
"t",
"python"
],
[
"t",
"coding"
],
[
"t",
"scripting"
],
[
"proxy",
"https://fosstodon.org/users/5am/statuses/111925586571316359",
"activitypub"
]
],
"content": "Just when I thought I couldn't go wrong with some simple print() lines, I find my script flushes them when exiting, defeating the purpose of their placement in the script. Now I need to get a grasp of how to appropriately flush. Every day's a school day... #python #coding #scripting",
"sig": "b41290cc4c5806405c7a85869cd6ebb5f0d71a6dacbbd8a7c85968d5a7136f82eba49975f0328d592cc5f6e40476563f013461b67e480c171e388383f5cce844"
}