Up python ライブラリ 作成: 2021-04-07
更新: 2021-04-07


    python ライブラリは,/usr/lib, /usr/local/lib に,つぎのようにある
    ── Raspberry Pi OS の場合:
      $ ls -la /usr/lib | grep python lrwxrwxrwx 1 root root 32 Aug 2 2016 libpyglib-2.0-python2.7.so.0 -> libpyglib-2.0-python2.7.so.0.0.0 -rw-r--r-- 1 root root 11684 Aug 2 2016 libpyglib-2.0-python2.7.so.0.0.0 drwxr-xr-x 27 root root 20480 Feb 6 18:43 python2.7 drwxr-xr-x 3 root root 4096 Jan 11 21:53 python3 drwxr-xr-x 32 root root 4096 Jan 11 21:59 python3.7 $ ls -la /usr/local/lib | grep python drwxr-xr-x 3 root root 4096 Jan 11 22:00 pypy2.7 drwxrwsr-x 4 root staff 4096 Jan 11 21:54 python2.7 drwxrwsr-x 3 root staff 4096 Jan 11 21:53 python3.7 $ ls -la /usr/local/lib/python3.7 drwxrwsr-x 3 root staff 4096 Feb 9 18:56 dist-packages $ ls -la /usr/local/lib/python3.7/dist-packages -rw-r--r-- 1 root staff 39 Feb 9 18:56 easy-install.pth drwxr-sr-x 5 root staff 4096 Feb 9 18:56 WebIOPi-0.7.1-py3.7-linux-armv7l.egg


      $ cd /usr/lib/python3.7 $ ls abc.py operator.py aifc.py optparse.py antigravity.py os.py argparse.py _osx_support.py ast.py pathlib.py asynchat.py pdb.py asyncio __phello__.foo.py asyncore.py pickle.py base64.py pickletools.py bdb.py pipes.py binhex.py pkgutil.py bisect.py platform.py _bootlocale.py plistlib.py bz2.py poplib.py calendar.py posixpath.py cgi.py pprint.py cgitb.py profile.py chunk.py pstats.py cmd.py pty.py codecs.py _py_abc.py codeop.py __pycache__ code.py pyclbr.py collections py_compile.py _collections_abc.py _pydecimal.py colorsys.py pydoc_data _compat_pickle.py pydoc.py compileall.py _pyio.py _compression.py queue.py concurrent quopri.py config-3.7m-arm-linux-gnueabihf random.py configparser.py reprlib.py contextlib.py re.py contextvars.py rlcompleter.py copy.py runpy.py copyreg.py sched.py cProfile.py secrets.py crypt.py selectors.py csv.py shelve.py ctypes shlex.py curses shutil.py dataclasses.py signal.py datetime.py _sitebuiltins.py dbm sitecustomize.py decimal.py site.py difflib.py smtpd.py dis.py smtplib.py distutils sndhdr.py doctest.py socket.py dummy_threading.py socketserver.py _dummy_thread.py sqlite3 email sre_compile.py encodings sre_constants.py ensurepip sre_parse.py enum.py ssl.py filecmp.py statistics.py fileinput.py stat.py fnmatch.py stringprep.py formatter.py string.py fractions.py _strptime.py ftplib.py struct.py functools.py subprocess.py __future__.py sunau.py genericpath.py symbol.py getopt.py symtable.py getpass.py _sysconfigdata_m_linux_arm-linux-gnueabihf.py gettext.py sysconfig.py glob.py tabnanny.py gzip.py tarfile.py hashlib.py telnetlib.py heapq.py tempfile.py hmac.py test html textwrap.py http this.py imaplib.py _threading_local.py imghdr.py threading.py importlib timeit.py imp.py tkinter inspect.py tokenize.py io.py token.py ipaddress.py traceback.py json tracemalloc.py keyword.py trace.py lib2to3 tty.py lib-dynload turtle.py LICENSE.txt types.py linecache.py typing.py locale.py unittest logging urllib lzma.py uuid.py macpath.py uu.py mailbox.py venv mailcap.py warnings.py _markupbase.py wave.py mimetypes.py weakref.py modulefinder.py _weakrefset.py multiprocessing webbrowser.py netrc.py wsgiref nntplib.py xdrlib.py ntpath.py xml nturl2path.py xmlrpc numbers.py zipapp.py opcode.py zipfile.py