About 387,000 results
Open links in new tab
  1. 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 …

  2. 6. ModulesPython 3.13.3 documentation

    1 day ago · A module is a file containing Python definitions and statements. The file name is the module name with the suffix .py appended. Within a module, the module’s name (as a string) …

  3. Python Modules - W3Schools

    There are several built-in modules in Python, which you can import whenever you like. Import and use the platform module: There is a built-in function to list all the function names (or variable …

  4. Python Modules (With Examples) - Programiz

    Module is a file that contains code to perform a specific task. A module may contain variables, functions, classes etc. Let's see an example, Let us create a module. Type the following and …

  5. Creating Python Modules and Packages Guide - PyTutorial

    May 10, 2025 · Creating a Basic Module. To create a module, save your code in a .py file. The filename becomes the module name. Follow these steps: 1. Create a new Python file. 2. Add …

  6. Python Modules and Packages – An Introduction – Real Python

    There are actually three different ways to define a module in Python: A module can be written in Python itself. A module can be written in C and loaded dynamically at run-time, like the re …

  7. Python Modules - Types and Examples - Python Geeks

    Learn what is module in Python, types of Python Modules - Built-in &User defined, Examples of various Modules in Python, packages in Python.

  8. Python Modules - Python Tutorial

    A Python module is a file that contains Python code. For example, when building a shopping cart application, you can have one module for calculating prices and another module for managing …

  9. Python Modules Tutorial: Importing, Writing, and Using Them

    Mar 28, 2025 · Learn how to create and import Python modules. Discover best practices, examples, and tips for writing reusable, organized, and efficient Python code.

  10. Modules and Packages - Learn Python - Free Interactive Python Tutorial

    Modules in Python are just Python files with a .py extension. The name of the module is the same as the file name. A Python module can have a set of functions, classes, or variables defined …

  11. Some results have been removed
Refresh