Python defines two types of packages, regular packages and namespace packages. Regular packages are traditional packages as they existed in Python 3.2 and earlier. A regular package is typically implemented as a directory containing an __init__.py
file. When a regular package is imported, this __init__.py
file is implicitly executed, and the objects it defines are bound to names in the package’s namespace. The __init__.py
file can contain the same Python code that any other module can contain, and Python will add some additional attributes to the module when it is imported.
Site içinde arama yapın
Chart
Kategoriler
- Arts
- Business
- Computers
- Oyunlar
- Health
- Home
- Kids and Teens
- News
- Recreation
- Reference
- Regional
- Science
- Shopping
- Society
- Sports
- Бизнес
- Дом
- Досуг
- Здоровье
- Игры
- Искусство
- Источники информации
- Компьютеры
- Наука
- Новости и СМИ
- Общество
- Покупки
- Спорт
- Страны и регионы
- World
Read More
David Attenborough: A Life on Our Planet. (2020)
One man has seen more of the natural world than any other. This unique feature documentary is his...
Art of Western Europe in the 1800's
The eighteenth century in Western Europe is the last stage of the long transition from feudalism...
Star Wars: Episode V - The Empire Strikes Back. (1980)
After the Rebels are brutally overpowered by the Empire on the ice planet Hoth, Luke Skywalker...
Hammerhead Sharks
The hammerhead sharks are a group of sharks that form the family Sphyrnidae, so named for the...
The Apartment. (1960)
A Manhattan insurance clerk tries to rise in his company by letting its executives use his...