En Mon, 21 Apr 2008 01:09:59 -0300, kapardhi bvn <[EMAIL PROTECTED]> escribió:
> Any body can tell me an efficient way of reading parallel port at high
> speed.
> this is basically to extend ISA and other bus interfacing.
See pyparallel (part of the pyserial package)
--
Gabriel Genellina
--
h
Any body can tell me an efficient way of reading parallel port at high
speed.
this is basically to extend ISA and other bus interfacing.
please help
thanks in advance
--
http://mail.python.org/mailman/listinfo/python-list
You are completely right wihtin this. It's some time i didn't reply, but
i've taken a look on pyrex and swig now which did cost me some time, and
they really make it easier. SWIG provides more possibilities and bindings
for other languages too, though - i must say i've been faster with pyrex,
for s
STiAT wrote:
> Why do you all suggest other things than the way suggested by python?
Because going to Paris is not the only way to get french bread?
Why would you want to write all that ugly glue code by hand that Pyrex
generates for free? Module descriptors? Class descriptors? Method descriptors
Hello,
I've basically had plans on just extending python for the wrapper.
That basically works fine, i just don't get along by the types
provided (http://docs.python.org/ext/ext.html).
Anyway, i want to extend python for types. The problem i currently
experience is the following.
Guess what - i
Georg Grabler <[EMAIL PROTECTED]> wrote:
> There's a C library which i'd like to have python bindings for. I havn't
> known anything before about how to write python bindings for a C library.
>
> I succeeded now by using distutils to write the first bindings for functions
> and similar.
>
>
Stefan Behnel schrieb:
> Georg Grabler wrote:
>
>> There's a C library which i'd like to have python bindings for. I havn't
>> known anything before about how to write python bindings for a C library.
>>
>> I succeeded now by using distutils to write the first bindings for functions
>> and simil
Stefan Behnel schrieb:
> Georg Grabler wrote:
>
>> There's a C library which i'd like to have python bindings for. I havn't
>> known anything before about how to write python bindings for a C library.
>>
>> I succeeded now by using distutils to write the first bindings for functions
>> and simil
Georg Grabler wrote:
> There's a C library which i'd like to have python bindings for. I havn't
> known anything before about how to write python bindings for a C library.
>
> I succeeded now by using distutils to write the first bindings for functions
> and similar.
>
> Now, it seems as somethin
Hello everybody.
There's a C library which i'd like to have python bindings for. I havn't
known anything before about how to write python bindings for a C library.
I succeeded now by using distutils to write the first bindings for functions
and similar.
Now, it seems as something is blocking my
In message <[EMAIL PROTECTED]>, Alex
Li <[EMAIL PROTECTED]> writes
>Thanks Michel, I will give it a try.
>
>Alex
>
>
>
You could simply generate the .dot files from python and do os.startfile
on the dot file (which is what I do because it is remarkably easy!)
Regards
--
Ian Parker
--
http://m
On Mar 6, 3:20 pm, "Istvan Albert" <[EMAIL PROTECTED]> wrote:
>
> https://networkx.lanl.gov/wiki/pygraphviz
Thanks Albert. I looked into pygraphviz as well but it requires
compiling C extension, and there is no Windows compilation instruction
(though it probably won't be hard).
--
http://mail.p
Alex Li:
> Now, I am sure we will redo it in C# after my "prototype";
Sadly this happens often, they don't want to keep using two languages
when one may suffice. On the other hand, you may even find a way to
adapt your Python code to IronPython, so maybe you can avoid the
translation to C#.
Bye,
On Mar 6, 3:18 pm, "Istvan Albert" <[EMAIL PROTECTED]> wrote:
> try the networkx package, it includes the pygraphviz module that can
> generate dot files:
>
> https://networkx.lanl.gov/wiki
should've checked it before posting, it seems nowadays is actually a
separate package
https://networkx.lan
On Mar 5, 5:16 pm, "Alex Li" <[EMAIL PROTECTED]> wrote:
> I tried to avoid. Any suggestions?
try the networkx package, it includes the pygraphviz module that can
generate dot files:
https://networkx.lanl.gov/wiki
Istvan
--
http://mail.python.org/mailman/listinfo/python-list
Thanks all for your suggestions.
Nick: I am trying to avoid generate the dot file manually so that I
can minimize bugs coz by me ;)
SPE: Unfortunately that may be too radical ;) I work in a corporate
environment (read: MS shop) and my group wants to generate a
dependency graph of our system. I
On Mar 6, 8:39 am, "Nick Vatamaniuc" <[EMAIL PROTECTED]> wrote:
> On Mar 5, 5:16 pm, "Alex Li" <[EMAIL PROTECTED]> wrote:
>
> > Hello,
>
> > I would like to use Python 2.5 on Windows with Graphviz to generate
> > graphs. I used yapgvb but it only requires Python 2.4 (won't work
> > with Python 2.5
On Mar 5, 5:16 pm, "Alex Li" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I would like to use Python 2.5 on Windows with Graphviz to generate
> graphs. I used yapgvb but it only requires Python 2.4 (won't work
> with Python 2.5). Other packages like pydot seems to be unmaintained
> or requires custom
Thanks Michel, I will give it a try.
Alex
--
http://mail.python.org/mailman/listinfo/python-list
Hi!
You can also use/call GraphViz by COM.
It's run OK with P2.3 - 2.4 & 2.5
@-salutations
Michel Claveau
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
I would like to use Python 2.5 on Windows with Graphviz to generate
graphs. I used yapgvb but it only requires Python 2.4 (won't work
with Python 2.5). Other packages like pydot seems to be unmaintained
or requires custom building to be used on Windows (pygraphviz), which
I tried to avoid
The clnum package adds rational numbers and arbitrary precision floating
point numbers in real and complex form to Python. Also provides
arbitrary precision floating point replacements for the functions in the
math and cmath standard library modules.
Home page: http://calcrpnpy.sourceforge.net/cln
I'll be out of the office until approximately August 20th. If you have any
questions, please email [EMAIL PROTECTED]
-- David Wahler
--
http://mail.python.org/mailman/listinfo/python-list
The clnum package adds rational numbers and arbitrary precision floating
point numbers in real and complex form to Python. Also provides
arbitrary precision floating point replacements for the functions in the
math and cmath standard library modules.
Home page: http://calcrpnpy.sourceforge.net/cln
The clnum package adds rational numbers and arbitrary precision floating
point numbers in real and complex form to Python. Also provides
arbitrary precision floating point replacements for the functions in the
math and cmath standard library modules.
Home page: http://calcrpnpy.sourceforge.net/cln
The clnum package adds rational numbers and arbitrary precision floating
point numbers in real and complex form to Python. Also provides
arbitrary precision floating point replacements for the functions in the
math and cmath standard library modules.
Home page: http://calcrpnpy.sourceforge.net/cln
[EMAIL PROTECTED] wrote:
> I don't have any problems with simply printing the characters from
> Python (outside of ncurses), but using the ncurses functions for
> printing these characters is problematic.
I see. I can't get this to work, either, and neither with libncursesw.
Regards,
Martin
--
h
Thomas Dickey wrote:
> Both libraries respond to locale. But ncurses only deals in single-byte
> encodings, e.g., ISO-8859-1 through ISO-8859-15. ncursesw supports that,
> but adds support for multi-byte encodings, e.g., UTF-8. For the latter,
> one can also have characters that combine (a print
Can someone explain what I'm doing wrong? The following code snipet
produces an error about addch() expecting an int:
u = u'\u2591'
s = u.encode("UTF-8")
stdscr.addch((y+1), (x+1), s, curses.color_pair(1))
If I try this instead:
u = u'\u2591'
s = u.encode(
"Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
> Thomas Dickey wrote:
>>>ncurses expects byte strings (although I'm uncertain as to what
>>>impact multi-byte encodings have in ncurses).
>>
>>
>> It depends on whether python's curses binding is linked with the
>> wide-character
>> flavor (ncursesw)
Thomas Dickey wrote:
>>ncurses expects byte strings (although I'm uncertain as to what
>>impact multi-byte encodings have in ncurses).
>
>
> It depends on whether python's curses binding is linked with the
> wide-character
> flavor (ncursesw) or the normal one. If it's linked with ncursesw, str
"Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
> ncurses expects byte strings (although I'm uncertain as to what
> impact multi-byte encodings have in ncurses).
It depends on whether python's curses binding is linked with the wide-character
flavor (ncursesw) or the normal one. If it's linked with
Brian McNally wrote:
> Thanks for responding to my question. I'm still a little confused
> though. How can I encode unicode strings as UTF-8? My terminal does
> support UTF-8, but from looking at Python's ncurses API, it looks like
> all of the methods for displaying characters want an ASCII code (
[EMAIL PROTECTED] wrote:
> I can't tell from the documentation, but I'd like to try and print
> unicode characters through Python's binding to ncurses. From reading
> the documentation on the curses module, it doesn't appear that this is
> possible:
>
> http://python.org/doc/2.4.2/lib/module-curse
I can't tell from the documentation, but I'd like to try and print
unicode characters through Python's binding to ncurses. From reading
the documentation on the curses module, it doesn't appear that this is
possible:
http://python.org/doc/2.4.2/lib/module-curses.html
Am I missing something, or is
35 matches
Mail list logo