All Questions
Tagged with python-module python-2.6
4 questions
0
votes
1
answer
130
views
Module import in Python 2.x.x
I want to use my previous program as a module. But when I import that program, program runs automatically. I do not want to run program. I just want to import that program in to my new program as a ...
0
votes
2
answers
317
views
Importing modules from different directories
I have a problem importing a module:
It is under this directory ./dao and the code that calls it is here ./core. Schematically represented as:
rnaspace/
__init__.py
core/
__init__.py
logger....
9
votes
2
answers
4k
views
What __future__ features should I import in Python v2.6.2?
I am starting to learn Python, but I'm forced to use a v2.6.2 interpreter.
I want to get as close as possible to Python 3, e.g, using the new print function, "true" division, etc.
from __future__ ...
1
vote
1
answer
353
views
Python : Getting a handle to imported modules
I have written an application that gives the user an option to specify a particular network scanning tool (say nmap,xprobe,p0f) and then scans a given subnet with that tool (I do not re-implement the ...