TFTP client in python

Stefan Behnel stefan.behnel-n05pAM at web.de
Fri Jul 14 04:17:55 EDT 2006


> Stefan Behnel [stefan.behnel-n05pAM at web.de] wrote:
>> malahal at us.ibm.com wrote:
>>> Is there a TFTP client python module? I just need "get file" feature.
>>> I came across two implementations on WEB, but they are kind of
>>> unfinished (got the code from some mailing list!).
>> Second hit in Google ("tftp python"):
>>
>> http://mail.python.org/pipermail/python-list/2001-January/024980.html

malahal at us.ibm.com wrote:
> I saw that in Google too! It is server centric and I was looking for
> client specific code.

Apparently, it has a client included. Just drop the server class and retry.


> The code also doesn't compile due to white space issues.

I assume you copied it from the web page. Use the "tabnanny" module to find
out where the problems are.


> If this is the best available,

Haven't tested it, so can't tell.


> I will have to get dirty in Python!

Which is never a bad idea. :)

Stefan



More information about the Python-list mailing list