• Получение данных о системе и управление ею с помощью python?

    Ternick
    @Ternick
    yahabrovec, Ну platform он используется для граба версии ОС ) Вот таким не хитрым образом : platform.system()+ " " + platform.release()
  • PermissionError: [Errno 13] Permission denied: 'C:\\Users\\Ternick\\Desktop\\1\\Build_test\\ееее\\build'?

    Ternick
    @Ternick Автор вопроса
    Helow19274,
    PS C:\Users\Ternick\Desktop\1\Build_test\ееее> pyinstaller 1.py build
    220 INFO: PyInstaller: 3.3.1
    220 INFO: Python: 3.6.6
    221 INFO: Platform: Windows-10-10.0.17134-SP0
    222 INFO: wrote C:\Users\Ternick\Desktop\1\Build_test\ееее\1.spec
    223 INFO: UPX is not available.
    225 INFO: Extending PYTHONPATH with paths
    ['C:\\Users\\Ternick\\Desktop\\1\\Build_test\\ееее',
     'C:\\Users\\Ternick\\Desktop\\1\\Build_test\\ееее',
     'C:\\Users\\Ternick\\Desktop\\1\\Build_test\\ееее']
    225 INFO: checking Analysis
    226 INFO: Building Analysis because out00-Analysis.toc is non existent
    226 INFO: Initializing module dependency graph...
    228 INFO: Initializing module graph hooks...
    230 INFO: Analyzing base_library.zip ...
    3470 INFO: running Analysis out00-Analysis.toc
    3493 INFO: Adding Microsoft.Windows.Common-Controls to dependent assemblies of final executable
      required by c:\users\ternick\appdata\local\programs\python\python36\python.exe
    3544 WARNING: lib not found: api-ms-win-crt-runtime-l1-1-0.dll dependency of c:\users\ternick\appdata\local\programs\python\python36\python.exe
    3586 WARNING: lib not found: api-ms-win-crt-heap-l1-1-0.dll dependency of c:\users\ternick\appdata\local\programs\python\python36\python.exe
    3627 WARNING: lib not found: api-ms-win-crt-math-l1-1-0.dll dependency of c:\users\ternick\appdata\local\programs\python\python36\python.exe
    3669 WARNING: lib not found: api-ms-win-crt-locale-l1-1-0.dll dependency of c:\users\ternick\appdata\local\programs\python\python36\python.exe
    3708 WARNING: lib not found: api-ms-win-crt-stdio-l1-1-0.dll dependency of c:\users\ternick\appdata\local\programs\python\python36\python.exe
    3867 WARNING: lib not found: api-ms-win-crt-runtime-l1-1-0.dll dependency of c:\users\ternick\appdata\local\programs\python\python36\python36.dll
    3910 WARNING: lib not found: api-ms-win-crt-time-l1-1-0.dll dependency of c:\users\ternick\appdata\local\programs\python\python36\python36.dll
    3960 WARNING: lib not found: api-ms-win-crt-heap-l1-1-0.dll dependency of c:\users\ternick\appdata\local\programs\python\python36\python36.dll
    4008 WARNING: lib not found: api-ms-win-crt-math-l1-1-0.dll dependency of c:\users\ternick\appdata\local\programs\python\python36\python36.dll
    4049 WARNING: lib not found: api-ms-win-crt-convert-l1-1-0.dll dependency of c:\users\ternick\appdata\local\programs\python\python36\python36.dll
    4098 WARNING: lib not found: api-ms-win-crt-locale-l1-1-0.dll dependency of c:\users\ternick\appdata\local\programs\python\python36\python36.dll
    4141 WARNING: lib not found: api-ms-win-crt-string-l1-1-0.dll dependency of c:\users\ternick\appdata\local\programs\python\python36\python36.dll
    4183 WARNING: lib not found: api-ms-win-crt-environment-l1-1-0.dll dependency of c:\users\ternick\appdata\local\programs\python\python36\python36.dll
    4223 WARNING: lib not found: api-ms-win-crt-conio-l1-1-0.dll dependency of c:\users\ternick\appdata\local\programs\python\python36\python36.dll
    4263 WARNING: lib not found: api-ms-win-crt-stdio-l1-1-0.dll dependency of c:\users\ternick\appdata\local\programs\python\python36\python36.dll
    4302 WARNING: lib not found: api-ms-win-crt-filesystem-l1-1-0.dll dependency of c:\users\ternick\appdata\local\programs\python\python36\python36.dll
    4344 WARNING: lib not found: api-ms-win-crt-process-l1-1-0.dll dependency of c:\users\ternick\appdata\local\programs\python\python36\python36.dll
    4393 WARNING: lib not found: api-ms-win-crt-runtime-l1-1-0.dll dependency of c:\users\ternick\appdata\local\programs\python\python36\VCRUNTIME140.dll
    4436 WARNING: lib not found: api-ms-win-crt-heap-l1-1-0.dll dependency of c:\users\ternick\appdata\local\programs\python\python36\VCRUNTIME140.dll
    4492 WARNING: lib not found: api-ms-win-crt-convert-l1-1-0.dll dependency of c:\users\ternick\appdata\local\programs\python\python36\VCRUNTIME140.dll
    4537 WARNING: lib not found: api-ms-win-crt-string-l1-1-0.dll dependency of c:\users\ternick\appdata\local\programs\python\python36\VCRUNTIME140.dll
    4580 WARNING: lib not found: api-ms-win-crt-stdio-l1-1-0.dll dependency of c:\users\ternick\appdata\local\programs\python\python36\VCRUNTIME140.dll
    4582 INFO: Caching module hooks...
    4589 INFO: Analyzing C:\Users\Ternick\Desktop\1\Build_test\ееее\1.py
    5087 INFO: Processing pre-safe import module hook   urllib3.packages.six.moves
    7430 INFO: Processing pre-find module path hook   distutils
    8600 INFO: Processing pre-find module path hook   site
    8600 INFO: site: retargeting to fake-dir 'c:\\users\\ternick\\appdata\\local\\programs\\python\\python36\\lib\\site-packages\\PyInstaller\\fake-modules'
    12050 INFO: Analyzing C:\Users\Ternick\Desktop\1\Build_test\ееее\build
    Traceback (most recent call last):
      File "c:\users\ternick\appdata\local\programs\python\python36\lib\runpy.py", line 193, in _run_module_as_main
        "__main__", mod_spec)
      File "c:\users\ternick\appdata\local\programs\python\python36\lib\runpy.py", line 85, in _run_code
        exec(code, run_globals)
      File "C:\Users\Ternick\AppData\Local\Programs\Python\Python36\Scripts\pyinstaller.exe\__main__.py", line 9, in <module>
      File "c:\users\ternick\appdata\local\programs\python\python36\lib\site-packages\PyInstaller\__main__.py", line 94, in run
        run_build(pyi_config, spec_file, **vars(args))
      File "c:\users\ternick\appdata\local\programs\python\python36\lib\site-packages\PyInstaller\__main__.py", line 46, in run_build
        PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
      File "c:\users\ternick\appdata\local\programs\python\python36\lib\site-packages\PyInstaller\building\build_main.py", line 791, in main
        build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
      File "c:\users\ternick\appdata\local\programs\python\python36\lib\site-packages\PyInstaller\building\build_main.py", line 737, in build
        exec(text, spec_namespace)
      File "<string>", line 16, in <module>
      File "c:\users\ternick\appdata\local\programs\python\python36\lib\site-packages\PyInstaller\building\build_main.py", line 213, in __init__
        self.__postinit__()
      File "c:\users\ternick\appdata\local\programs\python\python36\lib\site-packages\PyInstaller\building\datastruct.py", line 161, in __postinit__
        self.assemble()
      File "c:\users\ternick\appdata\local\programs\python\python36\lib\site-packages\PyInstaller\building\build_main.py", line 415, in assemble
        priority_scripts.append(self.graph.run_script(script))
      File "c:\users\ternick\appdata\local\programs\python\python36\lib\site-packages\PyInstaller\depend\analysis.py", line 219, in run_script
        return super(PyiModuleGraph, self).run_script(pathname, caller=caller)
      File "c:\users\ternick\appdata\local\programs\python\python36\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 1334, in run_script
        with open(pathname, 'rb') as fp:
    PermissionError: [Errno 13] Permission denied: 'C:\\Users\\Ternick\\Desktop\\1\\Build_test\\ееее\\build'
    PS C:\Users\Ternick\Desktop\1\Build_test\ееее>
  • PermissionError: [Errno 13] Permission denied: 'C:\\Users\\Ternick\\Desktop\\1\\Build_test\\ееее\\build'?

    Ternick
    @Ternick Автор вопроса
    Helow19274, Я открыл powershell через администратора та же ошибка )
  • Что это значит: TypeError: expected str, bytes or os.PathLike object, not NoneType?

    Ternick
    @Ternick Автор вопроса
    longclaps, Можете просто сказать в чём суть ошибки ? А не задавать вопросы на которые я не знаю ответа ! Так как я уже говорил я читал это уведомление об ошибке и ничего не понял так как я не знаю что такое (os.PathLike object) и никогда с ним не сталкивался .
  • Что это значит: TypeError: expected str, bytes or os.PathLike object, not NoneType?

    Ternick
    @Ternick Автор вопроса
    longclaps, ДА я его читал и не могу понять ! Можно по конкретнее почему появляется ошибка !?
  • Можно ли через api telegrem создавать группы?

    Ternick
    @Ternick
    Нет так тоже нельзя сделать ссылка на ТГ бота она и есть ссылка и ничего ты к ней не приделаешь) тем более разного )