On 17/10/2026 18:46, Stéphane CARPENTIER wrote:
[..]
> With some typed languages, you can't use a variable if you didn't
> declare it's type before. With python, you don't need to declare
> integers and strings but you need to declare dictionaries. Why? Don't
> know.
I guess you confuse assigning a type with creating an object of a specific type.
> With python, that looks easy and when I fix something, it breaks
> something else for reasons I don't understand.
I recommend to install Copilot CLI on your system and ask it to explain why your script breaks. It's quite good at explaining is my experience.
--
Static tumblelog generator: https://github.com/john-bokma/tumblelog/
Available as Python or Perl. Example tumblelog: https://plurrrr.com/