If variable "y" within function F(x,y) calls to function G(z), is there any way to get the name of that variable within function G?

This page summarizes the projects mentioned and recommended in the original post on /r/learnpython

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • python-varname

    Dark magics about variable names in python

  • # https://old.reddit.com/r/learnpython/comments/vx8kw0/if_variable_y_within_function_fxy_calls_to/ # Qackydontus.py # https://github.com/pwwang/python-varname # python -m pip install varname from varname import argname def G(z): Name = argname('z') return z, Name def F(x, y): return x, G(y) print(F(1, 2)) # (1, (2, 'y'))

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • How do I print a word entered in a function parameter?

    1 project | /r/learnpython | 18 Feb 2021
  • My team lead always fails my code

    1 project | /r/developersIndia | 28 Jun 2023
  • Some scripts work weirdly

    1 project | /r/learnpython | 2 Jun 2023
  • Help with this password generator

    1 project | /r/learnpython | 25 May 2023
  • Variable inside a function with the same name?

    1 project | /r/learnpython | 6 May 2023