Skip to main content

Final state

Project description

This is just a simple code from try - finally :

install

pip install withfinal

usage

from withfinal 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 finally without try!

Project details


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.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

withfinal-0.1.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file withfinal-0.1.1.tar.gz.

File metadata

  • Download URL: withfinal-0.1.1.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

Hashes for withfinal-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0d3a18aa5e7d30056c018499444896db2b4dab959ec9ee9fb0271e4e28399d74
MD5 891483ae370205cb9ebacb494403dbe3
BLAKE2b-256 aa76d95d3e1cf6410949c1ce7413902f8316751906fcff040125d9a426b3ab83

See more details on using hashes here.

File details

Details for the file withfinal-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: withfinal-0.1.1-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

Hashes for withfinal-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5bc5c5e9775375f983bccfed8adc530fd5ca487ede3de4f9dac3cfee4a25bce2
MD5 474bf17b8f1cb8a318d4866d7bf7592d
BLAKE2b-256 97bbf0b61057ef4219069c62076a8fb71f51a3b8239503840e44728e852f9fce

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page