What python can NOT do?

MRAB python at mrabarnett.plus.com
Fri Sep 4 11:38:49 EDT 2009


Mike Coleman wrote:
> On Aug 28, 5:37 pm, qwe rty <hkh00... at gmail.com> wrote:
>> i know that an interpreted language like python can't be used to make
>> an operating system or system drivers.
>>
>> what else can NOT be done in python? what are the limitations of the
>> language?
> 
> Neither of those is strictly true.  It is true, though, that Python
> cannot be used to write arbitrarily complex one-liners, though.

Why not? You could put the code in a string literal and then use 'exec',
all in one source line.



More information about the Python-list mailing list