Skip to main content

A package to print the current position in code

Project description

Here

This package prints the current position (file name, line number) in your code. You can use it as follows:

import here

# Print the position
print(here)

# Print the position without print statement
here()

# Print a custom message
here("This is a custom message.")

# Print a custom message with a variable
variable = "test"
here(f"This is a custom message with a variable: {variable}")

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

here-log-1.0.0.tar.gz (52.4 kB view details)

Uploaded Source

Built Distribution

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

here_log-1.0.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file here-log-1.0.0.tar.gz.

File metadata

  • Download URL: here-log-1.0.0.tar.gz
  • Upload date:
  • Size: 52.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for here-log-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f4170d6ab2f8cdf55b16a4f54c8c5db547a5481336484adffba833ef23c78a2a
MD5 12d7d29d5f5db68b6d04a21094ca1df9
BLAKE2b-256 a63320dd687f11f3dba7ced312c4d682a05b813e946bf3d850496e78438f9a93

See more details on using hashes here.

File details

Details for the file here_log-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: here_log-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for here_log-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 735cc2691e78a0875f873f5f246ddf1a4ed0c7a1e1ea797359894233ef90dfe3
MD5 ec903fef594a4218366babd326f0583b
BLAKE2b-256 631341a630b06742eb63ce9bf0591fc5ef018f4b4788b83ff0cf4aeffaa017de

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