[Python-Dev] Lib/plat-xxxx directories

Guido van Rossum guido@python.org
Thu, 26 Sep 2002 12:05:30 -0400

> Can someone enlighten me as to the purpose of the Lib/plat-xxxx
> directories. What goes in there? Why?

They're for platform-specific modules.  In most cases, the only
platform-specific modules are collections of system constants
generated by Tools/scripts/h2py.py.  For an example, see the regen
script in plat-linux2.  (It assumes you've set up an alias "h2py" for
the script.)  I wouldn't bother unless you have an actual use in mind.

--Guido van Rossum (home page: http://www.python.org/~guido/)