Nasm_with_C++_with_Python

2007-07-31 Thread Jason Ward
I am wanting to write a library in nasm and call it from python.
Because python can call c++ libraries.
And nasm can be used in c++.
So I was wondering how I would go about using nasm in python?
-- 
http://mail.python.org/mailman/listinfo/python-list

Nasm_with_C++_With_Python

2007-07-31 Thread Jason Ward
I am interested in writing a library in Nasm and calling it from python.
Python can call C++ libraries. Nasm can be made into an inc file and can be
included
in C++. So I was wondering if this combination is possible or if there is a
better way.

If it can be done please explain how I can do this.
-- 
http://mail.python.org/mailman/listinfo/python-list

Dlls

2007-02-18 Thread Jason Ward

Hi. I am interested to know why python can't access DLL files directly.
It seems to me that because python can't access DLL's directly we have to
waste our time and write wrappers around libraries that have already been
written.

So if the python developers were to implement say this.

import MYDLL.dll

Then we would be able to do everything with that library that we can do in
other languages.

For eg. I want to use PyOpenGL. But the problem is the library hasn't got
all the opengl functions implemented.
So I can either develop quickly with an incomplete library or develop slowly
in assembler.
I mean really, in asm we just call the dll function directly.

Why must python be different?
-- 
http://mail.python.org/mailman/listinfo/python-list