View Single Post
  #6  
Old 28th March 2012, 04:02 PM
Toil Toil is offline
Member
 
Join Date: Nov 2010
Posts: 89
Default

Hi Jazzy, thanks for replying.

I'm using PythonWin 2.7.2(pywin32 build 217)

I click open file and open get_rands and then all I see is the code.

import urllib2, re, datetime, win32com.client, sys, os.path, decimal


usragent = "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5; .NET CLR 2.0.50727; ffco7) Gecko/2008120122 Firefox/3.0.5"
xlpath = "%s\\%s" % (os.path.dirname(sys.argv[0]) , "rands.xlsx")



tooday = datetime.date.today()
tomorrow = tooday+datetime.timedelta(days=1)






#href="meeting.asp?meeting=13493"> Cowra
match_mtgs = re.compile("href=\"meeting.asp\?meeting=(\d+)\"> (.*?)")
match_races = re.compile(" #>Race 1
13:15 (local)
13:15