- Господи, это опять вы.... - Thank you very much for your email.
- Если до завтра не предоставите документы, пеняйте на себя. Тут вам не детский сад.- We will do our best to proceed with your request however for the best result the documents should reach us not later than tomorrow.
- Вы читать умеете? - You can find this information below.
- Сколько можно напоминать!- Kind reminder
- Неужели так сложно подписать документ там, где нужно - Please sign in the place marked with yellow sticker
- Что у тебя в школе было по математике? - Let's reconfirm the figures.
- Мы лучше сделаем это сами.- Thank you for your kind assistance.
- Я уже сто раз вам это присылал. - Kindly find attached.
- Ага, сейчас все брошу и побегу разбираться. - I’ll look into it and revert soonest.
- Да поймите же вы наконец - Please kindly review the matter again.
Now located at https://github.com/JeffPaine/beautiful_idiomatic_python.
Github gists don't support Pull Requests or any notifications, which made it impossible for me to maintain this (surprisingly popular) gist with fixes, respond to comments and so on. In the interest of maintaining the quality of this resource for others, I've moved it to a proper repo. Cheers!
// imports a couple of java tasks | |
apply plugin: "java" | |
// List available tasks in the shell | |
> gradle tasks | |
// A Closure that configures the sourceSets Task | |
// Sets the main folder as Source folder (where the compiler is looking up the .java files) | |
sourceSets { | |
main.java.srcDir "src/main" |
by Bjørn Friese
Beautiful is better than ugly. Explicit is better than implicit.
I frequently deal with collections of things in the programs I write. Collections of droids, jedis, planets, lightsabers, starfighters, etc. When programming in Python, these collections of things are usually represented as lists, sets and dictionaries. Oftentimes, what I want to do with collections is to transform them in various ways. Comprehensions is a powerful syntax for doing just that. I use them extensively, and it's one of the things that keep me coming back to Python. Let me show you a few examples of the incredible usefulness of comprehensions.