Python/Bug-Out: Difference between revisions
From charlesreid1
No edit summary |
|||
| Line 16: | Line 16: | ||
* ctypes - https://docs.python.org/2/library/ctypes.html | * ctypes - https://docs.python.org/2/library/ctypes.html | ||
Now how do I produce that documentation if I have a copy of that library installed? | Now how do I produce that documentation if I have a copy of that library installed? Where is the "master list" I'm keeping to know what packages to download the source for, so that I can generate documentation for, even if part of the standard Python library - since, if you can't access documentation for everything, you probably can't access documentation for anything. | ||
[[Category:Python]] | [[Category:Python]] | ||
Revision as of 02:29, 24 July 2016
Bug-out Python:
What happens if you can't access a network? For a long period of time? And you need to have any and all manner of tools available at your disposal, and the means by which to make documentation for all of them so that you can RTFM until the cows come home if you need to.
Python for the zombie apocalypse? Maybe a bit overdramatic. But anyway, useful for those first few days after a move when you don't have internet and you need to get your server set up and you forgot to install the header libraries for OpenSSL, and so... you're screwed.
Documentation
Example
If I need to understand a script that uses the sockets library, or the threading library, or the struct library, I just pick out some documentation online:
- socket - https://docs.python.org/2/library/socket.html
- threading - https://docs.python.org/2/library/threading.html
- struct - https://docs.python.org/2/library/struct.html
- netaddr - https://pythonhosted.org/netaddr/
- ctypes - https://docs.python.org/2/library/ctypes.html
Now how do I produce that documentation if I have a copy of that library installed? Where is the "master list" I'm keeping to know what packages to download the source for, so that I can generate documentation for, even if part of the standard Python library - since, if you can't access documentation for everything, you probably can't access documentation for anything.