Advanced django forms

Advanced Django Forms Usage View more presentations from Daniel Greenfeld

Tags: python django

Programming without ifs. Challenge one in python.

Sometimes I think about programming without ifs

I have found great blog about it here.

And here is my solution for first challenge implemented in python.  

Python and Singleton.

Never use singleton in python!

You can use instead of it Borg Pattern. 

http://pastebin.com/qKXxGHJp

Also you can just use module instead of class. :)

My bruteforce for euler277 problem.

Here you can find bruteforce solution for project euler problem 277 written in python.

Read More

Tags: Python Euler

On July 3, 2010…

Python 2.7 released

Tags: Python

Python Design Patterns

Tags: Python

7 ступеней развития питониста.

…7 ступеней развития питониста.

Ступень I: Да все просто, питон вызывается командой python.

Ступень II: Весь день делал хэш на списках, но вдруг открыл для себя словари!

Ступень III: О! Оказывается скобки можно не писать в if statement.

Ступень IV: Бррр… Генератор говорите? Yield!

Ступень V: Import this as that and from that import only this!

Ступень VI: Земля наследует планету, или планета рождает землю?

Ступень VII: Try it, try, expect and raise!

Tags: Python

Guido Van Rossum. Python 3000.