I am learning how to write python. As a test I want to print the names of all files bigger than 1GB here is my code so far:
path = 'C:\\Users\\brentond\\Documents\\Outlook Files'
for filename in path:
if os.path.getsize(os.path.join(path, filename))>1000000000:
print(filename)
I get this error
SyntaxError: multiple statements found while compiling a single statement