[Tutor] python script

Mark Lawrence breamoreboy at yahoo.co.uk
Fri Feb 20 09:54:12 CET 2015


On 20/02/2015 03:56, rohit poddaturi wrote:
> Hi
>
> I am really new to python and have been given a assignment which is quite complex for my standard.The following is the assignment
>
> The program runs through the word  document and when it sees a date ( the date might be in a variety of forms, but will always list the particular month) it goes to a new row  in the excel sheet and lists that date. Then it searches for a key word. If that key word appears before the next date in the document, then it lists it as a '1' in the excel sheet. If that key word does not appear before the next date listed then it writes down a '0’.
>
> I am attaching a sample document and excel output for reference. Kindly look into it
>
> Regards
> Rohit Poddaturi
>

The attachments have not arrived so please put your code and a data 
sample inline for us to view.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence



More information about the Tutor mailing list