+ 2
Why is python stdout able to visually render html when theres a .png file created alongside?
why is the python output able to visually render the html when you create a .png file? https://code.sololearn.com/c0DYobJ639fK/?ref=app The above code uses `open('.png','w').write('')` https://code.sololearn.com/cWNO6vBzdrwV/?ref=app This next one uses os.system('touch .png') without either of the above snippets, the raw css and html code is what gets printed to the console output Can someone explain this to me?
3 Respostas
+ 1
Nyakotey🇬🇭🎹 recently I gave an explanation in an answer to this question: https://www.sololearn.com/Discuss/3186134/?ref=app
0
thanks for your answers