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

A temporary file with ~ at the end #38

Open
fdrov opened this issue Sep 12, 2022 · 5 comments
Open

A temporary file with ~ at the end #38

fdrov opened this issue Sep 12, 2022 · 5 comments

Comments

@fdrov
Copy link

fdrov commented Sep 12, 2022

Hi! Thx for the lib. After info.save() it creates a temporary file with ~ at the end.
Windows 11, python 3.9. There is any way to close file, something like info.close()?

@james-see
Copy link
Owner

I have to look into it, and PR would be reviewed related to this if you want to try to implement something.

@cwpearson
Copy link

cwpearson commented Aug 10, 2023

Created here, I think

shutil.move(newfile, "{file}~".format(file=newfile))

It seems like it's intended to not create this file if you do something like .save('overwrite') or .save(options='overwrite') but that doesn't work for me.

@james-see
Copy link
Owner

I don't have time to look into this, I would just add a line in python to remove it if you really want to force remove that. I think it should auto-clean that up when the code completes. If someone wants to sponsor this project I can look back at it.

@james-ro-williams
Copy link

This issue has been fixed in this PR: #29. However, the version has not been updated on PyPI meaning that people can't get to it.

@james-see
Copy link
Owner

This issue has been fixed in this PR: #29. However, the version has not been updated on PyPI meaning that people can't get to it.

I thought it was updated in pypi? I will check on this. Thanks for the heads up.

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

No branches or pull requests

4 participants