Closed sayak-brm closed 8 years ago
Apparently, Wildcards -as shown in the docs- are not being supported on Windows.
Example: pyminifier -d "C:\Users\admin\Desktop\Projects\Python 3.5.1\sysAuth\New" "C:\Users\user\Desktop\Projects\abc\xyz\*.py" gives error OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: 'C:\\Users\\user\\Desktop\\Projects\\abc\\xyz\\*.py'.
pyminifier -d "C:\Users\admin\Desktop\Projects\Python 3.5.1\sysAuth\New" "C:\Users\user\Desktop\Projects\abc\xyz\*.py"
OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: 'C:\\Users\\user\\Desktop\\Projects\\abc\\xyz\\*.py'
However, when a definite filename in the directory is give, like "C:\Users\user\Desktop\Projects\abc\xyz\helloWorld.py", PyMinifier works perfectly.
"C:\Users\user\Desktop\Projects\abc\xyz\helloWorld.py"
This is not a problem with Linux, but for compatibility, I think a different method for going through directories should be used.
Merging with Issue #45 .
See #45 for more info.
Apparently, Wildcards -as shown in the docs- are not being supported on Windows.
Example:
pyminifier -d "C:\Users\admin\Desktop\Projects\Python 3.5.1\sysAuth\New" "C:\Users\user\Desktop\Projects\abc\xyz\*.py"
gives errorOSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: 'C:\\Users\\user\\Desktop\\Projects\\abc\\xyz\\*.py'
.However, when a definite filename in the directory is give, like
"C:\Users\user\Desktop\Projects\abc\xyz\helloWorld.py"
, PyMinifier works perfectly.This is not a problem with Linux, but for compatibility, I think a different method for going through directories should be used.