首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Python > 一个用于读写文件的Python模块XMLTV

一个用于读写文件的Python模块XMLTV

资 源 简 介

python-xmltv Introduction python-xmltv is a Python module that provides access to XMLTV data. XMLTV is an XML format for storing TV listings. More information on XMLTV can be found at http://membled.com/work/apps/xmltv/ Requirements python-xmltv has no requirements on Python 2.5 and up. If you are using an older version of Python, it requires ElementTree, which can be found at http://effbot.org/zone/element-index.htm Installing Get python-xmltv from http://code.google.com/p/python-xmltv/downloads/list After untarring, you can install it with the following command:: python setup.py install Usage Usage of the module is generally straight-forward:: ``` import xmltv from pprint import pprint If you need to change the locale: xmltv.locale = "Latin-1" If you need to change the date format used in the XMLTV file:

文 件 列 表

python-xmltv-1.3
PKG-INFO
README.txt
MANIFEST.in
setup.py
README.html
xmltv.py
COPYING
CREDITS
MANIFEST
VIP VIP
0.169136s