Top "Python-module" questions

A module is a file containing Python definitions and statements.

Importing modules: __main__ vs import as module

To preface, I think I may have figured out how to get this code working (based on Changing module variables …

python module python-import python-module
Why do I need __init__.py at every level?

Given that I have the following directory structure with . being the current working directory . \---foo \---bar \---__init__.py \---baz.…

python python-import python-module
How to split a Python module into multiple files?

I have a single Python module which contains 3 classes: A, A1 and A2. A1 and A2 derive from A. A …

python python-module
Is there a python3 version of win32com?

Is there a python3 version of the win32com module? I am running python 3.4.4 and I tried installing the win32…

python python-3.x python-module win32com nameerror
paramiko python module hangs at stdout.read()

I am using the below code: import paramiko def runSshCmd(hostname, username, password, cmd, timeout=None): client = paramiko.SSHClient() client.…

python python-3.x paramiko python-module
How to use custom classes with Apache Spark (pyspark)?

I have written a class implementing a classifier in python. I would like to use Apache Spark to parallelize classification …

python apache-spark python-module pyspark
How To Make Eclipse Pydev Plugin Recognize Newly Installed Python Modules?

So I just installed SubnetTree (http://www.icir.org/robin/pysubnettree/) and if I open the Python interactive interpreter I …

pydev python-module installation
Import method from __init__.py

Having some issues with importing modules in python. This is my folder structure my_app/ app.py __init__.py (I …

python python-module
Python: sharing common code among a family of scripts

I'm writing a family of Python scripts within a project; each script is within a subdirectory of the project, like …

python python-module pythonpath
Django 1.7 conflicting models

I install my application in "project/apps/myapp" folder. Both apps and myapp folders have init.py files(Without any …

django django-models python-module