We use cookies to enhance your browsing experience and help us improve our websites. To improve our website, we carefully select third parties that use cookies to allow us to serve specific content and achieve the purposes set out in our cookie policy. For more information on how to make adjustments through your browser to the cookies being used on your device, please click Find Out More link. By closing this banner or continuing to browse our website, you agree to our use of such cookies. FIND OUT MORE
Hi
is it possible to create empty file in module using python script?
the code below doesn’t seem to work:
Thank you
Indeed is not working. What would be your need to create an empty file?
Because i made a file class which has "create file method" ; i wanted to fill it later with append
but since that doesnt work i am creating file when i have something to write
PS: That code is a python example i found on net to create empty file
i guess it is working on PC environment