{"id":386687,"date":"2024-06-29T06:52:02","date_gmt":"2024-06-29T06:52:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=386687"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=386687","title":{"rendered":"<span>\u0411\u0438\u043d\u0430\u0440\u043d\u0438\u043a\u0438 \u0438\u0437 Python-\u0444\u0430\u0439\u043b\u043e\u0432: Nuitka-\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440, \u043e\u0431\u0437\u043e\u0440 \u0438 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/cw\/rd\/3g\/cwrd3gnhtbt_s4cewirqx5l2lhm.png\" data-src=\"https:\/\/habrastorage.org\/webt\/cw\/rd\/3g\/cwrd3gnhtbt_s4cewirqx5l2lhm.png\"\/><\/p>\n<p>  <\/p>\n<p>\u0417\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439\u0442\u0435, \u0434\u043e\u0440\u043e\u0433\u0438\u0435 \u0445\u0430\u0431\u0440\u043e\u0432\u0447\u0430\u043d\u0435. \u0421\u0435\u0433\u043e\u0434\u043d\u044f\u0448\u043d\u044f\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u2014 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043c\u043e\u0435\u0433\u043e \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0433\u043e \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f. \u042f \u0445\u043e\u0447\u0443 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c, \u043a\u0430\u043a \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0435 \u043c\u043e\u0434\u0443\u043b\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f (.so) \u0438\u0437 python-\u0444\u0430\u0439\u043b\u043e\u0432, \u0447\u0435\u043c \u043e\u043d\u0438 \u0431\u0443\u0434\u0443\u0442 \u043e\u0442\u043b\u0438\u0447\u0430\u0442\u044c\u0441\u044f \u0438 \u043a\u0430\u043a \u0441 \u043d\u0438\u043c\u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c. \u0414\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430 Nuitka. \u041e\u043d \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u0435\u043d \u0442\u0435\u043c, \u0447\u0442\u043e \u0441 \u0435\u0433\u043e \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0435 \u0444\u0430\u0439\u043b\u044b (.exe) \u0434\u043b\u044f Windows. \u041e\u0434\u043d\u0430\u043a\u043e, \u043a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u043e\u043d \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0438 \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0435 \u043c\u043e\u0434\u0443\u043b\u0438 python. \u0412\u0441\u0435\u0445, \u043a\u043e\u043c\u0443 \u044d\u0442\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u043f\u0440\u043e\u0448\u0443 \u043f\u043e\u0434 \u043a\u0430\u0442.<\/p>\n<p><a name=\"habracut\"><\/a>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/fa\/ge\/er\/fageerhwrjnof_bq5wi9tg3o_h4.png\" data-src=\"https:\/\/habrastorage.org\/webt\/fa\/ge\/er\/fageerhwrjnof_bq5wi9tg3o_h4.png\"\/><\/p>\n<p>  <\/p>\n<h3 id=\"obzor-kompilyatora-nuitka\">\u041e\u0431\u0437\u043e\u0440 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430 Nuitka<\/h3>\n<p>  <\/p>\n<p>\u0422\u0430\u043a \u043a\u0430\u043a <a href=\"https:\/\/github.com\/Nuitka\/Nuitka\">nuitka<\/a> \u0441\u043f\u0435\u0440\u0432\u0430 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442 C\u0438-\u043a\u043e\u0434 \u0438 \u043f\u043e\u0442\u043e\u043c \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u0442 \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0421\/\u0421++-\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430, \u0442\u043e \u043f\u0435\u0440\u0435\u0434 \u043d\u0430\u0447\u0430\u043b\u043e\u043c \u0440\u0430\u0431\u043e\u0442\u044b \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u044b:<\/p>\n<p>  <\/p>\n<ul>\n<li>\u0421\/\u0421++-\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440. \u042f \u0432\u0441\u0451 \u0434\u0435\u043b\u0430\u044e \u043d\u0430 linux, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432 \u043c\u043e\u0451\u043c \u0441\u043b\u0443\u0447\u0430\u0435 gcc \u043d\u0435 \u043d\u0438\u0436\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 5.1;<\/li>\n<li>Python-\u0432\u0435\u0440\u0441\u0438\u0438 2.6, 2.7 \u0438\u043b\u0438 3.3-3.10, \u0432 \u043c\u043e\u0451\u043c \u0441\u043b\u0443\u0447\u0430\u0435 python 3.10.<\/li>\n<\/ul>\n<p>  <\/p>\n<p>\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u0441\u043c. <a href=\"https:\/\/github.com\/Nuitka\/Nuitka#requirements\">\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438<\/a>.<\/p>\n<p>  <\/p>\n<p><strong>\u0418\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0439 \u0444\u0430\u043a\u0442<\/strong>: \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 nuitka \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0438\u0437 \u0438\u043c\u0435\u043d\u0438 \u0436\u0435\u043d\u044b \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 \u043f\u0430\u043a\u0435\u0442\u0430 (Kay Hayen), \u0435\u0451 \u0437\u043e\u0432\u0443\u0442 \u0410\u043d\u043d\u0430, \u043b\u043e\u0433\u0438\u043a\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a\u0430\u044f: Anna \u2013> Annuitka \u2013> Nuitka, Annuitka, \u2014 \u044d\u0442\u043e \u0432\u0440\u043e\u0434\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0437\u0432\u0443\u0447\u0430\u0442\u044c \u043a\u0430\u043a \u0410\u043d\u044e\u0442\u043a\u0430, \u0441\u0430\u043c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u0438\u0437 \u0413\u0435\u0440\u043c\u0430\u043d\u0438\u0438.<\/p>\n<p>  <\/p>\n<p>\u041f\u043e\u0447\u0435\u043c\u0443 nuitka \u044d\u0442\u043e \u0438\u043c\u0435\u043d\u043d\u043e \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440? \u0414\u0435\u043b\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e python-\u0441\u043a\u0440\u0438\u043f\u0442 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0432 \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0439 \u043a\u043e\u0434 (\u0445\u043e\u0442\u044f \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u043e\u0441\u043d\u043e\u0432\u043d\u0443\u044e \u0440\u043e\u043b\u044c \u0437\u0434\u0435\u0441\u044c \u0438\u0433\u0440\u0430\u0435\u0442 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440 C\/C++).<\/p>\n<p>  <\/p>\n<p>\u0421\u0430\u043c\u043e\u0435 \u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u0434\u043e\u0441\u0442\u043e\u0438\u043d\u0441\u0442\u0432\u043e \u044d\u0442\u043e\u0433\u043e \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u043c\u043e\u0436\u043d\u043e \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u044b\u0439 python-\u0441\u043a\u0440\u0438\u043f\u0442. \u0415\u0441\u0442\u044c, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u0438 \u043d\u044e\u0430\u043d\u0441\u044b. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u043c\u043e\u0434\u0443\u043b\u044f. \u0410 \u0435\u0449\u0451 \u2014 AST-\u0434\u0435\u0440\u0435\u0432\u043e \u0438 \u0438\u043c\u044f \u043c\u043e\u0434\u0443\u043b\u044f (\u043a\u0430\u043a \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u0434\u0430\u043b\u044c\u0448\u0435, \u0438\u043c\u0435\u043d\u043d\u043e \u0438\u043c\u044f \u043c\u043e\u0434\u0443\u043b\u044f, \u0430 \u043d\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u0430).<\/p>\n<p>  <\/p>\n<p><a href=\"https:\/\/github.com\/cdies\/nuitka_module\">\u0420\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0441 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u043c \u043a\u043e\u0434\u043e\u043c \u2014 \u043d\u0430 GitHub<\/a>.<\/p>\n<p>  <\/p>\n<p>\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 python-\u0441\u043a\u0440\u0438\u043f\u0442 (\u0444\u0430\u0439\u043b <a href=\"https:\/\/github.com\/cdies\/nuitka_module\/blob\/main\/py\/bin_module.py\"><code>py\/bin_module.py<\/code><\/a>):<\/p>\n<p>  <\/p>\n<pre><code class=\"python\">text = 'Find me!'  class Dummy:     password = 'qweasd123'     def main(self):         print('Hello world!')<\/code><\/pre>\n<p>  <\/p>\n<p>\u042f \u0431\u0443\u0434\u0443 \u0432\u0441\u0451 \u0434\u0435\u043b\u0430\u0442\u044c \u0432 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0438 <a href=\"https:\/\/www.anaconda.com\/\">conda<\/a>, \u0442\u0435\u043c \u0431\u043e\u043b\u0435\u0435 \u0447\u0442\u043e \u0432 \u043d\u0451\u043c \u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c gcc-\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440:<\/p>\n<p>  <\/p>\n<p><code>conda create -n nuitka_module python=3.10 gcc\">=5.1\" nuitka=1.3.6 ordered-set\">=3.0\" -c conda-forge<\/code><\/p>\n<p>  <\/p>\n<p><strong>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435<\/strong>: \u043d\u0435 \u0437\u0430\u0431\u0443\u0434\u044c\u0442\u0435 \u0435\u0433\u043e \u0430\u043a\u0442\u0438\u0432\u0438\u0440\u043e\u0432\u0430\u0442\u044c <code>conda activate nuitka_module<\/code>, \u0442\u0430\u043a\u0436\u0435 \u043f\u0430\u043a\u0435\u0442 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u0447\u0435\u0440\u0435\u0437 <code>pip<\/code>.<\/p>\n<p>  <\/p>\n<p>\u0412 nuitka \u043c\u043e\u0436\u043d\u043e \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043c\u043e\u0434\u0443\u043b\u044c \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044f\u043c\u0438. \u041d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, \u044d\u0442\u043e \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u043e, \u0432\u0435\u0434\u044c \u0435\u0441\u043b\u0438 \u0447\u0442\u043e-\u0442\u043e \u0432 \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c\u043e\u043c \u0441\u043a\u0440\u0438\u043f\u0442\u0435 \u043f\u043e\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f, \u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u0435\u0440\u0435\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u0444\u0430\u0439\u043b\u044b. \u041a\u0443\u0434\u0430 \u043f\u0440\u043e\u0449\u0435 \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u0436\u0434\u044b\u0439 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e (\u0445\u043e\u0442\u044f \u044d\u0442\u043e \u043d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u0442\u0430\u043a, \u0431\u044b\u0432\u0430\u0435\u0442 \u0438 \u0441\u0442\u0440\u043e\u0433\u043e \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442). \u042f \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u044e \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440 \u0441 \u0442\u0430\u043a\u0438\u043c\u0438 \u043a\u043b\u044e\u0447\u0430\u043c\u0438:<\/p>\n<p>  <\/p>\n<p><code>nuitka --module --nofollow-imports --static-libpython=no --remove-output --no-pyi-file --output-dir=so --jobs=4 py\/bin_module.py<\/code><\/p>\n<p>  <\/p>\n<p>\u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043a\u043b\u044e\u0447\u0438:<\/p>\n<p>  <\/p>\n<ul>\n<li><code>--module<\/code> \u2014 \u043a\u043b\u044e\u0447 \u0434\u043b\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u0431\u0438\u043d\u0430\u0440\u043d\u043e\u0433\u043e \u043c\u043e\u0434\u0443\u043b\u044f;<\/li>\n<li><code>--nofollow-imports<\/code> \u2014 \u043d\u0435 \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u0442 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u044b\u0435 \u043c\u043e\u0434\u0443\u043b\u0438;<\/li>\n<li><code>--static-libpython=no<\/code> \u2014 \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u043d\u0438\u0447\u0435\u0433\u043e \u0431\u0440\u0430\u0442\u044c \u0438\u0437 conda;<\/li>\n<li><code>--remove-output<\/code> \u2014 \u0443\u0434\u0430\u043b\u044f\u0435\u0442 \u043f\u043e\u0441\u043b\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 python-\u043c\u043e\u0434\u0443\u043b\u044f \u0421\u0438-\u0444\u0430\u0439\u043b\u044b;<\/li>\n<li><code>--no-pyi-file<\/code> \u2014 \u043f\u043e\u0441\u043b\u0435 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u0441\u043e\u0437\u0434\u0430\u0451\u0442\u0441\u044f \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0439 \u0444\u0430\u0439\u043b .pyi, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0438\u043c\u0435\u0435\u0442\u0441\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435 \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0433\u043e python-\u043c\u043e\u0434\u0443\u043b\u044f, \u043e\u043d \u043d\u0430\u043c \u0442\u043e\u0436\u0435 \u043d\u0435 \u043d\u0443\u0436\u0435\u043d;<\/li>\n<li><code>--output-dir=so<\/code> \u2014 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442 \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u0432 \u043f\u0430\u043f\u043a\u0435 <code>so<\/code>;<\/li>\n<li><code>--jobs=4<\/code> \u2014 \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u0442 \u0432 4 \u043f\u043e\u0442\u043e\u043a\u0430.<\/li>\n<\/ul>\n<p>  <\/p>\n<p><b>\u0412\u0430\u0436\u043d\u043e \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435<\/b>, \u0447\u0442\u043e \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0442\u043e\u0439 \u0436\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 python, \u0432 \u043a\u0430\u043a\u043e\u0439 \u043e\u043d \u0438 \u0431\u044b\u043b \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d. \u042d\u0442\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0438\u0437-\u0437\u0430 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043c\u043e\u0434\u0443\u043b\u044c \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044f \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0435\u0439 CPython, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0431\u044b\u043b \u0441\u043e\u0437\u0434\u0430\u043d. \u0422. \u0435. \u0435\u0441\u043b\u0438 \u044f \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043b \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a \u0432 python 3.10, \u0437\u043d\u0430\u0447\u0438\u0442, \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0435\u0433\u043e \u043d\u0430\u0434\u043e \u0432 python 3.10. \u0412 \u0434\u0440\u0443\u0433\u0438\u0445 \u0432\u0435\u0440\u0441\u0438\u044f\u0445 python \u0431\u0443\u0434\u0443\u0442 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043e\u0448\u0438\u0431\u043a\u0438 \u043f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u0435\u0433\u043e \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c.<\/p>\n<p>  <\/p>\n<p>\u041d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c <a href=\"https:\/\/github.com\/cdies\/nuitka_module\/tree\/main\/so\"><code>so\/bin_module.cpython-310-x86_64-linux-gnu.so<\/code><\/a>.<\/p>\n<p>  <\/p>\n<h3 id=\"ast-derevo\">AST-\u0434\u0435\u0440\u0435\u0432\u043e<\/h3>\n<p>  <\/p>\n<p>\u0410\u0431\u0441\u0442\u0440\u0430\u043a\u0442\u043d\u043e\u0435 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0434\u0435\u0440\u0435\u0432\u043e, \u0438\u043b\u0438 <a href=\"https:\/\/docs.python.org\/3\/library\/ast.html\">AST-\u0434\u0435\u0440\u0435\u0432\u043e<\/a>, \u2014 \u044d\u0442\u043e, \u0432 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u0438, \u043f\u043e\u043b\u043d\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0439 \u043b\u043e\u0433\u0438\u043a\u0438 python-\u043c\u043e\u0434\u0443\u043b\u044f. \u041a\u0430\u043a \u043d\u0438 \u0441\u0442\u0440\u0430\u043d\u043d\u043e, \u043d\u043e \u0442\u0443\u0442 \u043e\u0431\u044a\u044f\u0441\u043d\u0435\u043d\u0438\u0435 \u0441\u0430\u043c\u043e\u0435 \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u2014 \u043a\u043e\u043d\u0435\u0447\u043d\u044b\u0439 \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u0432 nuitka \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0438\u0437 \u0421\u0438-\u0444\u0430\u0439\u043b\u043e\u0432, \u0442. \u0435. \u043f\u0438\u0442\u043e\u043d\u043e\u0432\u0441\u043a\u043e\u0433\u043e \u0430\u0431\u0441\u0442\u0440\u0430\u043a\u0442\u043d\u043e\u0433\u043e \u0434\u0435\u0440\u0435\u0432\u0430 \u0432 \u043d\u0451\u043c \u043d\u0435\u0442 \u043f\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044e. \u041d\u043e \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043c \u044d\u0442\u043e (\u0444\u0430\u0439\u043b <a href=\"https:\/\/github.com\/cdies\/nuitka_module\/blob\/main\/ast_tree.py\"><code>ast_tree.py<\/code><\/a>):<\/p>\n<p>  <\/p>\n<pre><code class=\"python\">import ast from pathlib import Path  def pretty_print(text):     print(f'{text[:160]} \\n...\\n {text[-100:]}')  so_file_module = Path('so\/bin_module.cpython-310-x86_64-linux-gnu.so').read_bytes() so_file_module = str(so_file_module) so_dump = ast.dump(ast.parse(so_file_module), indent=2)  py_file_module = Path('py\/bin_module.py').read_text() py_dump = ast.dump(ast.parse(py_file_module), indent=2)<\/code><\/pre>\n<p>  <\/p>\n<p>\u0412 \u0431\u0438\u043d\u0430\u0440\u043d\u043e\u043c \u043c\u043e\u0434\u0443\u043b\u0435, \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u043c C\/C++-\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u043e\u043c, \u043d\u0435\u0442 \u0430\u0431\u0441\u0442\u0440\u0430\u043a\u0442\u043d\u043e\u0433\u043e \u0434\u0435\u0440\u0435\u0432\u0430 \u0432 \u0442\u043e\u043c \u0432\u0438\u0434\u0435, \u0432 \u043a\u0430\u043a\u043e\u043c \u043c\u044b \u0435\u0433\u043e \u043e\u0436\u0438\u0434\u0430\u0435\u043c \u0443\u0432\u0438\u0434\u0435\u0442\u044c. \u0412\u043c\u0435\u0441\u0442\u043e \u043d\u0435\u0433\u043e \u0442\u0430\u043c \u0447\u0438\u0441\u0442\u044b\u0439 \u0431\u0430\u0439\u0442-\u043a\u043e\u0434:<\/p>\n<p>  <\/p>\n<p><code>pretty_print(so_dump)<\/code><\/p>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c&#8230;<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">Module(   body=[     Expr(       value=Constant(value=b'\\x7fELF\\x02\\x01\\x01\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x03\\x00>\\x00\\x01\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00  ...  \\x00\\x00\\x00\\x01\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00'))],   type_ignores=[])<\/code><\/pre>\n<\/div><\/div>\n<p>  <\/p>\n<p>\u0410 \u0432\u043e\u0442 \u0432 \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u043c \u043f\u0438\u0442\u043e\u043d\u043e\u0432\u0441\u043a\u043e\u043c \u0444\u0430\u0439\u043b\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e\u0435 \u0430\u0431\u0441\u0442\u0440\u0430\u043a\u0442\u043d\u043e\u0435 \u0434\u0435\u0440\u0435\u0432\u043e:<\/p>\n<p>  <\/p>\n<p><code>pretty_print(py_dump)<\/code><\/p>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c&#8230;<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">Module(   body=[     Assign(       targets=[         Name(id='text', ctx=Store())],       value=Constant(value='Find me!')),     ClassDef(       name='Dummy', ...          keywords=[]))],           decorator_list=[])],       decorator_list=[])],   type_ignores=[])<\/code><\/pre>\n<\/div><\/div>\n<p>  <\/p>\n<h3 id=\"chto-v-imeni-tebe-moyom-nazvanie-binarnogo-modulya\">\u0427\u0442\u043e \u0432 \u0438\u043c\u0435\u043d\u0438 \u0442\u0435\u0431\u0435 \u043c\u043e\u0451\u043c? \u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0431\u0438\u043d\u0430\u0440\u043d\u043e\u0433\u043e \u043c\u043e\u0434\u0443\u043b\u044f<\/h3>\n<p>  <\/p>\n<p>\u0412 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u043d\u0435 \u0441\u0442\u043e\u0438\u0442 \u043c\u0435\u043d\u044f\u0442\u044c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0431\u0438\u043d\u0430\u0440\u043d\u043e\u0433\u043e \u043c\u043e\u0434\u0443\u043b\u044f, \u0442. \u043a. \u0435\u0441\u043b\u0438 \u0435\u0433\u043e \u043f\u0435\u0440\u0435\u043d\u0430\u0437\u0432\u0430\u0442\u044c, \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0443 \u043d\u0430 \u044d\u0442\u0430\u043f\u0435 \u0438\u043c\u043f\u043e\u0440\u0442\u0430.<\/p>\n<p>  <\/p>\n<p><strong>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435<\/strong>: \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043c\u043e\u0436\u043d\u043e, \u0435\u0441\u043b\u0438 \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u0442\u0435\u043a\u0441\u0442 \u043c\u0435\u0436\u0434\u0443 \u0442\u043e\u0447\u043a\u0430\u043c\u0438, \u043d\u0435\u043b\u044c\u0437\u044f \u043c\u0435\u043d\u044f\u0442\u044c \u043f\u0435\u0440\u0432\u043e\u0435 \u0441\u043b\u043e\u0432\u043e \u043f\u0435\u0440\u0435\u0434 \u0442\u043e\u0447\u043a\u043e\u0439 \u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435. \u0412\u043e\u0442, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432\u043f\u043e\u043b\u043d\u0435 \u0432\u0430\u043b\u0438\u0434\u043d\u043e\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435:<\/p>\n<p>  <\/p>\n<ul>\n<li><code>bin_module.cpython-310-x86_64-linux-gnu.so<\/code> \u2014 \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435;<\/li>\n<li><code>bin_module.so<\/code> \u2014 \u0432\u0430\u043b\u0438\u0434\u043d\u043e\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435.<\/li>\n<\/ul>\n<p>  <\/p>\n<p>\u0418\u043c\u044f \u043c\u043e\u0434\u0443\u043b\u044f \u0437\u0430\u0432\u044f\u0437\u0430\u043d\u043e \u043d\u0430 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0431\u0438\u043d\u0430\u0440\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u043f\u0440\u0438 \u043e\u0431\u044b\u0447\u043d\u043e\u043c \u0438\u043c\u043f\u043e\u0440\u0442\u0435. \u041e\u0434\u043d\u0430\u043a\u043e \u043d\u0435\u043b\u044c\u0437\u044f \u043c\u0435\u043d\u044f\u0442\u044c \u0438\u043c\u0435\u043d\u043d\u043e \u0438\u043c\u044f \u043c\u043e\u0434\u0443\u043b\u044f, \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0441\u0430\u043c\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430, \u043a\u0430\u043a \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u043d\u0438\u0436\u0435, \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0432\u043f\u043e\u043b\u043d\u0435 \u043c\u043e\u0436\u043d\u043e. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u043c\u0435\u043d\u044f\u0435\u043c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a\u0430 \u043d\u0430 <a href=\"https:\/\/github.com\/cdies\/nuitka_module\/tree\/main\/so\"><code>custom_name_module.so<\/code><\/a> \u0438 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439 <a href=\"https:\/\/docs.python.org\/3\/library\/importlib.html\"><code>importlib<\/code><\/a> (\u0444\u0430\u0439\u043b <a href=\"https:\/\/github.com\/cdies\/nuitka_module\/blob\/main\/import_lib.py\"><code>import_lib.py<\/code><\/a>):<\/p>\n<p>  <\/p>\n<pre><code class=\"python\">import importlib.util import sys from pathlib import Path  module_name = 'bin_module' # \u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043c\u043e\u0434\u0443\u043b\u044f \u0431\u0435\u0437 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 file_path = Path('so\/custom_name_module.so') # \u0410 \u0432\u043e\u0442 \u0438\u043c\u044f \u0444\u0430\u0439\u043b\u0430 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u043e  spec = importlib.util.spec_from_file_location(module_name, file_path) module = importlib.util.module_from_spec(spec) sys.modules[module_name] = module spec.loader.exec_module(module)<\/code><\/pre>\n<p>  <\/p>\n<p>\u041a\u0430\u043a \u0432\u0438\u0434\u043d\u043e \u043f\u043e \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430\u043c \u043c\u043e\u0434\u0443\u043b\u044f, \u043e\u043d \u0432\u043f\u043e\u043b\u043d\u0435 \u0441\u0435\u0431\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043b\u0441\u044f:<\/p>\n<p>  <\/p>\n<p><code>print(dir(module))<\/code><\/p>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c&#8230;<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">['Dummy', '__builtins__', '__cached__', '__compiled__', '__doc__', '__file__', '__loader__', '__name__','__package__', '__spec__', 'text']<\/code><\/pre>\n<\/div><\/div>\n<p>  <\/p>\n<p>\u0410 \u0432\u043e\u0442 \u043f\u043e\u0434\u043e\u0431\u043d\u0430\u044f \u043f\u043e\u043f\u044b\u0442\u043a\u0430 \u043f\u0440\u0438\u0432\u0435\u0434\u0451\u0442 \u043a \u043e\u0448\u0438\u0431\u043a\u0435:<\/p>\n<p>  <\/p>\n<pre><code class=\"python\">from so import custom_name_module<\/code><\/pre>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c&#8230;<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"plaintext\">ImportError                               Traceback (most recent call last) line 1 ----> 1 from so import custom_name_module  ImportError: dynamic module does not define module export function (PyInit_custom_name_module)<\/code><\/pre>\n<\/div><\/div>\n<p>  <\/p>\n<p>\u0422\u043e, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043c\u0435\u043d\u044f\u0442\u044c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043f\u0438\u0442\u043e\u043d\u043e\u0432\u0441\u043a\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u043a\u0430\u043a \u0443\u0433\u043e\u0434\u043d\u043e, \u044d\u0442\u043e \u0438 \u0442\u0430\u043a \u044f\u0441\u043d\u043e, \u0432 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 \u043d\u0435 \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442\u044c.<\/p>\n<p>  <\/p>\n<h3 id=\"dekompilyaciya\">\u0414\u0435\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f<\/h3>\n<p>  <\/p>\n<p>\u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435, \u0447\u0442\u043e \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432\u043d\u0443\u0442\u0440\u0438 \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a\u0430 \u0438 \u0442\u0430\u043a \u043b\u0438 \u043e\u043d \u0445\u043e\u0440\u043e\u0448\u043e \u0432\u0441\u0451 \u0441\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u0441 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438. \u0410\u0432\u0442\u043e\u0440, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u043d\u0435 \u043c\u0430\u0441\u0442\u0435\u0440 \u0440\u0435\u0432\u0435\u0440\u0441-\u0438\u043d\u0436\u0438\u043d\u0438\u0440\u0438\u043d\u0433\u0430, \u0434\u0430 \u0438 \u0441\u0442\u0430\u0442\u044c\u044f \u043d\u0435 \u043f\u0440\u043e \u0442\u043e, \u043d\u043e \u0432\u0441\u0451 \u0436\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c. \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f \u0434\u0435\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u043e\u043c (\u0438\u043b\u0438 \u043b\u044e\u0431\u044b\u043c hex-\u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u043e\u043c, \u044f \u0431\u0443\u0434\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <a href=\"https:\/\/github.com\/NationalSecurityAgency\/ghidra\">ghidra<\/a>) \u0432 \u0441\u0430\u043c\u043e\u043c \u043f\u0440\u043e\u0441\u0442\u043e\u043c \u0432\u0438\u0434\u0435. \u041d\u0430\u0439\u0434\u0451\u043c \u043c\u0435\u0441\u0442\u043e, \u0433\u0434\u0435 \u043b\u0435\u0436\u0438\u0442 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f <code>text<\/code>, \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u0447\u0442\u043e \u0442\u0430\u043c \u0435\u0449\u0451 \u0435\u0441\u0442\u044c, \u0438 \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u0432\u044b\u0432\u043e\u0434 \u0441<code>Hello world!<\/code> \u043d\u0430 <code>Some change!<\/code>.<\/p>\n<p>  <\/p>\n<p><strong>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435<\/strong>: \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432 <a href=\"https:\/\/www.youtube.com\/watch?v=2xUqLLQu0NI\">\u044d\u0442\u043e\u043c<\/a> \u043f\u0440\u0438\u043c\u0435\u0440\u0435.<\/p>\n<p>  <\/p>\n<p>\u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u0447\u0430\u0441\u0442\u044c hex-\u043a\u043e\u0434\u0430 \u0431\u0438\u043d\u0430\u0440\u043d\u043e\u0433\u043e \u043c\u043e\u0434\u0443\u043b\u044f \u0438\u0437 \u0434\u0435\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430 ghidra, \u0441\u0442\u0440\u0435\u043b\u043a\u0430\u043c\u0438 <code>&lt;------<\/code> \u043e\u0442\u043c\u0435\u0447\u0435\u043d\u044b \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0449\u0438\u0435 \u043d\u0430\u0441 \u0441\u0442\u0440\u043e\u043a\u0438 (\u0444\u0430\u0439\u043b <a href=\"https:\/\/github.com\/cdies\/nuitka_module\/blob\/main\/compare\/part_of_hex_code_decompiler.txt\">part_of_hex_code_decompiler.txt<\/a>):<\/p>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c&#8230;<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">001903c9  75 48 65 6c      ds         \"uHello world!\" &lt;------            6c 6f 20 77             6f 72 6c 64  001903d7  61 5f 5f 64      ds         \"a__doc__\"            6f 63 5f 5f 00 001903e0  61 5f 5f 66      ds         \"a__file__\"            69 6c 65 5f             5f 00 001903ea  61 5f 5f 73      ds         \"a__spec__\"            70 65 63 5f             5f 00 001903f4  61 6f 72 69      ds         \"aorigin\"            67 69 6e 00 001903fc  61 68 61 73      ds         \"ahas_location\"            5f 6c 6f 63             61 74 69 6f  0019040a  61 5f 5f 63      ds         \"a__cached__\"            61 63 68 65             64 5f 5f 00 00190416  75 46 69 6e      ds         \"uFind me!\" &lt;------            64 20 6d 65             21 00 00190420  61 74 65 78      ds         \"atext\"            74 00 00190426  61 6d 65 74      ds         \"ametaclass\"            61 63 6c 61             73 73 00 00190431  54               PUSH       RSP 00190432  00 00            ADD        byte ptr [RAX],AL 00190434  00 00            ADD        byte ptr [RAX],AL 00190436  61 5f 5f 70      ds         \"a__prepare__\"            72 65 70 61             72 65 5f 5f 00 00190443  54               PUSH       RSP 00190444  02 00            ADD        AL,byte ptr [RAX] 00190446  00 00            ADD        byte ptr [RAX],AL 00190448  61 44 75 6d      ds         \"aDummy\"            6d 79 00 0019044f  54               PUSH       RSP 00190450  00 00            ADD        byte ptr [RAX],AL 00190452  00 00            ADD        byte ptr [RAX],AL 00190454  61 5f 5f 67      ds         \"a__getitem__\"            65 74 69 74             65 6d 5f 5f 00 00190461  75 25 73 2e      ds         \"u%s.__prepare__() must return a mapping, not\"            5f 5f 70 72             65 70 61 72  00190491  61 5f 5f 6e      ds         \"a__name__\"            61 6d 65 5f             5f 00 0019049b  75 3c 6d 65      ds         \"u&lt;metaclass>\"            74 61 63 6c             61 73 73 3e 00 001904a8  61 5f 5f 6d      ds         \"a__module__\"            6f 64 75 6c             65 5f 5f 00 001904b4  61 44 75 6d      ds         \"aDummy\"            6d 79 00 001904bb  61 5f 5f 71      ds         \"a__qualname__\"            75 61 6c 6e             61 6d 65 5f  001904c9  61 71 77 65      ds         \"aqweasd123\" &lt;------            61 73 64 31             32 33 00 001904d4  61 70 61 73      ds         \"apassword\" &lt;------            73 77 6f 72             64 00 001904de  61 6d 61 69      ds         \"amain\"            6e 00 001904e4  75 44 75 6d      ds         \"uDummy.main\"            6d 79 2e 6d             61 69 6e 00 001904f0  75 62 69 6e      ds         \"ubin_module.py\"            5f 6d 6f 64             75 6c 65 2e  001904ff  75 3c 6d 6f      ds         \"u&lt;module bin_module>\"            64 75 6c 65             20 62 69 6e <\/code><\/pre>\n<\/div><\/div>\n<p>  <\/p>\n<p>\u0417\u0434\u0435\u0441\u044c \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u043c\u0435\u0442\u0438\u0442\u044c \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u043a\u043b\u0430\u0441\u0441\u0430, \u0435\u0433\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0438 \u0438\u0445 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f, \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0438 \u0438\u043c\u0435\u043d\u0430 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445. \u041a\u0430\u043a \u0438 \u043e\u0436\u0438\u0434\u0430\u043b\u043e\u0441\u044c, \u043f\u043e \u0442\u0435\u043a\u0441\u0442\u0443 <code>Find me!<\/code> \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043d\u0430\u0439\u0442\u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 <code>password<\/code>. \u0412\u043f\u0440\u043e\u0447\u0435\u043c, \u043c\u0435\u0442\u043e\u0434\u043e\u043c \u043f\u0435\u0440\u0435\u0431\u043e\u0440\u0430 \u0432\u043f\u043e\u043b\u043d\u0435 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u043d\u0430\u0439\u0442\u0438 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e <code>python<\/code> \u0438 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u043e\u0442 \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u043d\u0430 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445.<\/p>\n<p>  <\/p>\n<p>\u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u043f\u0440\u043e\u043f\u0430\u0442\u0447\u0438\u0442\u044c, \u0442.\u0435. \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0432\u044b\u0432\u043e\u0434 \u0431\u0438\u043d\u0430\u0440\u043d\u043e\u0433\u043e \u043c\u043e\u0434\u0443\u043b\u044f \u0441 <code>Hello world!<\/code> \u043d\u0430 <code>Some change!<\/code> (\u0434\u043b\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u044b \u0434\u043b\u0438\u043d\u0430 \u0441\u0442\u0440\u043e\u043a \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u0435\u0442). \u042d\u0442\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043b\u0438\u0448\u044c \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0431\u0430\u0439\u0442\u043e\u0432, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<p>  <\/p>\n<p>hex-\u043a\u043e\u0434 \u0442\u0435\u043a\u0441\u0442\u043e\u0432 \u0438\u0437 \u043e\u043d\u043b\u0430\u0439\u043d-<a href=\"https:\/\/codebeautify.org\/string-hex-converter\">\u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0435\u0440\u0430<\/a>:<\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">Hello world! -> 48 65 6c 6c 6f 20 77 6f 72 6c 64 21 Some change! -> 53 6f 6d 65 20 63 68 61 6e 67 65 21<\/code><\/pre>\n<p>  <\/p>\n<p>\u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 (\u0444\u0430\u0439\u043b <a href=\"https:\/\/github.com\/cdies\/nuitka_module\/tree\/main\/so\"><code>so\/bin_module.cpython-310-x86_64-linux-gnu.so<\/code><\/a>):<\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">001903c9  75 48 65 6c      ds         \"uHello world!\"           6c 6f 20 77            6f 72 6c 64 <\/code><\/pre>\n<p>  <\/p>\n<p>\u0418\u0437\u043c\u0435\u043d\u0451\u043d\u043d\u044b\u0439 \u043a\u043e\u0434 (\u0444\u0430\u0439\u043b <a href=\"https:\/\/github.com\/cdies\/nuitka_module\/tree\/main\/compare\"><code>compare\/bin_module.cpython-310-x86_64-linux-gnu.so<\/code><\/a>):<\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">001903c9  75 53 6f 6d      ds         \"uSome change!\"            65 20 63 68             61 6e 67 65 <\/code><\/pre>\n<p>  <\/p>\n<p>\u041f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u0435\u0433\u043e \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043e\u0448\u0438\u0431\u043a\u0443:<\/p>\n<p>  <\/p>\n<pre><code class=\"python\">from compare import bin_module<\/code><\/pre>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c&#8230;<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"plaintext\">Error, corrupted constants object Aborted (core dumped)<\/code><\/pre>\n<\/div><\/div>\n<p>  <\/p>\n<p>\u0412\u044b\u0445\u043e\u0434\u0438\u0442, \u0447\u0442\u043e \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u043f\u0440\u043e\u043f\u0430\u0442\u0447\u0438\u0442\u044c \u043c\u043e\u0434\u0443\u043b\u044c \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f. \u041d\u0443 \u0447\u0442\u043e \u0436, \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a, \u0438\u0437\u043c\u0435\u043d\u0438\u043c \u0435\u0433\u043e, \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u043c \u0432 nuitka \u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u043e\u0442\u043b\u0438\u0447\u0438\u044f.<\/p>\n<p>  <\/p>\n<pre><code class=\"python\">text = 'Find me!'  class Dummy:     password = 'qweasd123'     def main(self):         print('Some change!')<\/code><\/pre>\n<p>  <\/p>\n<p>\u0414\u043b\u044f \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0433\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f (\u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u043f\u043b\u043e\u0434\u0438\u0442\u044c \u043b\u0438\u0448\u043d\u0438\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f) \u0437\u0430\u043c\u0435\u043d\u0438\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0435\u043a\u0441\u0442 \u0432 \u043a\u043e\u0434\u0435, \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u043e\u0432 \u043e\u0441\u0442\u0430\u044e\u0442\u0441\u044f \u043f\u0440\u0435\u0436\u043d\u0438\u043c\u0438. Hex-\u043a\u043e\u0434 \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u043c\u043e\u0434\u0443\u043b\u044f \u0441 <code>Hello world!<\/code> \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u043c \u0432 \u0444\u0430\u0439\u043b <a href=\"https:\/\/github.com\/cdies\/nuitka_module\/tree\/main\/compare\"><code>compare\/hex_code_hello_world.txt<\/code><\/a>, \u0430 hex-\u043a\u043e\u0434 \u0441 \u0442\u0435\u043a\u0441\u0442\u043e\u043c <code>Some change!<\/code> \u0432 <a href=\"https:\/\/github.com\/cdies\/nuitka_module\/tree\/main\/compare\"><code>compare\/hex_code_some_change.txt<\/code><\/a>. \u0414\u043b\u044f \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u0434\u0432\u0443\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <code>git<\/code>, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<p>  <\/p>\n<p><code>git diff --no-index compare\/hex_code_hello_world.txt compare\/hex_code_some_change.txt<\/code><\/p>\n<p>  <\/p>\n<p>\u0412 \u0438\u0442\u043e\u0433\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u043e\u0442\u043b\u0438\u0447\u0438\u044f \u0432 <strong>\u0434\u0432\u0443\u0445<\/strong> \u043c\u0435\u0441\u0442\u0430\u0445 (!), \u0430 \u043d\u0435 \u0432 \u043e\u0434\u043d\u043e\u043c (<a href=\"https:\/\/github.com\/cdies\/nuitka_module\/blob\/main\/compare\/diff.txt\"><code>diff.txt<\/code><\/a>):<\/p>\n<p>  <\/p>\n<div class=\"scrollable-table\">\n<table>\n<thead>\n<tr>\n<th><\/th>\n<th><code>hex_code_hello_world.txt<\/code><\/th>\n<th><code>hex_code_some_change.txt<\/code><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u041a\u0430\u043a\u0430\u044f-\u0442\u043e \u0445\u0435\u0448-\u0441\u0443\u043c\u043c\u0430<\/td>\n<td>10d1 8c48<\/td>\n<td>33d8 240e<\/td>\n<\/tr>\n<tr>\n<td>hex-\u043a\u043e\u0434 \u0442\u0435\u043a\u0441\u0442\u0430<\/td>\n<td>536f 6d65 2063 6861 6e67 6521 (Some change!)<\/td>\n<td>4865 6c6c 6f20 776f 726c 6421 (Hello world!)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>  <\/p>\n<p>\u041a\u0430\u043a \u0432\u0438\u0434\u043d\u043e \u0438\u0437 \u0442\u0430\u0431\u043b\u0438\u0446\u044b, \u0432 \u043f\u0435\u0440\u0432\u044b\u0439 \u0440\u0430\u0437, \u043a\u043e\u0433\u0434\u0430 \u043c\u044b \u0434\u0435\u043b\u0430\u043b\u0438 \u043f\u0430\u0442\u0447, \u043c\u044b \u043f\u043e\u043c\u0435\u043d\u044f\u043b\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0435\u043a\u0441\u0442. \u041d\u043e, \u0441\u0443\u0434\u044f \u043f\u043e \u0432\u0441\u0435\u043c\u0443, \u0434\u043b\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0435\u0449\u0451 \u043a\u0430\u043a\u0430\u044f-\u0442\u043e \u0445\u044d\u0448-\u0441\u0443\u043c\u043c\u0430, \u0432 \u0438\u0442\u043e\u0433\u0435 \u0438\u0437-\u0437\u0430 \u044d\u0442\u043e\u0433\u043e \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0430\u0441\u044c \u043e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0438\u043c\u043f\u043e\u0440\u0442\u0435.<\/p>\n<p>  <\/p>\n<h3 id=\"zaklyuchenie\">\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h3>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/eh\/vy\/tr\/ehvytrmiaoeudvlhaec-11o7j44.png\" data-src=\"https:\/\/habrastorage.org\/webt\/eh\/vy\/tr\/ehvytrmiaoeudvlhaec-11o7j44.png\"\/><\/p>\n<p>  <\/p>\n<p>\u041d\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0435 \u0432\u044b\u0448\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043d CI\/CD-\u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0432 \u0441\u0430\u043c\u043e\u043c \u043e\u0431\u043e\u0431\u0449\u0451\u043d\u043d\u043e\u043c \u0432\u0438\u0434\u0435. \u041d\u0430 \u043d\u0451\u043c \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0445 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0430 \u043f\u0435\u0440\u0435\u0434 prod-\u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c, \u0442. \u043a. \u043d\u0430 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u0430\u0436\u0435\u043d \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434, \u0430 \u0432\u043e\u0442 \u043d\u0430 \u043f\u0440\u043e\u0434\u0435 \u0435\u0433\u043e \u043b\u0443\u0447\u0448\u0435 \u0431\u044b \u0441\u043a\u0440\u044b\u0442\u044c (\u044d\u0442\u043e \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u0439 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u043a \u043f\u0440\u043e\u0435\u043a\u0442\u0443).<\/p>\n<p>  <\/p>\n<p>\u0422\u0435\u043a\u0443\u0449\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f nuitka \u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u2014 1.3, \u0442. \u0435. \u043f\u0440\u043e\u0435\u043a\u0442 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0445\u043e\u0440\u043e\u0448\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438 \u0443\u0436\u0435 \u0432\u044b\u0448\u0435\u043b \u043d\u0430 \u0440\u0435\u043b\u0438\u0437\u044b. \u041a \u0442\u043e\u043c\u0443 \u0436\u0435, \u043a\u0430\u043a \u0441\u043a\u0430\u0437\u0430\u043d\u043e \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430, nuitka \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u0430 <a href=\"https:\/\/www.nuitka.net\/pages\/overview.html#now\">\u0443\u0441\u043a\u043e\u0440\u0438\u0442\u044c \u043a\u043e\u0434 \u0434\u043e 3x \u0440\u0430\u0437<\/a> \u2014 \u0432\u043f\u043e\u043b\u043d\u0435 \u0441\u0435\u0431\u0435 \u043d\u0435\u043f\u043b\u043e\u0445\u043e\u0439 \u0431\u043e\u043d\u0443\u0441.<\/p>\n<p>  <\/p>\n<p>\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0438\u0442\u043e\u0433\u0430 \u0441\u043a\u0430\u0436\u0443, \u0447\u0442\u043e \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0432 \u0442\u043e\u043c, \u043a\u0430\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c, \u043c\u043e\u0436\u043d\u043e. \u041d\u043e \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u0442\u043e\u0447\u043d\u043e \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u043a\u0432\u0430\u043b\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0439 \u0438 \u043d\u0430\u0432\u044b\u043a\u043e\u0432, \u0447\u0435\u043c \u0435\u0441\u043b\u0438 \u0431\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u0447\u0438\u0441\u0442\u044b\u0439 python-\u043a\u043e\u0434.<\/p>\n<p>  <\/p>\n<p>\u041d\u0430 \u044d\u0442\u043e\u043c \u0432\u0441\u0451, \u0441\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435!<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/710690\/\"> https:\/\/habr.com\/ru\/articles\/710690\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/cw\/rd\/3g\/cwrd3gnhtbt_s4cewirqx5l2lhm.png\" data-src=\"https:\/\/habrastorage.org\/webt\/cw\/rd\/3g\/cwrd3gnhtbt_s4cewirqx5l2lhm.png\"\/><\/p>\n<p>  <\/p>\n<p>\u0417\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439\u0442\u0435, \u0434\u043e\u0440\u043e\u0433\u0438\u0435 \u0445\u0430\u0431\u0440\u043e\u0432\u0447\u0430\u043d\u0435. \u0421\u0435\u0433\u043e\u0434\u043d\u044f\u0448\u043d\u044f\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u2014 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043c\u043e\u0435\u0433\u043e \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0433\u043e \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f. \u042f \u0445\u043e\u0447\u0443 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c, \u043a\u0430\u043a \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0435 \u043c\u043e\u0434\u0443\u043b\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f (.so) \u0438\u0437 python-\u0444\u0430\u0439\u043b\u043e\u0432, \u0447\u0435\u043c \u043e\u043d\u0438 \u0431\u0443\u0434\u0443\u0442 \u043e\u0442\u043b\u0438\u0447\u0430\u0442\u044c\u0441\u044f \u0438 \u043a\u0430\u043a \u0441 \u043d\u0438\u043c\u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c. \u0414\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430 Nuitka. \u041e\u043d \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u0435\u043d \u0442\u0435\u043c, \u0447\u0442\u043e \u0441 \u0435\u0433\u043e \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0435 \u0444\u0430\u0439\u043b\u044b (.exe) \u0434\u043b\u044f Windows. \u041e\u0434\u043d\u0430\u043a\u043e, \u043a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u043e\u043d \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0438 \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0435 \u043c\u043e\u0434\u0443\u043b\u0438 python. \u0412\u0441\u0435\u0445, \u043a\u043e\u043c\u0443 \u044d\u0442\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u043f\u0440\u043e\u0448\u0443 \u043f\u043e\u0434 \u043a\u0430\u0442.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-386687","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/386687","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=386687"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/386687\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=386687"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=386687"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=386687"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}