In my Python script I'm trying to execute next code:
import subprocess
subprocecss.call("xrdb -load ~/.XDefaults")
but it falls with error: "No such file or directory", although it works when I paste the same code to terminal. I also tryed os.system(...) with import os, I tried it with "xrdb -merge ~/.XDefaults", I tried to delete ~/ from command, I even tried to change "" to '', no way. What I'm doing wrong?