Is there a way to run two pieces of code at once in python?
Zackyd00 (0)

So I want to create an achievement system for something im making, but want it to update as the main.py is running. Is there a way to do this?

You are viewing a single comment. View All
Answered by Coder100 (18939) [earned 5 cycles]
View Answer
robowolf (550)

Try threading. Here's an example. How it works is essentially you run a function along with you other code.