“cara membuka folder di python” Kode Jawaban

folder terbuka python

import subprocess
subprocess.Popen(r'explorer /select,"C:\path\of\folder\file"')
JoohannLULW

Buka File di Direktori Python

path = 'C:\\Users\\Username\\Path\\To\\File'
file=open(path, "r")
Filthy Falcon

cara membuka folder di python

import webbrowser

path = "C:/Users/Username/PycharmProjects"
webbrowser.open(path) # Opens 'PycharmProjects' folder.
Action Kamen

cara membuka folder di python

import subprocess
subprocess.Popen(r'explorer /select,"C:\path\of\folder\file"')

#I am going to find a way to make it so that if you code into the thing, then it will open a file you want
Curious Cheetah

Jawaban yang mirip dengan “cara membuka folder di python”

Pertanyaan yang mirip dengan “cara membuka folder di python”

Lebih banyak jawaban terkait untuk “cara membuka folder di python” di Python

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya