Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork0
A collection of Python snippets.
License
NotificationsYou must be signed in to change notification settings
DevelopersToolbox/python-snippets
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
his is a collection of useful(ish) Python snippets. The snippets are all simple self-contained pieces of code (a class or subroutine), but non of them are large enough to require having a repository in their own right.
Name | Description |
---|---|
execute-shell-command.py | Execute a given shell command and return stdin, stdout and stderr. |
human-duration.py | Convert a given number of seconds into something more human friendly. |
ordinal.py | Suffix a given number with the correct ordinal. |
version-compare.py | Compare two version strings. |
which.py | A python implementation of the UNIX which command. |
About
A collection of Python snippets.
Topics
Resources
License
Code of conduct
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.