Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> python >> python-xkcd
etiona  ]
[ 原始碼: python-xkcd  ]

套件: python-xkcd (2.4.2-1)

Python2 library for accessing xkcd.com

This is a Python library for accessing and retrieving links to comics from the xkcd webcomic by Randall Munroe. It is NOT endorsed or made by him, it’s an entirely independent project.

It makes use of the JSON interface to Randall’s site to retrieve comic data.

One can create comic objects manually using Comic(number), or can use the helper functions provided- getLatestComic(), getRandomComic(), and getComic()- to do this. Once you have a Comic object, you can access data from it using various provided methods.

This is the Python 2 version of the package.

其他與 python-xkcd 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: python
    interactive high-level object-oriented language (default version)
  • sug: python-xkcd-doc
    Python library for accessing xkcd.com (common documentation)

下載 python-xkcd

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 9.7 kB42 kB [文件列表]