I am trying to determine which files in the Python library are strictly necessary to run my script. Now I am trying to determine where _io.py is located. In io.py (without underscore), the _io.py module (with underscore) is imported on line 60.
Some modules are compiled directly into the interpreter - there are no corresponding files. You can get a list of these modules from sys.builtin_module_names. In my installation of Pyton 3.1, this list is included _io.
sys.builtin_module_names
_io
You might want to look at snakefood to determine the dependencies of your script.
Python Python. _io.so _io.pyd.
_io.so
_io.pyd
DLL python, . .pyd Ignacio. . DLL . python 2.5.
python-: _io.py 2.7.4?, Python 2 3 :
, _io, :import _io_io.__file__Linux - :'/usr/local/lib/python2.7/lib-dynload/_io.so'Windows.
, _io, :
import _io
_io.__file__
Linux - :
'/usr/local/lib/python2.7/lib-dynload/_io.so'
Windows.
, Python 3.3 _io , _io.__file__ .
Source: https://habr.com/ru/post/1792210/More articles:https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1792205/posting-int-arrays-to-mvc-controller-what-would-be-the-correct-method-signature&usg=ALkJrhhYjSTk53IHCYpXWu9zuXFgsb_ngQParallel .ForEach x of x - c #How to jump in a row in a row - htmlHow to reference the System.Web namespace? - .netIs it possible to bind JavaScript data to HTML elements? - javascriptJSP/javabean/servlet MVC - javaHow to check all alarms defined in AlarmManager in the system? - androidvector functions of z-indexing vector images - javascriptMatrix Export to Excel - rTelerik MVC grid - how to set the selected row by default - model-view-controllerAll Articles