First, download Django-1.1.1.tar.gz. Then:
tar xzvf Django-1.1.1.tar.gz
cd Django-1.1.1
sudo python setup.py install
First, download Django-1.1.1.tar.gz. Then:
tar xzvf Django-1.1.1.tar.gz
cd Django-1.1.1
sudo python setup.py install
$ sshfs pyncus@pyncus.com:/home/pyncus /mnt/remote-fs
fuse: mountpoint is not empty
fuse: if you are sure this is safe, use the ‘nonempty’ mount option
If you see this error, try the below as suggested.
$ sshfs -o nonempty pyncus@pyncus.com:/home/pyncus /mnt/remote-fs
Wine lets you run Windows software on other operating systems. With Wine, you can install and run these applications just like you would in Windows.
You can use shutil for high-level file operation (copy, move, delete etc.) in Python.
e.g.,
>>>import shutil
>>>shutil.copy(src,dest)
src is a source file.
dest is a target directory.
>>>import os
>>>os.path.isdir(fileordirectoryname)
If directory, its output will be True.
If not, it will be False.
>>>import os
>>>os.chdir(‘..’)
>>>os.chdir(‘/home/weboom/’)
How to comment in django template file
Ignore everything between {% comment %} and {% endcomment %}