About 197,000 results
Open links in new tab
  1. How to write a Python module/package? - Stack Overflow

    Apr 1, 2013 · Python 3 - UPDATED 18th November 2015. Found the accepted answer useful, yet wished to expand on several points for the benefit of others based on my own experiences. …

  2. How to create module-wide variables in Python? [duplicate]

    Dec 30, 2009 · First, the only global variables Python really has are module-scoped variables. You cannot make a variable that is truly global; all you can do is make a variable in a particular …

  3. Creating Python daemon - 'module' object has no attribute ...

    May 7, 2025 · As a newcomer to Python it's a bit confusing that there is a daemon and python-daemon package and also there's two ways of installing python packages (sudo apt-get install …

  4. python - Creating Modules with PyCharm - Stack Overflow

    Mar 15, 2018 · This is a better way to organize things that should work both within and outside of Pycharm. Unlike the Java world, Python doesn't have as many common conventions for …

  5. Creating python module with command line arguments

    Creating a python module. 7. how to pass arguments to a module in python 2.x interactive mode. 0. python ...

  6. python - setup.py examples? - Stack Overflow

    Wheels are the new standard of python distribution and are intended to replace eggs. Support is offered in pip >= 1.4 and setuptools >= 0.8. Advantages of wheels. Faster installation for pure …

  7. Creating a Python module with its dependencies self contained

    Apr 26, 2019 · PyInstaller bundles a Python application and all its dependencies into a single package. The user can run the packaged app without installing a Python interpreter or any …

  8. How to locally develop a python package? - Stack Overflow

    Sep 10, 2018 · import sys sys.path.insert(0, path/to/module) In this way, you give priority to a specific path when looking for a module. This means that the module you want to import will …

  9. Creating a python module - Stack Overflow

    Aug 14, 2012 · However, if I create a directory test1234 and put test1234.py and a blank init.py in this directory, python test.py gives the error: AttributeError: 'module' object has no attribute …

  10. How can I make a Python script standalone executable to run …

    Jan 24, 2017 · I would like to compile some useful information about creating standalone files on Windows using Python 2.7. I have used py2exe and it works, but I had some problems. It has …