On Fri, Jun 13, 2025 at 11:18 PM gp <[email protected]> wrote:

> Hi, i want ti ask Is the PyInstaller library supports the presence of an
> English period (.) in source files?
>

If you mean python code (*.py) files, then no, at least without a lot of
special code. (except for the dot before the "py").

That's because python files are usually modules, and so they need to have
valid python variable names. e.g.

a_file.py

is imported as:

import a_file

and then a_file is a name in that namespace.

And the "dot" --  has special meaning in Python, so can not be in a
variable name.

This limitation can be worked around, but you really don't want to do that
...

-CHB






> PyInstaller库是否支持源文件中存在英文句号(.)等标点符号
>
> --
> You received this message because you are subscribed to the Google Groups
> "PyInstaller" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion visit
> https://groups.google.com/d/msgid/pyinstaller/f4364205-e538-47e5-86cd-4d870eda5821n%40googlegroups.com
> <https://groups.google.com/d/msgid/pyinstaller/f4364205-e538-47e5-86cd-4d870eda5821n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/pyinstaller/CALGmxELp2PF%2B47dFmzMED1NPJQDLJFG8-70xNgrf1TfyAHLVaA%40mail.gmail.com.

Reply via email to