| Pozīcija | Domēns | Lapa | Darbības |
|---|---|---|---|
| 1 | stackoverflow.com | /questions/251464/ho... | |
|
Nosaukums
How to get a function name as a string?
Pēdējo reizi atjaunināts
N/A
Lapas autoritāte
N/A
Satiksme:
N/A
Atpakaļsaites:
N/A
Sociālās akcijas:
N/A
Ielādes laiks:
N/A
Fragmenta priekšskatījums:
To get the current function's or method's name from inside it, consider |
|||
| 2 | www.reddit.com | /r/PythonLearning/co... | |
|
Nosaukums
What is the "__name__" variable in a python module and ...
Pēdējo reizi atjaunināts
N/A
Lapas autoritāte
N/A
Satiksme:
N/A
Atpakaļsaites:
N/A
Sociālās akcijas:
N/A
Ielādes laiks:
N/A
Fragmenta priekšskatījums:
__ 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... | |
|
Nosaukums
Python - Variable Names
Pēdējo reizi atjaunināts
N/A
Lapas autoritāte
N/A
Satiksme:
N/A
Atpakaļsaites:
N/A
Sociālās akcijas:
N/A
Ielādes laiks:
N/A
Fragmenta priekšskatījums:
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... | |
|
Nosaukums
What's in a (Python's) __name__?
Pēdējo reizi atjaunināts
N/A
Lapas autoritāte
N/A
Satiksme:
N/A
Atpakaļsaites:
N/A
Sociālās akcijas:
N/A
Ielādes laiks:
N/A
Fragmenta priekšskatījums:
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/ | |
|
Pilns URL
Nosaukums
PEP 8 – Style Guide for Python Code
Pēdējo reizi atjaunināts
N/A
Lapas autoritāte
N/A
Satiksme:
N/A
Atpakaļsaites:
N/A
Sociālās akcijas:
N/A
Ielādes laiks:
N/A
Fragmenta priekšskatījums:
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... | |
|
Nosaukums
__name__ (A Special variable) in Python
Pēdējo reizi atjaunināts
N/A
Lapas autoritāte
N/A
Satiksme:
N/A
Atpakaļsaites:
N/A
Sociālās akcijas:
N/A
Ielādes laiks:
N/A
Fragmenta priekšskatījums:
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__.... | |
|
Nosaukums
__main__ — Top-level code environment — Python 3.13.5 ...
Pēdējo reizi atjaunināts
N/A
Lapas autoritāte
N/A
Satiksme:
N/A
Atpakaļsaites:
N/A
Sociālās akcijas:
N/A
Ielādes laiks:
N/A
Fragmenta priekšskatījums:
__ 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... | |
|
Pilns URL
Nosaukums
What's with the __name__ variable in Python?
Pēdējo reizi atjaunināts
N/A
Lapas autoritāte
N/A
Satiksme:
N/A
Atpakaļsaites:
N/A
Sociālās akcijas:
N/A
Ielādes laiks:
N/A
Fragmenta priekšskatījums:
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... | |
|
Nosaukums
How name resolution works in Python
Pēdējo reizi atjaunināts
N/A
Lapas autoritāte
N/A
Satiksme:
N/A
Atpakaļsaites:
N/A
Sociālās akcijas:
N/A
Ielādes laiks:
N/A
Fragmenta priekšskatījums:
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. |
|||