Skip to content

Instantly share code, notes, and snippets.

@matiasmorant
Last active July 30, 2021 01:02
Show Gist options
  • Select an option

  • Save matiasmorant/f57885972721aacfc5bca393f4771f32 to your computer and use it in GitHub Desktop.

Select an option

Save matiasmorant/f57885972721aacfc5bca393f4771f32 to your computer and use it in GitHub Desktop.
Amazing Python One-Liner
This file has been truncated, but you can view the full file.
@matiasmorant

Copy link
Copy Markdown
Author

Oh clever boy :P . Just go ahead with exec, that's where the fun is, trust i'm a good guy.
So you had no problems copy&pasting revision 3, that's good news. you just had to ask github with the 'raw' version button, right?
I think I'll write a blog post with explanation in matiasmorant.wordpress.com at some point, also explaining some functional programming concepts.
This gist didn't get as much publicity as I thought it would, maybe I need a better title.

@chewxy

chewxy commented Jul 10, 2019 •

Copy link
Copy Markdown

@BoboTiG the final ''.split('') in the file hides A LOT (about 1.4MB worth). The version I have written here is the bog standard ascii-version.

I would love to read @wvlia5 's blog post about it.

@chewxy

chewxy commented Jul 10, 2019

Copy link
Copy Markdown

goddammit. Good one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment