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

function isfile checks if a file exists #2

Open
FabienArcellier opened this issue May 9, 2023 · 0 comments
Open

function isfile checks if a file exists #2

FabienArcellier opened this issue May 9, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@FabienArcellier
Copy link
Owner

FabienArcellier commented May 9, 2023

The qload().isfile('file.png') function checks that the path exists and that it is a file.

The function isfile works on alternative backends like ftp and s3.

assert qload.isfile('/home/fabien/file.csv') is True
assert qload.isfile('s3://mybucket/file1.json') is True
@FabienArcellier FabienArcellier added the enhancement New feature or request label May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant