install and edit django.wsgi
.
sudo apt-get install libapache2-mod-wsgi
nano django.wsgi
Inside nano editor write the following codes
# -*- coding: utf-8 -*- | |
""" | |
Verify the given mail id is valid or not without sending mail. Verifying the email id directly from mail exchange server. | |
""" | |
import argparse | |
import smtplib | |
import dns.resolver | |
import re |
find . -name "*.pyc" -exec rm -rf {} \;
or use this:
find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
source: link