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:

from here 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.1.tar.gz (60.1 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.1-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file here_log-1.0.1.tar.gz.

File metadata

  • Download URL: here_log-1.0.1.tar.gz
  • Upload date:
  • Size: 60.1 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.1.tar.gz
Algorithm Hash digest
SHA256 a5bfb6f5a4990816711b1d2b0a8bb9bf8ed474d8bd172bc5eab7eceb2c7eb37a
MD5 1e275ec4f437bc6b9553d3235945cf7d
BLAKE2b-256 c7af7b55b906363596c47e7d7864581cbc24b41144be0a6bd954bf1908b86810

See more details on using hashes here.

File details

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

File metadata

  • Download URL: here_log-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 24d58e5d3cebad15c7ed1760c087cbe6c785b7fd32c98531602a31e1074068d2
MD5 1f45126d22350fd8a3ba6dc823b66625
BLAKE2b-256 ebc68c05cedee729cba9aad19b81e5ade4e8cd07dfe2430231fa2002b32a2475

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