I can mount (in the fxce4-terminal) successfully with something like:
sshfs -o password_stdin user@example.ddnss.de:/remote/path ~/example_local_path/ <<< 'password'
but not (in a python3-Terminal or an python3-script):
import os
os.system("sshfs -o password_stdin user@example.ddnss.de:/remote/path ~/example_local_path/ <<< 'password'")
the latter return an Syntax error: redirection unexpected
Why fails the command when called from python, while it works from the terminal? Please help!