How to create files, folders and run python program using CMD
Thereareseveralwaystopresenttheoutputofaprogram;datacanbeprintedinahuman-readableform,orwrittentoafileforfutureuse.,TocreateafileinPython,youcanusetheopen()functionwiththe'a'modesuchasfile=open('myfile.txt','a').Thisfunctionopensa ...PythonFileCr...。參考影片的文章的如下: