by: Marc Ederis |
last post by:
Hello,
I'm trying to create an executable with py2exe, and it uses the odbc
module. The script runs fine until I use py2exe on it and run the
..exe. Then I get:
--
Traceback (most recent...
|
by: Sean Berry |
last post by:
I don't know that this partilarily bad programming,
but I was interested in doing the following.
def functionname( module, var1, var2 ):
import module
I would like to be able to pass the...
|
by: vincent Salaun |
last post by:
hi all,
i'd like to know if it's possible to import a module from an archive
(zip, rar, tar, jar, ...)
I've tried using different formats but it still doesn't work .....
i make:...
|
by: Jay O'Connor |
last post by:
Is there a good way to import python files without executing their content?
I'm trying some relfection based stuff and I want to be able to import a
module dynamically to check it's contents...
|
by: Phd |
last post by:
Hi,
I'm using python 2.2, I want to import a module by referring to its
relative location. The reason for this is that there is another module
with the same name that's already in pythonpath(...
|
by: zhang xiaoning |
last post by:
Hi,
I download and extract python-2.4.2 source code for unix, and then, build
and install it on aix5, the configure option I used is:
../configure --enable-shared --disable-ipv6...
|
by: Jia Lu |
last post by:
Hi all:
I try to do things below:
import i
Traceback (most recent call last):
File "<pyshell#67>", line 2, in <module>
import i
ImportError: No module named i
But it seems that import...
|
by: alf |
last post by:
Hi,
wonder if in the python I could treat modules imorts like classes
instances. It means I could import it twice or more times under
different names.
--
alfz1
|
by: Japan Shah |
last post by:
Hello,
I am trying to connect my Nokia 6610 using usb cable,
I have installed usb-serial driver of it.
I hv tested it with Hyperterminal and it works fine.
but when I wrote a python...
|
by: Larry Hale |
last post by:
I've heard tell of a Python binding for libmagic (file(1) *nixy
command; see http://darwinsys.com/file/). Generally, has anybody
built this and worked with it under Windows?
The only thing I've...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|