{"id":325749,"date":"2021-06-30T15:00:50","date_gmt":"2021-06-30T15:00:50","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=325749"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=325749","title":{"rendered":"\u0425\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u0432\u043d\u0435\u0448\u043d\u0438\u0445 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043e\u043a 1\u0421 \u043d\u0430 python"},"content":{"rendered":"\n<div class=\"post__text post__text_v2\" id=\"post-content-body\">\n<p>\u0425\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0441\u0432\u043e\u0438\u043c \u043e\u043f\u044b\u0442\u043e\u043c \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0441\u0442\u0435\u043d\u044c\u043a\u043e\u0433\u043e \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430 \u0432\u043d\u0435\u0448\u043d\u0438\u0445 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043e\u043a 1\u0421. \u0415\u0441\u043b\u0438 \u0412\u044b \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442 1\u0421 \u0438 \u0432\u0430\u0448\u0438 \u043a\u043e\u043b\u043b\u0435\u0433\u0438 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u0437\u0430\u0442\u0438\u0440\u0430\u044e\u0442 \u0432\u0430\u043c \u043a\u043e\u0434 \u0432\u043d\u0435\u0448\u043d\u0438\u0445 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043e\u043a \u0442\u043e \u044d\u0442\u043e \u0441\u0442\u0430\u0442\u044c\u044f \u0434\u043b\u044f  \u0432\u0430\u0441!<\/p>\n<p>\u041f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u0441\u0440\u0430\u0437\u0443 \u043a \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044e:<\/p>\n<p><strong><em>\u0410\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u0440\u0430\u0431\u043e\u0442\u044b \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0439<\/em><\/strong><\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/058\/d3d\/5af\/058d3d5af1fd22b883e8e58993f0b317.png\" width=\"441\" height=\"477\"><figcaption><\/figcaption><\/figure>\n<p><strong>\u0417\u0430\u0445\u0432\u0430\u0442 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438<\/strong><\/p>\n<ol>\n<li>\n<p>\u0417\u0430\u0445\u043e\u0434\u0438\u043c \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u0431\u0430\u0437\u044b \u0433\u0434\u0435 \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0432\u043d\u0435\u0448\u043d\u0438\u0435 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438<\/p>\n<\/li>\n<li>\n<p>\u041a\u043b\u0438\u043a\u0430\u0435\u043c \u043f\u0440\u0430\u0432\u043e\u0439 \u043a\u043d\u043e\u043f\u043a\u043e\u0439 \u043d\u0430 \u0444\u0430\u0439\u043b \u0441 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435\u043c .epf (\u0432\u043d\u0435\u0448\u043d\u044f\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430)<\/p>\n<\/li>\n<li>\n<p>\u0412 \u043f\u043e\u044f\u0432\u0438\u0432\u0448\u0435\u043c\u0441\u044f \u043c\u0435\u043d\u044e \u0436\u043c\u0430\u043a\u0430\u0435\u043c &#171;\u0417\u0430\u0445\u0432\u0430\u0442\u0438\u0442\u044c&#187;<\/p>\n<\/li>\n<li>\n<p>\u0424\u0430\u0439\u043b \u043f\u043e\u043c\u0435\u0447\u0430\u0435\u0442\u0441\u044f &#171;\u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u0447\u0442\u0435\u043d\u0438\u0435&#187;<\/p>\n<\/li>\n<li>\n<p>\u0424\u0430\u0439\u043b \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043a \u0432\u0430\u043c \u0432 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u0443\u044e \u043f\u0430\u043f\u043a\u0443 \u0441\u043c. &#171;UsersConfig.json&#187;<\/p>\n<\/li>\n<li>\n<p>\u0414\u0430\u043d\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u0430 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u044e\u0442\u0441\u044f \u0432 &#171;\u0417\u0430\u0445\u0432\u0430\u0447\u0435\u043d\u043d\u044b\u0435\u0424\u0430\u0439\u043b\u044b.json&#187;<\/p>\n<\/li>\n<li>\n<p>\u041f\u0443\u0442\u044c \u043a \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u043d\u043e\u043c\u0443 \u0444\u0430\u0439\u043b\u0443 \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0432 \u0431\u0443\u0444\u0435\u0440, \u0442. \u0447. \u043c\u043e\u0436\u043d\u043e \u0441\u0440\u0430\u0437\u0443 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0442\u043e\u0440 \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c.<\/p>\n<\/li>\n<\/ol>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/baa\/43a\/c1c\/baa43ac1ca66581db7393f7d63e0d565.png\" width=\"431\" height=\"531\"><figcaption><\/figcaption><\/figure>\n<p><strong>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435<\/strong>: \u0437\u0430\u0445\u0432\u0430\u0442\u0438\u0442\u044c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043c\u043e\u0436\u043d\u043e \u0431\u0435\u0437 \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u0430!<\/p>\n<p><strong>\u041f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443<\/strong><\/p>\n<ol>\n<li>\n<p>\u041f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043c\u043e\u0436\u043d\u043e \u043a\u0430\u043a \u0438\u0437 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u0431\u0430\u0437\u044b, \u0442\u0430\u043a \u0438 \u0438\u0437 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0432\u044b \u0443\u043a\u0430\u0437\u0430\u043b\u0438 \u0432 &#171;UsersConfig.json&#187;<\/p>\n<\/li>\n<li>\n<p>\u041a\u043b\u0438\u043a\u0430\u0435\u043c \u043f\u0440\u0430\u0432\u043e\u0439 \u043a\u043d\u043e\u043f\u043a\u043e\u0439 \u043d\u0430 \u0444\u0430\u0439\u043b \u0441 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435\u043c .epf (\u0432\u043d\u0435\u0448\u043d\u044f\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430)<\/p>\n<\/li>\n<li>\n<p>\u0412 \u043f\u043e\u044f\u0432\u0438\u0432\u0448\u0435\u043c\u0441\u044f \u043c\u0435\u043d\u044e \u0436\u043c\u0430\u043a\u0430\u0435\u043c &#171;\u041f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c&#187;<\/p>\n<\/li>\n<li>\n<p>\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u043e &#171;\u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u0447\u0442\u0435\u043d\u0438\u0435&#187; \u0441\u043d\u0438\u043c\u0430\u0435\u0442\u0441\u044f<\/p>\n<\/li>\n<li>\n<p>\u0424\u0430\u0439\u043b \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u0431\u0430\u0437\u044b<\/p>\n<\/li>\n<li>\n<p>\u0414\u0430\u043d\u043d\u044b\u0435 \u043e \u0444\u0430\u0439\u043b\u0435 \u0443\u0434\u0430\u043b\u044f\u044e\u0442\u0441\u044f \u0438\u0437 &#171;\u0417\u0430\u0445\u0432\u0430\u0447\u0435\u043d\u043d\u044b\u0435\u0424\u0430\u0439\u043b\u044b.json&#187;<\/p>\n<\/li>\n<\/ol>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/0e6\/370\/2fd\/0e63702fd0156bd3904fbb965db2a993.png\" width=\"431\" height=\"531\"><figcaption><\/figcaption><\/figure>\n<p><strong>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435<\/strong>: \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043c\u043e\u0436\u043d\u043e \u0431\u0435\u0437 \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u0430!<\/p>\n<p><strong><em>\u0427\u0442\u043e \u043d\u0430\u0434\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0447\u0442\u043e \u0431\u044b \u044d\u0442\u043e \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e?<\/em><\/strong><\/p>\n<ol>\n<li>\n<p>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c Python \u0432\u0441\u0435\u043c \u0437\u0430\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043e\u0432\u0430\u043d\u043d\u044b\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c<\/p>\n<\/li>\n<li>\n<p>Python \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043e\u0434\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u043f\u043e \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e\u043c\u0443 \u043f\u0443\u0442\u0438 \u0443 \u0432\u0441\u0435\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 &#171;C:\\Program Files\\Python39&#187; <\/p>\n<\/li>\n<li>\n<p>\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u0440\u043e\u0435\u043a\u0442 (python) \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430 \u043d\u0430 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435. \u0420\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c PyCharm.<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/github.com\/DmitriyPL\/1C_external_file_storage\" rel=\"noopener noreferrer nofollow\">\u0418\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0442\u0443\u0442<\/a>.<\/p>\n<\/li>\n<li>\n<p>\u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u043d\u0430\u043a\u0430\u0442\u0438\u0442\u044c <a href=\"https:\/\/github.com\/DmitriyPL\/1C_external_file_storage\/blob\/main\/requirements.txt\" rel=\"noopener noreferrer nofollow\">requirements.txt<\/a> -&gt; pip install requirements.txt (\u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435 PyCharm) !!!<\/p>\n<\/li>\n<li>\n<p>\u041a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0444\u0430\u0439\u043b\u044b \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0432 \u043e\u0431\u0449\u0443\u044e \u043f\u0430\u043f\u043a\u0443, \u043a\u0443\u0434\u0430 \u0432\u0441\u0435 (\u0432\u0430\u0448\u0438 \u043a\u043e\u043b\u043b\u0435\u0433\u0438) \u0438\u043c\u0435\u044e\u0442 \u0434\u043e\u0441\u0442\u0443\u043f, \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 venv (\u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0435 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435 python)<\/p>\n<\/li>\n<li>\n<p>\u0414\u043e\u0431\u0430\u0432\u0438\u043c \u0432 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043d\u043e\u0435 \u043c\u0435\u043d\u044e \u0434\u043b\u044f \u0444\u0430\u0439\u043b\u043e\u0432 \u0441 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435\u043c .epf \u0434\u0432\u0435 \u043a\u043d\u043e\u043f\u043a\u0438 <code>\u0437\u0430\u0445\u0432\u0430\u0442\u0438\u0442\u044c\/\u043f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c. <\/code>\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0444\u0430\u0439\u043b\u043e\u043c <code>\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u0443\u043d\u043a\u0442\u044b \u043c\u0435\u043d\u044e.reg<\/code><\/p>\n<\/li>\n<\/ol>\n<pre><code class=\"1c\">Windows Registry Editor Version 5.00  [HKEY_CLASSES_ROOT\\V83.ExternalProcessing\\Shell\\\u0417\u0430\u0445\u0432\u0430\u0442\u0438\u0442\u044c] @=\"\u0417\u0430\u0445\u0432\u0430\u0442\u0438\u0442\u044c\" \"Position\"=\"Bottom\" \"Icon\"=\"%SystemRoot%\\\\System32\\\\SHELL32.dll,47\"  [HKEY_CLASSES_ROOT\\V83.ExternalProcessing\\Shell\\\u0417\u0430\u0445\u0432\u0430\u0442\u0438\u0442\u044c\\command] @=\"\\\"\\\\\\\\app1\\\\1C\\\\work\\\\\u0412\u043b\u043e\u0436\u0435\u043d\u0438\u044f\\\\Python_projects\\\\epf_Controll\\\\venv\\\\Scripts\\\\pythonw.exe\\\" \\\"\\\\\\\\app1\\\\1C\\\\work\\\\\u0412\u043b\u043e\u0436\u0435\u043d\u0438\u044f\\\\Python_projects\\\\epf_Controll\\\\main.pyw\\\" \\\"%1\\\" \\\"capture\t\\\"\"  [HKEY_CLASSES_ROOT\\V83.ExternalProcessing\\Shell\\\u041f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c] @=\"\u041f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c\" \"Position\"=\"Bottom\" \"Icon\"=\"%SystemRoot%\\\\System32\\\\SHELL32.dll,132\"  [HKEY_CLASSES_ROOT\\V83.ExternalProcessing\\Shell\\\u041f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c\\command] @=\"\\\"\\\\\\\\app1\\\\1C\\\\work\\\\\u0412\u043b\u043e\u0436\u0435\u043d\u0438\u044f\\\\Python_projects\\\\epf_Controll\\\\venv\\\\Scripts\\\\pythonw.exe\\\" \\\"\\\\\\\\app1\\\\1C\\\\work\\\\\u0412\u043b\u043e\u0436\u0435\u043d\u0438\u044f\\\\Python_projects\\\\epf_Controll\\\\main.pyw\\\" \\\"%1\\\" \\\"put\\\"\"<\/code><\/pre>\n<p>\u041e\u0431\u0440\u0430\u0449\u0430\u044e \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435!!! \u041c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c 1\u0421 8.3 \u0432 \u0412\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 <code>HKEY_CLASSES_ROOT\\V83.ExternalProcessing<\/code> \u043c\u043e\u0436\u0435\u0442 \u0438\u043c\u0435\u0442\u044c \u0438\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435!!!<\/p>\n<pre><code>[HKEY_CLASSES_ROOT\\V83.ExternalProcessing\\Shell\\\u0417\u0430\u0445\u0432\u0430\u0442\u0438\u0442\u044c\\command] @=\"\\\"\\\\\\\\app1\\\\1C\\\\work\\\\\u0412\u043b\u043e\u0436\u0435\u043d\u0438\u044f\\\\Python_projects\\\\epf_Controll\\\\venv\\\\Scripts\\\\pythonw.exe\\\" \\\"\\\\\\\\app1\\\\1C\\\\work\\\\\u0412\u043b\u043e\u0436\u0435\u043d\u0438\u044f\\\\Python_projects\\\\epf_Controll\\\\main.pyw\\\" \\\"%1\\\" \\\"capture\\\"\"  [HKEY_CLASSES_ROOT\\V83.ExternalProcessing\\Shell\\\u0417\u0430\u0445\u0432\u0430\u0442\u0438\u0442\u044c\\command] @=\"[\u041f\u0443\u0442\u044c \u0434\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u043e\u0440\u0430 python \u0438\u0437 \u043f\u0430\u043f\u043a\u0438 venv] [\u041f\u0443\u0442\u044c \u0434\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0430 - \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442\u0441\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c \u0432 \u0437\u0430\u043f\u0443\u0441\u043a\u043e\u0442\u043e\u0440] [\u041f\u0443\u0442\u044c \u043a \u0444\u0430\u0439\u043b\u0443 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b \u0437\u0430\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u0435\u0442\u0435\/\u043e\u0442\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0435 - \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442\u0441\u044f \u043f\u0435\u0440\u0432\u044b\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c \u0432 \u0441\u043a\u0440\u0438\u043f\u0442] [\u0422\u0438\u043f \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u0437\u0430\u0445\u0432\u0430\u0442\u0438\u0442\u044c\/\u043e\u0442\u043f\u0443\u0441\u0442\u0438\u0442\u044c - \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442\u0441\u044f \u0432\u0442\u043e\u0440\u044b\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c \u0432 \u0441\u043a\u0440\u0438\u043f\u0442]\"<\/code><\/pre>\n<p>\u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f\u043c\u0438 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <code>filetypesman<\/code><\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u0432\u0430\u0448\u0438\u043c \u043a\u043e\u043b\u043b\u0435\u0433\u0430\u043c \u043e\u0441\u0442\u0430\u043d\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0442\u0430\u0440\u0442\u0430\u043d\u0443\u0442\u044c \u0435\u0433\u043e!<\/p>\n<p>8. \u041d\u0430\u0441\u0442\u0440\u043e\u0438\u043c &#171;main.pyw&#187; <\/p>\n<pre><code># -*- coding: utf-8 -*-  import pyperclip import datetime import win32con import win32api import logging import shutil import ctypes import json import sys import os CAPTURED_FILES_PATH = r\"\\app1\\1C\\work\\\u0412\u043b\u043e\u0436\u0435\u043d\u0438\u044f\\Python_projects\\epf_Controll\\\u0417\u0430\u0445\u0432\u0430\u0447\u0435\u043d\u043d\u044b\u0435\u0424\u0430\u0439\u043b\u044b.json\" USERS_CONFIG        = r\"\\app1\\1C\\work\\\u0412\u043b\u043e\u0436\u0435\u043d\u0438\u044f\\Python_projects\\epf_Controll\\UsersConfig.json\" OPERATION_LOG_FILE  = r\"\\app1\\1C\\work\\\u0412\u043b\u043e\u0436\u0435\u043d\u0438\u044f\\Python_projects\\epf_Controll\\log.txt\" MAIN_DIR            = r\"\\app1\\1C\\work\"  ...  def file_dir_is_ok(file):     file_lower = file.lower()     if not file_lower.startswith(MAIN_DIR.lower()):         msg = \"\u0412\u044b \u043f\u044b\u0442\u0430\u0435\u0442\u0435\u0441\u044c \u0437\u0430\u0445\u0432\u0430\u0442\u0438\u0442\u044c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u0432\u043d\u0435 \u0440\u0430\u0431\u043e\u0447\u0435\u0433\u043e \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430!\\r\\r\u0414\u043e\u0432\u0435\u0440\u0435\u043d\u043d\u044b\u0435 \u043f\u0443\u0442\u0438:\\r\\r\" \\               \"1.'\\\\app1\\1C\\work'\\r\\r\" \\               \"2.'\\\\app1\\1C\\work\\\u0412\u043b\u043e\u0436\u0435\u043d\u0438\u044f'\\r\\r\" \\               \"3.'\\\\app1\\1C\\work\\ExtForms'\"         title = r'\u041d\u0435\u0432\u0435\u0440\u043d\u0430\u044f \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f!'         warning(msg, title)         return False     return True    ...<\/code><\/pre>\n<p>MAIN_DIR &#8212; \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u0431\u0430\u0437\u044b, \u043f\u043e \u043d\u0435\u043c\u0443 \u043f\u0440\u043e\u0433\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442 \u0442\u0430\u043c \u043b\u0438 \u0432\u044b \u043f\u044b\u0442\u0430\u0435\u0442\u0435\u0441\u044c \u0437\u0430\u0445\u0432\u0430\u0442\u0438\u0442\u044c \u0444\u0430\u0439\u043b.<\/p>\n<p>\u041f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0443 msg.<\/p>\n<p>9. \u041d\u0430\u0441\u0442\u0440\u043e\u0438\u043c &#171;UsersConfig.json&#187; <\/p>\n<pre><code>{     \"IT-99907262\": {             \"ExtForms\": \"\\\\\\\\1C\\\\1Cv80\\\\krow42\\\\Extforms\\\\\",             \"\u0412\u043b\u043e\u0436\u0435\u043d\u0438\u044f\": \"\\\\\\\\1C\\\\1Cv80\\\\krow42\\\\\u0412\u043b\u043e\u0436\u0435\u043d\u0438\u044f\\\\\"     } }  {     \"[\u0418\u043c\u044f \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430]\": {             \"[\u041a\u043b\u044e\u0447 1]\": [\u041f\u0443\u0442\u044c 1],             \"[\u041a\u043b\u044e\u0447 2]\": [\u041f\u0443\u0442\u044c 2]     } }<\/code><\/pre>\n<p>\u041a\u043b\u044e\u0447 &#8212; \u044d\u0442\u043e \u0442\u043e, \u0447\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u044b\u0442\u0430\u0442\u044c\u0441\u044f \u043d\u0430\u0439\u0442\u0438 \u043f\u0440\u043e\u0433\u0430 \u0432 \u043f\u0443\u0442\u0438 \u0437\u0430\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u0435\u043c\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430, \u0447\u0442\u043e \u0431\u044b \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043e\u0434\u0438\u043d \u0438\u0437 \u043f\u0443\u0442\u0435\u0439 \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u043e\u043d\u0430 \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u0437\u0430\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u0435\u043c\u044b\u0439 \u0444\u0430\u0439\u043b<\/p>\n<p>\u0411\u043e\u043d\u0443\u0441\u043e\u043c \u043c\u043e\u0436\u0435\u0442\u0435 \u043e\u0444\u043e\u0440\u043c\u0438\u0442\u044c \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 1\u0421 \u043c\u043e\u043d\u0438\u0442\u043e\u0440 \u0437\u0430\u0445\u0432\u0430\u0447\u0435\u043d\u043d\u044b\u0445 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043e\u043a. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0442\u0430\u043a:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/eb0\/a0b\/a6d\/eb0a0ba6d4ab08cad74745cc03fa9b2f.PNG\" width=\"734\" height=\"252\"><figcaption><\/figcaption><\/figure>\n<p>\u0413\u043e\u0442\u043e\u0432\u043e, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f! \u0415\u0441\u043b\u0438 \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f, \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0439 \u0442\u0440\u044e\u043a \u0438 \u0441 \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f\u043c\u0438 \u0444\u0430\u0439\u043b\u043e\u0432, \u043f\u043e \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0438&#8230;)<\/p>\n<p>\u0414\u043e\u043f\u0443\u0441\u043a\u0430\u044e, \u0447\u0442\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u044b \u044f \u0443\u043f\u0443\u0441\u0442\u0438\u043b \u043f\u0440\u0438 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0438 \u043f\u043e\u0440\u044f\u0434\u043a\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438, \u0442. \u0447. \u043f\u0438\u0448\u0438\u0442\u0435 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u0447\u0435\u0433\u043e \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442, \u0440\u0430\u0441\u043a\u0440\u043e\u044e \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435!<\/p>\n<\/div>\n<p> \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\/post\/565446\/\"> https:\/\/habr.com\/ru\/post\/565446\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text_v2\" id=\"post-content-body\">\n<p>\u0425\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0441\u0432\u043e\u0438\u043c \u043e\u043f\u044b\u0442\u043e\u043c \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0441\u0442\u0435\u043d\u044c\u043a\u043e\u0433\u043e \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430 \u0432\u043d\u0435\u0448\u043d\u0438\u0445 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043e\u043a 1\u0421. \u0415\u0441\u043b\u0438 \u0412\u044b \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442 1\u0421 \u0438 \u0432\u0430\u0448\u0438 \u043a\u043e\u043b\u043b\u0435\u0433\u0438 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u0437\u0430\u0442\u0438\u0440\u0430\u044e\u0442 \u0432\u0430\u043c \u043a\u043e\u0434 \u0432\u043d\u0435\u0448\u043d\u0438\u0445 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043e\u043a \u0442\u043e \u044d\u0442\u043e \u0441\u0442\u0430\u0442\u044c\u044f \u0434\u043b\u044f  \u0432\u0430\u0441!<\/p>\n<p>\u041f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u0441\u0440\u0430\u0437\u0443 \u043a \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044e:<\/p>\n<p><strong><em>\u0410\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u0440\u0430\u0431\u043e\u0442\u044b \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0439<\/em><\/strong><\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p><strong>\u0417\u0430\u0445\u0432\u0430\u0442 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438<\/strong><\/p>\n<ol>\n<li>\n<p>\u0417\u0430\u0445\u043e\u0434\u0438\u043c \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u0431\u0430\u0437\u044b \u0433\u0434\u0435 \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0432\u043d\u0435\u0448\u043d\u0438\u0435 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438<\/p>\n<\/li>\n<li>\n<p>\u041a\u043b\u0438\u043a\u0430\u0435\u043c \u043f\u0440\u0430\u0432\u043e\u0439 \u043a\u043d\u043e\u043f\u043a\u043e\u0439 \u043d\u0430 \u0444\u0430\u0439\u043b \u0441 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435\u043c .epf (\u0432\u043d\u0435\u0448\u043d\u044f\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430)<\/p>\n<\/li>\n<li>\n<p>\u0412 \u043f\u043e\u044f\u0432\u0438\u0432\u0448\u0435\u043c\u0441\u044f \u043c\u0435\u043d\u044e \u0436\u043c\u0430\u043a\u0430\u0435\u043c &#171;\u0417\u0430\u0445\u0432\u0430\u0442\u0438\u0442\u044c&#187;<\/p>\n<\/li>\n<li>\n<p>\u0424\u0430\u0439\u043b \u043f\u043e\u043c\u0435\u0447\u0430\u0435\u0442\u0441\u044f &#171;\u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u0447\u0442\u0435\u043d\u0438\u0435&#187;<\/p>\n<\/li>\n<li>\n<p>\u0424\u0430\u0439\u043b \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043a \u0432\u0430\u043c \u0432 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u0443\u044e \u043f\u0430\u043f\u043a\u0443 \u0441\u043c. &#171;UsersConfig.json&#187;<\/p>\n<\/li>\n<li>\n<p>\u0414\u0430\u043d\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u0430 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u044e\u0442\u0441\u044f \u0432 &#171;\u0417\u0430\u0445\u0432\u0430\u0447\u0435\u043d\u043d\u044b\u0435\u0424\u0430\u0439\u043b\u044b.json&#187;<\/p>\n<\/li>\n<li>\n<p>\u041f\u0443\u0442\u044c \u043a \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u043d\u043e\u043c\u0443 \u0444\u0430\u0439\u043b\u0443 \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0432 \u0431\u0443\u0444\u0435\u0440, \u0442. \u0447. \u043c\u043e\u0436\u043d\u043e \u0441\u0440\u0430\u0437\u0443 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0442\u043e\u0440 \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c.<\/p>\n<\/li>\n<\/ol>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p><strong>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435<\/strong>: \u0437\u0430\u0445\u0432\u0430\u0442\u0438\u0442\u044c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043c\u043e\u0436\u043d\u043e \u0431\u0435\u0437 \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u0430!<\/p>\n<p><strong>\u041f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443<\/strong><\/p>\n<ol>\n<li>\n<p>\u041f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043c\u043e\u0436\u043d\u043e \u043a\u0430\u043a \u0438\u0437 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u0431\u0430\u0437\u044b, \u0442\u0430\u043a \u0438 \u0438\u0437 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0432\u044b \u0443\u043a\u0430\u0437\u0430\u043b\u0438 \u0432 &#171;UsersConfig.json&#187;<\/p>\n<\/li>\n<li>\n<p>\u041a\u043b\u0438\u043a\u0430\u0435\u043c \u043f\u0440\u0430\u0432\u043e\u0439 \u043a\u043d\u043e\u043f\u043a\u043e\u0439 \u043d\u0430 \u0444\u0430\u0439\u043b \u0441 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435\u043c .epf (\u0432\u043d\u0435\u0448\u043d\u044f\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430)<\/p>\n<\/li>\n<li>\n<p>\u0412 \u043f\u043e\u044f\u0432\u0438\u0432\u0448\u0435\u043c\u0441\u044f \u043c\u0435\u043d\u044e \u0436\u043c\u0430\u043a\u0430\u0435\u043c &#171;\u041f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c&#187;<\/p>\n<\/li>\n<li>\n<p>\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u043e &#171;\u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u0447\u0442\u0435\u043d\u0438\u0435&#187; \u0441\u043d\u0438\u043c\u0430\u0435\u0442\u0441\u044f<\/p>\n<\/li>\n<li>\n<p>\u0424\u0430\u0439\u043b \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u0431\u0430\u0437\u044b<\/p>\n<\/li>\n<li>\n<p>\u0414\u0430\u043d\u043d\u044b\u0435 \u043e \u0444\u0430\u0439\u043b\u0435 \u0443\u0434\u0430\u043b\u044f\u044e\u0442\u0441\u044f \u0438\u0437 &#171;\u0417\u0430\u0445\u0432\u0430\u0447\u0435\u043d\u043d\u044b\u0435\u0424\u0430\u0439\u043b\u044b.json&#187;<\/p>\n<\/li>\n<\/ol>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p><strong>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435<\/strong>: \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043c\u043e\u0436\u043d\u043e \u0431\u0435\u0437 \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u0430!<\/p>\n<p><strong><em>\u0427\u0442\u043e \u043d\u0430\u0434\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0447\u0442\u043e \u0431\u044b \u044d\u0442\u043e \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e?<\/em><\/strong><\/p>\n<ol>\n<li>\n<p>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c Python \u0432\u0441\u0435\u043c \u0437\u0430\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043e\u0432\u0430\u043d\u043d\u044b\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c<\/p>\n<\/li>\n<li>\n<p>Python \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043e\u0434\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u043f\u043e \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e\u043c\u0443 \u043f\u0443\u0442\u0438 \u0443 \u0432\u0441\u0435\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 &#171;C:\\Program Files\\Python39&#187; <\/p>\n<\/li>\n<li>\n<p>\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u0440\u043e\u0435\u043a\u0442 (python) \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430 \u043d\u0430 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435. \u0420\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c PyCharm.<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/github.com\/DmitriyPL\/1C_external_file_storage\" rel=\"noopener noreferrer nofollow\">\u0418\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0442\u0443\u0442<\/a>.<\/p>\n<\/li>\n<li>\n<p>\u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u043d\u0430\u043a\u0430\u0442\u0438\u0442\u044c <a href=\"https:\/\/github.com\/DmitriyPL\/1C_external_file_storage\/blob\/main\/requirements.txt\" rel=\"noopener noreferrer nofollow\">requirements.txt<\/a> -&gt; pip install requirements.txt (\u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435 PyCharm) !!!<\/p>\n<\/li>\n<li>\n<p>\u041a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0444\u0430\u0439\u043b\u044b \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0432 \u043e\u0431\u0449\u0443\u044e \u043f\u0430\u043f\u043a\u0443, \u043a\u0443\u0434\u0430 \u0432\u0441\u0435 (\u0432\u0430\u0448\u0438 \u043a\u043e\u043b\u043b\u0435\u0433\u0438) \u0438\u043c\u0435\u044e\u0442 \u0434\u043e\u0441\u0442\u0443\u043f, \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 venv (\u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0435 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435 python)<\/p>\n<\/li>\n<li>\n<p>\u0414\u043e\u0431\u0430\u0432\u0438\u043c \u0432 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043d\u043e\u0435 \u043c\u0435\u043d\u044e \u0434\u043b\u044f \u0444\u0430\u0439\u043b\u043e\u0432 \u0441 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435\u043c .epf \u0434\u0432\u0435 \u043a\u043d\u043e\u043f\u043a\u0438 <code>\u0437\u0430\u0445\u0432\u0430\u0442\u0438\u0442\u044c\/\u043f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c. <\/code>\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0444\u0430\u0439\u043b\u043e\u043c <code>\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u0443\u043d\u043a\u0442\u044b \u043c\u0435\u043d\u044e.reg<\/code><\/p>\n<\/li>\n<\/ol>\n<pre><code class=\"1c\">Windows Registry Editor Version 5.00  [HKEY_CLASSES_ROOT\\V83.ExternalProcessing\\Shell\\\u0417\u0430\u0445\u0432\u0430\u0442\u0438\u0442\u044c] @=\"\u0417\u0430\u0445\u0432\u0430\u0442\u0438\u0442\u044c\" \"Position\"=\"Bottom\" \"Icon\"=\"%SystemRoot%\\\\System32\\\\SHELL32.dll,47\"  [HKEY_CLASSES_ROOT\\V83.ExternalProcessing\\Shell\\\u0417\u0430\u0445\u0432\u0430\u0442\u0438\u0442\u044c\\command] @=\"\\\"\\\\\\\\app1\\\\1C\\\\work\\\\\u0412\u043b\u043e\u0436\u0435\u043d\u0438\u044f\\\\Python_projects\\\\epf_Controll\\\\venv\\\\Scripts\\\\pythonw.exe\\\" \\\"\\\\\\\\app1\\\\1C\\\\work\\\\\u0412\u043b\u043e\u0436\u0435\u043d\u0438\u044f\\\\Python_projects\\\\epf_Controll\\\\main.pyw\\\" \\\"%1\\\" \\\"capture\t\\\"\"  [HKEY_CLASSES_ROOT\\V83.ExternalProcessing\\Shell\\\u041f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c] @=\"\u041f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c\" \"Position\"=\"Bottom\" \"Icon\"=\"%SystemRoot%\\\\System32\\\\SHELL32.dll,132\"  [HKEY_CLASSES_ROOT\\V83.ExternalProcessing\\Shell\\\u041f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c\\command] @=\"\\\"\\\\\\\\app1\\\\1C\\\\work\\\\\u0412\u043b\u043e\u0436\u0435\u043d\u0438\u044f\\\\Python_projects\\\\epf_Controll\\\\venv\\\\Scripts\\\\pythonw.exe\\\" \\\"\\\\\\\\app1\\\\1C\\\\work\\\\\u0412\u043b\u043e\u0436\u0435\u043d\u0438\u044f\\\\Python_projects\\\\epf_Controll\\\\main.pyw\\\" \\\"%1\\\" \\\"put\\\"\"<\/code><\/pre>\n<p>\u041e\u0431\u0440\u0430\u0449\u0430\u044e \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435!!! \u041c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c 1\u0421 8.3 \u0432 \u0412\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 <code>HKEY_CLASSES_ROOT\\V83.ExternalProcessing<\/code> \u043c\u043e\u0436\u0435\u0442 \u0438\u043c\u0435\u0442\u044c \u0438\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435!!!<\/p>\n<pre><code>[HKEY_CLASSES_ROOT\\V83.ExternalProcessing\\Shell\\\u0417\u0430\u0445\u0432\u0430\u0442\u0438\u0442\u044c\\command] @=\"\\\"\\\\\\\\app1\\\\1C\\\\work\\\\\u0412\u043b\u043e\u0436\u0435\u043d\u0438\u044f\\\\Python_projects\\\\epf_Controll\\\\venv\\\\Scripts\\\\pythonw.exe\\\" \\\"\\\\\\\\app1\\\\1C\\\\work\\\\\u0412\u043b\u043e\u0436\u0435\u043d\u0438\u044f\\\\Python_projects\\\\epf_Controll\\\\main.pyw\\\" \\\"%1\\\" \\\"capture\\\"\"  [HKEY_CLASSES_ROOT\\V83.ExternalProcessing\\Shell\\\u0417\u0430\u0445\u0432\u0430\u0442\u0438\u0442\u044c\\command] @=\"[\u041f\u0443\u0442\u044c \u0434\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u043e\u0440\u0430 python \u0438\u0437 \u043f\u0430\u043f\u043a\u0438 venv] [\u041f\u0443\u0442\u044c \u0434\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0430 - \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442\u0441\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c \u0432 \u0437\u0430\u043f\u0443\u0441\u043a\u043e\u0442\u043e\u0440] [\u041f\u0443\u0442\u044c \u043a \u0444\u0430\u0439\u043b\u0443 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b \u0437\u0430\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u0435\u0442\u0435\/\u043e\u0442\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0435 - \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442\u0441\u044f \u043f\u0435\u0440\u0432\u044b\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c \u0432 \u0441\u043a\u0440\u0438\u043f\u0442] [\u0422\u0438\u043f \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u0437\u0430\u0445\u0432\u0430\u0442\u0438\u0442\u044c\/\u043e\u0442\u043f\u0443\u0441\u0442\u0438\u0442\u044c - \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442\u0441\u044f \u0432\u0442\u043e\u0440\u044b\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c \u0432 \u0441\u043a\u0440\u0438\u043f\u0442]\"<\/code><\/pre>\n<p>\u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f\u043c\u0438 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <code>filetypesman<\/code><\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u0432\u0430\u0448\u0438\u043c \u043a\u043e\u043b\u043b\u0435\u0433\u0430\u043c \u043e\u0441\u0442\u0430\u043d\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0442\u0430\u0440\u0442\u0430\u043d\u0443\u0442\u044c \u0435\u0433\u043e!<\/p>\n<p>8. \u041d\u0430\u0441\u0442\u0440\u043e\u0438\u043c &#171;main.pyw&#187; <\/p>\n<pre><code># -*- coding: utf-8 -*-  import pyperclip import datetime import win32con import win32api import logging import shutil import ctypes import json import sys import os CAPTURED_FILES_PATH = r\"\\app1\\1C\\work\\\u0412\u043b\u043e\u0436\u0435\u043d\u0438\u044f\\Python_projects\\epf_Controll\\\u0417\u0430\u0445\u0432\u0430\u0447\u0435\u043d\u043d\u044b\u0435\u0424\u0430\u0439\u043b\u044b.json\" USERS_CONFIG        = r\"\\app1\\1C\\work\\\u0412\u043b\u043e\u0436\u0435\u043d\u0438\u044f\\Python_projects\\epf_Controll\\UsersConfig.json\" OPERATION_LOG_FILE  = r\"\\app1\\1C\\work\\\u0412\u043b\u043e\u0436\u0435\u043d\u0438\u044f\\Python_projects\\epf_Controll\\log.txt\" MAIN_DIR            = r\"\\app1\\1C\\work\"  ...  def file_dir_is_ok(file):     file_lower = file.lower()     if not file_lower.startswith(MAIN_DIR.lower()):         msg = \"\u0412\u044b \u043f\u044b\u0442\u0430\u0435\u0442\u0435\u0441\u044c \u0437\u0430\u0445\u0432\u0430\u0442\u0438\u0442\u044c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u0432\u043d\u0435 \u0440\u0430\u0431\u043e\u0447\u0435\u0433\u043e \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430!\\r\\r\u0414\u043e\u0432\u0435\u0440\u0435\u043d\u043d\u044b\u0435 \u043f\u0443\u0442\u0438:\\r\\r\" \\               \"1.'\\\\app1\\1C\\work'\\r\\r\" \\               \"2.'\\\\app1\\1C\\work\\\u0412\u043b\u043e\u0436\u0435\u043d\u0438\u044f'\\r\\r\" \\               \"3.'\\\\app1\\1C\\work\\ExtForms'\"         title = r'\u041d\u0435\u0432\u0435\u0440\u043d\u0430\u044f \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f!'         warning(msg, title)         return False     return True    ...<\/code><\/pre>\n<p>MAIN_DIR &#8212; \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u0431\u0430\u0437\u044b, \u043f\u043e \u043d\u0435\u043c\u0443 \u043f\u0440\u043e\u0433\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442 \u0442\u0430\u043c \u043b\u0438 \u0432\u044b \u043f\u044b\u0442\u0430\u0435\u0442\u0435\u0441\u044c \u0437\u0430\u0445\u0432\u0430\u0442\u0438\u0442\u044c \u0444\u0430\u0439\u043b.<\/p>\n<p>\u041f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0443 msg.<\/p>\n<p>9. \u041d\u0430\u0441\u0442\u0440\u043e\u0438\u043c &#171;UsersConfig.json&#187; <\/p>\n<pre><code>{     \"IT-99907262\": {             \"ExtForms\": \"\\\\\\\\1C\\\\1Cv80\\\\krow42\\\\Extforms\\\\\",             \"\u0412\u043b\u043e\u0436\u0435\u043d\u0438\u044f\": \"\\\\\\\\1C\\\\1Cv80\\\\krow42\\\\\u0412\u043b\u043e\u0436\u0435\u043d\u0438\u044f\\\\\"     } }  {     \"[\u0418\u043c\u044f \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430]\": {             \"[\u041a\u043b\u044e\u0447 1]\": [\u041f\u0443\u0442\u044c 1],             \"[\u041a\u043b\u044e\u0447 2]\": [\u041f\u0443\u0442\u044c 2]     } }<\/code><\/pre>\n<p>\u041a\u043b\u044e\u0447 &#8212; \u044d\u0442\u043e \u0442\u043e, \u0447\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u044b\u0442\u0430\u0442\u044c\u0441\u044f \u043d\u0430\u0439\u0442\u0438 \u043f\u0440\u043e\u0433\u0430 \u0432 \u043f\u0443\u0442\u0438 \u0437\u0430\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u0435\u043c\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430, \u0447\u0442\u043e \u0431\u044b \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043e\u0434\u0438\u043d \u0438\u0437 \u043f\u0443\u0442\u0435\u0439 \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u043e\u043d\u0430 \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u0437\u0430\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u0435\u043c\u044b\u0439 \u0444\u0430\u0439\u043b<\/p>\n<p>\u0411\u043e\u043d\u0443\u0441\u043e\u043c \u043c\u043e\u0436\u0435\u0442\u0435 \u043e\u0444\u043e\u0440\u043c\u0438\u0442\u044c \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 1\u0421 \u043c\u043e\u043d\u0438\u0442\u043e\u0440 \u0437\u0430\u0445\u0432\u0430\u0447\u0435\u043d\u043d\u044b\u0445 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043e\u043a. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0442\u0430\u043a:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0413\u043e\u0442\u043e\u0432\u043e, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f! \u0415\u0441\u043b\u0438 \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f, \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0439 \u0442\u0440\u044e\u043a \u0438 \u0441 \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f\u043c\u0438 \u0444\u0430\u0439\u043b\u043e\u0432, \u043f\u043e \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0438&#8230;)<\/p>\n<p>\u0414\u043e\u043f\u0443\u0441\u043a\u0430\u044e, \u0447\u0442\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u044b \u044f \u0443\u043f\u0443\u0441\u0442\u0438\u043b \u043f\u0440\u0438 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0438 \u043f\u043e\u0440\u044f\u0434\u043a\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438, \u0442. \u0447. \u043f\u0438\u0448\u0438\u0442\u0435 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u0447\u0435\u0433\u043e \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442, \u0440\u0430\u0441\u043a\u0440\u043e\u044e \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435!<\/p>\n<\/div>\n<p> \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\/post\/565446\/\"> https:\/\/habr.com\/ru\/post\/565446\/<\/a><br \/><\/br><\/br><\/br><\/br><\/p>\n<\/div>\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-325749","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/325749","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=325749"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/325749\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=325749"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=325749"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=325749"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}