0
Question about Python Module ⁉️
Hi, I noticed that if you want to run HTML or CSS in Python in Sololearn, you have to type: important os ....... os.system ("touch file.png") Now, my question is "touch file.png" What is it? And when I run it on my computer it gets error. I know that cmd commands have to be used in os.system ().
1 Antwort
+ 2
'touch' is an UNIX command used to change timestamps of a file. It changes 'access' and 'modify' timestamps, if the file doesn't exist then it will create it by default. Iirc you cannot use 'touch' in windows.