About 866,000 results
Open links in new tab
  1. Why Do We Use Modules In Python? - TimesMojo

    Jul 7, 2022 · In Python, Modules are simply files with the “. py” extension containing Python code that can be imported inside another Python Program. In simple terms, we can consider a …

  2. Python Modules - GeeksforGeeks

    Aug 9, 2024 · In this article, we will cover all about Python modules, such as How to create our own simple module, Import Python modules, From statements in Python, we can use the alias …

  3. 6. ModulesPython 3.13.3 documentation

    1 day ago · Such a file is called a module; definitions from a module can be imported into other modules or into the main module (the collection of variables that you have access to in a script …

  4. Why modules are most important in Python - Medium

    Mar 7, 2019 · A module is a file containing python definition and statements. A module can define function, classes and variables. A module can also include runnable code. Grouping related …

  5. Why does Python use Modules? - Stack Overflow

    Mar 13, 2012 · When you import a module, its code is executed, resulting in the creation of many objects (functions, classes, data, etc.), most of which must persist in memory to be useful.

  6. Python Modules – Types and Examples - Python Geeks

    Most modules are designed to be concise, unambiguous, and are meant to solve specific problems of developers. There are two types of modules in Python, they are built-in modules …

  7. What is a module and why do we need it? - Python Land

    If you create a Python file specifically to store functions, classes, and other definitions, that’s called a module. We use modules by importing from them, using the Python import statement …

  8. Python Modules (With Examples) - Programiz

    Instead of putting everything in a single file, we can use modules to separate codes in separate files as per their functionality. This makes our code organized and easier to maintain. Module …

  9. Python Modules - PythonHello

    In Python, a module is a self-contained piece of code that contains functions, variables, and classes. Modules can be imported into other Python programs to provide additional …

  10. Python Modules - Online Tutorials Library

    Python's standard library comes bundled with a large number of modules. They are called built-in modules. Most of these built-in modules are written in C (as the reference implementation of …

  11. Some results have been removed
Refresh