Re: PSA: A python script to clone your phone exactly, over Wi-Fi or USB

Keith Thompson via Python-list <[email protected]>
Newsgroups gmane.comp.python.general
Organization None to speak of
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.