Replies: 1 comment
-
def main(config: Annotated[Optional[Path], typer.FileBinaryRead, typer.Option()]):
- ubs_var = pd.read_excel(Path)
+ ubs_var = pd.read_excel(config) # Not clear if `config` is the file you want to open |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
First Check
Commit to Help
Example Code
Description
How to open excel file providing relative path to the file using Typer.
Operating System
Windows
Operating System Details
No response
Typer Version
0.9.0
Python Version
3.10
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions