DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python set cwd to script directory
abspath = os.path.abspath(__file__) dname = os.path.dirname(abspath) os.chdir(dname)
PREVIOUS
NEXT
Tagged:
#python
#set
#cwd
#script
#directory
ADD COMMENT
Topic
COMMENT
Name
7+1 =
Submit