linux - accessing *nix file system through django -


i have django project installed in /home/user/project. , have strokes in code, processing files in file system. if make new directory os.makedirs('crowdin_temp') created within django project folder. if make os.system commands file system (like os.system("rm crowdin_temp/" + file_name)) file within project directory visible. makes me feel django project folder visible. possible process files outside of project folder? (e.g. in /home/user/ directory)

why don't specify full path?

$ ./manage.py shell >>> import os >>> os.makedirs('/tmp/temp') >>> os.system('touch /tmp/temp/somefile') 0 >>> os.system('rm /tmp/temp/somefile') 0 

Comments

Popular posts from this blog

Upgrade php version of xampp not success -

amazon web services - S3 and apache mod_proxy with basic authentication -

powershell - This solution contains one or more assemblies targeted for the global assembly cache -