About 332,000 results
Open links in new tab
  1. 6. ModulesPython 3.13.3 documentation

    3 days 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) …

  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. Python Modules - W3Schools

    What is a Module? Consider a module to be the same as a code library. A file containing a set of functions you want to include in your application. To create a module just save the code you …

  4. 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.

  5. 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 …

  6. Python Modules - Online Tutorials Library

    Any text file with .py extension and containing Python code is basically a module. It can contain definitions of one or more functions, variables, constants as well as classes.

  7. Modules in Python with Examples - TechBeamers

    Apr 18, 2025 · This tutorial clearly explained: what is a module in Python with examples, and how to create and import them in programs. Python modules are a powerful way to organize and …

  8. Python Modules and Packages - An Introduction - Python

    A module is a Python file that has functions or classes. A Python program can use one or more modules. There are many modules (sometimes called libraries) available for Python. By using …

  9. Understanding Python Modules: Fundamental Concepts, Usage, …

    Jan 26, 2025 · What is a Python Module? A Python module is simply a Python file containing Python code. It can define functions, classes, variables, and other Python objects. Modules …

  10. Introduction to Python Modules - AskPython

    Dec 18, 2019 · Modules are the pre-defined files that contain the python codes which depict the basic functionalities of class, methods, variables, etc. It consists of different functions, classes …

  11. Some results have been removed
Refresh