-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Using file picker instead of text field #25
Comments
+1 |
It will be a great idea in my opinion. But perhaps keep both options text field and filer picker, but perhaps is too much. |
@RandyHandy Keeping both is actually a pretty good idea. Tricky, but good. A file picker alone wouldn't convey much information, so I'll be nice to also have a place to display what the user chooses. This would also allow the possibility of your drag and drop idea ( Kind of a standard setup, like:
|
You could do this automatically in some cases, if the types of the entries are from pathlib or path.py. |
maybe metavar would be the place to set this? parser.add_argument("-i", dest="filename", required=True,
help="input file with two matrices", metavar="FILE") |
Done! |
It could be interesting to have the choice to use filer picker instead of text field.
I have started to work on such a change but I haven't got time to make this perfect and shiny.
Here is what I have done so far
https://gist.github.com/SylvainDe/0d4e7eec2ca223e1cf02
The text was updated successfully, but these errors were encountered: