Python: get_rands.zip from jazzy
Quote:
Does anyone know if this get_rands script from jazzy still works or am I not using python properly? |
It worked the last time i used it Toil, in early Jan
you need those downloads he suggests |
Is your wife a..."goer"... eh? Know what I mean? Know what I mean? Nudge nudge. Wink wink! Know what I mean? Say no more...Know what I mean?
A nod's as good as a wink to a blind bat, eh?. The python were pretty funny. :D |
Thanks Raven, I'll play around with it a bit more.
|
G'day Toil,
I've since moved on to Python 3 so although installed, Python27 isn't on my system's path anymore. I just tested the script, and it got all the pages OK, but fell over when creating the excel sheet. Something to do with the path. If you really want me to, I'll have a go at fixing it... What happens when you run it? |
OK, sounds like you are running IDLE (Python GUI)?
I normally just run my scripts from a command prompt... Just tried running the scrpt from IDLE and it works - the path problem disappears :) So... from IDLE - open the file, then hit Run Module from the Run menu (or F5) Bear in mind, it is/was a QUICK AND DIRTY script for a specific job, so it only takes some of the data. I only really put it up to show what was possible using Python. Cheers |
Thanks jazzy, that worked, thats pretty cool what it did.
I would be interested later to maybe pay someone to do me some scripts. Like for instance would it be possible get python to get these panels from R&S: Rating, Neurals, Times, Switches, Trn, $, ST/LT, and Crs and import them to excel side by side all the way along the sheet with all the TAB numbers and each runners info on the same line as below so after the CLS LS column you would see the TAB numbers again from the next chart and what ever else is in that chart? TAB HORSE WT TS +- BP TS LS DIST LS +- CLS LS 1 Finding Water 58.0 2 14 5 1700m -25 MDN 2 Ihts Riveting 58.0 0 4 5 1675m 0 MDN 3 Bar Lover 58.0 0 15 1 1400m 275 MDN 4 Flip Mccool 58.0 3 12 2 2013m -338 MDN 5 Falcon Strike 58.0 2 6 6 1300m 375 MDN 6 Greek God 57.5 0 18 14 1400m 275 MDN |
Yep. Sounds doable.
|
All times are GMT +10. The time now is 05:03 AM. |
Powered by: vBulletin Version 3.0.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.