What is Nostr?
Al Sweigart /
npub138a…88z7
2024-06-13 14:46:32

Al Sweigart on Nostr: Question: In this bit of Python code: for i in range(len(message)): chunk = ...

Question: In this bit of Python code:

for i in range(len(message)):
chunk = some_str[i:i+10]
...

What is a better variable name than "chunk"? I don't want to use "substring" or "submessage". Maybe "message_part"?
Author Public Key
npub138afdyyaxs7ta0ugnuf3jt3swxtz83gsywf5grg465w5ktqg7z2qds88z7