Thomas Jollans於 2017年11月12日星期日 UTC+8下午5時17分38秒寫道:
> By all means, port ctypesgen to Python 3 (and publish your port) if you
> want to,
I am not the right person because I have never use Python2 before:-)
> but you might want to consider whether it's easier to port your
> code from
On 2017-11-12 03:06, jf...@ms4.hinet.net wrote:
> I suppose there are many v3.x users who like to use ctypesgen to ease
> the using of ctypes.
Perhaps, but from what I can tell the increasingly popular cffi package
serves a similar need.
By all means, port ctypesgen to Python 3 (and publish your
Rick Johnson於 2017年11月12日星期日 UTC+8上午11時07分20秒寫道:
> `print` was changed from a statement to a function, so it's
> just a matter of converting it to a function call. If you
> read the docs for the new print function, it should be
> relatively easy to translate. I don't understand why you're
> having
On Saturday, November 11, 2017 at 8:07:06 PM UTC-6, jf...@ms4.hinet.net wrote:
[...]
> By the way, does anyone know what the following codes does?
> (in printer.py file) and how to convert it to v3.x?
>
> class WrapperPrinter:
> def __init__(self,outpath,options,data):
> ...
>
On 11/11/2017 9:06 PM, jf...@ms4.hinet.net wrote:
Ned Batchelder於 2017年11月11日星期六 UTC+8下午8時49分27秒寫道:
This looks like fairly advanced code. It will be difficult to port to
Python 3 *without* understanding some of the old history. There seem to
be forks on GitHub, including one with a pull
Ned Batchelder於 2017年11月11日星期六 UTC+8下午8時49分27秒寫道:
> This looks like fairly advanced code. It will be difficult to port to
> Python 3 *without* understanding some of the old history. There seem to
> be forks on GitHub, including one with a pull request about Python 3
> made in the last few
On 11/11/17 6:56 AM, jf...@ms4.hinet.net wrote:
I learned python start from using v3.4 and never has any v2.x experience. There is a Pypi
project "ctypesgen" I like to use, but it seems is for v2.x. (un)Fortunately I
found one of its branch on github which announced is for Python3, but
I learned python start from using v3.4 and never has any v2.x experience. There
is a Pypi project "ctypesgen" I like to use, but it seems is for v2.x.
(un)Fortunately I found one of its branch on github which announced is for
Python3, but strangely it still use some v2.x words, for example,