This is a follow-up from Invoke pstools in Python script
When I open a command prompt and execute
D:\\pstools\\psloggedon.exe -l -x \\\\10.10.10.10
As suggested by lejlot's comment you have to use "\\" because "\" is an escape character in python.