Computer Science Canada

Python tricks and tips

Author:  Zeroth [ Thu Jun 19, 2008 2:39 pm ]
Post subject:  Python tricks and tips

I run a personal blog, and I do talk occasionally about Python. Here's the pertinent category for perusal, but check out the rest of the blog if you feel like it.

http://www.oddco.ca/zeroth/zblog/category/python/

Author:  rizzix [ Thu Jun 19, 2008 3:23 pm ]
Post subject:  RE:Python tricks and tips

Nice. I've promoted this to a sticky thread.

Author:  Zeroth [ Thu Jun 19, 2008 3:24 pm ]
Post subject:  Re: Python tricks and tips

Thanks Rizzix. Very Happy

Author:  apomb [ Thu Jun 19, 2008 3:25 pm ]
Post subject:  RE:Python tricks and tips

Python sure is seeing some action lately, its nice to see... now only if there was a perl forum for ME to specialize in ... lol

Maybe ill take a look at that blog and take up python for myself. it seems like a quick language to pick up.

Author:  Zeroth [ Thu Jun 19, 2008 3:28 pm ]
Post subject:  Re: Python tricks and tips

Hehe. Another convert! One of my coder friends has been learning python over the summer, and he keeps ranting on how awesome it is. Keep in mind he's a crusty old unix sysadmin type... he knows perl, C, C++ quite well, and just loves Python now.

Author:  Aziz [ Thu Jun 19, 2008 3:33 pm ]
Post subject:  RE:Python tricks and tips

My blog is just up and doesn't have any articles yet, but I'm going to be writing about python a bit.

Anyways, *subscribe*

Author:  apomb [ Fri Jun 20, 2008 8:47 am ]
Post subject:  Re: Python tricks and tips

Zeroth @ Thu Jun 19, 2008 3:28 pm wrote:
Hehe. Another convert! One of my coder friends has been learning python over the summer, and he keeps ranting on how awesome it is. Keep in mind he's a crusty old unix sysadmin type... he knows perl, C, C++ quite well, and just loves Python now.


lol not convert, just adding another language to my repertoire Wink

Author:  Aziz [ Fri Jun 20, 2008 11:41 am ]
Post subject:  RE:Python tricks and tips

You will be a convert. Believe me, it's happening to me now.

Author:  apomb [ Fri Jun 20, 2008 12:07 pm ]
Post subject:  RE:Python tricks and tips

I will only become a convert if i learn how to fly

Author:  wtd [ Fri Jun 20, 2008 12:16 pm ]
Post subject:  RE:Python tricks and tips

Learn Python. The more languages you know, the better. But, I predict that apomb will end up preferring Ruby. Easier regular expressions and flexibility count for a lot.

Author:  Vermette [ Fri Jun 20, 2008 2:26 pm ]
Post subject:  RE:Python tricks and tips

I decided to give Python a try and in 20 minutes I managed to code a webserver, cook breakfest, save the girl, save the world, all without resorting to Perl!

Author:  Aziz [ Mon Jun 23, 2008 9:30 am ]
Post subject:  RE:Python tricks and tips

You mean to tell me you didn't get laid in that time? Well, it was your first try, I guess.

Author:  Zeroth [ Mon Jun 23, 2008 9:36 am ]
Post subject:  Re: Python tricks and tips

Yeah, there is a module for that. Just do
code:

import fridaynight
del fridaynight.stds
fridaynight.beer()

And your protected!

Author:  Aziz [ Mon Jun 23, 2008 11:04 am ]
Post subject:  RE:Python tricks and tips

don't forget to either import condom, or check for birthcontrol on client object.

Author:  Sniper4Life [ Mon Apr 13, 2009 12:26 pm ]
Post subject:  Re: RE:Python tricks and tips

Vermette @ Fri Jun 20, 2008 1:26 pm wrote:
save the girl, save the world,


lol you watch heroes im guessing?
its an awesome series Very Happy

and its "save the cheerleader,save the world" Razz

Author:  Biggie_smallz [ Sun Oct 24, 2010 10:38 pm ]
Post subject:  RE:Python tricks and tips

useful tips Razz

Author:  gracy26 [ Tue Apr 23, 2019 1:57 pm ]
Post subject:  Re: Python tricks and tips

Hello,

Actually, the link which you upload for python query is not run. Could you please send me the images of error displayed?
Thanks...

Python Dictionary


: