Re: [Tutor] New to Python
I am running Windows Vista. Do you know what remote desktop is? This is the tool I use to connect to my other severs on the network or alternatively I use my "Run" option (Start/Run) where you add in the IP address and connect to the server. I want to use python to do this for me. I can do it with a batch file. This is what I am looking to do. I have a log file. In this log file contains the following text: 115=ABS 115=DRF 115=HSD Lets call this log file A. I am looking to run s script that will search this log file and take all the text after the "=" sign (ABS/DRF..etc) and paste that into another text file, call it text file B. Once that it done I will need to compare other log files to file B and any new text after "=" that is not in the text file B must be added and anything that is must be ignored. The goal is that in these log files there will be multiple different text for 115=..etc. I need to create a list/mini database for them. So every day I need to run a script against a logfile to search for any new text. Thanks ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] New to Python
Well I would have to remote to the machine that contains the log file and copy it from there. -Original Message- From: Kent Johnson To: asteri...@petlover.com Cc: *tutor python Sent: Wed, Oct 28, 2009 1:18 pm Subject: Re: [Tutor] New to Python Forwarding to the list with my reply (please use Reply All to reply to he list): On Wed, Oct 28, 2009 at 2:01 AM, wrote: Hi Kent, Thank you for replying to my request, really appreciate it. I am not familiar with all your connections that you have mentioned below. What I can tell you which I hope can help is that I have a log file on a different server/machine on a network which I would like to copy and paste on my machine? How would you copy the file if you did it by hand? Is the server file ystem accessible to your machine? If so, you can copy it with hutil.copyfile() or just open it and process it directly. Kent ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
[Tutor] New to Python
Hi there, How do you connect to a different server using python? (I have not used python before) Your help would be much appreciated. Kindest Regards, Dave ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor