From satyajit.ranjeev at gmail.com Mon Oct 1 20:45:10 2012 From: satyajit.ranjeev at gmail.com (Satyajit Ranjeev) Date: Tue, 2 Oct 2012 00:15:10 +0530 Subject: [BangPypers] Starting a Pune User Group. Message-ID: <79306993-38F6-4179-B4A1-0489E407C29D@gmail.com> Hi, I have been inspired by the community of Pythonists in Bangalore and the contribution they have put in for the whole Python community in India. PyCon India 2012 was just great. Kuddos to all the organisers and volunteers. When I moved to Pune I was looking for a user group and found the link broken, it still is. If there were meet-ups I have missed them all. We seem to be doing very little in Pune. (Correct me if I am wrong please.) Strike while the iron is hot. Everyone is filled with energy from PyCon, and I feel this is the best time to leverage it. I propose to start a Python user group in Pune. I have created a mailing list: http://mail.python.org/mailman/listinfo/python-pune I would love to hear your advices and suggestions from the wonderful community of Bangalore. I believe a lot of Pune users are using the Bangpypers list like me and would request them to join it. It would be nice to have meet-ups and a active community in Pune. Satyajit http://satyajit.ranjeev.in From noufal at nibrahim.net.in Mon Oct 1 20:53:27 2012 From: noufal at nibrahim.net.in (Noufal Ibrahim) Date: Tue, 02 Oct 2012 00:23:27 +0530 Subject: [BangPypers] Starting a Pune User Group. In-Reply-To: <79306993-38F6-4179-B4A1-0489E407C29D@gmail.com> (Satyajit Ranjeev's message of "Tue, 2 Oct 2012 00:15:10 +0530") References: <79306993-38F6-4179-B4A1-0489E407C29D@gmail.com> Message-ID: <87lifq3ty0.fsf@sanitarium.localdomain> There is already https://groups.google.com/forum/?fromgroups#!forum/PythonPune While I like python-pune at python.org address, the google group probably has a user base. Satyajit Ranjeev writes: > Hi, > > I have been inspired by the community of Pythonists in Bangalore and > the contribution they have put in for the whole Python community in > India. PyCon India 2012 was just great. Kuddos to all the organisers > and volunteers. > > When I moved to Pune I was looking for a user group and found the link > broken, it still is. If there were meet-ups I have missed them all. We > seem to be doing very little in Pune. (Correct me if I am wrong > please.) > > Strike while the iron is hot. Everyone is filled with energy from > PyCon, and I feel this is the best time to leverage it. I propose to > start a Python user group in Pune. I have created a mailing list: > http://mail.python.org/mailman/listinfo/python-pune > > I would love to hear your advices and suggestions from the wonderful > community of Bangalore. I believe a lot of Pune users are using the > Bangpypers list like me and would request them to join it. It would be > nice to have meet-ups and a active community in Pune. > > > Satyajit > > http://satyajit.ranjeev.in > > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Cordially, Noufal http://nibrahim.net.in From satyajit.ranjeev at gmail.com Mon Oct 1 21:15:49 2012 From: satyajit.ranjeev at gmail.com (Satyajit Ranjeev) Date: Tue, 2 Oct 2012 00:45:49 +0530 Subject: [BangPypers] Starting a Pune User Group. In-Reply-To: <87lifq3ty0.fsf@sanitarium.localdomain> References: <79306993-38F6-4179-B4A1-0489E407C29D@gmail.com> <87lifq3ty0.fsf@sanitarium.localdomain> Message-ID: Oops... sheepish grin :). Guess I should have searched before posting. One should update the wiki though. So what do you think I should do? A mailing list breaks the dependency of Google groups. Satyajit http://satyajit.ranjeev.in On 2 Oct 2012 00:24, "Noufal Ibrahim" wrote: > > There is already > https://groups.google.com/forum/?fromgroups#!forum/PythonPune > > While I like python-pune at python.org address, the google group probably > has a user base. > > Satyajit Ranjeev writes: > > > Hi, > > > > I have been inspired by the community of Pythonists in Bangalore and > > the contribution they have put in for the whole Python community in > > India. PyCon India 2012 was just great. Kuddos to all the organisers > > and volunteers. > > > > When I moved to Pune I was looking for a user group and found the link > > broken, it still is. If there were meet-ups I have missed them all. We > > seem to be doing very little in Pune. (Correct me if I am wrong > > please.) > > > > Strike while the iron is hot. Everyone is filled with energy from > > PyCon, and I feel this is the best time to leverage it. I propose to > > start a Python user group in Pune. I have created a mailing list: > > http://mail.python.org/mailman/listinfo/python-pune > > > > I would love to hear your advices and suggestions from the wonderful > > community of Bangalore. I believe a lot of Pune users are using the > > Bangpypers list like me and would request them to join it. It would be > > nice to have meet-ups and a active community in Pune. > > > > > > Satyajit > > > > http://satyajit.ranjeev.in > > > > > > > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > http://mail.python.org/mailman/listinfo/bangpypers > > > > -- > Cordially, > Noufal > http://nibrahim.net.in > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From noufal at nibrahim.net.in Mon Oct 1 21:20:56 2012 From: noufal at nibrahim.net.in (Noufal Ibrahim) Date: Tue, 02 Oct 2012 00:50:56 +0530 Subject: [BangPypers] Starting a Pune User Group. In-Reply-To: (Satyajit Ranjeev's message of "Tue, 2 Oct 2012 00:45:49 +0530") References: <79306993-38F6-4179-B4A1-0489E407C29D@gmail.com> <87lifq3ty0.fsf@sanitarium.localdomain> Message-ID: <87fw5yxalj.fsf@sanitarium.localdomain> Satyajit Ranjeev writes: > Oops... sheepish grin :). Guess I should have searched before posting. One > should update the wiki though. > > So what do you think I should do? A mailing list breaks the dependency of > Google groups. Ask on that group? :) [...] -- Cordially, Noufal http://nibrahim.net.in From satyajit.ranjeev at gmail.com Mon Oct 1 21:26:00 2012 From: satyajit.ranjeev at gmail.com (Satyajit Ranjeev) Date: Tue, 2 Oct 2012 00:56:00 +0530 Subject: [BangPypers] Starting a Pune User Group. In-Reply-To: <87fw5yxalj.fsf@sanitarium.localdomain> References: <79306993-38F6-4179-B4A1-0489E407C29D@gmail.com> <87lifq3ty0.fsf@sanitarium.localdomain> <87fw5yxalj.fsf@sanitarium.localdomain> Message-ID: :) yes that's what I was planning to do. Satyajit http://satyajit.ranjeev.in On 2 Oct 2012 00:53, "Noufal Ibrahim" wrote: > Satyajit Ranjeev writes: > > > Oops... sheepish grin :). Guess I should have searched before posting. > One > > should update the wiki though. > > > > So what do you think I should do? A mailing list breaks the dependency of > > Google groups. > > Ask on that group? :) > [...] > > > -- > Cordially, > Noufal > http://nibrahim.net.in > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From palakmathur at gmail.com Tue Oct 2 03:51:51 2012 From: palakmathur at gmail.com (Palak Mathur) Date: Tue, 2 Oct 2012 07:21:51 +0530 Subject: [BangPypers] Starting a Pune User Group. In-Reply-To: References: <79306993-38F6-4179-B4A1-0489E407C29D@gmail.com> <87lifq3ty0.fsf@sanitarium.localdomain> <87fw5yxalj.fsf@sanitarium.localdomain> Message-ID: Nice idea. I have joined it. On Oct 2, 2012 12:56 AM, "Satyajit Ranjeev" wrote: > :) yes that's what I was planning to do. > > Satyajit > > http://satyajit.ranjeev.in > On 2 Oct 2012 00:53, "Noufal Ibrahim" wrote: > > > Satyajit Ranjeev writes: > > > > > Oops... sheepish grin :). Guess I should have searched before posting. > > One > > > should update the wiki though. > > > > > > So what do you think I should do? A mailing list breaks the dependency > of > > > Google groups. > > > > Ask on that group? :) > > [...] > > > > > > -- > > Cordially, > > Noufal > > http://nibrahim.net.in > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > http://mail.python.org/mailman/listinfo/bangpypers > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From bala at cerebrahm.com Thu Oct 4 13:19:03 2012 From: bala at cerebrahm.com (Balasubramanian Venkatachalam) Date: Thu, 4 Oct 2012 16:49:03 +0530 Subject: [BangPypers] [JOBS] - Senior Innovation Engineers Message-ID: <-3935464012224123240@unknownmsgid> Dear Python Practitioners & Experts, CereBrahm innovations is a well funded product development organization that has taken on the task of solving some of the biggest challenges that face our people & society through technology and innovation. We have received tremendous feedback from all the (potential) customers we have talked to and they can't wait to lay their hands on the product. We are currently looking for some innovators with great problem solving and analytical skills, and of course, programming in python. Here are the details in a nutshell: Job Title: Senior Innovation Engineer Key Responsibilities: - Innovate to solve some of the toughest challenges facing the people & society - Be more than a developer, imagine yourself in tough situations and provide solutions - Take ownership of key software modules & components in a massively scalable clould platform and engineer them - Write class leading code with minimal supervision - Actively contribute with ideas in all discussions - Adhere to key standards in developing scalable & secure software components, and develop new standards where none exist - Represent the company in seminars, conferences & various forums - Research and develop new techniques in handwriting recognition, natural language processing, image processing and data visualization - mentor junior members & interns Reporting: The engineers will directly report to the CTO. Benefits: In addition to best salaries in the industry, as one of the earliest employees in the company, you will be entitled for excellent stock options, loyalty stock/bonus and much more. Hiring Process: Be prepared for a thorough examination of your problem solving and analytical skills, architecture, design & coding skills and all the work you have done until now. You should visit www.cerebrahm.com to know our vision, mission & values. If you want to know more about our product, send us an email at careers at cerebrahm.com. Thanks & Regards Bala From sajuptpm at gmail.com Sat Oct 6 12:09:46 2012 From: sajuptpm at gmail.com (Saju M) Date: Sat, 6 Oct 2012 15:39:46 +0530 Subject: [BangPypers] Unpacking Tuple Message-ID: Hi, I am using python 2.6. I need a way to make following code working without any ValueError . >>> a, b, c, d = (1,2,3,4) >>> a, b, c, d = (1,2,3). Note: Number of values in the tuple will change dynamically. I know in python 3, you can do `a, b, c, *d = (1, 2, 3)` and then d will contain any elements that didn't fit into a,b,c. Regards, Saju From gora at mimirtech.com Sat Oct 6 12:39:41 2012 From: gora at mimirtech.com (Gora Mohanty) Date: Sat, 6 Oct 2012 16:09:41 +0530 Subject: [BangPypers] Unpacking Tuple In-Reply-To: References: Message-ID: On 6 October 2012 15:39, Saju M wrote: > Hi, > > I am using python 2.6. > > I need a way to make following code working without any ValueError . > >>> a, b, c, d = (1,2,3,4) > >>> a, b, c, d = (1,2,3). > > Note: Number of values in the tuple will change dynamically. > Is the maximum length of the tuple fixed? If so, you can pad the tuple with "blank" variables to this maximum length, viz., NMAX = 4 UNKNOWN_VAL = '' t = (1, 2, 3) a, b, c, d = t + (NMAX - len(t)) * (UNKNOWN_VAL,) If the maximum length is not fixed, you should probably revisit your design. Regards, Gora From noufal at nibrahim.net.in Sat Oct 6 12:47:28 2012 From: noufal at nibrahim.net.in (Noufal Ibrahim) Date: Sat, 06 Oct 2012 16:17:28 +0530 Subject: [BangPypers] Unpacking Tuple In-Reply-To: (Saju M.'s message of "Sat, 6 Oct 2012 15:39:46 +0530") References: Message-ID: <87lifjlvwf.fsf@sanitarium.localdomain> Saju M writes: > Hi, > > I am using python 2.6. > > I need a way to make following code working without any ValueError . >>>> a, b, c, d = (1,2,3,4) >>>> a, b, c, d = (1,2,3). This is crude but fun. I wouldn't do it in anything serious program though. > import itertools > > a, b, c, d = list(itertools.chain(input_tuple, itertools.repeat(None, 4)))[:4] If your input tuple has 4 values, you'll get them in the 4 variables. If your input tuple has less (say 3), you'll get a, b and c. d will be set to None. If your input tuple has more than 4, the remaining will be ignored. -- Cordially, Noufal http://nibrahim.net.in From veechand at gmail.com Sat Oct 6 12:50:15 2012 From: veechand at gmail.com (veerabahu subramanian) Date: Sat, 6 Oct 2012 16:20:15 +0530 Subject: [BangPypers] Unpacking Tuple In-Reply-To: <87lifjlvwf.fsf@sanitarium.localdomain> References: <87lifjlvwf.fsf@sanitarium.localdomain> Message-ID: Something similar to Noufal's but with out using itertools... >>> s=(1,2,3,4) >>> a,b,c,d = s + (None,)*(4-len(s)) >>> print a,b,c,d 1 2 3 4 >>> s=(1,) >>> a,b,c,d = s + (None,)*(4-len(s)) >>> print a,b,c,d 1 None None None Regards Veerabahu On Sat, Oct 6, 2012 at 4:17 PM, Noufal Ibrahim wrote: > Saju M writes: > > > Hi, > > > > I am using python 2.6. > > > > I need a way to make following code working without any ValueError . > >>>> a, b, c, d = (1,2,3,4) > >>>> a, b, c, d = (1,2,3). > > This is crude but fun. I wouldn't do it in anything serious program though. > > > import itertools > > > > a, b, c, d = list(itertools.chain(input_tuple, itertools.repeat(None, > 4)))[:4] > > If your input tuple has 4 values, you'll get them in the 4 variables. > > If your input tuple has less (say 3), you'll get a, b and c. d will be > set to None. > > If your input tuple has more than 4, the remaining will be ignored. > > -- > Cordially, > Noufal > http://nibrahim.net.in > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From noufal at nibrahim.net.in Sat Oct 6 12:57:10 2012 From: noufal at nibrahim.net.in (Noufal Ibrahim) Date: Sat, 06 Oct 2012 16:27:10 +0530 Subject: [BangPypers] Unpacking Tuple In-Reply-To: (veerabahu subramanian's message of "Sat, 6 Oct 2012 16:20:15 +0530") References: <87lifjlvwf.fsf@sanitarium.localdomain> Message-ID: <87fw5rlvg9.fsf@sanitarium.localdomain> All of these are clever but I'd be very annoyed if I saw them in serious production code. I'd recommend that you rethink your original code. If there are varying length tuples that you're passing in which you need assigned to variables, it might make more sense to use a dictionary. a, b, c and d will be keys. veerabahu subramanian writes: > Something similar to Noufal's but with out using itertools... > >>>> s=(1,2,3,4) >>>> a,b,c,d = s + (None,)*(4-len(s)) >>>> print a,b,c,d > 1 2 3 4 >>>> s=(1,) >>>> a,b,c,d = s + (None,)*(4-len(s)) >>>> print a,b,c,d > 1 None None None > > Regards > Veerabahu > > On Sat, Oct 6, 2012 at 4:17 PM, Noufal Ibrahim wrote: > >> Saju M writes: >> >> > Hi, >> > >> > I am using python 2.6. >> > >> > I need a way to make following code working without any ValueError . >> >>>> a, b, c, d = (1,2,3,4) >> >>>> a, b, c, d = (1,2,3). >> >> This is crude but fun. I wouldn't do it in anything serious program though. >> >> > import itertools >> > >> > a, b, c, d = list(itertools.chain(input_tuple, itertools.repeat(None, >> 4)))[:4] >> >> If your input tuple has 4 values, you'll get them in the 4 variables. >> >> If your input tuple has less (say 3), you'll get a, b and c. d will be >> set to None. >> >> If your input tuple has more than 4, the remaining will be ignored. >> >> -- >> Cordially, >> Noufal >> http://nibrahim.net.in >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Cordially, Noufal http://nibrahim.net.in From vinayakh at gmail.com Mon Oct 8 11:05:53 2012 From: vinayakh at gmail.com (Vinayak Hegde) Date: Mon, 8 Oct 2012 14:35:53 +0530 Subject: [BangPypers] Introduction to interactive programming in Python Message-ID: Hi, There is a new course starting on Coursera https://class.coursera.org/interactivepython-2012-001/class/index Also @pycoders has sent the link to a good tutorial on python 3 http://www.youtube.com/playlist?list=PLDFB7FFF90EE6F0C1 Regards Vinayak From kns003 at gmail.com Mon Oct 8 20:43:39 2012 From: kns003 at gmail.com (Shashank hegde) Date: Tue, 9 Oct 2012 00:13:39 +0530 Subject: [BangPypers] BangPypers Digest, Vol 62, Issue 4 In-Reply-To: References: Message-ID: Hey thanks a lot :) On 8 October 2012 15:30, wrote: > Send BangPypers mailing list submissions to > bangpypers at python.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.python.org/mailman/listinfo/bangpypers > or, via email, send a message with subject or body 'help' to > bangpypers-request at python.org > > You can reach the person managing the list at > bangpypers-owner at python.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of BangPypers digest..." > > > Today's Topics: > > 1. Introduction to interactive programming in Python (Vinayak Hegde) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 8 Oct 2012 14:35:53 +0530 > From: Vinayak Hegde > To: Bangalore Python Users Group - India > Subject: [BangPypers] Introduction to interactive programming in > Python > Message-ID: > BiTOB5LVeofE_7QLpgfwG3Xg at mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > Hi, > > There is a new course starting on Coursera > https://class.coursera.org/interactivepython-2012-001/class/index > > Also @pycoders has sent the link to a good tutorial on python 3 > http://www.youtube.com/playlist?list=PLDFB7FFF90EE6F0C1 > > Regards > Vinayak > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > > ------------------------------ > > End of BangPypers Digest, Vol 62, Issue 4 > ***************************************** > -- shankz From vid at svaksha.com Mon Oct 8 21:09:45 2012 From: vid at svaksha.com (vid) Date: Mon, 8 Oct 2012 19:09:45 +0000 Subject: [BangPypers] Request to Digest subscribers [was] Re: BangPypers Digest, Vol 62, Issue 4 Message-ID: On Mon, Oct 8, 2012 at 6:43 PM, Shashank hegde wrote: > Hey thanks a lot :) Hi, since you are subscribed to a digest, please edit your emails to reflect the subject under discussion. Its considered polite and will not inconvenience other list members who'd open the list mail to see a top-posted "thankyou" note, and ofcourse, thank you in advance for being considerate to other list members. -- Regards, vid ? http://svaksha.com ? From sajuptpm at gmail.com Tue Oct 9 11:01:52 2012 From: sajuptpm at gmail.com (Saju M) Date: Tue, 9 Oct 2012 14:31:52 +0530 Subject: [BangPypers] Help required to design classes Message-ID: Hi, I have two classes "A" and "B" class A: def __init__(self, input): //do something on input class B(A): def __init__(self, input): A.__init__(self, input) //do something Then, I want to create two new classes "P" and "Q" class P: def __init__(self, input): //do something different on input class Q(p): def __init__(self, input): P.__init__(self, input) //do something In class "Q", I want all the methods defined in class "B", How do it?. How redesign this class structure. Note: constructor of class "A" and "B" doing different operations on input. Note: But functionalities defined in class "B" should come in class "Q". From anandology at gmail.com Tue Oct 9 11:04:25 2012 From: anandology at gmail.com (Anand Chitipothu) Date: Tue, 9 Oct 2012 14:34:25 +0530 Subject: [BangPypers] Help required to design classes In-Reply-To: References: Message-ID: On Tue, Oct 9, 2012 at 2:31 PM, Saju M wrote: > Hi, > > > I have two classes "A" and "B" > > > class A: > def __init__(self, input): > //do something on input > > > > class B(A): > def __init__(self, input): > A.__init__(self, input) > //do something > > > Then, I want to create two new classes "P" and "Q" > > > class P: > def __init__(self, input): > //do something different on input > > > class Q(p): > def __init__(self, input): > P.__init__(self, input) > //do something > > > > In class "Q", I want all the methods defined in class "B", How do it?. > How redesign this class structure. > Note: constructor of class "A" and "B" doing different operations on input. > Note: But functionalities defined in class "B" should come in class "Q". One way do that is by writing a class BMixin and let both B and Q extend from BMixin. The BMixin class will have the methods that you would like to have in both classes. Anand From sajuptpm at gmail.com Tue Oct 9 11:25:26 2012 From: sajuptpm at gmail.com (Saju M) Date: Tue, 9 Oct 2012 14:55:26 +0530 Subject: [BangPypers] Help required to design classes In-Reply-To: References: Message-ID: Hi Anand, Sorry, I made a mistake in question Note: constructor of class "A" and "P" doing different operations on input. You are telling like this , right? class BMixin: class B(BMixin): class Q(BMixin): One more thing, class "B" should contain methods defined in class "A". class "Q" should contain methods defined in class "P" also. So, can i do like this ??? class BMixin: class B(BMixin, A): class Q(BMixin, P): Thanks, On Tue, Oct 9, 2012 at 2:34 PM, Anand Chitipothu wrote: > On Tue, Oct 9, 2012 at 2:31 PM, Saju M wrote: > > Hi, > > > > > > I have two classes "A" and "B" > > > > > > class A: > > def __init__(self, input): > > //do something on input > > > > > > > > class B(A): > > def __init__(self, input): > > A.__init__(self, input) > > //do something > > > > > > Then, I want to create two new classes "P" and "Q" > > > > > > class P: > > def __init__(self, input): > > //do something different on input > > > > > > class Q(p): > > def __init__(self, input): > > P.__init__(self, input) > > //do something > > > > > > > > In class "Q", I want all the methods defined in class "B", How do it?. > > How redesign this class structure. > > Note: constructor of class "A" and "B" doing different operations on > input. > > Note: But functionalities defined in class "B" should come in class "Q". > > One way do that is by writing a class BMixin and let both B and Q > extend from BMixin. The BMixin class will have the methods that you > would like to have in both classes. > > Anand > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From anandology at gmail.com Tue Oct 9 11:30:08 2012 From: anandology at gmail.com (Anand Chitipothu) Date: Tue, 9 Oct 2012 15:00:08 +0530 Subject: [BangPypers] Help required to design classes In-Reply-To: References: Message-ID: > So, can i do like this ??? > > class BMixin: > > class B(BMixin, A): > > class Q(BMixin, P): Yes. But adding the mixin class at the end might be better. class B(A, BMixin): ... class Q(P, BMixin): ... Anand From sajuptpm at gmail.com Tue Oct 9 11:37:04 2012 From: sajuptpm at gmail.com (Saju M) Date: Tue, 9 Oct 2012 15:07:04 +0530 Subject: [BangPypers] Help required to design classes In-Reply-To: References: Message-ID: Hi Anand, Thanks, let me try. Regards Saju Madhavan +91 09535134654 On Tue, Oct 9, 2012 at 3:00 PM, Anand Chitipothu wrote: > > So, can i do like this ??? > > > > class BMixin: > > > > class B(BMixin, A): > > > > class Q(BMixin, P): > > Yes. But adding the mixin class at the end might be better. > > class B(A, BMixin): > ... > > class Q(P, BMixin): > ... > > Anand > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From jinsthomas at gmail.com Tue Oct 9 18:56:09 2012 From: jinsthomas at gmail.com (Jins Thomas) Date: Tue, 9 Oct 2012 22:26:09 +0530 Subject: [BangPypers] [Off-Topic] Best Wiki Message-ID: Hi all, Sorry for spamming with an off topic. We are planning to create a wiki site for our project. Would like to know your suggestions, either free or affordable one Thanks alot Jins From me at bibhas.in Tue Oct 9 19:14:51 2012 From: me at bibhas.in (Bibhas Ch Debnath) Date: Tue, 9 Oct 2012 22:44:51 +0530 Subject: [BangPypers] [Off-Topic] Best Wiki In-Reply-To: References: Message-ID: 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: > Hi all, > > Sorry for spamming with an off topic. We are planning to create a wiki site > for our project. Would like to know your suggestions, either free or > affordable one > > > Thanks alot > Jins > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From maniandram01 at gmail.com Wed Oct 10 05:44:50 2012 From: maniandram01 at gmail.com (Ramchandra Apte) Date: Wed, 10 Oct 2012 09:14:50 +0530 Subject: [BangPypers] [Off-Topic] Best Wiki In-Reply-To: References: Message-ID: 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: > > > Hi all, > > > > Sorry for spamming with an off topic. We are planning to create a wiki > site > > for our project. Would like to know your suggestions, either free or > > affordable one > > > > > > Thanks alot > > Jins > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > http://mail.python.org/mailman/listinfo/bangpypers > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > Even the python wiki uses it. From asif.jamadar at rezayat.net Wed Oct 10 07:04:45 2012 From: asif.jamadar at rezayat.net (Asif Jamadar) Date: Wed, 10 Oct 2012 05:04:45 +0000 Subject: [BangPypers] [Off-Topic] Best Wiki In-Reply-To: References: Message-ID: Checkout https://github.com/benjaoming/django-wiki. I've installed it and so far it looks very promising. -----Original Message----- From: BangPypers [mailto:bangpypers-bounces+asif.jamadar=rezayat.net at python.org] On Behalf Of Jins Thomas Sent: Tuesday, October 09, 2012 7:56 PM To: Bangalore Python Users Group - India Subject: [BangPypers] [Off-Topic] Best Wiki Hi all, Sorry for spamming with an off topic. We are planning to create a wiki site for our project. Would like to know your suggestions, either free or affordable one Thanks alot Jins _______________________________________________ BangPypers mailing list BangPypers at python.org http://mail.python.org/mailman/listinfo/bangpypers From vnbang2003 at yahoo.com Wed Oct 10 08:11:39 2012 From: vnbang2003 at yahoo.com (vijay) Date: Wed, 10 Oct 2012 14:11:39 +0800 (SGT) Subject: [BangPypers] Help in understanding Hadoop with python Message-ID: <1349849499.33072.YahooMailNeo@web192202.mail.sg3.yahoo.com> Hi , ? ?I am planing to use hadoop for processing millions record text file for my project .Am looking for?suggestion on hadoop with python programs. ? ?If any one has used do let me know. ? ? With Thanks Vijay From yoganand at gmx.com Wed Oct 10 08:31:13 2012 From: yoganand at gmx.com (Yoganand Anandaraju) Date: Wed, 10 Oct 2012 08:31:13 +0200 Subject: [BangPypers] Help in understanding Hadoop with python Message-ID: <20121010063113.53000@gmx.com> You can write python map-reduce for hadoop by using HadoopStreaming. Take a look at this example http://www.michael-noll.com/tutorials/writing-an-hadoop-mapreduce-program-in-python/ . For processing Bigdata, I suggest take a look at Disco Framework http://discoproject.org/ . I felt it was much easier using disco than Hadoop. thanks, Yoganand ----- Original Message ----- From: vijay Sent: 10/10/12 11:41 AM To: Bangalore Python Users Group - India Subject: [BangPypers] Help in understanding Hadoop with python Hi , I am planing to use hadoop for processing millions record text file for my project .Am looking for suggestion on hadoop with python programs. If any one has used do let me know. With Thanks Vijay _______________________________________________ BangPypers mailing list BangPypers at python.org http://mail.python.org/mailman/listinfo/bangpypers From deepakgarg.iitg at gmail.com Wed Oct 10 14:21:41 2012 From: deepakgarg.iitg at gmail.com (Deepak Garg) Date: Wed, 10 Oct 2012 17:51:41 +0530 Subject: [BangPypers] BangPypers meetup Message-ID: HI All, We haven't had a meetup for quite some time. How about we have a meetup on 10th November, Saturday ? Cheers, -- Deepak Garg, Data Center and Cloud Div. Citrix R&D, India Github: https://github.com/gargdeepak LinkedIn: http://in.linkedin.com/in/deepakgargiit Slideshare: http://www.slideshare.net/khinnu4u/presentations Skype-id: deepakgarg.iit From gora at mimirtech.com Wed Oct 10 18:38:54 2012 From: gora at mimirtech.com (Gora Mohanty) Date: Wed, 10 Oct 2012 22:08:54 +0530 Subject: [BangPypers] [Off-Topic] Best Wiki In-Reply-To: References: Message-ID: On 10 October 2012 10:34, Asif Jamadar wrote: > Checkout https://github.com/benjaoming/django-wiki. I've installed it and so far it looks very promising. > With all due respect, please take this off this list, as this has nothing germane to the list. The original poster admits this, but somehow still feels entitled to post off topic. By that argument, one could start discussing Saas-Bahu serials here. Regards, Gora From kracethekingmaker at gmail.com Wed Oct 10 18:40:21 2012 From: kracethekingmaker at gmail.com (kracekumar ramaraju) Date: Wed, 10 Oct 2012 22:10:21 +0530 Subject: [BangPypers] [OT] Call For Volunteers for JSFoo and Droidcon India Message-ID: *All, * * * *HasGeek announces two large conferences JSFoo (Oct 19-20) and Droidcon India (Nov 2-3) in Bangalore!* * * *This the second series of JSFoo and the second edition of Droidcon. At the first editions, we had between 250-500 people turning up at the events. All of us - crew and volunteers - stuck together as a team, and pulled off these events.* * * *This year, once more, we are calling out to you for support and collaboration to make JSFoo and Droidcon India successful and memorable events!* * * *We need the help of passionate and committed volunteers, who are willing to contribute towards tasks such as logistics, speaker hospitality, video and photography, among others. These tasks will take place before and during both days of the event. Your time and skills will be sincerely appreciated.* * * *If you are interested in volunteering, please contact Zainab on zainab at hasgeek.com for JSFoo and Noufal on noufal at nibrahim.net.in for Droidcon* -- * Thanks & Regards "Talk is cheap, show me the code" -- Linus Torvalds kracekumar www.kracekumar.com * From sunil.murthy at infotoros.com Thu Oct 11 04:34:12 2012 From: sunil.murthy at infotoros.com (Sunil Murthy) Date: Thu, 11 Oct 2012 08:04:12 +0530 Subject: [BangPypers] BangPypers meetup Message-ID: <011301cda758$e83dd760$b8b98620$@murthy@infotoros.com> Thanks Deepak. Looking forward to the meetup. I suppose Nov 10th works well since the previous weekend is Karnataka Rajyotsava holiday weekend and there may be folks going out of town. I'll be happy to host in our office in J.P.Nagar. Any topic suggestions? Like to suggest django-social-auth and facebook integration. Sunil _____ HI All, We haven't had a meetup for quite some time. How about we have a meetup on 10th November, Saturday ? Cheers, -- Deepak Garg, Data Center and Cloud Div. Citrix R&D, India Github: https://github.com/gargdeepak LinkedIn: http://in.linkedin.com/in/deepakgargiit Slideshare: http://www.slideshare.net/khinnu4u/presentations Skype-id: deepakgarg.iit _____ From deepakgarg.iitg at gmail.com Thu Oct 11 05:24:24 2012 From: deepakgarg.iitg at gmail.com (Deepak Garg) Date: Thu, 11 Oct 2012 08:54:24 +0530 Subject: [BangPypers] BangPypers meetup In-Reply-To: <50763053.c5d8d80a.2687.7713SMTPIN_ADDED@mx.google.com> References: <50763053.c5d8d80a.2687.7713SMTPIN_ADDED@mx.google.com> Message-ID: Thanks Sunil, I have scheduled a meetup here: http://www.meetup.com/BangPypers/events/86481052/ Everyone can edit this. So, please update the address of the place. If anyone would like to present something there, please update the 'Details' of the meetup event or reply back on this thread. Cheers, Deepak On Thu, Oct 11, 2012 at 8:04 AM, Sunil Murthy wrote: > Thanks Deepak. Looking forward to the meetup. I suppose Nov 10th works well > since the previous weekend is Karnataka Rajyotsava holiday weekend and > there > may be folks going out of town. I'll be happy to host in our office in > J.P.Nagar. > > > > Any topic suggestions? Like to suggest django-social-auth and facebook > integration. > > > > Sunil > > > > _____ > > HI All, > > We haven't had a meetup for quite some time. How about we have a meetup on > 10th November, Saturday ? > > > > Cheers, > > -- > > Deepak Garg, > Data Center and Cloud Div. > Citrix R&D, India > > > Github: https://github.com/gargdeepak > LinkedIn: http://in.linkedin.com/in/deepakgargiit > Slideshare: http://www.slideshare.net/khinnu4u/presentations > Skype-id: deepakgarg.iit > _____ > > > > > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Deepak Garg, Data Center and Cloud Div. Citrix R&D, India Phone-no.:+917829866870 Github: https://github.com/gargdeepak LinkedIn: http://in.linkedin.com/in/deepakgargiit Slideshare: http://www.slideshare.net/khinnu4u/presentations Skype-id: deepakgarg.iit From sunil.murthy at infotoros.com Thu Oct 11 05:41:49 2012 From: sunil.murthy at infotoros.com (Sunil Murthy) Date: Thu, 11 Oct 2012 09:11:49 +0530 Subject: [BangPypers] BangPypers meetup In-Reply-To: References: <50763053.c5d8d80a.2687.7713SMTPIN_ADDED@mx.google.com> Message-ID: <014001cda762$5a3a82b0$0eaf8810$@murthy@infotoros.com> I have updated the address to 1312 (2nd Floor), 20th Main, 9th Cross, 2nd Phase J.P.Nagar, Bangalore - 560 078. The landmark is JP Nagar Police Station / Rangashankara. - Sunil -----Original Message----- From: BangPypers [mailto:bangpypers-bounces+sunil.murthy=infotoros.com at python.org] On Behalf Of Deepak Garg Sent: 11 October 2012 08:54 To: Bangalore Python Users Group - India Subject: Re: [BangPypers] BangPypers meetup Thanks Sunil, I have scheduled a meetup here: http://www.meetup.com/BangPypers/events/86481052/ Everyone can edit this. So, please update the address of the place. If anyone would like to present something there, please update the 'Details' of the meetup event or reply back on this thread. Cheers, Deepak On Thu, Oct 11, 2012 at 8:04 AM, Sunil Murthy wrote: > Thanks Deepak. Looking forward to the meetup. I suppose Nov 10th works > well since the previous weekend is Karnataka Rajyotsava holiday > weekend and there may be folks going out of town. I'll be happy to > host in our office in J.P.Nagar. > > > > Any topic suggestions? Like to suggest django-social-auth and facebook > integration. > > > > Sunil > > > > _____ > > HI All, > > We haven't had a meetup for quite some time. How about we have a > meetup on 10th November, Saturday ? > > > > Cheers, > > -- > > Deepak Garg, > Data Center and Cloud Div. > Citrix R&D, India > > > Github: https://github.com/gargdeepak > LinkedIn: http://in.linkedin.com/in/deepakgargiit > Slideshare: http://www.slideshare.net/khinnu4u/presentations > Skype-id: deepakgarg.iit > _____ > > > > > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Deepak Garg, Data Center and Cloud Div. Citrix R&D, India Phone-no.:+917829866870 Github: https://github.com/gargdeepak LinkedIn: http://in.linkedin.com/in/deepakgargiit Slideshare: http://www.slideshare.net/khinnu4u/presentations Skype-id: deepakgarg.iit _______________________________________________ BangPypers mailing list BangPypers at python.org http://mail.python.org/mailman/listinfo/bangpypers From punchagan at gmail.com Mon Oct 15 05:44:11 2012 From: punchagan at gmail.com (Puneeth Chaganti) Date: Mon, 15 Oct 2012 09:14:11 +0530 Subject: [BangPypers] [X-Post] [ANN] CFP: SciPy India 2012 -- Dec 27-29 -- IIT Bombay Message-ID: Hello, The CFP for SciPy India 2012, to be held in IIT Bombay from December 27-29 is open. Please spread the word! Scipy.in is a conference providing opportunities to spread the use of the Python programming language in the Scientific Computing community in India. It provides a unique opportunity to interact with the "Who's who" of the Python for Scientific Computing fraternity and learn, understand, participate, and contribute to Scientific Computing using Python. Attendees of the conference and participants of the sprints planned will be able to access and review the tools available. They will also be able to learn domain-specific applications and how the tools apply to a plethora of application problems. One of the goals of the conference is to combine education, engineering, and science with computing through the medium of Python. This conference also aims to spread the use of Python for Scientific Computing in various fields and among different communities. Call for Papers ================ We look forward to your submissions on the use of Python for Scientific Computing and Education. This includes pedagogy, exploration, modeling and analysis from both applied and developmental perspectives. We welcome contributions from academia as well as industry. Submission of Papers ===================== If you wish to present your paper using this platform, please submit an abstract of 300 to 700 words describing the topic, including its relevance to scientific computing. Based on the number and quality of the submissions, the conference organizers will allot 10 - 30 minutes for each accepted talk. In addition to these talks, there will be an open session of lightning talks, during which any attendee who wishes to talk on a pertinent topic is invited to do a presentation not exceeding five minutes in duration. If you wish to present a talk at the conference, please follow the guidelines below. Submission Guidelines ====================== - Submit your proposals at scipy at fossee.in - Submissions whose main purpose is to promote a commercial product or service will be refused. - All accepted proposals must be presented at the SciPy conference by at least one author. Important Dates ================ - Call for proposals start: 27th September 2012, Thursday - Call for proposals end: 1st November 2012, Thursday - List of accepted proposals will be published: 19th November 2012, Monday - Submission of first presentation: 10th December 2012, Monday - Submission of final presentation(with final changes): 20th December 2012, Thursday From davidsnt at gmail.com Tue Oct 16 13:21:45 2012 From: davidsnt at gmail.com (davidsnt) Date: Tue, 16 Oct 2012 16:51:45 +0530 Subject: [BangPypers] Multilevel SSH in Python Message-ID: Hello Team. I need some help in building a multilevel ssh program in Python. My requirement is that I have to connect to ServerA and from ServerA connect to ServerB and from ServerB connect to ServerC and execute few set of commands and collect the results. I dont have direct access to ServerB or ServerC only from ServerA I can move on to ServerB and then on to ServerC. I only have access to ServerA. How can I achieve it. Thanks, David From noufal at nibrahim.net.in Tue Oct 16 13:26:53 2012 From: noufal at nibrahim.net.in (Noufal Ibrahim) Date: Tue, 16 Oct 2012 16:56:53 +0530 Subject: [BangPypers] Multilevel SSH in Python In-Reply-To: (davidsnt@gmail.com's message of "Tue, 16 Oct 2012 16:51:45 +0530") References: Message-ID: <87bog2pshu.fsf@sanitarium.localdomain> davidsnt writes: > Hello Team. > > I need some help in building a multilevel ssh program in Python. > > My requirement is that I have to connect to ServerA and from ServerA > connect to ServerB and from ServerB connect to ServerC and execute few set > of commands and collect the results. > > I dont have direct access to ServerB or ServerC only from ServerA I can > move on to ServerB and then on to ServerC. The regular ssh command has a proxycommand directive which you can use to ssh through multiple hosts similar to what you need http://serverfault.com/questions/368266/ssh-through-multiple-hosts-using-proxycommand#368267 I think you should be able to reuse this rather than write all the stuff yourself. [...] -- Cordially, Noufal http://nibrahim.net.in From davidsnt at gmail.com Tue Oct 16 13:36:53 2012 From: davidsnt at gmail.com (davidsnt) Date: Tue, 16 Oct 2012 17:06:53 +0530 Subject: [BangPypers] Multilevel SSH in Python In-Reply-To: <87bog2pshu.fsf@sanitarium.localdomain> References: <87bog2pshu.fsf@sanitarium.localdomain> Message-ID: Thank you for the quick response. nc and proxycommand are more of a linux way of doing it, but is there any python oriented way, like I do an ssh and get an object with that I again do once more ssh etc, Regards, Davidsanthosh L On Tue, Oct 16, 2012 at 4:56 PM, Noufal Ibrahim wrote: > davidsnt writes: > > > Hello Team. > > > > I need some help in building a multilevel ssh program in Python. > > > > My requirement is that I have to connect to ServerA and from ServerA > > connect to ServerB and from ServerB connect to ServerC and execute few > set > > of commands and collect the results. > > > > I dont have direct access to ServerB or ServerC only from ServerA I can > > move on to ServerB and then on to ServerC. > > The regular ssh command has a proxycommand directive which you can use > to ssh through multiple hosts similar to what you need > > http://serverfault.com/questions/368266/ssh-through-multiple-hosts-using-proxycommand#368267 > > I think you should be able to reuse this rather than write all the stuff > yourself. > [...] > > > -- > Cordially, > Noufal > http://nibrahim.net.in > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From arunvr at gmail.com Tue Oct 16 13:37:27 2012 From: arunvr at gmail.com (Arun Ravindran) Date: Tue, 16 Oct 2012 17:07:27 +0530 Subject: [BangPypers] [JOBS] Django/Python Developers Message-ID: Hi All, Posting a requirement for anyone interested: Codelattice is a global IT consulting company aimed at maximising your business potential with our packaged or customized digital marketing solutions delivered through our Global Delivery Model. We cater to our clients across USA, Europe, Australia, The Middle East, Malaysia, Brunei, Singapore and India through our locally deployed client services team backed by delivery and development centers across India. Know more at http://www.codelattice.com/ We are looking for talented developers with strong knowledge in Django or other Python based web frameworks. Proficiency in web development using HTML and Javascript will be preferred. Location: Bangalore Please send your resumes to vijith at codelattice.com From noufal at nibrahim.net.in Tue Oct 16 13:41:54 2012 From: noufal at nibrahim.net.in (Noufal Ibrahim) Date: Tue, 16 Oct 2012 17:11:54 +0530 Subject: [BangPypers] Multilevel SSH in Python In-Reply-To: (davidsnt@gmail.com's message of "Tue, 16 Oct 2012 17:06:53 +0530") References: <87bog2pshu.fsf@sanitarium.localdomain> Message-ID: <87626aprst.fsf@sanitarium.localdomain> davidsnt writes: > Thank you for the quick response. > > nc and proxycommand are more of a linux way of doing it, but is there any > python oriented way, like I do an ssh and get an object with that I again > do once more ssh etc, I don't know but if whatever you're using inside Python uses the openssh config file, it should automatically do the proxying. My point was that you might be able to do this without any work. [...] -- Cordially, Noufal http://nibrahim.net.in From me at bibhas.in Tue Oct 16 13:46:02 2012 From: me at bibhas.in (Bibhas Ch Debnath) Date: Tue, 16 Oct 2012 17:16:02 +0530 Subject: [BangPypers] Multilevel SSH in Python In-Reply-To: References: <87bog2pshu.fsf@sanitarium.localdomain> Message-ID: Something using Paramiko[1] maybe? (I've never tried.) [1]: https://github.com/paramiko/paramiko/ ---- Bibhas http://bibhas.in On 16 October 2012 17:06, davidsnt wrote: > Thank you for the quick response. > > nc and proxycommand are more of a linux way of doing it, but is there any > python oriented way, like I do an ssh and get an object with that I again > do once more ssh etc, > > Regards, > Davidsanthosh L > > > On Tue, Oct 16, 2012 at 4:56 PM, Noufal Ibrahim >wrote: > > > davidsnt writes: > > > > > Hello Team. > > > > > > I need some help in building a multilevel ssh program in Python. > > > > > > My requirement is that I have to connect to ServerA and from ServerA > > > connect to ServerB and from ServerB connect to ServerC and execute few > > set > > > of commands and collect the results. > > > > > > I dont have direct access to ServerB or ServerC only from ServerA I can > > > move on to ServerB and then on to ServerC. > > > > The regular ssh command has a proxycommand directive which you can use > > to ssh through multiple hosts similar to what you need > > > > > http://serverfault.com/questions/368266/ssh-through-multiple-hosts-using-proxycommand#368267 > > > > I think you should be able to reuse this rather than write all the stuff > > yourself. > > [...] > > > > > > -- > > Cordially, > > Noufal > > http://nibrahim.net.in > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > http://mail.python.org/mailman/listinfo/bangpypers > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From davidsnt at gmail.com Tue Oct 16 13:56:13 2012 From: davidsnt at gmail.com (davidsnt) Date: Tue, 16 Oct 2012 17:26:13 +0530 Subject: [BangPypers] Multilevel SSH in Python In-Reply-To: <87626aprst.fsf@sanitarium.localdomain> References: <87bog2pshu.fsf@sanitarium.localdomain> <87626aprst.fsf@sanitarium.localdomain> Message-ID: Yeah agreed, but with proxycommand and nc I get a very little control over the session, I need a connection object where I can create multiple connections and execute a large set of commands. Thank You, Davidsanthosh L On Tue, Oct 16, 2012 at 5:11 PM, Noufal Ibrahim wrote: > davidsnt writes: > > > Thank you for the quick response. > > > > nc and proxycommand are more of a linux way of doing it, but is there any > > python oriented way, like I do an ssh and get an object with that I again > > do once more ssh etc, > > I don't know but if whatever you're using inside Python uses the openssh > config file, it should automatically do the proxying. My point was that > you might be able to do this without any work. > > [...] > > > -- > Cordially, > Noufal > http://nibrahim.net.in > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From davidsnt at gmail.com Tue Oct 16 13:58:09 2012 From: davidsnt at gmail.com (davidsnt) Date: Tue, 16 Oct 2012 17:28:09 +0530 Subject: [BangPypers] Multilevel SSH in Python In-Reply-To: References: <87bog2pshu.fsf@sanitarium.localdomain> Message-ID: paramiko doesnt looks like a best solution as exec_command('') returns a stdin output instead of what I wanted import paramiko, base64 key = paramiko.RSAKey(data=base64.decodestring('AAA...')) client = paramiko.SSHClient() client.get_host_keys().add('ssh.example.com', 'ssh-rsa', key) client.connect('ssh.example.com', username='strongbad', password='thecheat') stdin, stdout, stderr = client.exec_command('ls') for line in stdout: print '... ' + line.strip('\n') client.close() Thanks, David On Tue, Oct 16, 2012 at 5:16 PM, Bibhas Ch Debnath wrote: > Something using Paramiko[1] maybe? (I've never tried.) > > [1]: https://github.com/paramiko/paramiko/ > > ---- > Bibhas > http://bibhas.in > > > > On 16 October 2012 17:06, davidsnt wrote: > > > Thank you for the quick response. > > > > nc and proxycommand are more of a linux way of doing it, but is there any > > python oriented way, like I do an ssh and get an object with that I again > > do once more ssh etc, > > > > Regards, > > Davidsanthosh L > > > > > > On Tue, Oct 16, 2012 at 4:56 PM, Noufal Ibrahim > >wrote: > > > > > davidsnt writes: > > > > > > > Hello Team. > > > > > > > > I need some help in building a multilevel ssh program in Python. > > > > > > > > My requirement is that I have to connect to ServerA and from ServerA > > > > connect to ServerB and from ServerB connect to ServerC and execute > few > > > set > > > > of commands and collect the results. > > > > > > > > I dont have direct access to ServerB or ServerC only from ServerA I > can > > > > move on to ServerB and then on to ServerC. > > > > > > The regular ssh command has a proxycommand directive which you can use > > > to ssh through multiple hosts similar to what you need > > > > > > > > > http://serverfault.com/questions/368266/ssh-through-multiple-hosts-using-proxycommand#368267 > > > > > > I think you should be able to reuse this rather than write all the > stuff > > > yourself. > > > [...] > > > > > > > > > -- > > > Cordially, > > > Noufal > > > http://nibrahim.net.in > > > _______________________________________________ > > > BangPypers mailing list > > > BangPypers at python.org > > > http://mail.python.org/mailman/listinfo/bangpypers > > > > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > http://mail.python.org/mailman/listinfo/bangpypers > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From noufal at nibrahim.net.in Tue Oct 16 14:04:52 2012 From: noufal at nibrahim.net.in (Noufal Ibrahim) Date: Tue, 16 Oct 2012 17:34:52 +0530 Subject: [BangPypers] Multilevel SSH in Python In-Reply-To: (davidsnt@gmail.com's message of "Tue, 16 Oct 2012 17:26:13 +0530") References: <87bog2pshu.fsf@sanitarium.localdomain> <87626aprst.fsf@sanitarium.localdomain> Message-ID: <87zk3moc63.fsf@sanitarium.localdomain> davidsnt writes: > Yeah agreed, but with proxycommand and nc I get a very little control over > the session, I need a connection object where I can create multiple > connections and execute a large set of commands. Yes but all through your gateway correct? The ssh level configutation will make this gateway business transparent to your application. YOu can simply ssh to ServerC and get back a "connection object" (perhaps using fabric or something to implement actual commands). [...] -- Cordially, Noufal http://nibrahim.net.in From davidsnt at gmail.com Tue Oct 16 14:13:57 2012 From: davidsnt at gmail.com (davidsnt) Date: Tue, 16 Oct 2012 17:43:57 +0530 Subject: [BangPypers] Multilevel SSH in Python In-Reply-To: <87zk3moc63.fsf@sanitarium.localdomain> References: <87bog2pshu.fsf@sanitarium.localdomain> <87626aprst.fsf@sanitarium.localdomain> <87zk3moc63.fsf@sanitarium.localdomain> Message-ID: Looks fabric will be of a major help. Thank you all. Regards, Davidsanthosh L On Tue, Oct 16, 2012 at 5:34 PM, Noufal Ibrahim wrote: > davidsnt writes: > > > Yeah agreed, but with proxycommand and nc I get a very little control > over > > the session, I need a connection object where I can create multiple > > connections and execute a large set of commands. > > Yes but all through your gateway correct? > > The ssh level configutation will make this gateway business transparent > to your application. YOu can simply ssh to ServerC and get back a > "connection object" (perhaps using fabric or something to implement > actual commands). > > [...] > > > -- > Cordially, > Noufal > http://nibrahim.net.in > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From aakash at learnstreet.com Tue Oct 16 23:15:12 2012 From: aakash at learnstreet.com (Aakash Prasad) Date: Tue, 16 Oct 2012 14:15:12 -0700 Subject: [BangPypers] LearnStreet's Free Online Python Course Message-ID: Hi all, I'd like to tell you about a free online Python course that my startup, LearnStreet (http://www.learnstreet.com), has recently launched (along with courses on JavaScript and Ruby). Our courses are designed for beginners and are fun, engaging and interactive through the use of multiple learning modalities. How is LearnStreet different from other learn-to-code sites you ask? UI/UX: A key aspect of LearnStreet?s courses is its distinct UI/UX. In order to see this, start any one of our courses. Multi-modal: Our courses are designed for beginners, and we have multiple ways to help them learn, including live chat, Twitter, Q&A, hints, videos and background material. http://www.learnstreet.com/lessons/languages/python Code Garage: Like many of you here, if you already know how to code, check out Code Garage where you can try your hand at cool coding projects like building a Mastermind game or a Sudoku Solver. http://www.learnstreet.com/cg/simple/projects/javascript Dev Tools: We?ve culled the web to provide some key resources beyond the core programming language that will help beginners gain a better understanding of what it takes to become a competent coder. http://www.learnstreet.com/dev_tools/ We just launched about a couple of weeks ago and would love to get your thoughts and feedback. We are looking for expert coders to help build out our other courses so check out the Contribute section on our site as well. Thanks Aakash From lakshmi at subhanu.com Wed Oct 17 10:19:04 2012 From: lakshmi at subhanu.com (Lakshmi Basavaraju) Date: Wed, 17 Oct 2012 13:49:04 +0530 Subject: [BangPypers] Python Dev Needed for an Exciting New Online E-retailer Message-ID: We are seeking Software Developer ? e-retailing for one of our client which is "An Exciting New Online Retailer that is Transforming Shopping for the Homemaker in India" The company provides the next level of shopping experience for discerning customers. An experience that blends the benefits of modern retail in terms of range, quality and value with the benefits of conventional retailing (Kirana stores, mom & pop stores) in terms of convenience, customer knowledge & customer relationship. The company is on a hyper growth mode and now is the time to join them. If and when you join them you get to drive a good portion of their efforts towards the following goals: To achieve and sustain industry-leading customer satisfaction indices To be most preferred online retailer for home needs in India by 2012 To be the number one online retailer in India by 2015 The founders, suppliers and service partners have leveraged their decades of professional and entrepreneurial experience across various geographies in the domains of Retail, IT, Supply Chain, Consumer Marketing and e-commerce to design and offer a unique paradigm of personalized retailing experiences. Job Opening: The role is exciting in terms of the new shopping and experience platforms being designed and implemented for online shopping. Software Developer Location: Bangalore Experience: 1 - 3 yrs Your Qualifications: Degree like B.E, B.Tech, MCA or BCA. Most important, happy to do programming towards a purpose, and not just content to say that you have a certificate from a university or a certifying authority. Skills required: * Strong Python Knowledge * Experience in developing Web applications using Django * Good knowledge in Linux preferably Ubuntu * HTML, CSS, Javascript and browser-compatibility development * MySQL * Unit Testing (PyUnit), Integration Testing * Bug Reporting / Status Reporting * Experience in e-commerce apps is an added advantage. Interested candidates pls rush your profiles to lakshmi at subhanu.comfor more details. Thanks & best regards, Lakshmi -------------- next part -------------- ? **Job Description** The core responsibility is to deliver world class performance websites/ web apps, using Python, Django. * Web Development (any Python frameworks like Django) * MySQL * HTML, CSS, Javascript and E-commerce apps is a big plus. **Education** * (UG - B.Tech/B.E. - Any Specialization, Computers, Electrical, Electronics/Telecomunication) OR (PG - MCA - Computers, M.Sc - Any Specialization, Computers, Electronics, Any PG Course - Any Specialization) The Co provides the next level of shopping experience for its customers. An experience that blends benefits of modern retail in terms of range, quality, value with the benefits of conventional retailing. They are on a hyper growth mode now........ * **Contact**: Lakshmi B * **Email**: lakshmi at subhanu.com * **Other contact info**: 9740987439 From basilkurian at gmail.com Wed Oct 17 16:12:52 2012 From: basilkurian at gmail.com (Basil Kurian) Date: Wed, 17 Oct 2012 19:42:52 +0530 Subject: [BangPypers] regarding profiling Message-ID: Hi I 'm trying out some python puzzles in interviewstreet.com. Most of the time , when I submit my code , during testing process , it will get timed out since the execution is taking too much time (for big input values). I tried profiling the program execution using cprofile. Still can't find anyoperations that is taking too much time. Can someone help me identify the time-consuming part in the code [bkurian at Ic3w4lker ~]$ cat xor.py #!/usr/bin/env python import sys count=int(raw_input()) while count > 0: param=raw_input() param=param.split() param=[int(x) for x in param] x_arg=raw_input() x_arg=x_arg.split() x_arg=[int(x) for x in x_arg] val=param[1] while val >0: data=raw_input() data=data.split() data=[int(x) for x in data] a,p,q=data max=0 for x in x_arg[p-1:q]: if x^a > max: max=x^a print max val-=1 count-=1 [bkurian at Ic3w4lker ~]$ cat inpt 1 15 8 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 10 6 10 1023 7 7 33 5 8 182 5 10 181 1 13 5 10 15 99 8 9 33 10 14 [bkurian at Ic3w4lker ~]$ cat inpt | python -m cProfile xor.py 13 1016 41 191 191 15 107 47 23 function calls in 0.000 seconds Ordered by: standard name ncalls tottime percall cumtime percall filename:lineno(function) 1 0.000 0.000 0.000 0.000 xor.py:2() 1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects} 10 0.000 0.000 0.000 0.000 {method 'split' of 'str' objects} 11 0.000 0.000 0.000 0.000 {raw_input} [bkurian at Ic3w4lker ~]$ -- Regards Basil From phil.nabble at hanjinet.org Wed Oct 17 15:38:29 2012 From: phil.nabble at hanjinet.org (Philippe May) Date: Wed, 17 Oct 2012 19:08:29 +0530 Subject: [BangPypers] Multilevel SSH in Python (davidsnt) In-Reply-To: References: Message-ID: <507EB4D5.1020205@hanjinet.org> Noufal's suggestion is great (as usual). Twisted might be a valid alternative as it give access to the full protocol stacks and lets you plug in what you need in pure python (see the connection object below). This recent talk seems also to be related to this topic (long video): http://www.youtube.com/watch?v=DUm-ZBEmVUE Philippe import sys import os from twisted.conch import error from twisted.internet import defer from twisted.conch.ssh import transport, connection from twisted.conch.ssh import keys, userauth from twisted.conch.ssh import channel, common from twisted.internet import protocol, reactor from twisted.python import log class ClientTransport(transport.SSHClientTransport): def verifyHostKey(self, pubKey, fingerprint): ## If you want to verify the host key: #if fingerprint != "e8:68:7a:7a:a2:5e:fd:fa:94:f5:c8:2a:c1:10:80:5b": # return defer.fail(error.ConchError('bad key')) #else: # return defer.succeed(1) return defer.succeed(True) def connectionSecure(self): self.requestService(ClientUserAuth(os.getlogin(), ClientConnection())) class ClientUserAuth(userauth.SSHUserAuthClient): publicKey = keys.Key.fromFile(os.path.join(os.path.expanduser("~"), ".ssh", "id_dsa.pub")) privateKey = keys.Key.fromFile(os.path.join(os.path.expanduser("~"), ".ssh", "id_dsa")) def getPassword(self, prompt = None): return # this says we won't do password authentication def getPublicKey(self): return self.publicKey def getPrivateKey(self): return defer.succeed(self.privateKey) class ClientConnection(connection.SSHConnection): def serviceStarted(self): self.openChannel(CatChannel(conn = self)) class CatChannel(channel.SSHChannel): name = 'session' def channelOpen(self, data): d = self.conn.sendRequest(self, 'exec', common.NS('cat'), wantReply = 1) d.addCallback(self._cbSendRequest) self.catData = '' def _cbSendRequest(self, ignored): self.write('This data will be echoed back to us by "cat."') def dataReceived(self, data): self.catData += data self.loseConnection() def closed(self): print 'We got this from "cat":', self.catData reactor.stop() def main(): factory = protocol.ClientFactory() factory.protocol = ClientTransport reactor.connectTCP('localhost', 22, factory) ## Log all to stdout log.startLogging(sys.stdout, setStdout=0) reactor.run() if __name__ == "__main__": main() From karra.etc at gmail.com Wed Oct 17 19:21:58 2012 From: karra.etc at gmail.com (Sriram Karra) Date: Wed, 17 Oct 2012 22:51:58 +0530 Subject: [BangPypers] regarding profiling In-Reply-To: References: Message-ID: On Wed, Oct 17, 2012 at 7:42 PM, Basil Kurian wrote: > Hi > > I 'm trying out some python puzzles in interviewstreet.com. Most of the > time , when I submit my code , during testing process , it will get timed > out since the execution is taking too much time (for big input values). > > I tried profiling the program execution using cprofile. Still can't > find any operations that is taking too much time. > I did not try too hard, but reading your code I can't figure out what it's trying to achieve. I have two suggestions: 1. You obviously have a nested loop 3 levels deep, which has to be your number 1 suspect. Perhaps it is not required to solve the problem, and a different approach is called for. Describe the problem statement in brief and someone may be able to shed some light. 2. Write a small script to generate very large input test files so you can get more meaningful profile information from cprofile. -Karra From basilkurian at gmail.com Wed Oct 17 20:03:13 2012 From: basilkurian at gmail.com (Basil Kurian) Date: Wed, 17 Oct 2012 23:33:13 +0530 Subject: [BangPypers] regarding profiling In-Reply-To: References: Message-ID: Thanks Sriram for the suggestions. This is the puzzle that I 'm trying to solve. https://www.interviewstreet.com/challenges/dashboard/#problem/4ed3f9935ae8b. My program is giving correct output for the sample inputs, given with the question. However for a bigger input data , it is taking too much time. Let me see if I could generate a bigger input for the program On 17 October 2012 22:51, Sriram Karra wrote: > On Wed, Oct 17, 2012 at 7:42 PM, Basil Kurian > wrote: > > > Hi > > > > I 'm trying out some python puzzles in interviewstreet.com. Most of the > > time , when I submit my code , during testing process , it will get timed > > out since the execution is taking too much time (for big input values). > > > > I tried profiling the program execution using cprofile. Still can't > > find any operations that is taking too much time. > > > > I did not try too hard, but reading your code I can't figure out what it's > trying to achieve. I have two suggestions: > > 1. You obviously have a nested loop 3 levels deep, which has to be your > number 1 suspect. Perhaps it is not required to solve the problem, and a > different approach is called for. Describe the problem statement in brief > and someone may be able to shed some light. > > 2. Write a small script to generate very large input test files so you can > get more meaningful profile information from cprofile. > -Karra > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Regards Basil From davidsnt at gmail.com Wed Oct 17 20:53:45 2012 From: davidsnt at gmail.com (davidsnt) Date: Thu, 18 Oct 2012 00:23:45 +0530 Subject: [BangPypers] Multilevel SSH in Python (davidsnt) In-Reply-To: <507EB4D5.1020205@hanjinet.org> References: <507EB4D5.1020205@hanjinet.org> Message-ID: Great post, really a wonderful tip. Thank you. Davidsanthosh L On Wed, Oct 17, 2012 at 7:08 PM, Philippe May wrote: > Noufal's suggestion is great (as usual). > > Twisted might be a valid alternative as it give access to the full > protocol stacks and lets you plug in what you need in pure python (see the > connection object below). > > This recent talk seems also to be related to this topic (long video): > http://www.youtube.com/watch?**v=DUm-ZBEmVUE > > Philippe > > > import sys > import os > from twisted.conch import error > from twisted.internet import defer > from twisted.conch.ssh import transport, connection > from twisted.conch.ssh import keys, userauth > from twisted.conch.ssh import channel, common > from twisted.internet import protocol, reactor > from twisted.python import log > > class ClientTransport(transport.**SSHClientTransport): > def verifyHostKey(self, pubKey, fingerprint): > ## If you want to verify the host key: > #if fingerprint != "e8:68:7a:7a:a2:5e:fd:fa:94:** > f5:c8:2a:c1:10:80:5b": > # return defer.fail(error.ConchError('**bad key')) > #else: > # return defer.succeed(1) > return defer.succeed(True) > > def connectionSecure(self): > self.requestService(**ClientUserAuth(os.getlogin(), > ClientConnection())) > > > > class ClientUserAuth(userauth.**SSHUserAuthClient): > publicKey = keys.Key.fromFile(os.path.**join(os.path.expanduser("~"), > ".ssh", "id_dsa.pub")) > privateKey = keys.Key.fromFile(os.path.**join(os.path.expanduser("~"), > ".ssh", "id_dsa")) > > def getPassword(self, prompt = None): > return > # this says we won't do password authentication > > def getPublicKey(self): > return self.publicKey > > def getPrivateKey(self): > return defer.succeed(self.privateKey) > > > class ClientConnection(connection.**SSHConnection): > > def serviceStarted(self): > self.openChannel(CatChannel(**conn = self)) > > > > class CatChannel(channel.SSHChannel)**: > > name = 'session' > > def channelOpen(self, data): > d = self.conn.sendRequest(self, 'exec', common.NS('cat'), > wantReply = 1) > d.addCallback(self._**cbSendRequest) > self.catData = '' > > def _cbSendRequest(self, ignored): > self.write('This data will be echoed back to us by "cat."') > > def dataReceived(self, data): > self.catData += data > self.loseConnection() > > def closed(self): > print 'We got this from "cat":', self.catData > reactor.stop() > > > > def main(): > factory = protocol.ClientFactory() > factory.protocol = ClientTransport > reactor.connectTCP('localhost'**, 22, factory) > ## Log all to stdout > log.startLogging(sys.stdout, setStdout=0) > reactor.run() > > if __name__ == "__main__": > main() > > ______________________________**_________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/**mailman/listinfo/bangpypers > From vnbang2003 at yahoo.com Thu Oct 18 04:31:32 2012 From: vnbang2003 at yahoo.com (vijay) Date: Thu, 18 Oct 2012 10:31:32 +0800 (SGT) Subject: [BangPypers] Help in understanding Hadoop with python In-Reply-To: <20121010063113.53000@gmx.com> References: <20121010063113.53000@gmx.com> Message-ID: <1350527492.42978.YahooMailNeo@web192201.mail.sg3.yahoo.com> Yoganand, ? ? Thanks for helping . Will give try on this . With Thanks Vijay ________________________________ From: Yoganand Anandaraju To: vijay ; Bangalore Python Users Group - India Sent: Wednesday, 10 October 2012 12:01 PM Subject: Re: [BangPypers] Help in understanding Hadoop with python You can write python map-reduce for hadoop by using HadoopStreaming. Take a look at this example?http://www.michael-noll.com/tutorials/writing-an-hadoop-mapreduce-program-in-python/. For processing Bigdata, I suggest take a look at Disco Framework?http://discoproject.org/. I felt it was much easier using disco than Hadoop. thanks, Yoganand? ? ----- Original Message ----- >From: vijay >Sent: 10/10/12 11:41 AM >To: Bangalore Python Users Group - India >Subject: [BangPypers] Help in understanding Hadoop with python > >Hi , ? ?I am planing to use hadoop for processing millions record text file for my project .Am looking for?suggestion on hadoop with python programs. ? ?If any one has used do let me know. ? ? With Thanks Vijay _______________________________________________ BangPypers mailing list BangPypers at python.org http://mail.python.org/mailman/listinfo/bangpypers From jaganadhg at gmail.com Thu Oct 18 04:57:13 2012 From: jaganadhg at gmail.com (JAGANADH G) Date: Thu, 18 Oct 2012 08:27:13 +0530 Subject: [BangPypers] Help in understanding Hadoop with python In-Reply-To: <1349849499.33072.YahooMailNeo@web192202.mail.sg3.yahoo.com> References: <1349849499.33072.YahooMailNeo@web192202.mail.sg3.yahoo.com> Message-ID: On Wed, Oct 10, 2012 at 11:41 AM, vijay wrote: > Hi , > I am planing to use hadoop for processing millions record text file for > my project .Am looking for suggestion on hadoop with python programs. > If any one has used do let me know. > Hi You have following options in Hadoop + Python 1) Use of Hadoop streaming API where you can write Map and Reduce programs and stream it 2) Use disco or dumbo projects which has a pure python API for performing Hadoop Map Reduce 3) Use Pydoop (http://pydoop.sourceforge.net/docs/) which is a Python API for working with Hadoop and Python Best regards -- ********************************** JAGANADH G http://jaganadhg.in *ILUGCBE* http://ilugcbe.org.in From deepakgarg.iitg at gmail.com Mon Oct 8 13:37:24 2012 From: deepakgarg.iitg at gmail.com (Deepak Garg) Date: Mon, 8 Oct 2012 17:07:24 +0530 Subject: [BangPypers] [OT] 2Weekends Event Message-ID: It will be nice to see some Python ideas/startups too in the 2Weekends Event. Please find the details attached. http://2weekends.bootstrapbangalore.net/ Cheers, -- Deepak Garg, Data Center and Cloud Div. Citrix R&D, India Phone-no.:+917829866870 Github: https://github.com/gargdeepak LinkedIn: http://in.linkedin.com/in/deepakgargiit Slideshare: http://www.slideshare.net/khinnu4u/presentations Skype-id: deepakgarg.iit From abpillai at gmail.com Thu Oct 18 08:50:23 2012 From: abpillai at gmail.com (Anand B Pillai) Date: Thu, 18 Oct 2012 12:20:23 +0530 Subject: [BangPypers] Starting a Pune User Group. In-Reply-To: <79306993-38F6-4179-B4A1-0489E407C29D@gmail.com> References: <79306993-38F6-4179-B4A1-0489E407C29D@gmail.com> Message-ID: On Tue, Oct 2, 2012 at 12:15 AM, Satyajit Ranjeev < satyajit.ranjeev at gmail.com> wrote: > Hi, > > I have been inspired by the community of Pythonists in Bangalore and the > contribution they have put in for the whole Python community in India. > PyCon India 2012 was just great. Kuddos to all the organisers and > volunteers. > > When I moved to Pune I was looking for a user group and found the link > broken, it still is. If there were meet-ups I have missed them all. We seem > to be doing very little in Pune. (Correct me if I am wrong please.) > > Strike while the iron is hot. Everyone is filled with energy from PyCon, > and I feel this is the best time to leverage it. I propose to start a > Python user group in Pune. I have created a mailing list: > http://mail.python.org/mailman/listinfo/python-pune > > I would love to hear your advices and suggestions from the wonderful > community of Bangalore. I believe a lot of Pune users are using the > Bangpypers list like me and would request them to join it. It would be nice > to have meet-ups and a active community in Pune. > > Meet often, discuss often. This is how BangPypers grew after we started the list in early 2005. We used to have meetings every month and sometimes twice a month. There was a lot of untapped energy that flowed into these meetings and discussions which helped the list (and eventually the conference) to take off in a big way. Also get creative with the name - Python Pune can be made better. If you ask me, "PyPoona" or "PyPune" has more bang (pun intended). > > Satyajit > > http://satyajit.ranjeev.in > > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Regards, --Anand From deepakgarg.iitg at gmail.com Thu Oct 18 09:24:10 2012 From: deepakgarg.iitg at gmail.com (Deepak Garg) Date: Thu, 18 Oct 2012 12:54:10 +0530 Subject: [BangPypers] BangPypers meetup In-Reply-To: <5076401c.9d84d80a.5218.fffff0f8SMTPIN_ADDED@mx.google.com> References: <50763053.c5d8d80a.2687.7713SMTPIN_ADDED@mx.google.com> <5076401c.9d84d80a.5218.fffff0f8SMTPIN_ADDED@mx.google.com> Message-ID: Sunil, please update some contact details on the event page so that if anyone has issue reaching the place, they have someone to call. If anyone else would like to present something please reply back or update the page yourself. http://www.meetup.com/BangPypers/events/86481052/ Cheers, Deepak On Thu, Oct 11, 2012 at 9:11 AM, Sunil Murthy wrote: > I have updated the address to 1312 (2nd Floor), 20th Main, 9th Cross, 2nd > Phase J.P.Nagar, Bangalore - 560 078. The landmark is JP Nagar Police > Station / Rangashankara. > > - Sunil > > -----Original Message----- > From: BangPypers > [mailto:bangpypers-bounces+sunil.murthy=infotoros.com at python.org] On > Behalf > Of Deepak Garg > Sent: 11 October 2012 08:54 > To: Bangalore Python Users Group - India > Subject: Re: [BangPypers] BangPypers meetup > > Thanks Sunil, > > I have scheduled a meetup here: > http://www.meetup.com/BangPypers/events/86481052/ > > Everyone can edit this. So, please update the address of the place. > > If anyone would like to present something there, please update the > 'Details' > of the meetup event or reply back on this thread. > > > > Cheers, > Deepak > > > > On Thu, Oct 11, 2012 at 8:04 AM, Sunil Murthy > wrote: > > > Thanks Deepak. Looking forward to the meetup. I suppose Nov 10th works > > well since the previous weekend is Karnataka Rajyotsava holiday > > weekend and there may be folks going out of town. I'll be happy to > > host in our office in J.P.Nagar. > > > > > > > > Any topic suggestions? Like to suggest django-social-auth and facebook > > integration. > > > > > > > > Sunil > > > > > > > > _____ > > > > HI All, > > > > We haven't had a meetup for quite some time. How about we have a > > meetup on 10th November, Saturday ? > > > > > > > > Cheers, > > > > -- > > > > Deepak Garg, > > Data Center and Cloud Div. > > Citrix R&D, India > > > > > > Github: https://github.com/gargdeepak > > LinkedIn: http://in.linkedin.com/in/deepakgargiit > > Slideshare: http://www.slideshare.net/khinnu4u/presentations > > Skype-id: deepakgarg.iit > > _____ > > > > > > > > > > > > > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > http://mail.python.org/mailman/listinfo/bangpypers > > > > > > -- > > Deepak Garg, > Data Center and Cloud Div. > Citrix R&D, India > Phone-no.:+917829866870 > > Github: https://github.com/gargdeepak > LinkedIn: http://in.linkedin.com/in/deepakgargiit > Slideshare: http://www.slideshare.net/khinnu4u/presentations > Skype-id: deepakgarg.iit > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Deepak Garg, Data Center and Cloud Div. Citrix R&D, India Phone-no.:+917829866870 Github: https://github.com/gargdeepak LinkedIn: http://in.linkedin.com/in/deepakgargiit Slideshare: http://www.slideshare.net/khinnu4u/presentations Skype-id: deepakgarg.iit From anandology at gmail.com Thu Oct 18 09:28:54 2012 From: anandology at gmail.com (Anand Chitipothu) Date: Thu, 18 Oct 2012 12:58:54 +0530 Subject: [BangPypers] BangPypers meetup In-Reply-To: References: <50763053.c5d8d80a.2687.7713SMTPIN_ADDED@mx.google.com> <5076401c.9d84d80a.5218.fffff0f8SMTPIN_ADDED@mx.google.com> Message-ID: On Thu, Oct 18, 2012 at 12:54 PM, Deepak Garg wrote: > Sunil, please update some contact details on the event page so that if > anyone has issue reaching the place, they have someone to call. > > If anyone else would like to present something please reply back or update > the page yourself. > > http://www.meetup.com/BangPypers/events/86481052/ I strongly suggest that you make an agenda and find some speakers before finalizing the meeting. Just one or two people turned up for past 2 meetings even though the meetup count show double digits. Anand From shameek09 at gmail.com Thu Oct 18 10:00:40 2012 From: shameek09 at gmail.com (shameek ghosh) Date: Thu, 18 Oct 2012 13:30:40 +0530 Subject: [BangPypers] Starting a Pune User Group. In-Reply-To: References: <79306993-38F6-4179-B4A1-0489E407C29D@gmail.com> Message-ID: Hi, I was looking for a group like this for some time in Pune. Thanks for creating the same.I have joined. Regards, Shameek https://sites.google.com/site/shameek09/ On Thu, Oct 18, 2012 at 12:20 PM, Anand B Pillai wrote: > On Tue, Oct 2, 2012 at 12:15 AM, Satyajit Ranjeev < > satyajit.ranjeev at gmail.com> wrote: > > > Hi, > > > > I have been inspired by the community of Pythonists in Bangalore and the > > contribution they have put in for the whole Python community in India. > > PyCon India 2012 was just great. Kuddos to all the organisers and > > volunteers. > > > > When I moved to Pune I was looking for a user group and found the link > > broken, it still is. If there were meet-ups I have missed them all. We > seem > > to be doing very little in Pune. (Correct me if I am wrong please.) > > > > Strike while the iron is hot. Everyone is filled with energy from PyCon, > > and I feel this is the best time to leverage it. I propose to start a > > Python user group in Pune. I have created a mailing list: > > http://mail.python.org/mailman/listinfo/python-pune > > > > I would love to hear your advices and suggestions from the wonderful > > community of Bangalore. I believe a lot of Pune users are using the > > Bangpypers list like me and would request them to join it. It would be > nice > > to have meet-ups and a active community in Pune. > > > > > Meet often, discuss often. This is how BangPypers grew after we started > the > list in early 2005. We used to have meetings every month and sometimes > twice a month. There was a lot of untapped energy that flowed into these > meetings and discussions which helped the list (and eventually the > conference) to take off in a big way. > > Also get creative with the name - Python Pune can be made better. > If you ask me, "PyPoona" or "PyPune" has more bang (pun intended). > > > > > > Satyajit > > > > http://satyajit.ranjeev.in > > > > > > > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > http://mail.python.org/mailman/listinfo/bangpypers > > > > > > -- > Regards, > > --Anand > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- "A mind stretched to a new idea, never goes back to its original dimensions" From noufal at nibrahim.net.in Thu Oct 18 10:04:31 2012 From: noufal at nibrahim.net.in (Noufal Ibrahim) Date: Thu, 18 Oct 2012 13:34:31 +0530 Subject: [BangPypers] BangPypers meetup In-Reply-To: (Deepak Garg's message of "Thu, 18 Oct 2012 12:54:10 +0530") References: <50763053.c5d8d80a.2687.7713SMTPIN_ADDED@mx.google.com> <5076401c.9d84d80a.5218.fffff0f8SMTPIN_ADDED@mx.google.com> Message-ID: <87bog0kxyo.fsf@sanitarium.localdomain> Deepak Garg writes: > Sunil, please update some contact details on the event page so that if > anyone has issue reaching the place, they have someone to call. > > If anyone else would like to present something please reply back or update > the page yourself. > > http://www.meetup.com/BangPypers/events/86481052/ I'll try to make it. Any topics planned? [...] -- Cordially, Noufal http://nibrahim.net.in From deepakgarg.iitg at gmail.com Thu Oct 18 11:04:29 2012 From: deepakgarg.iitg at gmail.com (Deepak Garg) Date: Thu, 18 Oct 2012 14:34:29 +0530 Subject: [BangPypers] BangPypers meetup In-Reply-To: References: <50763053.c5d8d80a.2687.7713SMTPIN_ADDED@mx.google.com> <5076401c.9d84d80a.5218.fffff0f8SMTPIN_ADDED@mx.google.com> Message-ID: Replies inline below. > > Sunil, please update some contact details on the event page so that if > > anyone has issue reaching the place, they have someone to call. > > > > If anyone else would like to present something please reply back or > update > > the page yourself. > > > > http://www.meetup.com/BangPypers/events/86481052/ > > I strongly suggest that you make an agenda and find some speakers > before finalizing the meeting. [Deepak] One topic/speaker is already confirmed and I am ready with one topic. I am waiting for more people to come ahead in which case I will skip my topic. > Just one or two people turned up for > past 2 meetings even though the meetup count show double digits. > [Deepak] The last one I had attended was June meetup which had nearly 25 guys and the topics/talks were good. I am not sure how was the July meetup ( the one with Pycon discussion ). Which particular meetup are you talking about ? However, the meetup is on November 10 and I had floated it early, so that more people can plan regarding presenting/attending and we have enough time for marketing. Hope its fine. Deepak > > Anand > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Deepak Garg, Data Center and Cloud Div. Citrix R&D, India Phone-no.:+917829866870 Github: https://github.com/gargdeepak LinkedIn: http://in.linkedin.com/in/deepakgargiit Slideshare: http://www.slideshare.net/khinnu4u/presentations Skype-id: deepakgarg.iit From noufal at nibrahim.net.in Thu Oct 18 11:06:02 2012 From: noufal at nibrahim.net.in (Noufal Ibrahim) Date: Thu, 18 Oct 2012 14:36:02 +0530 Subject: [BangPypers] BangPypers meetup In-Reply-To: (Deepak Garg's message of "Thu, 18 Oct 2012 14:34:29 +0530") References: <50763053.c5d8d80a.2687.7713SMTPIN_ADDED@mx.google.com> <5076401c.9d84d80a.5218.fffff0f8SMTPIN_ADDED@mx.google.com> Message-ID: <87txtsjgjp.fsf@sanitarium.localdomain> Deepak Garg writes: [...] > [Deepak] The last one I had attended was June meetup which had nearly 25 > guys and the topics/talks were good. I am not sure how was the July meetup > ( the one with Pycon discussion ). Which particular meetup are you talking > about ? > However, the meetup is on November 10 and I had floated it early, so that > more people can plan regarding presenting/attending and we have enough time > for marketing. +1 to the effort. What are the topics planned? [...] -- Cordially, Noufal http://nibrahim.net.in From deepakgarg.iitg at gmail.com Thu Oct 18 11:10:53 2012 From: deepakgarg.iitg at gmail.com (Deepak Garg) Date: Thu, 18 Oct 2012 14:40:53 +0530 Subject: [BangPypers] BangPypers meetup In-Reply-To: <87bog0kxyo.fsf@sanitarium.localdomain> References: <50763053.c5d8d80a.2687.7713SMTPIN_ADDED@mx.google.com> <5076401c.9d84d80a.5218.fffff0f8SMTPIN_ADDED@mx.google.com> <87bog0kxyo.fsf@sanitarium.localdomain> Message-ID: One of the topics is confirmed - "Django social-auth" - integrating Django with Open Id framework Noufal, if you can present something on 'Python and C' bindings, it will be nice. I remember we had discussed it sometime back in the ML but never really got the chance. Thanks, Deepak On Thu, Oct 18, 2012 at 1:34 PM, Noufal Ibrahim wrote: > Deepak Garg writes: > > > Sunil, please update some contact details on the event page so that if > > anyone has issue reaching the place, they have someone to call. > > > > If anyone else would like to present something please reply back or > update > > the page yourself. > > > > http://www.meetup.com/BangPypers/events/86481052/ > > I'll try to make it. > > Any topics planned? > > [...] > > > -- > Cordially, > Noufal > http://nibrahim.net.in > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Deepak Garg, Data Center and Cloud Div. Citrix R&D, India Phone-no.:+917829866870 Github: https://github.com/gargdeepak LinkedIn: http://in.linkedin.com/in/deepakgargiit Slideshare: http://www.slideshare.net/khinnu4u/presentations Skype-id: deepakgarg.iit From noufal at nibrahim.net.in Thu Oct 18 11:15:28 2012 From: noufal at nibrahim.net.in (Noufal Ibrahim) Date: Thu, 18 Oct 2012 14:45:28 +0530 Subject: [BangPypers] BangPypers meetup In-Reply-To: (Deepak Garg's message of "Thu, 18 Oct 2012 14:40:53 +0530") References: <50763053.c5d8d80a.2687.7713SMTPIN_ADDED@mx.google.com> <5076401c.9d84d80a.5218.fffff0f8SMTPIN_ADDED@mx.google.com> <87bog0kxyo.fsf@sanitarium.localdomain> Message-ID: <87obk0jg3z.fsf@sanitarium.localdomain> Deepak Garg writes: > One of the topics is confirmed - "Django social-auth" - integrating Django > with Open Id framework > > Noufal, if you can present something on 'Python and C' bindings, it will be > nice. I remember we had discussed it sometime back in the ML but never > really got the chance. I can try. There's some time before the meetup. Can't guarantee it but I think I'll be able to do something. [...] -- Cordially, Noufal http://nibrahim.net.in From sunil.murthy at infotoros.com Thu Oct 18 15:21:13 2012 From: sunil.murthy at infotoros.com (Sunil Murthy) Date: Thu, 18 Oct 2012 18:51:13 +0530 Subject: [BangPypers] BangPypers meetup - Location directions In-Reply-To: References: <50763053.c5d8d80a.2687.7713SMTPIN_ADDED@mx.google.com> <5076401c.9d84d80a.5218.fffff0f8SMTPIN_ADDED@mx.google.com> Message-ID: <00b401cdad33$73eb7300$5bc25900$@murthy@infotoros.com> Here are the additional details crossposted on the meetup page. InfoToros Software (P) Ltd. 1312 (2nd Floor), 20th Main, 9th Cross, 2nd Phase JP Nagar Bangalore - 560 078 Landmarks: Two streets parallel to Rangashankara / JP Nagar Post Office / Aatithya Restaurant One street parallel to JP Nagar Police Station General Directions from Silk Board Jn: Go past BTM Layout on Outer Ring Road Cross Jayadeva / Bannerghatta Road intersection and on continue on to Marenahalli Rd Go past Bangalore Central on your left TURN LEFT on Aurobindo Marg (Jayanagar 11th Main crossing) heading towards JP Nagar (landmarks Raghavendra Swamy Temple corner / Citibank ATM on left) Look for signs to Rangashankara and JP Nagar Police Station and TURN LEFT Go past JP Nagar Post Office/Rangashankara Road Go past JP Nagar Police Station (21st Main) TURN RIGHT into 20th Main Building on your left If there are questions please call: +91-80-26583558 or +91 98451 54877 Sunil -----Original Message----- From: BangPypers [mailto:bangpypers-bounces+sunil.murthy=infotoros.com at python.org] On Behalf Of Deepak Garg Sent: 18 October 2012 12:54 To: Bangalore Python Users Group - India Subject: Re: [BangPypers] BangPypers meetup Sunil, please update some contact details on the event page so that if anyone has issue reaching the place, they have someone to call. If anyone else would like to present something please reply back or update the page yourself. http://www.meetup.com/BangPypers/events/86481052/ Cheers, Deepak On Thu, Oct 11, 2012 at 9:11 AM, Sunil Murthy wrote: > I have updated the address to 1312 (2nd Floor), 20th Main, 9th Cross, > 2nd Phase J.P.Nagar, Bangalore - 560 078. The landmark is JP Nagar > Police Station / Rangashankara. > > - Sunil > > -----Original Message----- > From: BangPypers > [mailto:bangpypers-bounces+sunil.murthy=infotoros.com at python.org] On > Behalf Of Deepak Garg > Sent: 11 October 2012 08:54 > To: Bangalore Python Users Group - India > Subject: Re: [BangPypers] BangPypers meetup > > Thanks Sunil, > > I have scheduled a meetup here: > http://www.meetup.com/BangPypers/events/86481052/ > > Everyone can edit this. So, please update the address of the place. > > If anyone would like to present something there, please update the > 'Details' > of the meetup event or reply back on this thread. > > > > Cheers, > Deepak > > > > On Thu, Oct 11, 2012 at 8:04 AM, Sunil Murthy > wrote: > > > Thanks Deepak. Looking forward to the meetup. I suppose Nov 10th > > works well since the previous weekend is Karnataka Rajyotsava > > holiday weekend and there may be folks going out of town. I'll be > > happy to host in our office in J.P.Nagar. > > > > > > > > Any topic suggestions? Like to suggest django-social-auth and > > facebook integration. > > > > > > > > Sunil > > > > > > > > _____ > > > > HI All, > > > > We haven't had a meetup for quite some time. How about we have a > > meetup on 10th November, Saturday ? > > > > > > > > Cheers, > > > > -- > > > > Deepak Garg, > > Data Center and Cloud Div. > > Citrix R&D, India > > > > > > Github: https://github.com/gargdeepak > > LinkedIn: http://in.linkedin.com/in/deepakgargiit > > Slideshare: http://www.slideshare.net/khinnu4u/presentations > > Skype-id: deepakgarg.iit > > _____ > > > > > > > > > > > > > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > http://mail.python.org/mailman/listinfo/bangpypers > > > > > > -- > > Deepak Garg, > Data Center and Cloud Div. > Citrix R&D, India > Phone-no.:+917829866870 > > Github: https://github.com/gargdeepak > LinkedIn: http://in.linkedin.com/in/deepakgargiit > Slideshare: http://www.slideshare.net/khinnu4u/presentations > Skype-id: deepakgarg.iit > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Deepak Garg, Data Center and Cloud Div. Citrix R&D, India Phone-no.:+917829866870 Github: https://github.com/gargdeepak LinkedIn: http://in.linkedin.com/in/deepakgargiit Slideshare: http://www.slideshare.net/khinnu4u/presentations Skype-id: deepakgarg.iit _______________________________________________ BangPypers mailing list BangPypers at python.org http://mail.python.org/mailman/listinfo/bangpypers From karra.etc at gmail.com Fri Oct 19 04:33:30 2012 From: karra.etc at gmail.com (Sriram Karra) Date: Fri, 19 Oct 2012 08:03:30 +0530 Subject: [BangPypers] regarding profiling In-Reply-To: References: Message-ID: On Wed, Oct 17, 2012 at 11:33 PM, Basil Kurian wrote: > Thanks Sriram for the suggestions. > > This is the puzzle that I 'm trying to solve. > https://www.interviewstreet.com/challenges/dashboard/#problem/4ed3f9935ae8b > . > My program is giving correct output for the sample inputs, given with the > question. However for a bigger input data , it is taking too much time. Let > me see if I could generate a bigger input for the program Hm, this is a hard one. I am out of touch with my algorithms theory, but I can tell you no amount of profiling your existing attempt is going to help you :) You need a way to eliminate the innermost loop and make it like a log(n) type operation. I don't know how :) From sumit786raj at gmail.com Sat Oct 20 13:44:10 2012 From: sumit786raj at gmail.com (SUMIT KUMAR RAJ) Date: Sat, 20 Oct 2012 17:14:10 +0530 Subject: [BangPypers] Python Jobs for Freshers Message-ID: Hi...Everyone ..I am very sorry if my question is not valuable asking here.I attended PyconIndia2012 and learned so much but also felt I need to know more things in Python to explore it more.I am still a student and learning Python.Whenever I see Jobs for Python Developers they ask for mostly experienced guys,So,won't there be any jobs for freshers who can do some work and at the same time learn also .If really not then what should I do from now as I have one year of my study left and I really want to get a job related to Python? -- Regards... ---------------------- Sumit Kumar Raj Software & Web Developer Contact no:-9590283524 Bangalore,India From basilkurian at gmail.com Sat Oct 20 21:31:39 2012 From: basilkurian at gmail.com (Basil Kurian) Date: Sun, 21 Oct 2012 01:01:39 +0530 Subject: [BangPypers] regarding profiling In-Reply-To: References: Message-ID: hmm, yes On 19 October 2012 08:03, Sriram Karra wrote: > On Wed, Oct 17, 2012 at 11:33 PM, Basil Kurian >wrote: > > > Thanks Sriram for the suggestions. > > > > This is the puzzle that I 'm trying to solve. > > > https://www.interviewstreet.com/challenges/dashboard/#problem/4ed3f9935ae8b > > . > > My program is giving correct output for the sample inputs, given with the > > question. However for a bigger input data , it is taking too much time. > Let > > me see if I could generate a bigger input for the program > > > Hm, this is a hard one. I am out of touch with my algorithms theory, but I > can tell you no amount of profiling your existing attempt is going to help > you :) You need a way to eliminate the innermost loop and make it like a > log(n) type operation. I don't know how :) > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Regards Basil From vikasruhil06 at gmail.com Sun Oct 21 08:45:54 2012 From: vikasruhil06 at gmail.com (Vikas Ruhil) Date: Sun, 21 Oct 2012 12:15:54 +0530 Subject: [BangPypers] Software Engineer, Intern for python developers Message-ID: Software Engineer, Intern Want to solve unique, large-scale, highly complex technical problems? Our development cycle is extremely fast, and we've built tools to keep it that way. It's common to write code and have it running live on the site just a few days later. If you work for us, you will make an impact, immediately. Nanoin is seeking interns/co-ops to join our engineering team. You can help build the next generation of systems behind Nanoin's products, create web applications that reach millions of people, build high volume servers and be a part of a team that?s working to help connect people around the globe. This internship/co-op has a minimum twelve (12) week duration. Responsibilities - Create Iphone and android based App's for IP(Internet protocol) CCTV - Create web applications - Implement web interfaces using XHTML, CSS, and JavaScript - Build report interfaces and data feeds Requirements - B.S. / M.S. / PhD Computer Science or related field - Expertise with C++ and/or Java/or Python - Knowledge of Perl or PHP or Python - Knowledge of relational databases and SQL - High levels of creativity and quick problem solving capabilities From pradeepbs at gmail.com Mon Oct 22 05:37:32 2012 From: pradeepbs at gmail.com (Pradeep Banavara) Date: Mon, 22 Oct 2012 09:07:32 +0530 Subject: [BangPypers] Python Jobs for Freshers In-Reply-To: References: Message-ID: Hi Sumit - Python devs are always in demand. If you are keen on looking for a python job follow hasgeek job board or visit internshaala.com and post your resume. If your fundamentals are good you should be able to nail one of those opportunities. -pradeep On Sat, Oct 20, 2012 at 5:14 PM, SUMIT KUMAR RAJ wrote: > Hi...Everyone ..I am very sorry if my question is not valuable asking > here.I attended PyconIndia2012 and learned so much but also felt I > need to know more things in Python to explore it more.I am still a > student and learning Python.Whenever I see Jobs for Python Developers > they ask for mostly experienced guys,So,won't there be any jobs for > freshers who can do some work and at the same time learn also .If > really not then what should I do from now as I have one year of my > study left and I really want to get a job related to Python? > > -- > Regards... > ---------------------- > Sumit Kumar Raj > Software & Web Developer > Contact no:-9590283524 > Bangalore,India > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From k2_santhosh at yahoo.com Mon Oct 22 08:03:43 2012 From: k2_santhosh at yahoo.com (edukulla Santhosh kumar) Date: Sun, 21 Oct 2012 23:03:43 -0700 (PDT) Subject: [BangPypers] [JOB]: Software Programmer In-Reply-To: References: Message-ID: <1350885823.47389.YahooMailNeo@web125205.mail.ne1.yahoo.com> Team, We are looking for a part time\full time developer for a few months( 6 as of now ) contract( Can be extended )of us. Specifically,we are looking at 1/ HTML[5],AJAX,JS( JQUERY\DOJO,ExtJs or any other js frameworks ),MYSQL,Python Additional qualities: 1/ Android, mobile web development 2/ Well versed with google maps or any other open maps Interfaces etc. Education : Any Salary :Not a constraint for right candidate. We need a person who can lend his cues by bringing in innovation to the product and taking it to an extra mile. Please mail "only" to me while replying or in case you have any queries\refernces. Thanks in Advance! Santhosh From govind.menon at beacon.in Fri Oct 19 08:23:58 2012 From: govind.menon at beacon.in (Govind Menon) Date: Fri, 19 Oct 2012 11:53:58 +0530 Subject: [BangPypers] [JOB] - Opening for Python developers with data warehousing exposure Message-ID: <000301cdadc2$5a0a7d70$0e1f7850$@menon@beacon.in> Hi, Beacon Consulting is a Human Resource and IT consulting firm with clear polarization towards candidate care. Established by people with extensive experience in the IT and IT enabled Services segment, Beacon Consulting understands the candidates' needs and aspirations and endeavors to meet their expectations without compromising the client's interests. Beacon Consulting is a young and vibrant organization that believes in understanding and enabling the candidates in their effort to move up the career graph. One of our clients is looking for strong Python developers with the profile given below: Role: Software Engineer - Engineering Location: Bangalore, India Responsibilities: . Design and develop multi-dimensional data models . Design and develop data mart data load strategies . Code primarily in Python / shell scripts . Should be willing to explore and learn new technologies and concepts to have the right kind of solution. . Work on app performance/data load improvements . Work collaboratively across various teams . Deployment of application and production support . Design and implement highly scalable, fault-tolerant, multi-tenant servers and services . Propose, prototype and test positive improvements on scaling transaction processing servers/services Requirements: . Experience in building large scale Data Warehouse solutions/applications is a must. . Experience of SQL, multi-dimensional data modeling for high volume transaction processing, accessing data from data warehouse/mart is a must . Experience in python programming and shell scripting. . Experience in working with column oriented databases like InfoBright, Vertica is a huge advantage. . Experience in working with MySQL databases and knowledge of various database engines like MyISAM, INNODB etc is a huge advantage. . Experienced in Agile/test driven development. . Should have demonstrated capability and willingness to work in a very dynamic and challenging environment. . Passionate about working in small focused teams. . Should be flexible to take up design challenges, process improvements and should be able to work collaboratively with various team. . Experience in Solr/Lucene (full text indexing), is a plus. Required experience and education: * 4-6 years of experience in relevant areas. Degree in Engineering, MCA or equivalent from a recognized university/institute * Current experience in a Product Development / SaaS application development is a big plus Those interested in exploring this opening, please mail me directly at govind.menon at beacon.in or call me at the number given in the signature. Kindly refrain from replying to the mailing list. Thanks and Regards, Govind Menon Beacon Consulting www.beacon.in cell: +91 94483 79144 From aditya.athalye at gmail.com Mon Oct 22 13:29:26 2012 From: aditya.athalye at gmail.com (Aditya Athalye) Date: Mon, 22 Oct 2012 16:59:26 +0530 Subject: [BangPypers] Python Jobs for Freshers (Sumit Kumar Raj) Message-ID: <000a01cdb048$80fcafb0$82f60f10$@gmail.com> Sumit, Here are some more ideas apart from the resources Pradeep Banavara suggested. (Warning to others: this is a longish one.) Sumit Kumar Raj wrote: > > Hi...Everyone ..I am very sorry if my question is not valuable asking > > here.I attended PyconIndia2012 and learned so much but also felt I > > need to know more things in Python to explore it more. > > I am still a student and learning Python... ... These are some python-based Computer Science & Engineering courses you can review: Introduction to Computer Science and Programming [MIT, Boston] # http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-00- introduction-to-computer-science-and-programming-fall-2008/ Learn to Program: The Fundamentals [Univ. of Toronto] ## https://www.coursera.org/course/programming1 An Introduction to Interactive Programming in Python [Rice University, Houston] # https://www.coursera.org/course/interactivepython You could also explore online programming courses: # http://www.learnpython.org/ # http://www.learnstreet.com/lessons/languages/python And these are a few discussions / resources you can choose to refer to. Lots of people on the Internet with your exact same problem :) # http://stackoverflow.com/questions/3088/best-ways-to-teach-a-beginner-to-pro gram # http://www.quora.com/Python-programming-language-1/How-can-I-learn-to-progra m-in-Python # http://wiki.python.org/moin/BeginnersGuide > > ...any jobs for freshers who can do some work and at the same time learn also. > > If really not then what should I do from now as I have one year of my > > study left and I really want to get a job related to Python? I too am a newbie to Python, and I suspect a job will be hard to come by unless one has something solid to show - like a GitHub repo with code for a non-trivial application one has written from scratch. And/or one could take a shot at problem sets and post the results on a blog (or GitHub repo). Something like this: http://wiki.python.org/moin/ProblemSets. The point is that one's work should demonstrate interest in and understanding of both, technical aspects and real-world skills. By "technical aspects" I mean fundamentals of computation, python syntax etc. and by real-world skills I mean familiarity with using DVCS, APIs, third-party services etc... something on the lines of the skills this task requires: http://www.helpshift.com/jobs/task/. Having said that, you could also try to ask around for companies that offer programming apprenticeships. As a beginner, I'm finding it useful to cultivate the attitude and learning process of an apprentice. I've been collecting some links on this subject, which you can refer to here: http://adityaathalye.wordpress.com/2012/10/15/the-jedi-protocol/. Good luck! Best, Aditya www.adityaathalye.com From baskar.krishnan at jouve.in Tue Oct 30 14:13:03 2012 From: baskar.krishnan at jouve.in (Baskar K) Date: Tue, 30 Oct 2012 18:43:03 +0530 Subject: [BangPypers] Change the "From:" address using python smtplib Message-ID: Hi, I am new to python, and I am writing the code to send a mail. It works but i need to change the from address of the mail but it takes the authentication mail id as from address. Please help me import smtplib, os from email.MIMEMultipart import MIMEMultipart from email.MIMEBase import MIMEBase from email.MIMEText import MIMEText from email.Utils import COMMASPACE, formatdate from email import Encoders def send_mail(send_from, send_to, subject, text, files=[], server=" smtp.gmail.com:587"): assert type(send_to)==list assert type(files)==list msg = MIMEMultipart() msg['From'] = send_from msg['To'] = COMMASPACE.join(send_to) msg['Date'] = formatdate(localtime=True) msg['Subject'] = subject msg.attach( MIMEText(text) ) for f in files: part = MIMEBase('application', "octet-stream") part.set_payload( open(f,"rb").read() ) Encoders.encode_base64(part) part.add_header('Content-Disposition', 'attachment; filename="%s"' % os.path.basename(f)) msg.attach(part) smtp = smtplib.SMTP(server) smtp.ehlo() smtp.starttls() smtp.ehlo smtp.login('baskar.krishnan at gmail.com', 'password') smtp.sendmail(send_from, send_to, msg.as_string()) smtp.close() files = ['Config.ini', 'mail_ini.txt'] send_to = ['baskar.krishnan at gmail.com'] send_mail('mahadevan.m at gmail.com', send_to, 'test subject', 'body matter', files) Thanks in advance Baski From gopalakrishnan.subramani at gmail.com Tue Oct 30 18:06:00 2012 From: gopalakrishnan.subramani at gmail.com (Gopalakrishnan Subramani) Date: Tue, 30 Oct 2012 22:36:00 +0530 Subject: [BangPypers] Change the "From:" address using python smtplib In-Reply-To: References: Message-ID: As per SPF, http://en.wikipedia.org/wiki/Sender_Policy_Framework and email server handling, your emails will be placed in junk mails in most of the mail server. As per your script, you send email from an email id which is different than the one which is used for authentication. Most of the SMTP servers (your outgoing servers such as smtp.gmail.com) would not care what is in the from address of MIMEMultipart or simply SMTP's FROM header. You could add the following to forge (although you send using differ account), this is called as on-behalf-of. msg.add_header('reply-to', send_from) # 'mahadevan.m at gmail.com' would get reply when recipient replies msg['From'] = send_from + ' <' + smtp_login_mail + '>' # peacefully valid in smtp terms. many social network sites send mail using this idea if you use custom domain, make sure you have SPF records setup. On Tue, Oct 30, 2012 at 6:43 PM, Baskar K wrote: > Hi, I am new to python, and I am writing the code to send a mail. It works > but i need to change the from address of the mail but it takes the > authentication mail id as from address. Please help me > > import smtplib, os > from email.MIMEMultipart import MIMEMultipart > from email.MIMEBase import MIMEBase > from email.MIMEText import MIMEText > from email.Utils import COMMASPACE, formatdate > from email import Encoders > > def send_mail(send_from, send_to, subject, text, files=[], server=" > smtp.gmail.com:587"): > assert type(send_to)==list > assert type(files)==list > > msg = MIMEMultipart() > msg['From'] = send_from > msg['To'] = COMMASPACE.join(send_to) > msg['Date'] = formatdate(localtime=True) > msg['Subject'] = subject > > msg.attach( MIMEText(text) ) > > for f in files: > part = MIMEBase('application', "octet-stream") > part.set_payload( open(f,"rb").read() ) > Encoders.encode_base64(part) > part.add_header('Content-Disposition', 'attachment; > filename="%s"' % os.path.basename(f)) > msg.attach(part) > > smtp = smtplib.SMTP(server) > smtp.ehlo() > smtp.starttls() > smtp.ehlo > smtp.login('baskar.krishnan at gmail.com', 'password') > smtp.sendmail(send_from, send_to, msg.as_string()) > smtp.close() > > files = ['Config.ini', 'mail_ini.txt'] > send_to = ['baskar.krishnan at gmail.com'] > send_mail('mahadevan.m at gmail.com', send_to, 'test subject', 'body > matter', files) > > Thanks in advance > Baski > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From baskar.krishnan at jouve.in Wed Oct 31 07:10:57 2012 From: baskar.krishnan at jouve.in (Baskar K) Date: Wed, 31 Oct 2012 11:40:57 +0530 Subject: [BangPypers] Change the "From:" address using python smtplib In-Reply-To: References: Message-ID: Hi It works, Great!!!. Thanks... Regards Baskar K On Tue, Oct 30, 2012 at 10:36 PM, Gopalakrishnan Subramani < gopalakrishnan.subramani at gmail.com> wrote: > As per SPF, http://en.wikipedia.org/wiki/Sender_Policy_Framework and email > server handling, your emails will be placed in junk mails in most of the > mail server. > > As per your script, you send email from an email id which is different > than the one which is used for authentication. Most of the SMTP servers > (your outgoing servers such as smtp.gmail.com) would not care what is in > the from address of MIMEMultipart or simply SMTP's FROM header. > > You could add the following to forge (although you send using differ > account), this is called as on-behalf-of. > > msg.add_header('reply-to', send_from) # 'mahadevan.m at gmail.com' would get > reply when recipient replies > msg['From'] = send_from + ' <' + smtp_login_mail + '>' # peacefully valid > in smtp terms. many social network sites send mail using this idea > > if you use custom domain, make sure you have SPF records setup. > > > > > On Tue, Oct 30, 2012 at 6:43 PM, Baskar K > wrote: > > > Hi, I am new to python, and I am writing the code to send a mail. It > works > > but i need to change the from address of the mail but it takes the > > authentication mail id as from address. Please help me > > > > import smtplib, os > > from email.MIMEMultipart import MIMEMultipart > > from email.MIMEBase import MIMEBase > > from email.MIMEText import MIMEText > > from email.Utils import COMMASPACE, formatdate > > from email import Encoders > > > > def send_mail(send_from, send_to, subject, text, files=[], server=" > > smtp.gmail.com:587"): > > assert type(send_to)==list > > assert type(files)==list > > > > msg = MIMEMultipart() > > msg['From'] = send_from > > msg['To'] = COMMASPACE.join(send_to) > > msg['Date'] = formatdate(localtime=True) > > msg['Subject'] = subject > > > > msg.attach( MIMEText(text) ) > > > > for f in files: > > part = MIMEBase('application', "octet-stream") > > part.set_payload( open(f,"rb").read() ) > > Encoders.encode_base64(part) > > part.add_header('Content-Disposition', 'attachment; > > filename="%s"' % os.path.basename(f)) > > msg.attach(part) > > > > smtp = smtplib.SMTP(server) > > smtp.ehlo() > > smtp.starttls() > > smtp.ehlo > > smtp.login('baskar.krishnan at gmail.com', 'password') > > smtp.sendmail(send_from, send_to, msg.as_string()) > > smtp.close() > > > > files = ['Config.ini', 'mail_ini.txt'] > > send_to = ['baskar.krishnan at gmail.com'] > > send_mail('mahadevan.m at gmail.com', send_to, 'test subject', 'body > > matter', files) > > > > Thanks in advance > > Baski > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > http://mail.python.org/mailman/listinfo/bangpypers > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From nitin.nitp at gmail.com Wed Oct 31 10:02:32 2012 From: nitin.nitp at gmail.com (Nitin Kumar) Date: Wed, 31 Oct 2012 14:32:32 +0530 Subject: [BangPypers] Charging state of windows machine (laptop/notebook) Message-ID: Hi All, Is there any module in python which can be used to track the charging state of laptop (on windows) like its on battery or on power or standby mode? -- Nitin K From 91prashantgaur at gmail.com Wed Oct 31 10:11:44 2012 From: 91prashantgaur at gmail.com (Prashant Gaur) Date: Wed, 31 Oct 2012 14:41:44 +0530 Subject: [BangPypers] Charging state of windows machine (laptop/notebook) In-Reply-To: References: Message-ID: http://www.masnun.me/2010/09/01/python-script-to-monitor-laptop-battery-charge-ubuntulinux-mint.html On Wed, Oct 31, 2012 at 2:32 PM, Nitin Kumar wrote: > Hi All, > > Is there any module in python which can be used to track the charging state > of laptop (on windows) like its on battery or on power or standby mode? > > -- > Nitin K > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Prashant Gaur +91 9717353657 From nitin.nitp at gmail.com Wed Oct 31 10:31:48 2012 From: nitin.nitp at gmail.com (Nitin Kumar) Date: Wed, 31 Oct 2012 15:01:48 +0530 Subject: [BangPypers] Charging state of windows machine (laptop/notebook) In-Reply-To: References: Message-ID: This link is linux specific. I am looking for windows OS machine. On Wed, Oct 31, 2012 at 2:41 PM, Prashant Gaur <91prashantgaur at gmail.com>wrote: > > http://www.masnun.me/2010/09/01/python-script-to-monitor-laptop-battery-charge-ubuntulinux-mint.html > > > On Wed, Oct 31, 2012 at 2:32 PM, Nitin Kumar wrote: > > > Hi All, > > > > Is there any module in python which can be used to track the charging > state > > of laptop (on windows) like its on battery or on power or standby mode? > > > > -- > > Nitin K > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > http://mail.python.org/mailman/listinfo/bangpypers > > > > > > -- > Prashant Gaur > +91 9717353657 > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Nitin K From steve at lonetwin.net Wed Oct 31 11:42:46 2012 From: steve at lonetwin.net (steve) Date: Wed, 31 Oct 2012 16:12:46 +0530 Subject: [BangPypers] Charging state of windows machine (laptop/notebook) In-Reply-To: References: Message-ID: <509100A6.1050806@lonetwin.net> On Wednesday 31 October 2012 03:01 PM, Nitin Kumar wrote: > This link is linux specific. I am looking for windows OS machine. I suspect this would involve doing some low-level interaction with the acpi driver on windows. A quick search didn't show up any generic acpi python module for windows but you can get an idea of what could be involved for example from: http://www.thinkwiki.org/wiki/Python_script_for_Windows_to_control_ThinkPad_features I'd recommend searching for acpi+python+windows or some combination thereof cheers, - steve > > On Wed, Oct 31, 2012 at 2:41 PM, Prashant Gaur > <91prashantgaur at gmail.com>wrote: > >> >> http://www.masnun.me/2010/09/01/python-script-to-monitor-laptop-battery-charge-ubuntulinux-mint.html >> >> >> >> On Wed, Oct 31, 2012 at 2:32 PM, Nitin Kumar wrote: >> >>> Hi All, >>> >>> Is there any module in python which can be used to track the charging >> state >>> of laptop (on windows) like its on battery or on power or standby mode? >>> >>> -- Nitin K _______________________________________________ BangPypers >>> mailing list BangPypers at python.org >>> http://mail.python.org/mailman/listinfo/bangpypers >>> >> >> >> >> -- Prashant Gaur +91 9717353657 >> _______________________________________________ BangPypers mailing list >> BangPypers at python.org http://mail.python.org/mailman/listinfo/bangpypers >> > > >