On Fri, 2015-05-08 at 03:24 +0000, avarisclari via Digitalmars-d-learn wrote: > Hello, > > Sorry to bother you with something trivial, but I am having > trouble translating a block of code I wrote in Python over to D. > Everything else I've figured out so far. Could someone help me > understand how to get this right? > > Here's the python:
This is Python 2 not Python 3! Do you have a definition for scenes so I can run the code. Are there any tests of any sort? For me Step 1 is to make this Python 3 and much more idiomatic Python. Doing this will also make the route to a D implementation far more obvious. -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.win...@ekiga.net 41 Buckmaster Road m: +44 7770 465 077 xmpp: rus...@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
signature.asc
Description: This is a digitally signed message part