Answers for "os open directory python"

4

python open folder

import subprocess
subprocess.Popen(r'explorer /select,"C:pathoffolderfile"')
Posted by: Guest on January-15-2021
0

how to access a txt file through os library in python

my_file_handle=open("folder/test.txt")
my_file_handle.read()
Posted by: Guest on September-22-2020

Python Answers by Framework

Browse Popular Code Answers by Language