Tag: python
-
Updated
Scrapy: The Web Scraping Framework for Python
Category: Python, Web Development
Scrapy is a fast high-level web crawling and web scraping framework. Notes on install, the interactive shell, spiders, items, pipelines, and debugging.
-
Updated
Parse datetime in Python and JavaScript
Category: JavaScript, Python, Web Development
Use dateutil and moment.js
-
Updated
Send Emails in Django
Category: Python, Web Development
Sending emails with Amazon SES, Mailgun, Zoho, or Gmail in Django.
-
Updated
Send Email Attachments with Unicode Filenames in Django
Category: Python, Web Development
Use MIMEApplication and set the attachment header yourself. Otherwise Gmail shows a Chinese filename as noname.
-
Updated
-
Updated
coverage.py: Python code coverage
Category: Python
coverage.py is what coveralls.io and nose use under the hood. Basically the whole Python community does. Install, .coveragerc, and running it.
-
Updated
Travis-CI for Python: a .travis.yml example
Category: Python, Web Development
A working .travis.yml for a Python project: multiple envs, Python 2.7 and 3.3, apt packages, and coveralls after success.
-
Updated
How to Set a Variable in Django Templates?
Category: Python, Web Development
Creating a custom template tag for assigning variables in Django template.
-
Updated
lxml: Parse HTML or XML with XPath in Python
Category: Python, Web Development
It might look old school, but `lxml` is the most feature-rich and easy-to-use library for processing XML and HTML in Python.
-
Updated
Submit your Python Library to PyPI (Python Package Index)
Category: Python
Sharing your Python Packages on PyPI!