Please ignore secret bonuses. Secret tests do NOT award bonus. Max hw grade is 30+2 bonus efficiency

Do you need help?

Obtainig the path to file

NikaMsv (750 points)
2 11 17
in News by (750 points)
How can one obatin from a directory(copied from address bar on top) and a file's name A.txt the path to the file and pas it to the function ?

I do both os.path.join(directory ,filename) and directory + "\\" + filename yet I get this error :

in <genexpr>
    if any(err in args[0] for err in ['[OK]', 'Correct']):

TypeError: argument of type 'NoneType' is not iterable

1 Answer

angelo.spognardi (8190 points)
77 156 226
by (8.2k points)
I think you should provide some additional details to understand your problem. What you've written is not enough to help you.