import sys path_to_folder = os.path.abspath("/home/maee/Downloads") sys.path.insert(0, path_to_folder)
import os
Answer by jkpeck (6143) | Mar 28 at 09:28 AM
First, if you are posting code, you need to post it with appropriate line breaks. Two blanks at the end of a line will produce a line break.
You attempted to use the os module via os.path before you imported it. The import must come first.
How do I go back to see what specific items were entered to create a total? 2 Answers
Sum of squares syntax subcommand 4 Answers
Extract part of a string variable 1 Answer
problem with loading RPC transport library 3 Answers
Explore Data Bug... 1 Answer