| Positie | Domein | Pagina | Acties |
|---|---|---|---|
| 1 | stackoverflow.com | /questions/251464/ho... | |
|
Volledige URL
Titel
How to get a function name as a string?
Laatst bijgewerkt
N.v.t
Pagina-autoriteit
N.v.t
Verkeer:
N.v.t
Backlinks:
N.v.t
Sociale aandelen:
N.v.t
Laadtijd:
N.v.t
Fragmentvoorbeeld:
To get the current function's or method's name from inside it, consider |
|||
| 2 | www.reddit.com | /r/PythonLearning/co... | |
|
Volledige URL
Titel
What is the "__name__" variable in a python module and ...
Laatst bijgewerkt
N.v.t
Pagina-autoriteit
N.v.t
Verkeer:
N.v.t
Backlinks:
N.v.t
Sociale aandelen:
N.v.t
Laadtijd:
N.v.t
Fragmentvoorbeeld:
__ name__ is a special Python variable name . As I understand, it is used to check if you're currently running through a line in the top-level ... |
|||
| 3 | www.w3schools.com | /python/python_varia... | |
|
Titel
Python - Variable Names
Laatst bijgewerkt
N.v.t
Pagina-autoriteit
N.v.t
Verkeer:
N.v.t
Backlinks:
N.v.t
Sociale aandelen:
N.v.t
Laadtijd:
N.v.t
Fragmentvoorbeeld:
A variable name can only contain alpha-numeric characters and underscores (A-z, 0-9, and _ ) Variable names are case-sensitive (age, Age and AGE are three ... |
|||
| 4 | www.freecodecamp.org | /news/whats-in-a-pyt... | |
|
Titel
What's in a (Python's) __name__?
Laatst bijgewerkt
N.v.t
Pagina-autoriteit
N.v.t
Verkeer:
N.v.t
Backlinks:
N.v.t
Sociale aandelen:
N.v.t
Laadtijd:
N.v.t
Fragmentvoorbeeld:
1 февр. 2019 г. — The __ name__ variable (two underscores before and after) is a special Python variable. It gets its value depending on how we execute the containing script. |
|||
| 5 | peps.python.org | /pep-0008/ | |
|
Volledige URL
Titel
PEP 8 – Style Guide for Python Code
Laatst bijgewerkt
N.v.t
Pagina-autoriteit
N.v.t
Verkeer:
N.v.t
Backlinks:
N.v.t
Sociale aandelen:
N.v.t
Laadtijd:
N.v.t
Fragmentvoorbeeld:
4 апр. 2025 г. — This document gives coding conventions for the Python code comprising the standard library in the main Python distribution. |
|||
| 6 | www.geeksforgeeks.org | /python/__name__-a-s... | |
|
Titel
__name__ (A Special variable) in Python
Laatst bijgewerkt
N.v.t
Pagina-autoriteit
N.v.t
Verkeer:
N.v.t
Backlinks:
N.v.t
Sociale aandelen:
N.v.t
Laadtijd:
N.v.t
Fragmentvoorbeeld:
28 июл. 2022 г. — __ name__ is a built-in variable which evaluates to the name of the current module . Thus it can be used to check whether the current script is being run on its ... |
|||
| 7 | docs.python.org | /3/library/__main__.... | |
|
Volledige URL
Titel
__main__ — Top-level code environment — Python 3.13.5 ...
Laatst bijgewerkt
N.v.t
Pagina-autoriteit
N.v.t
Verkeer:
N.v.t
Backlinks:
N.v.t
Sociale aandelen:
N.v.t
Laadtijd:
N.v.t
Fragmentvoorbeeld:
__ main__ is the name of the environment where top-level code is run . “Top-level code” is the first user-specified Python module that starts running.;55811372 |
|||
| 8 | builder.aws.com | /content/2eEahNZZ1to... | |
|
Volledige URL
Titel
What's with the __name__ variable in Python?
Laatst bijgewerkt
N.v.t
Pagina-autoriteit
N.v.t
Verkeer:
N.v.t
Backlinks:
N.v.t
Sociale aandelen:
N.v.t
Laadtijd:
N.v.t
Fragmentvoorbeeld:
26 мар. 2024 г. — “__name__” is a special variable managed by Python and it will automatically set its value to “__main__” if the script is being run directly and ... |
|||
| 9 | discuss.python.org | /t/how-name-resoluti... | |
|
Titel
How name resolution works in Python
Laatst bijgewerkt
N.v.t
Pagina-autoriteit
N.v.t
Verkeer:
N.v.t
Backlinks:
N.v.t
Sociale aandelen:
N.v.t
Laadtijd:
N.v.t
Fragmentvoorbeeld:
3 мая 2023 г. — A name that's assigned to in a class body is implicitly declared local (ie to use LOAD_ NAME and STORE_ NAME ), unless it's explicitly declared global. |
|||