Re: DHCP query script not work.

2014-06-25 Thread 不坏阿峰
anyone can help ? 在 2014年6月19日星期四UTC+7下午8时56分06秒,不坏阿峰写道: > On Thursday, June 19, 2014 8:49:21 PM UTC+7, Anssi Saari wrote: > > > 不坏阿峰 writes: > > > > > > > > > > > > > Dear all > > > > > > > > > > > > > > i got code recipes from here. and i want to run it on win 7. > > > > > > >

Re: DHCP query script not work.

2014-06-19 Thread 不坏阿峰
On Thursday, June 19, 2014 8:49:21 PM UTC+7, Anssi Saari wrote: > 不坏阿峰 writes: > > > > > Dear all > > > > > > i got code recipes from here. and i want to run it on win 7. > > > http://code.activestate.com/recipes/577649-dhcp-query/ > > > > It works for me as is in Windows 7. It's a Pytho

Re: DHCP query script not work.

2014-06-19 Thread Anssi Saari
不坏阿峰 writes: > Dear all > > i got code recipes from here. and i want to run it on win 7. > http://code.activestate.com/recipes/577649-dhcp-query/ It works for me as is in Windows 7. It's a Python 3 script though which might be your problem. -- https://mail.python.org/mailman/listinfo/python-li

Re: DHCP query script not work.

2014-06-19 Thread 不坏阿峰
在 2014年6月19日星期四UTC+7下午8时23分17秒,Peter Otten写道: > 不坏阿峰 wrote: > > > > > i got code recipes from here. and i want to run it on win 7. > > > http://code.activestate.com/recipes/577649-dhcp-query/ > > > > > > i have do some modify and use print to check how it is work, but i am > > > stucked now

Re: DHCP query script not work.

2014-06-19 Thread soneedu
On Thursday, June 19, 2014 8:23:17 PM UTC+7, Peter Otten wrote: > 不坏阿峰 wrote: > > > > > i got code recipes from here. and i want to run it on win 7. > > > http://code.activestate.com/recipes/577649-dhcp-query/ > > > > > > i have do some modify and use print to check how it is work, but i am

Re: DHCP query script not work.

2014-06-19 Thread Peter Otten
不坏阿峰 wrote: > i got code recipes from here. and i want to run it on win 7. > http://code.activestate.com/recipes/577649-dhcp-query/ > > i have do some modify and use print to check how it is work, but i am > stucked now. > > hope someone can help me. thanks a lot. > > i meet this error: > > Tr

Re: DHCP query script not work.

2014-06-19 Thread Steven D'Aprano
On Thu, 19 Jun 2014 05:56:57 -0700, 不坏阿峰 wrote: > Traceback (most recent call last): > File "D:/Workspace/TestExcel/Test/test_DHCP.py", line 138, in > offer = DHCPOffer(data, discoverPacket.transactionID) > File "D:/Workspace/TestExcel/Test/test_DHCP.py", line 82, in __init__ > self.

DHCP query script not work.

2014-06-19 Thread 不坏阿峰
Dear all i got code recipes from here. and i want to run it on win 7. http://code.activestate.com/recipes/577649-dhcp-query/ i have do some modify and use print to check how it is work, but i am stucked now. hope someone can help me. thanks a lot. i meet this error: Traceback (most recent c