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 pyinstaller...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pyinstaller/f4364205-e538-47e5-86cd-4d870eda5821n%40googlegroups.com.