About 41,000,000 results
Open links in new tab
  1. python - What exactly does "import *" import? - Stack Overflow

    Mar 2, 2010 · In Python, what exactly does import * import? Does it import __init__.py found in the containing folder? For example, is it necessary to declare from project.model import __init__, …

  2. huggingface hub - ImportError: cannot import name …

    Jan 21, 2025 · ImportError: cannot import name 'cached_download' from 'huggingface_hub' Asked 5 months ago Modified 4 months ago Viewed 17k times

  3. How can I alias a default import in JavaScript? - Stack Overflow

    Origins, Solution and Answer: Background: A module can export functionality or objects from itself for the use in other modules The Modules Used for: Code reuse Separation of functionalities …

  4. How to import a Python class that is in a directory above?

    Jun 28, 2009 · I want to inherit from a class in a file that lies in a directory above the current one. Is it possible to relatively import that file?

  5. What does the "static" modifier after "import" mean?

    Oct 2, 2008 · The import allows the java programmer to access classes of a package without package qualification. The static import feature allows to access the static members of a class …

  6. python - Purpose of import this - Stack Overflow

    Apr 23, 2017 · There is a well known Easter Egg in Python called import this that when added to your code will automatically output The Zen of Python, by Tim Peters Beautiful is better than …

  7. python - import vs __import__ ( ) vs importlib.import_module ...

    Jan 30, 2015 · 78 __import__ is a low-level hook function that's used to import modules; it can be used to import a module dynamically by giving the module name to import as a variable, …

  8. Error "Import Error: No module named numpy" on Windows

    Mar 19, 2019 · 18 I also had this problem (Import Error: No module named numpy) but in my case it was a problem with my PATH variables in Mac OS X. I had made an earlier edit to my …

  9. python - ImportError: cannot import name '...' from partially ...

    Nov 12, 2020 · ImportError: cannot import name 'get_user_manager' from partially initialized module 'app.controllers.users' (most likely due to a circular import) Here is the exact scenario …

  10. How can I import a module dynamically given the full path?

    How do I load a Python module given its full path? Note that the file can be anywhere in the filesystem where the user has access rights. See also: How to import a module given its name …