--
You received this message because you are subscribed to the Google Groups "PyWeb-IL" group.
To post to this group, send email to pywe...@googlegroups.com.
To unsubscribe from this group, send email to pyweb-il+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pyweb-il?hl=en.
Hey guys!I've created a nice Python tips website called Python Facts: http://facts.learnpython.orgI want to advertise it but I want to get some more tips (I currently have about 20).I would really appreciate it if you can contribute some snippets of code you find useful.Thanks a million :)
For me the snippets do work:
$ python
Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> map(int, "10 20 30".split())
[10, 20, 30]
>>> import this
The Zen of Python, by Tim Peters
[... rest was snipped ...]
--- Omer
--
$ python
>>> type(type(type))
<type 'type'> My own blog is at http://www.zak.co.il/tddpirate/
My opinions, as expressed in this E-mail message, are mine alone.
They do not represent the official policy of any organization with which
I may be affiliated in any way.
WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html
For me the snippets do work:
$ python
Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> map(int, "10 20 30".split())[10, 20, 30]
>>> import this
The Zen of Python, by Tim Peters
[... rest was snipped ...]