Ned Batchelder on Nostr: String formatting in #Python lets you left-, right-, or center-justify a value. You ...
String formatting in #Python lets you left-, right-, or center-justify a value. You can specify the fill character to use. The syntax is colon, fill-char, <^>, width:
Published at
2024-11-21 11:12:54Event JSON
{
"id": "6d58af50686f508e67075fd9b23f29c2cf731bb06701d47d9b388211d211f5f6",
"pubkey": "3c1a5dbc82cfc12f65f6bd9e283d71bd4a6f1ca853640666cfd5c856037806b1",
"created_at": 1732187574,
"kind": 1,
"tags": [
[
"t",
"python"
],
[
"imeta",
"url https://media.hachyderm.io/media_attachments/files/113/520/644/737/322/977/original/2d510b0b29a8b449.png",
"m image/png",
"dim 764x584",
"blurhash U56uP8x[D6M{oNj]bFWUR6aftRjbVuV[oxoy"
],
[
"proxy",
"https://hachyderm.io/users/nedbat/statuses/113520644869408039",
"activitypub"
]
],
"content": "String formatting in #Python lets you left-, right-, or center-justify a value. You can specify the fill character to use. The syntax is colon, fill-char, \u003c^\u003e, width:\n\nhttps://media.hachyderm.io/media_attachments/files/113/520/644/737/322/977/original/2d510b0b29a8b449.png",
"sig": "b3bb8b84bb7195ff05d4adfbc34e18c12bbdfd75396f5e44832157885a2a7a28ba5d12cb461c5a6d05030b6f9806572e2774b82fe9fb5b8874e9cbb6bcff3fb4"
}