DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
path of current working directory with os module python
import os cwd = os.getcwd() my_file='image.png' file_path = os.path.join(cwd, my_file) file_path
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#path
#current
#working
#directory
#os
#module
#python
ADD COMMENT
Topic
COMMENT
Name
8+8 =
Submit