bash escapes this characters when you hit tab on auto-complete:
Why you don't use os.path.join() instead of pwd+"/"+filename
!"$&'()*,:;<=>?@[\]^`{|} # plus lisht spaceHere is what you get with echo:
Output:$ echo (
bash: syntax error near unexpected token `newline'
And with escaping the '(':Output:$ echo \(
(
Why you don't use os.path.join() instead of pwd+"/"+filename