
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
A Python wrapper for opening files and folders with the native file dialog.
Makes it easy to prompt the user with a native filepicker on all supported platforms.
Currently supports:
Basic API usage:
import crossfiledialog
filename = crossfiledialog.open_file()
multiple_filenames = crossfiledialog.open_multiple()
save_filename = crossfiledialog.save_file()
foldername = crossfiledialog.choose_folder()
crossfiledialog.open_file(title, start_dir, filter) -> str
Open a file selection dialog for selecting a file.
Parameters:
"*.py"
, all files are displayed ending .py)["*.py" "*.md"]
, all files are displayed ending either .py or .md)[["*.py", "*.md"], ["*.txt"]]
,
user can switch between (.py, .md) and (.txt)){"PDF-Files": "*.pdf", "Python Project": ["\*.py", "*.md"]}
)Returns:
crossfiledialog.open_multiple(title, start_dir, filter) -> list[str]
Open a file selection dialog for selecting multiple files.
Parameters:
"*.py"
, all files are displayed ending .py)["*.py" "*.md"]
, all files are displayed ending either .py or .md)[["*.py", "*.md"], ["*.txt"]]
,
user can switch between (.py, .md) and (.txt)){"PDF-Files": "*.pdf", "Python Project": ["\*.py", "*.md"]}
)Returns:
crossfiledialog.save_file(title, start_dir) -> str
Open a save file dialog.
Parameters:
Returns:
crossfiledialog.save_file(title, start_dir) -> str
Open a folder selection dialog.
Parameters:
Returns:
This software is licensed under the GNU LGPL 3.0 Only. See the LICENSE file for details.
SPDX-License-Identifier: LGPL-3.0-only
FAQs
A Python wrapper for opening files and folders with the native file dialog.
We found that crossfiledialog demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.