Top "Python-module" questions

A module is a file containing Python definitions and statements.

how to pip install 64 bit packages while having both 64 bit and 32 bit versions?

I have decided to learn generic algorithms recently and I needed to install Tensorflow package. Tensorflow run on python 64 bit …

python tensorflow pip 32bit-64bit python-module
Import a module with parameter in python

Is it possible to import a module with some parameter in python ? All I mean by parameter is that there …

python python-import python-module pymc mcmc
pyspark import user defined module or .py files

I built a python module and I want to import it in my pyspark application. My package directory structure is: …

python apache-spark pyspark python-import python-module
How to properly use relative or absolute imports in Python modules?

Usage of relative imports in Python has one drawback, you will not be able to run the modules as standalones …

python module packages python-module python-import
Django says - No module named 'blog'

I am getting "ModuleNotFoundError: No module named 'blog'" error when add my blog app to the INSTALLED_APPS section of …

python django installation python-module
Python: 'Private' module in a package

I have a package mypack with modules mod_a and mod_b in it. I intend the package itself and …

python python-module
How to debug a Python module run with python -m from the command line?

I know that a Python script can be debugged from the command line with python -m pdb my_script.py …

python debugging python-module pdb
How is the __name__ variable in a Python module defined?

I'm aware of the standard example: if you execute a module directly then it's __name__ global variable is defined as "__…

python python-module python-internals
Pip install error missing 'libxml/xmlversion.h'

I need to install the python package xmlsec(https://pypi.python.org/pypi/xmlsec) and when I try running pip …

python python-2.7 pip python-module python-packaging
Python unittest - Ran 0 tests in 0.000s

So I want to do this code Kata for practice. I want to implement the kata with tdd in separate …

python unit-testing python-unittest python-module