[Tutor] parsing a continuous log file

2007-11-29 Thread ray sa
Hello I need some help. I am working with a program that dumps a continuous file while the program is running. This file contains loads of information and I am only looking for a small amount of the data. I have written the program below: import re,os fopen = open("c:\\data.txt",'r') lines =

[Tutor] Ftp files

2006-12-19 Thread ray sa
Hi I have just started to learn Python and think it is a superb language. I am faced with an issue that I would like some help with. I need to fetch files on a daliy basis from a unix machine. I would like to run a batch command for this. I would also like to automate this task. The files

[Tutor] control multiple FTP sessions using multiple ip connections via different com ports

2007-02-16 Thread ray sa
Hi Kind people I have been successful to write an ftp script that logs into a server and collects files. What I would like to do but have no knowledge of is that I would like to run multiple ftp sessions using one laptop with two different connections. What I mean here is that you have a e

Re: [Tutor] control multiple FTP sessions using multiple ip connectionsvia different com ports

2007-02-17 Thread ray sa
explain this. Once again I really appreciate the help on this forum./Ray Alan Gauld <[EMAIL PROTECTED]> wrote: "ray sa" wrote > I have been successful to write an ftp script that logs > into a server and collects files. > ...I would like to run multip

Re: [Tutor] control multiple FTP sessions using multiple ipconnectionsvia different com ports

2007-02-19 Thread ray sa
ime. Johan - From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ray sa Sent: 18 February 2007 04:16 AM To: Alan Gauld; tutor@python.org Subject: Re: [Tutor] control multiple FTP sessions using multiple ipconnectionsvia different com ports Hi Alan