1 2 3 4 5 6 7 8
import os os.fopen("file",0777) file= "super plik" a=os.getcwd() print a #os.listdir()
1 2 3 4
Traceback (most recent call last): Line 3, in <module> os.fopen("file",0777) AttributeError: 'module' object has no attribute 'fopen'