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

Add executable and shebang examples #83

Merged
merged 2 commits into from
Sep 8, 2023
Merged

Conversation

angerson
Copy link
Contributor

@angerson angerson commented Sep 7, 2023

This is a small change to add details on using executables (relevant for tools like ranger) and shebangs (relevant for single-file scripts that may or may not have a .py extension).

@jaraco
Copy link
Owner

jaraco commented Sep 8, 2023

Oh, interesting. I was actually thinking this code could go in ./examples, but this proposal is also very nice. I'll probably add the executable script myself. Thanks!

@jaraco jaraco merged commit 1eaf4da into jaraco:main Sep 8, 2023
15 checks passed
@jaraco
Copy link
Owner

jaraco commented Sep 9, 2023

FYI, in 12.2.2, I've released updates to make the example portable to Windows.

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

Successfully merging this pull request may close these issues.

2 participants