I see here that I can call a python script from a batch file.
What I want to do is calling a python line without using a script.
This is an example of what i'm trying to do:
>> echo 'python.exe ''' "this/is/a/path".replace('/','\\')''' '
would return "this\\is\\a\\path"
Note: there is an easier way of doing what i'm trying to do in my example like here but this is not the question :)