Hello I have done python for some time now. I'm forgetting things. This is the faulty line : outfile = open("output/mainwindow.h",'w') I thought it would have created the folder ouput and the file mainwindow.h for me but it's throwing an error