計算機科学のブログ

ほしい物リスト

Python - Why Python: Similar but Different - PSL(The Python Standard Library)

Head First Python: A Learner’s Guide to the Fundamentals of Python Programming, A Brain-Friendly GuidePaul Barry(著)、 O’Reilly Mediaの Chapter 1.(Why Python?: Similar but Different)、SHARPEN YOUR PENCIL(98/682)の解答を求めてみる。

randomcan generate numbers in an unpredictable order
collectionsprovides a bunch of advanced data types
oslets you interact with your underlying operating system
itertoolsfor all your advanced looping needs
http.serverit’s a built-in web server
pdbyou can use this to debug your Python code
pprintthis docs the trick when your output needs to be pretty
csvprocesses a comma-delimited file of text
statreports on file’s modification date, for instance
unittestthis module let’s you test your code one function at a time
rea regular expression library (not “line noise”)
enuma set of typed named values
ssldigital cets and encrypted connections rely on this module
jsonpopular structured text format, sometimes call a “document”
systells you all about the system you’re running on
zipfileif your data’s compressed in a file, this module’s got your back
sqlite3the world’s most popular embedded relational database system