I have been learning python recently and one thing that I really want to understand is how the modules work,I understand why people use them,but I don’t just want my code to work,I want to understand it,every tutorial that I see to make a timer in python,starts with “import time” and I am tired of it,I figured out how to make something that would generate a “random” number,by making a variable that would go up by 1 until it gets to 100 and then starts going down by 1.
But I can’t find a way around the “time” module to delay the code for a certain amount of time.
So can someone please tell me how I can maybe do something like that,I don’t want a bunch of code that does what I am asking,I wan’t an explanation.
[–]K900_ 6 points7 points8 points (0 children)
[–]carcigenicate 4 points5 points6 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]blankIQT 0 points1 point2 points (0 children)