the real .pyc file

Wolfgang Strobl wks000 at t-online.de
Sat Nov 30 08:21:10 EST 2002


Jeff Epler <jepler at unpythonic.net>:

>This one isn't ANSI C, but fits on one line and is accepted (with
>warnings) by gcc "2.96" with warnings:
>
>x=""" ";int main(){puts("xxx");} y=" """;z=""" ";//" """ and 1//1;print"xxx"

Hm. I don't see a way of getting rid of these warnings, and the
duplication of xxx is somewhat ugly. 

The creative use of // is nice, though.  I didn't think of that. 

-- 
Thank you for observing all safety precautions



More information about the Python-list mailing list