Final state
Project description
This is just a simple code from try - finally :
install
pip install withFinal
usage
from Final import Final
import sys
def doSomething() :
print("doSomething")
with Final :
doSomething()
print("This is same as 'finally'")
with Final :
print("Final = FIFO(Queue)")
print(10)
sys.exit()
# output
>>> 10
>>> doSomething
>>> This is same as 'finally'
>>> Final = FIFO(Queue)
Note
- try use
finallywithouttry!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
withfinal-0.1.2.tar.gz
(3.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file withfinal-0.1.2.tar.gz.
File metadata
- Download URL: withfinal-0.1.2.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a00a73f4aaf659f2bfcc14c6b256e53ec78d29a1509766ae32b0442cdaeab9bd
|
|
| MD5 |
c53832508d5613abe6699bd1ae929067
|
|
| BLAKE2b-256 |
f9ceeb4c371c682deaeaf0d72904771f397271bbec21d6f94f73fda6ed42310b
|
File details
Details for the file withfinal-0.1.2-py3-none-any.whl.
File metadata
- Download URL: withfinal-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ed91b2c9dd01c5579de3f3f04610cf604174f419b4c16cffefbb9480b79ed2a
|
|
| MD5 |
b9720ea5d14f0542444c583b6c0f0e08
|
|
| BLAKE2b-256 |
d56697235f5bb620cf724ac6879cfd6e8ce4edbdd13072a21f4e09eb15c1bca7
|