Re: How to modify this from Python 2.x to v3.4?

2017-11-11 Thread Rick Johnson
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): > ... >

Re: How to modify this from Python 2.x to v3.4?

2017-11-11 Thread Terry Reedy
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 reques

Re: How to modify this from Python 2.x to v3.4?

2017-11-11 Thread jfong
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 days

Re: Hide text in entry box when i click on it.(GUI using Tkinter in python)

2017-11-11 Thread tonysmart . ct
Thanks it was helpful -- https://mail.python.org/mailman/listinfo/python-list

Need some help with Python Job Board

2017-11-11 Thread Skip Montanaro
The Python Job Board could use a little help in a couple areas. One, we can always use help reviewing and approving (or rejecting) submissions. The backlog keeps growing, and the existing volunteers who help can't always keep up. (This is a good problem to have, reflecting on Python's broad popular

Re: How to modify this from Python 2.x to v3.4?

2017-11-11 Thread Ned Batchelder
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 strangel

How to modify this from Python 2.x to v3.4?

2017-11-11 Thread jfong
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, prin