At the current integration level, .py files can only import python modules which are within the python PYTHONPATH.
Au niveau d'intégration actuel, les fichiers.py ne peuvent importer que des modules python qui se trouvent dans le PYTHONPATH python.
Importing Modules The modules described in this chapter provide new ways to import other Python modules and hooks for customizing the import process.
Les modules décrits dans ce chapitre fournissent de nouveaux moyens d'importer d'autres modules Python, et des hooks pour personnaliser le processus d'importation.
PEP 451, standardizing module metadata for Python's module import system
Your models or controller may import python modules, and these may need to use some of the web2py API.
Vos modèles et contrôleurs peuvent importer des modules Python, et ceux-ci peuvent avoir besoin d'utiliser certaines API web2py.
The IPython Console Plugin allows real-time interaction with a selected item in the Application Tree View. Since the IPython Console Plugin is an interactive Python shell, you can import any Python modules you want.
Le greffon « Console IPython » permet une interaction en temps réel avec un élément sélectionné dans le Panneau de l'arborescence des applications. Comme ce greffon est un terminal interactif Python, vous pouvez importer les modules Python que vous voulez.
Note that the settings module should be on the Python import search path.
Notez que le module de réglages doit se trouver dans le chemin de recherche d'importation Python.
A function that takes a full Python import path to another URLconf module that should be "included" in this place.
Une fonction acceptant un chemin d'importation Python complet vers un autre module de configuration d'URL devant être « inclus » à cet endroit.
web2py model and controller files are not Python modules in that they cannot be imported using the Python import statement.
Les fichiers de modèle et de contrôleur web2py ne sont pas des modules Python et ne peuvent pas être importés en utilisant la déclaration Python import.
Note that this importing is just as powerful as regular Python imports.
Notez que cette importation est tout aussi puissante que les importations Python régulières.
For more information about these cmdlets, see Import-Module and New-ADComputer.
Pour en savoir plus sur ces cmdlets, consultez les ADComputer.
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.