On 23/01/15 03:09, dw wrote:
I have a python script that I've created.
The issue is, I made it for someone else to use in his PC. And its not working for him.
The first thing to do when creating a program for use on another computer is to make everything that could be machine specific configurable. Either put it in a config file or use environment variables. That includes all IP addresses, port numbers and
filenames. I don't know for sure that it's the problem here, but you have a lot of hard coded values in there. They may be the right values on your PC but there's no reason to think your client's will be the same. -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ http://www.amazon.com/author/alan_gauld Follow my photo-blog on Flickr at: http://www.flickr.com/photos/alangauldphotos _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor