4,830 results
Open links in new tab
  1. 6. Modules — Python 3.15.2 documentation

    1 day ago · 6. Modules ¶ If you quit from the Python interpreter and enter it again, the definitions you have made (functions and …

  2. How to write a Python module/package? - Stack Overflow

    Apr 1, 2013 · Make a python module install-able with "pip install ..." Here is an absolute minimal example, showing the basic steps of …

  3. Python Modules - W3Schools

    Create a Module To create a module just save the code you want in a file with the file extension .py:

  4. Create and Import modules in Python - GeeksforGeeks

    Dec 29, 2019 · In Python, a module is a self-contained Python file that contains Python statements and definitions, like a file named …

  5. How To Write Modules in Python 3 - DigitalOcean

    Aug 20, 2021 · This tutorial will guide you through writing Python modules for you or others to use within your program files.

  6. Creating Python Modules and Packages Guide - PyTutorial

    May 10, 2025 · Python modules and packages help organize code. They make it reusable. This guide shows how to create them …

  7. How to create modules in Python 3 - GeeksforGeeks

    Jun 24, 2021 · Modules are simply python code having functions, classes, variables. Any python file with .py extension can be …

  8. Packaging Python Projects - Python Packaging User Guide

    2 days ago · Packaging Python Projects ¶ This tutorial walks you through how to package a simple Python project. It will show you …

  9. Python Create Module - W3Schools

    Create a Module To create a module just save the code you want in a file with the file extension .py:

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

    Oct 25, 2026 · Explore Python modules and packages, the two mechanisms that make modular programming possible, and learn …