mercredi 10 janvier 2024

why always i have who add the time package on diverse progamming languages? [closed]

It's always strange to me to have to import the time package into the code, something that in my opinion is so important and basic that it's not directly included without being imported from.

Python sample:

import time time.sleep(1)


I see this in almost all programming languages. I want to understand why this happens, if it does, I'm trying to increase my general understanding of programming.

Ps: Thanks to everyone who wants to help by answering me!

I hope to learn a little more!





Aucun commentaire:

Enregistrer un commentaire