Re: [BangPypers] Favorite tips/techniques

2013-09-10 Thread Ramchandra Apte
Obligatory comic: https://xkcd.com/936/ On 10 September 2013 10:42, Anand Chitipothu wrote: > On Tue, Sep 10, 2013 at 10:39 AM, Shabda Raaj wrote: > > > > https://github.com/webpy/webpy/blob/master/web/utils.py#L52 > > > > Wow, thats better than the "bare" bunch impl. Gonna use it now. > > > >

Re: [BangPypers] Python "Wat"s

2013-09-09 Thread Ramchandra Apte
I get UnboundLocalError: local variable 'x' referenced before assignment. That's strange, I'd expect the first print statement to print 10, not generate an exception. On 10 September 2013 10:39, Anand Chitipothu wrote: > On Tue, Sep 10, 2013 at 10:37 AM, Ramchandra Ap

Re: [BangPypers] Python "Wat"s

2013-09-09 Thread Ramchandra Apte
On 10 September 2013 10:21, Anand Chitipothu wrote: > On Tue, Sep 10, 2013 at 10:14 AM, Shabda Raaj wrote: > > > This is a popular talk on quircks of ruby/js > > > > https://www.destroyallsoftware.com/talks/wat > > > > What are the quircks/unexpected behavior you find in Python? (Aka Python > >

Re: [BangPypers] Pyladies Bangalore

2013-08-27 Thread Ramchandra Apte
+1 On 27 August 2013 10:47, Devi wrote: > Thanks for the detailed answers Svaksha and Annapoornima. I just joined > pyladies-blr list. > > Still, I'm not sure of how having a separate group for ladies could help > more women to learn Python. This is going to be my personal opinion, > though. >

Re: [BangPypers] [OT][Commercial] Git workshop in Bangalore

2013-05-02 Thread Ramchandra Apte
Great. Now somebody will start posting Windows tips and tricks under the same premise. On 2 May 2013 12:02, Noufal Ibrahim wrote: > > Hello everyone, > I apologise in advance for the off topic email. I'm posting this > here since most people these days use git and github for their open

Re: [BangPypers] [OT] Intro Video - Companies in India

2013-04-18 Thread Ramchandra Apte
This is OT to this list which is about Python. On 18 April 2013 13:10, Venkatraman S wrote: > Hi, > > How do the companies in India make the intro videos to be put up on their > website? Do they outsource it to someone in the US to get the language and > the accent right or is there some automa

Re: [BangPypers] [OT] Microsoft Office 365 for Education made mandatory for approved institutions by AICTE

2013-04-15 Thread Ramchandra Apte
+1000 On 15 April 2013 09:13, Gora Mohanty wrote: > On 15 April 2013 07:03, Balachandran Sivakumar > wrote: > > Hi all, > > > > I understand that this is a Python group and not a free software > > group. But there are quite a few free software enthusiasts here, and > > they might already know/

Re: [BangPypers] What is the output of this python program?

2013-04-05 Thread Ramchandra Apte
I suppose it will give Hello World? I've seen a similar question on StackOverflow. On 5 April 2013 12:16, Shabda Raaj wrote: > Something I found interesting. (Please try answering before running in the > interpretor). > > https://gist.github.com/shabda/5317134 > > -- > > import random > import

Re: [BangPypers] trust/certify python exe

2013-02-04 Thread Ramchandra Apte
I don't think the Python binaries are signed by Microsoft; it is quite costly to certify every release (even minor ones) On 4 February 2013 12:08, Baiju M wrote: > Hi Nithin, > > Those individuals keys will be signed by many others. Sometimes during > key signing party: > http://en.wikipedia.o

Re: [BangPypers] BangPypers Digest, Vol 64, Issue 2 Re: [Bug 1071226] Re: python 2.7.3 of ubuntu 12.04 and python2.7.3of ubuntu12.10 (Sriranga(78yrsold))

2012-12-05 Thread Ramchandra Apte
Please, not all of us are Python Experts. On 5 December 2012 11:50, Sriranga(78yrsold) wrote: > Sorry to note that no response/solution from the python experts. Is it so > complicated or difficult to solve the problem for the Python experts? > With regards, > -sriranga(79yrs). > > On Sun, Dec 2,

Re: [BangPypers] Minutes of the usergroup meeting - 24-11-2012

2012-11-26 Thread Ramchandra Apte
Me too. I know how to write fancy websites. On 26 November 2012 23:15, Anand Chitipothu wrote: > On Mon, Nov 26, 2012 at 7:05 PM, Noufal Ibrahim > wrote: > > kracekumar ramaraju writes: > > > > > > [...] > > > >> Since we have are hosting wiki and planet, how about running static blog > >> ge

Re: [BangPypers] Looking to work as an intern or to get into any python project

