CodeSkulptor

Steven D'Aprano steve+comp.lang.python at pearwood.info
Sun Aug 3 23:03:26 EDT 2014


Seymore4Head wrote:

> On Sun, 03 Aug 2014 22:08:21 -0400, Seymore4Head
> <Seymore4Head at Hotmail.invalid> wrote:
> 
>>On Mon, 4 Aug 2014 11:43:48 +1000, Chris Angelico <rosuav at gmail.com>
>>wrote:
>>
>>>On Mon, Aug 4, 2014 at 11:29 AM, Steven D'Aprano
>>><steve+comp.lang.python at pearwood.info> wrote:
>>>>> Putting that in codeskulptor gets
>>>>>
>>>>> Line 4: ImportError: No module named datetime
>>>>
>>>> Well that's a bug in CodeSkultor. datetime is a standard Python
>>>> library, if CodeSkulptor doesn't provide it, that's a serious bug.
>>>
>>>I think it's not a bug, but a restriction; since it's letting you run
>>>code on their server, and since Python sandboxing is a hard problem,
>>>CodeSkulptor cuts down the available modules. From the docs:
>>>
>>>http://www.codeskulptor.org/docs.html#tabs-Python

Excluding datetime seems rather extreme to me.


> BTW   Just read the instructions seems like a daunting task at the
> moment.  You knew what instructions you were looking for.  I am
> clueless.

So am I, because I don't know what instructions you're referring to.



-- 
Steven




More information about the Python-list mailing list