The difference between a compiler and an interpreter like Python is the compiler does all the work at once and then runs the new program whereas with an interpreter like Python you're doing this work at the same time.