How to run/debug a script file its name has characters such as space, (, etc.
Chris Angelico
rosuav at gmail.com
Fri Oct 12 04:39:04 EDT 2018
On Fri, Oct 12, 2018 at 6:26 PM <jfong at ms4.hinet.net> wrote:
>
> I saw a directory where all its filenames are something like this:
> ...
> 1a PSG (Entry and PopUp).py
> 1b PSG (Format).py
> 1c PSG (persistent form and bind key).py
> ...
>
> Just wondering how these file can run and debugged under Windows?
>
Put the file name inside double quotes. You can probably do this by
tab-completing the name - type 1c and then hit the tab key - your
shell should fill out the rest of the name with whatever quoting is
necessary.
ChrisA
More information about the Python-list
mailing list