Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

python open folder

import subprocess
subprocess.Popen(r'explorer /select,"C:pathoffolderfile"')
Comment

how to open folder in python

import webbrowser

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

PREVIOUS NEXT
Code Example
Python :: what is += python 
Python :: installing pip in pytho 
Python :: turn columns into one column as list python 
Python :: plot data python 
Python :: keep tkinter window below others 
Python :: django fieldset 
Python :: plt.hist using bins 
Python :: docker flask 
Python :: how to username in python? 
Python :: reversed python 
Python :: hugingface ner 
Python :: save to xlsx in python 
Python :: how to change todays date formate in python 
Python :: python argsort a list 
Python :: python cast to float 
Python :: python password generation 
Python :: lambda en python 
Python :: pip offline package install 
Python :: input function in python 
Python :: python ctypes maximize window 
Python :: python close gile 
Python :: check status code urllib open 
Python :: how to return number in binary python 
Python :: python how to align text writen to a file 
Python :: len python 
Python :: python pathlib 
Python :: code coverage pytest as html 
Python :: find prime in python list 
Python :: python remove 
Python :: how to use css in php example 
ADD CONTENT
Topic
Content
Source link
Name
4+6 =