On Fri, 2015-05-08 at 03:24 +, 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
On Friday, 8 May 2015 at 14:13:43 UTC, Chris wrote:
"Moving from Python to D"
always a good idea ;-)
You might be interested in this:
http://wiki.dlang.org/Programming_in_D_for_Python_Programmers
http://d.readthedocs.org/en/latest/examples.html#plotting-with-matplotlib-python
"Moving from Python to D"
always a good idea ;-)
On Friday, 8 May 2015 at 04:08:03 UTC, Nick Sabalausky wrote:
On 05/08/2015 12:06 AM, Nick Sabalausky wrote:
On 05/07/2015 11:24 PM, avarisclari wrote:
scene = scenes["title"]
It looks like scenes is a dictionary that stores dictionaries
of
strings? If so, then in D, scenes would be declar
On 05/08/2015 12:06 AM, Nick Sabalausky wrote:
On 05/07/2015 11:24 PM, avarisclari wrote:
scene = scenes["title"]
It looks like scenes is a dictionary that stores dictionaries of
strings? If so, then in D, scenes would be declared like this:
string[string][string] scenes;
Then the above lin
I'm not really sure exactly what parts are the issue, but I'll point out
what I can:
On 05/07/2015 11:24 PM, avarisclari 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 s
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:
scene = scenes["title"]
while 1 == 1: