![]() ![]() There is shlex.quote for Unix-like systems, but nothing really standard for Windows. A:\abc\def\a.txt), or else these need to be escaped. You can call them via os.system, which works, but.Įscaping: os.system only works with filenames that don't have any spaces or other shell metacharacters in the pathname (e.g. Here are considerations on which package to use: To call them from Python, you can either use subprocess module or os.system(). Open and start are command-interpreter things for Mac OS/X and Windows respectively, to do this. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |