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

execute a notebook without a file extension, the notebook_name will lose the last character #2119

Open
swg-liuge opened this issue Mar 1, 2024 · 0 comments

Comments

@swg-liuge
Copy link

When executing a notebook without a file extension, the notebook file name will lose the last character, is that a bug?

CMD: jupyter nbconvert --to notebook --execute test

image

the test is a notebook file without file extension, generated a converted file which is named tes_convert.ipynb. and I checked the code, it is caused by this line of code:
image
I wonder if it does not support notebook files without suffixes?

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

1 participant