import subprocess
import os
ngrok_path = os.path.join('C:', 'Users', 'user', 'AppData', 'Local', 'Temp', 'Temp1_ngrok-v3-stable-windows-amd64.zip', 'ngrok.exe')
subprocess.call(ngrok_path)
Traceback (most recent call last):
File "c:UsersuserDesktopSoftwarepy-tutorialcekilisAppsifreKorumalıAppindex.py", line 5, in <module>
subprocess.call(ngrok_path)
File "C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3. 11_3.11.1776.0_x64__qbz5n2kfra8p0Libsubprocess.py" , line 389, in call
with Popen(*popenargs, **kwargs) as p:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3. 11_3.11.1776.0_x64__qbz5n2kfra8p0Libsubprocess.py" , line 1026, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3. 11_3.11.1776.0_x64__qbz5n2kfra8p0Libsubprocess.py" , line 1538, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] Sistem belirtilen dosyayı bulamıyor