You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before proceeding, please make sure to follow these steps:
I have checked for similar questions in the project's issue tracker to avoid duplicates.
I have searched existing issues to see if this question has been asked before.
Your Question
defmain():
parser=argparse.ArgumentParser(description="Web scraper with aria2c output")
parser.add_argument("urls_file", type=Path, help="Input file containing URLs")
parser.add_argument(
"aria2c_file", type=Path, help="Output file for aria2c download links"
)
parser.add_argument(
"--timeout", type=int, default=5000, help="Timeout per page (ms)"
)
parser.add_argument(
"--max_workers", type=int, default=2, help="Maximum number of workers"
)
args=parser.parse_args()
blocking_run(args)
I hope we could select input file and set output file path with native dialog, instead of typing path manually
AFAIK tkinter filedialog will be the native implementation
The text was updated successfully, but these errors were encountered:
After looking into source code, I found type=argparse.FileType('w') for a TextIOWrapper,
but all I need is a file path.. so I could open it via async_open later
I will try to add hint for Path
mokurin000
changed the title
Question: How could I set an argument by save_file dialog
Feature: file selector for deerpygui
Oct 2, 2024
The default gui is dearpygui (changed after all the nonsense with pysimplegui (I plan on deprecating support for these gui options as an aside). And the dearpygui implementation I've seen involves opening a window as a child of the main window and then setting this in a callback. I had a quick play around a while back and couldn't get this to work. Though I'd like to revisit this when I have more time!
Before You Begin
Before proceeding, please make sure to follow these steps:
Your Question
I hope we could select input file and set output file path with native dialog, instead of typing path manually
AFAIK tkinter filedialog will be the native implementation
The text was updated successfully, but these errors were encountered: