Free Speech

एप्रिल 18, 2014 · 0 min · 0 words · शंतनू

Using timezone with datetime in python

>>> import pytz >>> import datetime >>> tz = pytz.timezone('Asia/Calcutta') >>> tz <DstTzInfo 'Asia/Calcutta' HMT+5:53:00 STD> >>> t = tz.localize(datetime.datetime(2014, 4, 5, 6, 7, 8, 900)) >>> t datetime.datetime(2014, 4, 5, 6, 7, 8, 900, tzinfo=<DstTzInfo 'Asia/Calcutta' IST+5:30:00 STD>) >>> t.isoformat() '2014-04-05T06:07:08.000900+05:30' Reference: Python datetime object show wrong timezone offset

एप्रिल 5, 2014 · 1 min · 50 words · शंतनू

Toot

मार्च 8, 2014 · 0 min · 0 words · शंतनू

Flowchart

डिसेंबर 25, 2013 · 0 min · 0 words · शंतनू

Translation table explaining the truth behind British politeness

What British Say What the British Mean What Foreigners Understand I hear what you say I disagree and do not want to discuss it further He accepts my point of view With the greatest respect You are an idiot He is listening to me That’s not bad That’s good That’s poor That is a very brave proposal You are insane He thinks I have courage Quite good A bit disappointing Quite good I would suggest Do it or be prepared to justify yourself Think about the idea, but do what you like Oh, incidentally/ by the way The primary purpose of our discussion is That is not very important I was a bit disappointed that I am annoyed that It doesn’t really matter Very interesting That is clearly nonsense They are impressed I’ll bear it in mind I’ve forgotten it already They will probably do it I’m sure it’s my fault It’s your fault Why do they think it was their fault?...

डिसेंबर 22, 2013 · 2 min · 229 words · शंतनू