• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
+ 1

Python module import

Is there difference between alias = __import__(ā€œmoduleā€) and import module as alias ?

pythonnamespaces
7th Oct 2020, 7:30 PM
Иван
Иван - avatar
1 Answer
+ 5
I hope this can answer your question: https://stackoverflow.com/questions/11263027/where-does-import-get-alias-names-from
7th Oct 2020, 7:42 PM
Lothar
Lothar - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Which language to start with?
2 Votes
Question!
0 Votes
Where do I start if I’m trying to build a complex AI?
1 Votes
How to show the images?
1 Votes
Как ŠæŠ¾Š“Š³Š¾Ń‚Š¾Š²ŠøŃ‚ŃŒŃŃ Šŗ олимпиаГе по информатике по Python?
0 Votes
Memorizing
0 Votes
Language confusion!
0 Votes
Games
0 Votes
How can I get help
0 Votes
Why do phone calls still convert better than forms in marketing?
1 Votes