2012-11-13 Thread Ramchandra Apte
my open source project - py2c could use some developers http://py2c.googlecode.com I can help you with Python. On 13 November 2012 19:59, SUMIT KUMAR RAJ wrote: > Hello all, > This is sumit .I am currently pursuing my final year of > Bachelor of Engineering from Bangalore,India.I am

Re: [BangPypers] [Off-Topic] Best Wiki

2012-10-09 Thread Ramchandra Apte
On 9 October 2012 22:44, Bibhas Ch Debnath wrote: > MoinMoin[1] is most probably the most popular free Wiki software written in > Python. > > [1]: http://moinmo.in/#Other_sites_using_the_MoinMoin_wiki_engine > > > Bibhas > http://bibhas.in > > > > On 9 October 2012 22:26, Jins Thomas wrote:

Re: [BangPypers] help is requested in connection with Ocropus project(which is pure python built)

2012-09-21 Thread Ramchandra Apte
On 21 September 2012 17:12, Yoganand Anandaraju wrote: > I manged to successfully install and run the tests after minor changes in > the code. I am using Ubuntu 11.10. > - Original Message - > From: Yoganand Anandaraju > Sent: 09/21/12 04:05 PM > To: Bangalore Python Users Group - India >

Re: [BangPypers] help needed to in Client Cookie module

2012-09-19 Thread Ramchandra Apte
On 19 September 2012 16:09, suprabha ekka wrote: > Hi , > > I wanted to download a file from a content url . The content of the file is > pdf/doc/docx/.xls/ any ms supported file. > The simple text file i am able to download but i am unbal eto download any > other file. > The snippet of the code

Re: [BangPypers] [JOBS] Python Developers with 1 Yr Experience

2012-09-01 Thread Ramchandra Apte
Define "smart". On 1 September 2012 15:30, Shuhaib Shariff wrote: > DoubleSpring seeks passionate PYTHON developers with experience in > building or contributing to Open Source projects. We are constantly rolling > out new products so the right individual would be able to write clean code > and w

Re: [BangPypers] Hash function that returns unsigned integer

2012-08-31 Thread Ramchandra Apte
We could use pow(character,somenumber,mod) to do it. It is secure but it may not be fast enough. ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Hash function that returns unsigned integer

2012-08-31 Thread Ramchandra Apte
Just modulo the hash function `hash_value % (2**32)` On 31 August 2012 12:46, Yoganand Anandaraju wrote: > Is anyone aware of any non-cryptographic hash function whose value is only > postive integer. Pythons inbuilt hash function is a signed integer. > > > Regards, > Yoganand > ___

Re: [BangPypers] Best way to convert this string into datetime object

2012-08-30 Thread Ramchandra Apte
Sorry you should use datetime.strptime On 30 August 2012 20:01, Ramchandra Apte wrote: > I googled "string to date python" and found > http://stackoverflow.com/questions/466345/converting-string-into-datetime. > From there I see you should use the > strptime<http:

Re: [BangPypers] Best way to convert this string into datetime object

2012-08-30 Thread Ramchandra Apte
I googled "string to date python" and found http://stackoverflow.com/questions/466345/converting-string-into-datetime. >From there I see you should use the strptime() function On 30 August 2012 19:58, Kushal Das wrote: > Hi, > What is the b

Re: [BangPypers] [X-Post] Emacs movies by Noufal

2012-08-30 Thread Ramchandra Apte
On 30 August 2012 12:28, Sujit Ghosal wrote: > Pretty informative. However, I personally prefer [G]vim over Emacs as I am > too much used to [G]vim since a very long time. :-) > > > Thanks, > Sujit > > > On Thu, Aug 30, 2012 at 11:55 AM, Balachandran Sivakumar < > benignb...@gmail.com> wrote: > >

Re: [BangPypers] psphere: how to make thread safe

2012-08-22 Thread Ramchandra Apte
On 22 August 2012 17:53, Ramchandra Apte wrote: > On 22 August 2012 17:15, Saju M wrote: > >> Hi, >> >> psphere: Python interface for the VMware vSphere Web Services SDK >> >> I already developed an app using https://bitbucket.org/jkinred/psphere. >>

Re: [BangPypers] psphere: how to make thread safe

2012-08-22 Thread Ramchandra Apte
On 22 August 2012 17:15, Saju M wrote: > Hi, > > psphere: Python interface for the VMware vSphere Web Services SDK > > I already developed an app using https://bitbucket.org/jkinred/psphere. > But > getting lot of errors since psphere is not thread safe (I think). So i > wrote couple of scripts t

Re: [BangPypers] Call for Python programmers interested in building social applications

2012-08-01 Thread Ramchandra Apte
I can help :-) . Can you give more details? On 1 August 2012 17:15, Kenneth Gonsalves wrote: > On Wed, 2012-08-01 at 12:09 +0200, Yoganand Anandaraju wrote: > > I am looking for help in building a social application using the > > python eco-system. The idea is to build a social application using