Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

*.py not being accepted as a file #6

Open
CodeYan01 opened this issue Oct 30, 2020 · 3 comments
Open

*.py not being accepted as a file #6

CodeYan01 opened this issue Oct 30, 2020 · 3 comments

Comments

@CodeYan01
Copy link

CodeYan01 commented Oct 30, 2020

image
The readme mentions this line of code (I did not include the subdirectories though) to quickly do it for the entire project but it doesn't accept it as a file. Using version 0.2.2 (latest from pip as of writing) with Python 3.8.5.

@abarker
Copy link
Owner

abarker commented Oct 30, 2020

I think the problem is that you're running on Windows which doesn't automatically expand the wildcard * symbols before passing them to a Python program. Passing the full filenames should work.

As noted in the README, the program hasn't been well-tested on Windows, but it will probably work aside from the globbing issue. I'll have to consider adding explicit wildcard globbing inside the Python code (which is required on Windows).

@abarker
Copy link
Owner

abarker commented Nov 2, 2020

Try the new version 0.2.3 that's available from pip. Filename globbing now works on Windows. Also, now if you leave off all the arguments the program will find all the Python files in the current directory by itself. I also changed the colors a little if Windows is detected because they didn't work right when I first tested it in PowerShell.

@CodeYan01
Copy link
Author

Will do and report back! Thanks for the quick update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants