Created
January 10, 2022 18:17
-
-
Save ryanlong1004/399299210ce28670a0bb428dae7b8d3d to your computer and use it in GitHub Desktop.
Useful Python One-liners
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # log current function name and local vars | |
| logger.debug("fx=%s: vars=%s", inspect.stack()[0][3], locals()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment