I'm new to python and I've got a problem. In a python progamm I want to create a new file to write text into it. How can I create a new File in python? I've searched in the documentation but I found nothing. I've tried it with open and fopen but it didn't work. Can someone help me please?