Hello,
I need to run Python code from external application. In this external
application i have 2 options to run: DLL or COM.
Can i create dll or com from the Python code?
Or how can i use Python27.dll to call the script and get returned values?
Thanks
--
http://mail.python.org/mailman/listin
Hi, all
In past I asked about module - inspect, that can't to get me prototype
of C-implemented functions ( usually all built-in functions ).
But, still I see that all Python Editors ( IDLE for example ) can to
show prototype of built-in functions - by tooltip. When you print for
example: s
Nadav Chernin wrote:
> When I use getargspec(func) for user-defined function, all is
working
> OK, but using it for built-in functions raise TypeError:
That's just fine and to be expected. It's not possible to
inspect a C function. Only function
Hi, all
When I use getargspec(func) for user-defined function, all is working
OK, but using it for built-in functions raise TypeError:
>>> import sys
>>> getargspec(sys.getsizeof)
Traceback (most recent call last):
File "", line 1, in
getargspec(sys.getsizeof)
File "C:\Pyth
Hello, all
I need to know dynamically parameters of any function (prototype).
Is there some way to get it?
Thanks, Nadav
--
http://mail.python.org/mailman/listinfo/python-list
Hi all,
I want to run function from win32 dll.
I used ctypes.windll.LoadLibrary to load the DLL.
But I don't know how to select function and run it.
Thank you, Nadav
--
http://mail.python.org/mailman/listinfo/python-list
Hi all,
I want to run function from win32 dll.
I used ctypes.windll.LoadLibrary to load the DLL.
But I don't know how to select function and run it.
Dll example attached (pylab.dll). It includes 2 functions:
double Add(double a,double b) - adds 2 double numbers
double Rand
Hello, I want to print list of lists in matrix format. So I use pprint
with parameter 'width' for this target.
For example :
>>> data=[[1, 1, 1], [1, 1, 1], [1, 1, 1]]
>>> pprint(data,width=20)
[[1, 1, 1],
[1, 1, 1],
[1, 1, 1]]
The problem that I don't know how to select width value
No, I need all files except exe|dll|ocx|py
-Original Message-
From: simon.brunn...@gmail.com [mailto:simon.brunn...@gmail.com] On Behalf Of
Simon Brunning
Sent: ד 04 נובמבר 2009 19:13
To: Nadav Chernin
Cc: Python List
Subject: Re: regexp help
2009/11/4 Nadav Chernin :
> Thanks, but
Thanks, but my question is how to write the regex.
-Original Message-
From: simon.brunn...@gmail.com [mailto:simon.brunn...@gmail.com] On Behalf Of
Simon Brunning
Sent: ד 04 נובמבר 2009 18:44
To: Nadav Chernin; Python List
Subject: Re: regexp help
2009/11/4 Nadav Chernin :
> I’m try
Hello all,
I'm trying to write regexp that find all files that are not with next
extensions: exe|dll|ocx|py, but can't find any command that make it.
Please, help me
Nadav
--
http://mail.python.org/mailman/listinfo/python-list
Hi, all
Is there a way to know locals of the script without running it?
Thanks, Nadav
--
http://mail.python.org/mailman/listinfo/python-list
Hi, I use Python as scripting tool in LabVIEW. I use lvpython.dll that
include only built-in modules of python.
But I need to use for example also urllib that is not included in
lvpython.dll.
How can I use it also?
Thanks, Nadav
--
http://mail.python.org/mailman/listinfo/python-list
Chris Withers wrote:
...becauase you were looking for:
reversed([1,2,3,4])
OK, but my question is generic. Why when I use object's function that
changed values of the object, I can't to get value of it on the fly
without writing additional code?
>>> a=[1,3,2,4]
>>> a.so
--
http://mail.python.org/mailman/listinfo/python-list
Hi all, a have easy question for python developers.
Assume I have list of all objects:
obj=dir()
Now I want to know which object from "obj" list is module.
I searched some method in module inspection, but there is not any method
that get 'string' as parameters
Any reply will be
Hi, everybody
I'm writing program that read data from some instrument trough RS232.
This instrument send data in VT100 format. I need only to extract the
text without all other characters that describe how to represent data on
the screen. Is there some library in python for converting VT100
str
17 matches
Mail list logo