Lawrence D’Oliveiro <[email protected]> writes:
> On Wed, 19 Aug 2026 22:33:27 -0800, Maria Sophia wrote:
>>   CUSTOM_ADB_PATH = r"C:\app\editor\android\scrcpy\adb.exe"
>
> By the way, I think Python lets you write “/” instead of “\”, which
> saves trouble with r-strings.

File paths are interpreted by the OS.  If an open() call succeeds
with "C:/app/editor/android/scrcpy/adb.exe", I don't think that has
anything to do with Python (other than Python not going out of its
way to make it fail).

See also the pathlib module.

-- 
Keith Thompson (The_Other_Keith) [email protected]
void Void(void) { Void(); } /* The recursive call of the void */
-- 
https://mail.python.org/mailman3//lists/python-list.python.org

Reply via email to