From prataprc at gmail.com Fri Mar 2 02:59:36 2012 From: prataprc at gmail.com (Pratap Chakravarthy) Date: Fri, 2 Mar 2012 07:29:36 +0530 Subject: [BangPypers] Fwd: [MumPy] [News] NumPy, PIL and lxml support announced for GAE In-Reply-To: References: Message-ID: On Tue, Feb 28, 2012 at 1:19 PM, Aditya Sengupta wrote: > > I'm happy to report that NumPy has finally been added to Google App Engine, a very popular request that has been pending for several years: > > http://googleappengine.blogspot.in/2012/02/announcing-general-availability-of.html > > This announcement also includes the support of Python-Imaging and lxml. > > -- > _________________________________________________ > Mumbai Python Users Group - http://www.mumpy.org/ > Mailing Group - http://groups.google.com/group/mumpy/ > Membership Management - http://groups.google.com/group/mumpy/subscribe/ -- _________________________________________________ Mumbai Python Users Group - http://www.mumpy.org/ Mailing Group - http://groups.google.com/group/mumpy/ Membership Management - http://groups.google.com/group/mumpy/subscribe/ -- Pratap. From amit.pureenergy at gmail.com Fri Mar 2 10:36:52 2012 From: amit.pureenergy at gmail.com (Amit Sethi) Date: Fri, 2 Mar 2012 15:06:52 +0530 Subject: [BangPypers] Django porting app to multiple databases Message-ID: Hi all , My app has started breaking after moving to django 1.3 . I don't really understand why? I am working using site framework and given model definition through app_label. The only major change as I can see is that I use UUID Fields rather than AutoField. Now somehow i see that my app is trying to make a connection to some other db essentially. ConnectionDoesNotExist: The connection myapp doesn't exist myapp here is one of applications in my site famework and the model definations are given as myapp/ __init__.py Circle.py Square.py where Circle and Square are the different models ... Can someone tell me how this came out ... I checked again by moving the back to 1.1 and it works like a charm ... Interesting while I have given defination of one more database in my settings ... I am not actually using it anywhere as yet... So essentially my question why has django started to look for a new database suddenly. Thanks Amit -- A-M-I-T S|S From biradar.m at gmail.com Fri Mar 2 12:22:05 2012 From: biradar.m at gmail.com (mallanna biradar) Date: Fri, 2 Mar 2012 03:22:05 -0800 Subject: [BangPypers] need help Message-ID: Hi, I need to help for writing small script which will search for a patter in a file and insert some lines after that. Regards, Mallanna Biradar From sudheer.s at sudheer.net Fri Mar 2 12:30:52 2012 From: sudheer.s at sudheer.net (Sudheer Satyanarayana) Date: Fri, 02 Mar 2012 17:00:52 +0530 Subject: [BangPypers] need help In-Reply-To: References: Message-ID: <4F50AF6C.1@sudheer.net> > I need to help for writing small script which will search for a patter in a > file and insert some lines after that. Go ahead and write the script. Ask specific questions if you run into problems. -- With warm regards, Sudheer. S Gavika - http://www.gavika.com Personal home page - http://www.sudheer.net/about Tech Chorus - http://www.techchorus.net From supr.e.etsethi at gmail.com Fri Mar 2 19:17:00 2012 From: supr.e.etsethi at gmail.com (s|s) Date: Fri, 2 Mar 2012 23:47:00 +0530 Subject: [BangPypers] Django porting app to multiple databases In-Reply-To: References: Message-ID: On Fri, Mar 2, 2012 at 3:06 PM, Amit Sethi wrote: > Hi all , My app has started breaking after moving to django 1.3 . I > don't really understand why? > > I am working using site framework and given model definition through > app_label. The only major change as I can see is that I use UUID > Fields rather than AutoField. Now somehow i see that my app is trying > to make a connection to some other db essentially. > > ConnectionDoesNotExist: The connection myapp doesn't exist > > myapp here is one of applications in my site famework and the model > definations are given as > > > >From my understanding the database is not getting connected. Try modifying the settings for database details. > myapp/ > __init__.py > Circle.py > Square.py > > where Circle and Square are the different models ... Can someone tell > me how this came out ... > > I checked again by moving the back to 1.1 and it works like a charm > ... Interesting while I have given defination of one more database in > my settings ... I am not actually using it anywhere as yet... > > So essentially my question why has django started to look for a new > database suddenly. > > > > > > Thanks > Amit > > -- > A-M-I-T S|S > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Supreet Sethi Ph UK: +447859172473 Ph IN: +919811143517 Ph Skype: d_j_i_n_n Profile: http://www.google.com/profiles/supreet.sethi Twt: http://twitter.com/djinn From senthil at uthcode.com Sat Mar 3 05:02:04 2012 From: senthil at uthcode.com (Senthil Kumaran) Date: Sat, 3 Mar 2012 12:02:04 +0800 Subject: [BangPypers] Https and http difference in behaviour urllib2 In-Reply-To: References: <20120229130451.GA1980@mathmagic> Message-ID: <20120303040204.GA5089@mathmagic> On Wed, Feb 29, 2012 at 08:21:31PM +0000, Anand Chitipothu wrote: > 2012/2/29 Senthil Kumaran : > > On Tue, Feb 28, 2012 at 03:17:53PM +0530, Anand Balachandran Pillai wrote: > >> For any kind of client side HTTP coding, I suggest the new requests library. > >> I myself have been a heavy user of urllib2/urllib but these libraries are > >> developer unfriendly and doesnt look like their problems are going to get > >> fixed soon. > > > > :-) It should be fixed soon. What I have realized is, people look for > > comforts than features. requests provides comfortable interfaces, > > building on top of urllib2. I think, those interfaces could find a way > > within the lib. > > I disagree. People look for simplicity. Yes, I agree that in general, people appreciate simplicity. I too. My previous comment was more aligned with how I read it in what people liked in requests. Rough thoughts were along the lines like .get, .post with data, .head etc and managing certs. All these are split across different modules in stdlib and I found that requests provided it a single place and useful entry for people doing most-common operations. Thanks, Senthil From baiju.m.mail at gmail.com Sat Mar 3 05:11:57 2012 From: baiju.m.mail at gmail.com (Baiju M) Date: Sat, 3 Mar 2012 09:41:57 +0530 Subject: [BangPypers] Https and http difference in behaviour urllib2 In-Reply-To: <20120303040204.GA5089@mathmagic> References: <20120229130451.GA1980@mathmagic> <20120303040204.GA5089@mathmagic> Message-ID: On Sat, Mar 3, 2012 at 9:32 AM, Senthil Kumaran wrote: > On Wed, Feb 29, 2012 at 08:21:31PM +0000, Anand Chitipothu wrote: [...snip...] >> I disagree. People look for simplicity. > > Yes, I agree that in general, people appreciate simplicity. I too. > > My previous comment was more aligned with how I read it in what people > liked in requests. Rough thoughts were along the lines like .get, > .post with data, .head etc and managing certs. All these are split > across different modules in stdlib and I found that requests provided > it a single place and useful entry for people doing most-common > operations. Sometimes features are very important. I stared using requests for one work, but later I found that it is not thread safe, then I switched to urllib3: http://urllib3.readthedocs.org/en/latest/index.html Regards, Baiju M From gora at mimirtech.com Sat Mar 3 05:37:15 2012 From: gora at mimirtech.com (Gora Mohanty) Date: Sat, 3 Mar 2012 10:07:15 +0530 Subject: [BangPypers] Https and http difference in behaviour urllib2 In-Reply-To: References: <20120229130451.GA1980@mathmagic> <20120303040204.GA5089@mathmagic> Message-ID: On 3 March 2012 09:41, Baiju M wrote: [...] > Sometimes features are very important. ?I stared using requests for one > work, but later I found that it is not thread safe, then I switched to urllib3: > http://urllib3.readthedocs.org/en/latest/index.html Sorry, but I am confused. Is requests not built on top of urllib3? The following link would seem to indicate so: http://pydoc.net/requests/0.8.5/requests.packages.urllib3.request Regards, Gora From baiju.m.mail at gmail.com Sat Mar 3 06:17:22 2012 From: baiju.m.mail at gmail.com (Baiju M) Date: Sat, 3 Mar 2012 10:47:22 +0530 Subject: [BangPypers] Https and http difference in behaviour urllib2 In-Reply-To: References: <20120229130451.GA1980@mathmagic> <20120303040204.GA5089@mathmagic> Message-ID: On Sat, Mar 3, 2012 at 10:07 AM, Gora Mohanty wrote: > On 3 March 2012 09:41, Baiju M wrote: > [...] >> Sometimes features are very important. ?I stared using requests for one >> work, but later I found that it is not thread safe, then I switched to urllib3: >> http://urllib3.readthedocs.org/en/latest/index.html > > Sorry, but I am confused. Is requests not built on top of > urllib3? The following link would seem to indicate so: > http://pydoc.net/requests/0.8.5/requests.packages.urllib3.request I used some old version. which doesn't have urllib3 as a dependency: https://github.com/kennethreitz/requests/tree/v0.7.6/requests/packages May be I need to reconsider requests again. However I noticed that, the requests documentation is not advertising it is thread safe. Regards, Baiju M From senthil at uthcode.com Sat Mar 3 22:09:19 2012 From: senthil at uthcode.com (Senthil Kumaran) Date: Sun, 4 Mar 2012 05:09:19 +0800 Subject: [BangPypers] Https and http difference in behaviour urllib2 In-Reply-To: References: <20120229130451.GA1980@mathmagic> <20120303040204.GA5089@mathmagic> Message-ID: <20120303210919.GA1926@mathmagic> On Sat, Mar 03, 2012 at 09:41:57AM +0530, Baiju M wrote: > On Sat, Mar 3, 2012 at 9:32 AM, Senthil Kumaran wrote: > > On Wed, Feb 29, 2012 at 08:21:31PM +0000, Anand Chitipothu wrote: > [...snip...] > >> I disagree. People look for simplicity. > > > > Yes, I agree that in general, people appreciate simplicity. I too. > > > > My previous comment was more aligned with how I read it in what people > > liked in requests. Rough thoughts were along the lines like .get, > > .post with data, .head etc and managing certs. All these are split > > across different modules in stdlib and I found that requests provided > > it a single place and useful entry for people doing most-common > > operations. > > Sometimes features are very important. I stared using requests for one > work, but later I found that it is not thread safe, then I switched to urllib3: > http://urllib3.readthedocs.org/en/latest/index.html That sounds interesting. I had looked at urllib3 only during its early and did not follow that. I think, I should revisit all those stock. Looks like the author of httplib2 just updated with some useful features too. -- Senthil From abidali45 at gmail.com Mon Mar 5 12:18:42 2012 From: abidali45 at gmail.com (abid ali) Date: Mon, 5 Mar 2012 16:48:42 +0530 Subject: [BangPypers] Django porting app to multiple databases In-Reply-To: References: Message-ID: Hello friends, Any one here from ZeOmega. I need One help from you. please contact me 9964504645 I am Abid from Bangalore. From vsapre80 at gmail.com Mon Mar 5 13:06:49 2012 From: vsapre80 at gmail.com (Vishal) Date: Mon, 5 Mar 2012 17:36:49 +0530 Subject: [BangPypers] Has anybody tried this way of compiling Python... Message-ID: http://code.google.com/p/rpythonic/ The RPythonic project uses the pypy translation tool chain to convert parts of your Python programs (written in RPython) into modules callable from ctypes, or convert your entire Python program into an executable. Has anybody tried it? Please share your experiences.. Thanks and best regards, Vishal Sapre From arjun_r at live.com Mon Mar 5 17:57:54 2012 From: arjun_r at live.com (Arjun R) Date: Mon, 5 Mar 2012 22:27:54 +0530 Subject: [BangPypers] March Meetup Message-ID: Hello Pypers,We have received permission from our college, Amrita School of Engineering Bangalore, to provide us with a venue for the next meeting. However the college requires details regarding the number of attendees, discussion topics, the date and other amenities required. This meeting will be supported by the college's technical group FACE(Forum for Aspiring Computer Engineers) so we can expect some student participation. Already there are a few requests on topics to be discussed:>> Introduction to Python Programming>> Python interface to OpenCV>> Y Combinator in Python College Address: no-36&37 kasavanahalli carmalram po off sarjapura road karnataka 560035Hosa Rd, Bengaluru, Karnataka080 28440092 http://maps.google.co.in/maps?safe=on&um=1&ie=UTF-8&q=amrita+school+of+engineering+bangalore&fb=1&gl=in&hq=amrita+school+of+engineering&hnear=0x3bae1670c9b44e6d:0xf8dfc3e8517e4fe0%2cBengaluru%2c+Karnataka&cid=0%2c0%2c15471443159193988574&ei=7iVLT4TPI8_JrAfo47y3Dw&sa=X&oi=local_result&ct=image&ved=0CBUQ_BI I'm resending this mail. Hoping for a reply. From vsapre80 at gmail.com Tue Mar 6 10:24:08 2012 From: vsapre80 at gmail.com (Vishal) Date: Tue, 6 Mar 2012 14:54:08 +0530 Subject: [BangPypers] Popen.terminate() - WindowsError: [Error 5] Access is denied In-Reply-To: References: <599CEBACD49B4144A61212D837EE3C0F16F5AC657F@MX34A.corp.emc.com> Message-ID: Hi, Take a good look at all the arguments that Popen() provides, there might be some help there. To my best knowlege: In general, on Winodws, if Popen() is used to create a process, and this process creates its child nodes independently, it is not possible to kill the children, using the process handle provided by Popen(). Windows will not allow you to kill processes that you have not started, unless you can prove that you have administrative privilege...which means you will have to use some windows native api :(. So, You might be able to kill them by recording their pid's somehow, then using WMI or PyWin32 to kill them. Cheers, Vishal On Tue, Feb 28, 2012 at 11:49 PM, Nikunj Badjatya wrote: > Any clues guys? > > > > > On Tue, Feb 28, 2012 at 12:48 PM, wrote: > > > Howdy, > > > > Py ver - 3.2, Windows-XP . Logged in as user with admin privileges. > > >From my main python program, I am running powershell program using > > subprocess.Popen(....). > > Now I have created a signal_handler() function in main python script > which > > will handle CTRL-C ( This works fine ). > > Now when I put "proc.terminate()" in my signal_handler() function to > > terminate the subprocess created as well, > > It is giving me "WindowsError: [Error 5] Access is denied" error. > > I have tried with os.kill() also, same error. Tried with Popen.kill() > > also same error. Have googled a bit but couldn't understand them. > > > > In general, How to kill a subprocesses created from a python program.? > If > > that subprocess also creates a new process from itself, how can I kill > all > > child processes from my main python script.? > > > > Any ideas.?? > > > > > > Thanks, > > Nikunj > > > > 7 Switch off as you go | qRecycle always | P Save Paper - Save Trees > | > > Go Green > > > > _______________________________________________ > > 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 > -- Thanks and best regards, Vishal Sapre --- "Life is 10% how you make it, and 90% how you take it" "????? ?????, ????? ????? (Benefit for most people, Happiness for most people.)" --- Please DONT print this email, unless you really need to. Save Energy & Paper. Save the Earth. From arunvr at gmail.com Wed Mar 7 15:49:31 2012 From: arunvr at gmail.com (Arun Ravindran) Date: Wed, 7 Mar 2012 20:19:31 +0530 Subject: [BangPypers] Creating a blog in Django 1.3 Screencasts Message-ID: Hi all, Every since Django moved to 1.0, there have been very few screencasts about Django. It is quite hard for a beginner or even someone who has used Django to find a video tutorial adapted to the latest Django release. As a humble attempt to solve this gap, I have created two screencasts about building a blog in Django: http://arunrocks.com/blog/2012/03/05/building_a_blog_in_30_mins_with_django_%28screencast%29/ http://arunrocks.com/blog/2012/03/07/bonus_html5_makeover_for_the_django_blog/ Hope you find this useful. Thanks, Arun From brijithp at gmail.com Wed Mar 7 16:22:33 2012 From: brijithp at gmail.com (brijithp at gmail.com) Date: Wed, 7 Mar 2012 20:52:33 +0530 Subject: [BangPypers] Creating a blog in Django 1.3 Screencasts In-Reply-To: References: Message-ID: Nice screen Casts Thank U * Regards, Brijith P * * * On Wed, Mar 7, 2012 at 8:19 PM, Arun Ravindran wrote: > Hi all, > > Every since Django moved to 1.0, there have been very few screencasts about > Django. It is quite hard for a beginner or even someone who has used Django > to find a video tutorial adapted to the latest Django release. As a humble > attempt to solve this gap, I have created two screencasts about building a > blog in Django: > > > http://arunrocks.com/blog/2012/03/05/building_a_blog_in_30_mins_with_django_%28screencast%29/ > > > http://arunrocks.com/blog/2012/03/07/bonus_html5_makeover_for_the_django_blog/ > > Hope you find this useful. > > Thanks, > Arun > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From kracethekingmaker at gmail.com Thu Mar 8 20:51:36 2012 From: kracethekingmaker at gmail.com (kracethekingmaker) Date: Fri, 09 Mar 2012 01:21:36 +0530 Subject: [BangPypers] Online python interpreter(top of PyPy 1.7) Message-ID: <4F590DC8.4030902@gmail.com> Hi www.pylive.codespeaks.in , an online python interpreter(strictly pypy interpreter) on top pypy sandboxed version 1.7. Source code of the site is located @ www.github.com/kracekumar/pylive , just feel free to try and post your feedback. Built using Flask. :-) -- "Talk is cheap, show me the code" -- Linus Torvalds Regards Kracekumar.R www.kracekumar.com From anandology at gmail.com Sat Mar 10 01:57:07 2012 From: anandology at gmail.com (Anand Chitipothu) Date: Fri, 9 Mar 2012 16:57:07 -0800 Subject: [BangPypers] March Meetup In-Reply-To: References: Message-ID: 2012/3/5 Arjun R : > > Hello Pypers,We have received permission from our college, Amrita School of Engineering Bangalore, to provide us with a venue for the next meeting. However the college requires details regarding the number of attendees, discussion topics, the date and other amenities required. This meeting will be supported by the college's technical group FACE(Forum for Aspiring Computer Engineers) so we can expect some student participation. > Already there are a few requests on topics to be discussed:>> Introduction to Python Programming>> Python interface to OpenCV>> Y Combinator in Python > > College Address: > no-36&37 kasavanahalli carmalram po off sarjapura road karnataka 560035Hosa Rd, Bengaluru, Karnataka080 28440092 > > http://maps.google.co.in/maps?safe=on&um=1&ie=UTF-8&q=amrita+school+of+engineering+bangalore&fb=1&gl=in&hq=amrita+school+of+engineering&hnear=0x3bae1670c9b44e6d:0xf8dfc3e8517e4fe0%2cBengaluru%2c+Karnataka&cid=0%2c0%2c15471443159193988574&ei=7iVLT4TPI8_JrAfo47y3Dw&sa=X&oi=local_result&ct=image&ved=0CBUQ_BI > I'm resending this mail. Hoping for a reply. Hi Arjun, Thanks for working out the venue. The meetup will be on third saturday, that will be March 17. We usually start the meetup at 3pm. We can expect 10-15 people other than students from your own institute. I'm sure if we can finalize the topics right away. But we can surely have one hour training on "Introduction to Python". People who would like to skip the training can join the meeting at 4:00PM. Anand From amit.pureenergy at gmail.com Tue Mar 13 07:06:08 2012 From: amit.pureenergy at gmail.com (Amit Sethi) Date: Tue, 13 Mar 2012 11:36:08 +0530 Subject: [BangPypers] Heterogeneous forms in django formset Message-ID: Hi all , I have a certain problem with django forms that seems to me should definitely have a solution already written. I have a couple of different forms that are submitted in the same view something like ...( Sorry just using pseudo code for now ).. class Form1(): #different attributes Class Form2() #different attributes ``
{{ 1-instance-Form1 }} {{ 2-instance-Form1 }} {{ 1-instance-Form2 }} {{ 2-instance-Form2 }}
`` Apart from that I want to give the user the ability to add a form instance of one of the form classes available through jquery so the form might become ``
{{ 1-instance-Form1 }} {{ 2-instance-Form1 }} {{ 1-instance-Form2 }} {{ 2-instance-Form2 }} {{ 3-instance-Form2 }}
`` Now while looking for a solution to handle such a problem I came accross the concept of django formset which as the documentation describes is a collection of instances of the same Form class. However as I can see formsets can have the ability to handle heterogenous forms as well: With some definitions changed class BaseHeterogenousFormSet(StrAndUnicode): def append(form): #add one more form to the formset def is_valid(): #run is_valid for each of the forms in the formset def clean(): #run the clean for each of the forms ... Is there something wrong with the way i am thinking about this problem ?? Is this a proper way a handle the problem that I am describing -- A-M-I-T S|S From naikvin at gmail.com Tue Mar 13 07:47:22 2012 From: naikvin at gmail.com (Vineet Naik) Date: Tue, 13 Mar 2012 12:17:22 +0530 Subject: [BangPypers] Heterogeneous forms in django formset In-Reply-To: References: Message-ID: Just a guess, but do you want multiple form classes for saving a main object and its related objects ? in that case, may be you are looking for inline formsets [https://docs.djangoproject.com/en/dev/topics/forms/modelforms/#using-an-inline-formset-in-a-view] Also, I have written a small jquery plugin [https://github.com/kodeplay/augForm] for handling the adding/removing of forms in a formset on the client side. It includes a django formset helper which achieves this by manipulating the management form associated with the formset using javascript. Might be of your help.. Regards, Vineet On Tue, Mar 13, 2012 at 11:36 AM, Amit Sethi wrote: > Hi all , I have a certain problem with django forms that seems to me > should definitely have a solution already written. > > I have a couple of different forms that are submitted in the same view > something like ?...( Sorry just using pseudo code for now ).. > > > ? ?class Form1(): > ? ? ? ?#different attributes > > ? ?Class Form2() > ? ? ? ?#different attributes > > > > > `` > > ? ?
> > ? ? {{ 1-instance-Form1 }} > > ? ? ?{{ 2-instance-Form1 }} > > ? ?{{ 1-instance-Form2 }} > ? ?{{ 2-instance-Form2 }} > > ? ?
> > `` > > Apart from that I want to give the user the ability to add a form > instance of one of the form classes available through jquery so the > form might become > `` > > ? ?
> > > ? ? ? ? {{ 1-instance-Form1 }} > > ? ? ? ? ?{{ 2-instance-Form1 }} > > ? ? ? ?{{ 1-instance-Form2 }} > ? ? ? ?{{ 2-instance-Form2 }} > ? ? ? ?{{ 3-instance-Form2 }} > > ? ?
> > `` > > Now while looking for a solution to handle such a problem I came > accross the concept of django formset which as the documentation > describes is a collection of instances of the same Form class. However > as I can see formsets can have the ability to handle heterogenous > forms as well: > > With some definitions changed > > > ? ?class BaseHeterogenousFormSet(StrAndUnicode): > > ? ? ? ?def append(form): > ? ? ? ?#add one more form to the formset > > ? ? ? ?def is_valid(): > ? ? ? ?#run is_valid for each of the forms in the formset > > ? ? ? ?def clean(): > ? ? ? ? ? ?#run the clean for each of the forms ... > > > > Is there something wrong with the way i am thinking about this problem > ?? ? Is this a proper way a handle the problem that I am describing > > -- > A-M-I-T S|S > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers -- Vineet Naik From anandology at gmail.com Wed Mar 14 10:25:12 2012 From: anandology at gmail.com (Anand Chitipothu) Date: Wed, 14 Mar 2012 02:25:12 -0700 Subject: [BangPypers] March Meetup In-Reply-To: References: Message-ID: Hi Arjun, Can you please let us know if the venue is confirmed? If not, we need to start looking for alternatives. Anand ????? 9 ?????? 2012 4:57 ??, Anand Chitipothu ????????: > 2012/3/5 Arjun R : >> >> Hello Pypers,We have received permission from our college, Amrita School of Engineering Bangalore, to provide us with a venue for the next meeting. However the college requires details regarding the number of attendees, discussion topics, the date and other amenities required. This meeting will be supported by the college's technical group FACE(Forum for Aspiring Computer Engineers) so we can expect some student participation. >> Already there are a few requests on topics to be discussed:>> Introduction to Python Programming>> Python interface to OpenCV>> Y Combinator in Python >> >> College Address: >> no-36&37 kasavanahalli carmalram po off sarjapura road karnataka 560035Hosa Rd, Bengaluru, Karnataka080 28440092 >> >> http://maps.google.co.in/maps?safe=on&um=1&ie=UTF-8&q=amrita+school+of+engineering+bangalore&fb=1&gl=in&hq=amrita+school+of+engineering&hnear=0x3bae1670c9b44e6d:0xf8dfc3e8517e4fe0%2cBengaluru%2c+Karnataka&cid=0%2c0%2c15471443159193988574&ei=7iVLT4TPI8_JrAfo47y3Dw&sa=X&oi=local_result&ct=image&ved=0CBUQ_BI >> I'm resending this mail. Hoping for a reply. > > Hi Arjun, > > Thanks for working out the venue. > > The meetup will be on third saturday, that will be March 17. We > usually start the meetup at 3pm. > > We can expect 10-15 people other than students from your own institute. > > I'm sure if we can finalize the topics right away. But we can surely > have one hour training on "Introduction to Python". People who would > like to skip the training can join the meeting at 4:00PM. > > Anand From arjun_r at live.com Wed Mar 14 14:10:32 2012 From: arjun_r at live.com (Arjun R) Date: Wed, 14 Mar 2012 18:40:32 +0530 Subject: [BangPypers] March Meetup In-Reply-To: References: , , Message-ID: Hey,It is confirmed. Only some confusion regarding the hall, but that will be taken care of. Regarding the topics, there will be a few students so an Introduction as you had mentioned will be great. Which other topics will likely be discussed? Please call any of these numbers if anyone has problems finding the college on Saturday.Arjun(me) - 9741892516Ajay: 9738368840 > From: anandology at gmail.com > Date: Wed, 14 Mar 2012 02:25:12 -0700 > To: bangpypers at python.org > Subject: Re: [BangPypers] March Meetup > > Hi Arjun, > > Can you please let us know if the venue is confirmed? > > If not, we need to start looking for alternatives. > > Anand > > ????? 9 ?????? 2012 4:57 ??, Anand Chitipothu ????????: > > 2012/3/5 Arjun R : > >> > >> Hello Pypers,We have received permission from our college, Amrita School of Engineering Bangalore, to provide us with a venue for the next meeting. However the college requires details regarding the number of attendees, discussion topics, the date and other amenities required. This meeting will be supported by the college's technical group FACE(Forum for Aspiring Computer Engineers) so we can expect some student participation. > >> Already there are a few requests on topics to be discussed:>> Introduction to Python Programming>> Python interface to OpenCV>> Y Combinator in Python > >> > >> College Address: > >> no-36&37 kasavanahalli carmalram po off sarjapura road karnataka 560035Hosa Rd, Bengaluru, Karnataka080 28440092 > >> > >> http://maps.google.co.in/maps?safe=on&um=1&ie=UTF-8&q=amrita+school+of+engineering+bangalore&fb=1&gl=in&hq=amrita+school+of+engineering&hnear=0x3bae1670c9b44e6d:0xf8dfc3e8517e4fe0%2cBengaluru%2c+Karnataka&cid=0%2c0%2c15471443159193988574&ei=7iVLT4TPI8_JrAfo47y3Dw&sa=X&oi=local_result&ct=image&ved=0CBUQ_BI > >> I'm resending this mail. Hoping for a reply. > > > > Hi Arjun, > > > > Thanks for working out the venue. > > > > The meetup will be on third saturday, that will be March 17. We > > usually start the meetup at 3pm. > > > > We can expect 10-15 people other than students from your own institute. > > > > I'm sure if we can finalize the topics right away. But we can surely > > have one hour training on "Introduction to Python". People who would > > like to skip the training can join the meeting at 4:00PM. > > > > Anand > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers From anandology at gmail.com Thu Mar 15 06:48:03 2012 From: anandology at gmail.com (Anand Chitipothu) Date: Thu, 15 Mar 2012 11:18:03 +0530 Subject: [BangPypers] March Meetup In-Reply-To: References: Message-ID: ????? 10 ?????? 2012 6:27 ?, Anand Chitipothu ????????: > 2012/3/5 Arjun R : >> >> Hello Pypers,We have received permission from our college, Amrita School of Engineering Bangalore, to provide us with a venue for the next meeting. However the college requires details regarding the number of attendees, discussion topics, the date and other amenities required. This meeting will be supported by the college's technical group FACE(Forum for Aspiring Computer Engineers) so we can expect some student participation. >> Already there are a few requests on topics to be discussed:>> Introduction to Python Programming>> Python interface to OpenCV>> Y Combinator in Python >> >> College Address: >> no-36&37 kasavanahalli carmalram po off sarjapura road karnataka 560035Hosa Rd, Bengaluru, Karnataka080 28440092 >> >> http://maps.google.co.in/maps?safe=on&um=1&ie=UTF-8&q=amrita+school+of+engineering+bangalore&fb=1&gl=in&hq=amrita+school+of+engineering&hnear=0x3bae1670c9b44e6d:0xf8dfc3e8517e4fe0%2cBengaluru%2c+Karnataka&cid=0%2c0%2c15471443159193988574&ei=7iVLT4TPI8_JrAfo47y3Dw&sa=X&oi=local_result&ct=image&ved=0CBUQ_BI Hi Arjun, Can you please let us know name of the room/hall where the meeting will be conducted? Anand From anandology at gmail.com Thu Mar 15 09:22:49 2012 From: anandology at gmail.com (Anand Chitipothu) Date: Thu, 15 Mar 2012 13:52:49 +0530 Subject: [BangPypers] March meeting Message-ID: March meeting of BangPypers, the Bangalore Python User Group, is happening this Saturday. Venue: Amrita School of Engineering, Bangalore Date: Saturday - March 17, 2011 Schedule: Introduction to Python (tutorial) - 2:00PM to 3:00PM BangPypers Meeting - 3:00PM to 6:00PM No-36&37 Kasavanahalli Off Sarjapura Road Hosa Rd, Bengaluru Map: http://maps.google.com/maps?q=amrita+school+of+engineering+bangalore For more information about the venue, see http://www.amrita.edu/campuses/blr/route-map.html In case you need any help with directions, please call Arjun-9741892516 or Ajay-9738368840. The "Introduction to Python" session from 2:00 to 3:00PM is intended for people with no prior experience with Python. Experienced pythonistas can skip this and come to the regular meeting at 3:00PM. There is no planned agenda for the meeting. Speakers are welcome. Anand From abpillai at gmail.com Fri Mar 16 04:28:29 2012 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Fri, 16 Mar 2012 08:58:29 +0530 Subject: [BangPypers] need help In-Reply-To: References: Message-ID: On Fri, Mar 2, 2012 at 4:52 PM, mallanna biradar wrote: > Hi, > > > I need to help for writing small script which will search for a patter in a > file and insert some lines after that. > For pattern matching and replacing, Python gives you the "re" module. Read the online documentation, try a few examples which should help you to get started. http://docs.python.org/library/re.html > > > > Regards, > Mallanna Biradar > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand From anandology at gmail.com Fri Mar 16 05:24:03 2012 From: anandology at gmail.com (Anand Chitipothu) Date: Fri, 16 Mar 2012 09:54:03 +0530 Subject: [BangPypers] March meeting In-Reply-To: References: Message-ID: ????? 15 ?????? 2012 1:52 ??, Anand Chitipothu ????????: > March meeting of BangPypers, the Bangalore Python User Group, is > happening this Saturday. > > Venue: Amrita School of Engineering, Bangalore > Date: Saturday - March 17, 2011 > > Schedule: > Introduction to Python (tutorial) - 2:00PM to 3:00PM > BangPypers Meeting - 3:00PM to 6:00PM > > No-36&37 > Kasavanahalli > Off Sarjapura Road > Hosa Rd, Bengaluru > > Map: http://maps.google.com/maps?q=amrita+school+of+engineering+bangalore > > For more information about the venue, see > http://www.amrita.edu/campuses/blr/route-map.html > > In case you need any help with directions, please call > Arjun-9741892516 or Ajay-9738368840. > > The "Introduction to Python" session from 2:00 to 3:00PM is intended > for people with no prior experience with Python. Experienced > pythonistas can skip this and come to the regular meeting at 3:00PM. > > There is no planned agenda for the meeting. Speakers are welcome. Venue Details: Krishna Hall, 1st Floor, New Building ( building under construction) Amrita School of Engineering, Bangalore How to reach the destination: Most of the outer ring road buses ( the 500s) stop before the ibbalur flyover. Then head over to the Wipro technologies side of the Sarjapur Road. Hire an auto to Amrita College, costing around Rs50. On your right, you will pass by a TOTAL MALL and then a dry lake. After which take an immediate right turn and follow the road for 2 kms. You will find Amrita on your left side. Best way is to travel by a 2-wheeler because return auto fares are steep. Thanks Arjun for the detailed directions. Anand From abpillai at gmail.com Fri Mar 16 06:05:06 2012 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Fri, 16 Mar 2012 10:35:06 +0530 Subject: [BangPypers] JOB - Senior Web Developer - Talented Team! In-Reply-To: References: Message-ID: Hi RebelMouse, Saw this post in the list. Let me introduce myself. I founded this group in 2005, has been running it since then. I have written a few open source projects and published a few recipes in Python. Here to name a few. 1. HarvestMan - Multithreaded Python web-crawler used in a few projects notably EIAO and Egovmon (http://www.eiao.net). http://code.google.com/p/harvestman-crawler/ 2. Pyscanlogd - A network port-scanning detection daemon. http://code.google.com/p/pyscanlogd/ 3. My ASPN Cookbook recipes in Python. http://code.activestate.com/recipes/users/760763/ http://code.activestate.com/recipes/users/4169530/ Other skill sets include MySQL/XML/ReST/ etc. I have good working knowledge of Django, but never been a front-end developer so has not done much in Javascript etc, though open to that as well. I currently work in Yahoo! as senior principal engineer. Let me know if this interests you then we could connect! Regards --Anand On Thu, Feb 23, 2012 at 2:01 AM, Rebelmouse wrote: > SENIOR WEB DEVELOPER > We're a NYC-based incubator working in the social space and are looking for > developers who have experience with Python and jQuery to work as part of a > global team. The founders and board were part of the critical team that > created the HuffingtonPost, We're focused on building apps and sites that > are fun, social, and scale well. > > The ideal candidate will go through a 1 to 4 week paid trial but end up as > a permanent part of the team working with us on a monthly retainer, where > you're not counting your hours, you have sick days and vacation days and > you still get paid the same every month regardless of the days off. > > Strong communication skills are required - it's essential with the global > team that each developer/designer/team member feels comfortable emailing > all their thoughts and isn't shy about communicating. We don't require > excellent grammar skills in English - however you communicate, through > whichever style works for you is fine. What matters is that we can > transcend the physical distance between us to understand each other's ideas > and code. > > Every developer is encouraged to think about the business, the ideas, and > contribute to the product as you learn, not just be given specific tasks. > We have a very clear direction and feature set in mind, but there is always > room for new ideas and discussion, as well as diverse engineering > challenges to solve. > > A couple recent articles on what we're doing: > > http://www.businessinsider.com/8-cool-new-startups-that-have-launched-this-year-2012-2#paul-berry-left-his-long-time-job-as-cto-of-the-huffington-post-to-create-a-new-stealth-startup-rebel-mouse-3 > < > http://www.google.com/url?q=http%3A%2F%2Fwww.businessinsider.com%2F8-cool-new-startups-that-have-launched-this-year-2012-2%23paul-berry-left-his-long-time-job-as-cto-of-the-huffington-post-to-create-a-new-stealth-startup-rebel-mouse-3&sa=D&sntz=1&usg=AFrqEzfCc4zcBUqLySPtxvtq65qZ3YPR9w > > > > > http://adage.com/article/digital/meet-soho-tech-lab-huffpost-tech-chief-s-startup-incubator/232077/ > < > http://www.google.com/url?q=http%3A%2F%2Fadage.com%2Farticle%2Fdigital%2Fmeet-soho-tech-lab-huffpost-tech-chief-s-startup-incubator%2F232077%2F&sa=D&sntz=1&usg=AFrqEzdZ0bOLKjxCWO6xy4GnCh1RZK_gVQ > > > > We're building everything in Python/Django/jQuery and the team is really > amazingly talented guys with a really strong sense of team work. > > We have great direct connections with key people at Google, Facebook, and > Twitter and there's a lot of excitement about what we're doing. Your work > will be seen by key people in the industry. > > Please feel free to pass this along to others who you think might be > interested or let us know any ideas for where you think its best to reach > the best talent in your part of the world. > > Required skills are: > - very good level at python > - very good level at javascript/jquery > - interest in working on an application using up-to-date technologies and > practices (in this case, one-page app with a lot of frontend templating and > CSS3, incorporating data from social networks like Facebook, and using > NoSQL on backend where appropriate) > - strong communication skills and willingness to ask a question - we are > looking for someone to treat as a member of the team, not someone to just > assign 100% specced-out tasks that always must be implemented an exact way. > Questions will occur and it is important that we be in contact via email or > chat multiple times a day to discuss how projects are going and resolve any > decisions to be made. > - it's also expected that you'll offer feedback, ideas, and polite > criticism on anything you think might be going wrong with the project. > - strong experience in Javascript, CSS, and valid HTML. > - know how to write efficient CSS and JS. Familiar with Yahoo's "Best > Practices for Speeding Up Your Website" and Google Page Speed, and > techniques such as image spriting > > Ideally also familiar with: > - HTML5 > - Backbone.js or other client-side frameworks (beyond jQuery) > - LESS/SASS > - JSLint / JSHint > - Working on "fat client" apps > > Big plus to required skills if you > - experienced mysql/mongodb/redis/django > - love optimizations > - prefer to cover your code with tests > - Past work with Twitter API > - Past work with Facebook API > - Design skills and a sense of what makes a product appealing to users > > Email any questions, code samples, applications to > GlobalTeam at RebelMouse.com > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand From abpillai at gmail.com Fri Mar 16 06:09:13 2012 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Fri, 16 Mar 2012 10:39:13 +0530 Subject: [BangPypers] JOB - Senior Web Developer - Talented Team! In-Reply-To: References: Message-ID: Ah well, that was supposed to go to the sender. My bad. Ignore it. On Fri, Mar 16, 2012 at 10:35 AM, Anand Balachandran Pillai < abpillai at gmail.com> wrote: > Hi RebelMouse, > ... > -- --Anand From lawgon at gmail.com Fri Mar 16 07:00:42 2012 From: lawgon at gmail.com (Kenneth Gonsalves) Date: Fri, 16 Mar 2012 11:30:42 +0530 Subject: [BangPypers] JOB - Senior Web Developer - Talented Team! In-Reply-To: References: Message-ID: <1331877642.13035.91.camel@xlquest.web> On Fri, 2012-03-16 at 10:39 +0530, Anand Balachandran Pillai wrote: > Ah well, that was supposed to go to the sender. My bad. Ignore it. welcome to the club -- regards Kenneth Gonsalves From abpillai at gmail.com Fri Mar 16 07:08:09 2012 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Fri, 16 Mar 2012 11:38:09 +0530 Subject: [BangPypers] JOB - Senior Web Developer - Talented Team! In-Reply-To: <1331877642.13035.91.camel@xlquest.web> References: <1331877642.13035.91.camel@xlquest.web> Message-ID: On Fri, Mar 16, 2012 at 11:30 AM, Kenneth Gonsalves wrote: > On Fri, 2012-03-16 at 10:39 +0530, Anand Balachandran Pillai wrote: > > Ah well, that was supposed to go to the sender. My bad. Ignore it. > > welcome to the club > Bad karma. I should set the return address for the group to the sender perhaps :) > -- > regards > Kenneth Gonsalves > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand From b.ghose at gmail.com Fri Mar 16 07:09:57 2012 From: b.ghose at gmail.com (Baishampayan Ghose) Date: Thu, 15 Mar 2012 23:09:57 -0700 Subject: [BangPypers] JOB - Senior Web Developer - Talented Team! In-Reply-To: References: <1331877642.13035.91.camel@xlquest.web> Message-ID: On Thu, Mar 15, 2012 at 11:08 PM, Anand Balachandran Pillai wrote: > Bad karma. I should set the return address for the group to the sender > perhaps :) No Anand, that's not what you should do IMHO. Regards, BG -- Baishampayan Ghose b.ghose at gmail.com From noufal at nibrahim.net.in Fri Mar 16 07:14:39 2012 From: noufal at nibrahim.net.in (Noufal Ibrahim) Date: Fri, 16 Mar 2012 11:44:39 +0530 Subject: [BangPypers] JOB - Senior Web Developer - Talented Team! In-Reply-To: (Anand Balachandran Pillai's message of "Fri, 16 Mar 2012 11:38:09 +0530") References: <1331877642.13035.91.camel@xlquest.web> Message-ID: <87sjh9t6ls.fsf@sanitarium.localdomain> Anand Balachandran Pillai writes: > On Fri, Mar 16, 2012 at 11:30 AM, Kenneth Gonsalves wrote: > >> On Fri, 2012-03-16 at 10:39 +0530, Anand Balachandran Pillai wrote: >> > Ah well, that was supposed to go to the sender. My bad. Ignore it. >> >> welcome to the club >> > > Bad karma. I should set the return address for the group to the sender > perhaps :) [...] Please don't. A mail client should have some way of specifying "reply to sender" or "reply to reply-to address". -- ~noufal http://nibrahim.net.in I'm not going to say, "I told you so." From senthil at uthcode.com Fri Mar 16 07:25:46 2012 From: senthil at uthcode.com (Senthil Kumaran) Date: Thu, 15 Mar 2012 23:25:46 -0700 Subject: [BangPypers] JOB - Senior Web Developer - Talented Team! In-Reply-To: References: <1331877642.13035.91.camel@xlquest.web> Message-ID: <20120316062546.GE1933@mathmagic> On Fri, Mar 16, 2012 at 11:38:09AM +0530, Anand Balachandran Pillai wrote: > > Bad karma. I should set the return address for the group to the sender > perhaps :) > Now, that would result in bad karma not the previous email. :) -- Senthil From saager.mhatre at gmail.com Fri Mar 16 07:28:35 2012 From: saager.mhatre at gmail.com (Saager Mhatre) Date: Fri, 16 Mar 2012 11:58:35 +0530 Subject: [BangPypers] JOB - Senior Web Developer - Talented Team! In-Reply-To: <87sjh9t6ls.fsf@sanitarium.localdomain> References: <1331877642.13035.91.camel@xlquest.web> <87sjh9t6ls.fsf@sanitarium.localdomain> Message-ID: On Fri, Mar 16, 2012 at 11:44 AM, Noufal Ibrahim wrote: > Anand Balachandran Pillai writes: > > > On Fri, Mar 16, 2012 at 11:30 AM, Kenneth Gonsalves >wrote: > > > >> On Fri, 2012-03-16 at 10:39 +0530, Anand Balachandran Pillai wrote: > >> > Ah well, that was supposed to go to the sender. My bad. Ignore it. > >> > >> welcome to the club > >> > > > > Bad karma. I should set the return address for the group to the sender > > perhaps :) > > [...] > > Please don't. > > A mail client should have some way of specifying "reply to sender" or > "reply to reply-to address". +3 (I'd +1 the three replies individually, but I'm just lazy) - d > > From saager.mhatre at gmail.com Fri Mar 16 07:29:28 2012 From: saager.mhatre at gmail.com (Saager Mhatre) Date: Fri, 16 Mar 2012 11:59:28 +0530 Subject: [BangPypers] JOB - Senior Web Developer - Talented Team! In-Reply-To: References: Message-ID: On Fri, Mar 16, 2012 at 10:39 AM, Anand Balachandran Pillai < abpillai at gmail.com> wrote: > Ah well, that was supposed to go to the sender. My bad. Ignore it. Was about to call a troll alert on that just then :) - d From vid at svaksha.com Fri Mar 16 07:33:06 2012 From: vid at svaksha.com (=?UTF-8?B?4KS44KWN4KS14KSV4KWN4KS3?=) Date: Fri, 16 Mar 2012 06:33:06 +0000 Subject: [BangPypers] JOB - Senior Web Developer - Talented Team! In-Reply-To: <87sjh9t6ls.fsf@sanitarium.localdomain> References: <1331877642.13035.91.camel@xlquest.web> <87sjh9t6ls.fsf@sanitarium.localdomain> Message-ID: On Fri, Mar 16, 2012 at 06:14, Noufal Ibrahim wrote: > Anand Balachandran Pillai writes: > >> On Fri, Mar 16, 2012 at 11:30 AM, Kenneth Gonsalves wrote: >> >>> On Fri, 2012-03-16 at 10:39 +0530, Anand Balachandran Pillai wrote: >>> > Ah well, that was supposed to go to the sender. My bad. Ignore it. >>> >>> welcome to the club >>> >> >> Bad karma. I should set the return address for the group to the sender >> perhaps :) > > [...] > > Please don't. > > A mail client should have some way of specifying "reply to sender" or > "reply to reply-to address". Its not just the mail client's fault. If header munging in Mailman is set it wont help what the client settings are. So for your suggestion to work, this ML settings in Mailman for "Edit anonymous_list" and header munging "Edit first_strip_reply_to" settings should be set to NO and "reply_goes_to_list" must be set to go to the poster -- gmail's web interface now automatically recognizes this feature. Earlier it was not the case. -- ? ?????? ? http://svaksha.com ? From b.ghose at gmail.com Fri Mar 16 07:40:22 2012 From: b.ghose at gmail.com (Baishampayan Ghose) Date: Thu, 15 Mar 2012 23:40:22 -0700 Subject: [BangPypers] JOB - Senior Web Developer - Talented Team! In-Reply-To: References: <1331877642.13035.91.camel@xlquest.web> <87sjh9t6ls.fsf@sanitarium.localdomain> Message-ID: >>>> > Ah well, that was supposed to go to the sender. My bad. Ignore it. >>>> >>>> welcome to the club >>>> >>> >>> Bad karma. I should set the return address for the group to the sender >>> perhaps :) >> >> [...] >> >> Please don't. >> >> A mail client should have some way of specifying "reply to sender" or >> "reply to reply-to address". > > Its not just the mail client's fault. If header munging in Mailman is > set it wont help what the client settings are. So for your suggestion > to work, this ML settings in Mailman for "Edit anonymous_list" and > header munging "Edit first_strip_reply_to" settings should be set to > NO and "reply_goes_to_list" must be set to go to the poster -- gmail's > web interface now automatically recognizes this feature. Earlier it > was not the case. People wanting to reply to the OP (or anyone else) in private is < 10% of the use-case. Such emails should either be composed separately or at least the person sending the email should verify that the mail is indeed going to the intended recipient. Let's not change the default setting to address a corner case. Regards, BG -- Baishampayan Ghose b.ghose at gmail.com From vid at svaksha.com Fri Mar 16 07:51:43 2012 From: vid at svaksha.com (=?UTF-8?B?4KS44KWN4KS14KSV4KWN4KS3?=) Date: Fri, 16 Mar 2012 06:51:43 +0000 Subject: [BangPypers] JOB - Senior Web Developer - Talented Team! In-Reply-To: References: <1331877642.13035.91.camel@xlquest.web> <87sjh9t6ls.fsf@sanitarium.localdomain> Message-ID: On Fri, Mar 16, 2012 at 06:40, Baishampayan Ghose wrote: >>> >>> A mail client should have some way of specifying "reply to sender" or >>> "reply to reply-to address". >> >> Its not just the mail client's fault. If header munging in Mailman is >> set it wont help what the client settings are. So for your suggestion >> to work, this ML settings in Mailman for "Edit anonymous_list" and >> header munging "Edit first_strip_reply_to" settings should be set to >> NO and "reply_goes_to_list" must be set to go to the poster -- gmail's >> web interface now automatically recognizes this feature. Earlier it >> was not the case. > > > People wanting to reply to the OP (or anyone else) in private is < 10% > of the use-case. > > Such emails should either be composed separately or at least the > person sending the email > should verify that the mail is indeed going to the intended recipient. > > Let's not change the default setting to address a corner case. Not asking for a change, just saying that blaming the mail client** is not a solution when it is the last point in the delivery chain. ** most linux clients are smart as is -- ? ?????? ? http://svaksha.com ? From lawgon at gmail.com Fri Mar 16 08:09:32 2012 From: lawgon at gmail.com (Kenneth Gonsalves) Date: Fri, 16 Mar 2012 12:39:32 +0530 Subject: [BangPypers] JOB - Senior Web Developer - Talented Team! In-Reply-To: References: <1331877642.13035.91.camel@xlquest.web> <87sjh9t6ls.fsf@sanitarium.localdomain> Message-ID: <1331881772.3943.4.camel@xlquest.web> On Fri, 2012-03-16 at 06:51 +0000, ?????? wrote: > > Let's not change the default setting to address a corner case. > > Not asking for a change, just saying that blaming the mail client** is > not a solution when it is the last point in the delivery chain. > > ** most linux clients are smart as is I use evolution which is the stupidest mail client that I have seen. When doing a private reply, I click on 'reply privately' - it gives a warning - 'you are replying privately to a group mail', and happily sends the mail to the group. There is no way to reply privately other than cutting and pasting the sender's address. -- regards Kenneth Gonsalves From abpillai at gmail.com Fri Mar 16 09:59:05 2012 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Fri, 16 Mar 2012 14:29:05 +0530 Subject: [BangPypers] JOB - Senior Web Developer - Talented Team! In-Reply-To: References: <1331877642.13035.91.camel@xlquest.web> <87sjh9t6ls.fsf@sanitarium.localdomain> Message-ID: On Fri, Mar 16, 2012 at 12:03 PM, ?????? wrote: > On Fri, Mar 16, 2012 at 06:14, Noufal Ibrahim > wrote: > > Anand Balachandran Pillai writes: > > > >> On Fri, Mar 16, 2012 at 11:30 AM, Kenneth Gonsalves >wrote: > >> > >>> On Fri, 2012-03-16 at 10:39 +0530, Anand Balachandran Pillai wrote: > >>> > Ah well, that was supposed to go to the sender. My bad. Ignore it. > >>> > >>> welcome to the club > >>> > >> > >> Bad karma. I should set the return address for the group to the sender > >> perhaps :) > > > > [...] > > > > Please don't. > > > > A mail client should have some way of specifying "reply to sender" or > > "reply to reply-to address". > > Its not just the mail client's fault. If header munging in Mailman is > set it wont help what the client settings are. So for your suggestion > to work, this ML settings in Mailman for "Edit anonymous_list" and > header munging "Edit first_strip_reply_to" settings should be set to > NO and "reply_goes_to_list" must be set to go to the poster -- gmail's > web interface now automatically recognizes this feature. Earlier it > was not the case. > That is a complicated group of settings. Not sure I want to try that. > > -- > ? ?????? ? http://svaksha.com ? > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand From hr6 at hrlabz.com Fri Mar 16 12:40:34 2012 From: hr6 at hrlabz.com (keerthi) Date: Fri, 16 Mar 2012 04:40:34 -0700 (PDT) Subject: [BangPypers] Looking for python Job In-Reply-To: <783b47270902090255t9b10a2dx695f578ed039e006@mail.gmail.com> References: <783b47270902090255t9b10a2dx695f578ed039e006@mail.gmail.com> Message-ID: <1331898034574-4624885.post@n6.nabble.com> We have very good opening for Python Lead and Python Developer. Please forward your resume to keerthana.consultant at gmail.com Location : Bangalore -- View this message in context: http://python.6.n6.nabble.com/Looking-for-python-Job-tp1957924p4624885.html Sent from the Bangalore (BangPypers) mailing list archive at Nabble.com. From hr6 at hrlabz.com Fri Mar 16 12:47:33 2012 From: hr6 at hrlabz.com (keerthi) Date: Fri, 16 Mar 2012 04:47:33 -0700 (PDT) Subject: [BangPypers] Opening for Python Lead and Python Developer Message-ID: <1331898453308-4624906.post@n6.nabble.com> JD : Web UI technologies: JavaScript/AJAX/CSS3/HTML5/JSON experience with MySQL or Oracle Web framework such as Django or Pylons or Zope Contact : hr6 at hrlabz.com Please send your resume as soon as possible. JD Lead : product development methodologies: Agile, waterfall, Kanban, etc. any one total 6 yrs : 3+ years as Python tech lead Contact : hr6 at hrlabz.com Please send your resume as soon as possible. -- View this message in context: http://python.6.n6.nabble.com/Opening-for-Python-Lead-and-Python-Developer-tp4624906p4624906.html Sent from the Bangalore (BangPypers) mailing list archive at Nabble.com. From arunkumarjigajinni at gmail.com Mon Mar 19 07:48:22 2012 From: arunkumarjigajinni at gmail.com (Arunkumar Jigajinni) Date: Mon, 19 Mar 2012 12:18:22 +0530 Subject: [BangPypers] Need help in keeping dll's in another directory Message-ID: Hi All, I have exe file created from Py2exe in a directory and i have lots of .pyd and .dll files with that, i want to move those dependency files from running directory to another and run the exe. How do i achieve it? Any help would be great. Thanks, Arun From vsapre80 at gmail.com Mon Mar 19 08:22:33 2012 From: vsapre80 at gmail.com (Vishal) Date: Mon, 19 Mar 2012 12:52:33 +0530 Subject: [BangPypers] Need help in keeping dll's in another directory In-Reply-To: References: Message-ID: Move the DLLs and PYDs whereever you want to put them. use regsvr32.exe from Windows\System32 directory to register these DLLs and PYD files (one by one), in their new location Now when you run the executable, windows will provide it with the correct file as and when it summons them. Please know that its best to simply register the latest versions and let them be used. If you wish to provide the latest version with your executable, and If you think your users may have an already registered version of the DLL (say from an earlier install followed by a bad uninstall), you should have the intended dll file (the latest version) and a .local file (just a file with this name) in the same folder as your executable. Having this arrangement, forces the executable to use the dll that is available locally, instead of Windows providing it with the registered version. Also know that the above is sometimes considered bad practice ( http://msdn.microsoft.com/en-us/library/windows/desktop/aa375142(v=vs.85).aspx ) -- Thanks and best regards, Vishal Sapre --- "Life is 10% how you make it, and 90% how you take it" "????? ?????, ????? ????? (Benefit for most people, Happiness for most people.)" --- Please DONT print this email, unless you really need to. Save Energy & Paper. Save the Earth. From arunkumarjigajinni at gmail.com Tue Mar 20 07:27:22 2012 From: arunkumarjigajinni at gmail.com (Arunkumar Jigajinni) Date: Tue, 20 Mar 2012 11:57:22 +0530 Subject: [BangPypers] Need help in keeping dll's in another directory In-Reply-To: References: Message-ID: Thank you Vishal...I will try with this... i think it should suffice my requirement ... On Mon, Mar 19, 2012 at 12:52 PM, Vishal wrote: > Move the DLLs and PYDs whereever you want to put them. > use regsvr32.exe from Windows\System32 directory to register these DLLs and > PYD files (one by one), in their new location > Now when you run the executable, windows will provide it with the correct > file as and when it summons them. > > Please know that its best to simply register the latest versions and let > them be used. > > If you wish to provide the latest version with your executable, and If you > think your users may have an already registered version of the DLL (say > from an earlier install followed by a bad uninstall), you should have the > intended dll file (the latest version) and a .local file (just a > file with this name) in the same folder as your executable. Having this > arrangement, forces the executable to use the dll that is available > locally, instead of Windows providing it with the registered version. > Also know that the above is sometimes considered bad practice ( > > http://msdn.microsoft.com/en-us/library/windows/desktop/aa375142(v=vs.85).aspx > ) > > -- > Thanks and best regards, > Vishal Sapre > > --- > "Life is 10% how you make it, and 90% how you take it" > "????? ?????, ????? ????? (Benefit for most people, Happiness for most > people.)" > --- > Please DONT print this email, unless you really need to. > Save Energy & Paper. Save the Earth. > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From kunal at plivo.com Wed Mar 21 07:56:42 2012 From: kunal at plivo.com (Kunal Kerkar) Date: Wed, 21 Mar 2012 12:26:42 +0530 Subject: [BangPypers] Opening at a telephony startup(Plivo) Message-ID: Hello, We are a small team based in Bangalore. We heavily use django, gunicorn, gevent, freeswitch and redis. Take a look at our offering post to know more about us and apply. http://blog.plivo.com/post/14916412793/come-join-us Cheers, Kunal From vijay750 at gmail.com Thu Mar 22 07:02:15 2012 From: vijay750 at gmail.com (Vijay Ramachandran) Date: Thu, 22 Mar 2012 11:32:15 +0530 Subject: [BangPypers] JOB: Sr Analyst at a Mumbai Financial Firm Message-ID: Hello. I'm posting this on behalf of a friend. Ada Investments is looking for an experienced python developer to work on and enhance their python based technology platform to generate trading models. The ideal candidate will have at least 2 years of experience working in python, as well as a keen interest in financial and trading models, financial markets and statistics. The successful candidate would be responsible for: a. enhancing the research platform for efficiency and functionality b. monitoring and maintaining the research platform c. help developing new investment strategies via technology innovation Ada is open to considering both full time and contractors, with a bias for FT. The position is in Mumbai, but working remotely may be possible based on the merit of the candidate. Salary will be very competitive. Interested candidates please send your CV to Gautam Sachdev < gautam.sachdev at adainvestments.com> Ada Investments is a systems based investment management firm with offices in Mumbai, New York and San Francisco. We produce proprietary and original research marrying finance and technology using cutting edge innovations. Ada is lead by a high calibre group of people comprising of senior academics and industry professionals. regards, Vijay From richa.sinha at globallogic.com Thu Mar 22 08:17:44 2012 From: richa.sinha at globallogic.com (Richa Sinha) Date: Thu, 22 Mar 2012 12:47:44 +0530 Subject: [BangPypers] JOB: Sr Analyst at a Mumbai Financial Firm In-Reply-To: References: Message-ID: Hi All, I am also looking for PYTHON DEVELOPERS for Hyderabad/Bangalore location exp- 1-6 years client- No. 1 player in Internet Search Domain. company- GlobalLogic (Please visit- www.globallogic.com ) Please share CV/References to richa.sinha at globallogic.com Regards, Richa. On Thu, Mar 22, 2012 at 11:32 AM, Vijay Ramachandran wrote: > Hello. I'm posting this on behalf of a friend. > > Ada Investments is looking for an > experienced python developer to work on and enhance their python based > technology platform to generate trading models. The ideal candidate will > have at least 2 years of experience working in python, as well as a keen > interest in financial and trading models, financial markets and statistics. > > The successful candidate would be responsible for: > > a. enhancing the research platform for efficiency and functionality > b. monitoring and maintaining the research platform > c. help developing new investment strategies via technology innovation > > Ada is open to considering both full time and contractors, with a bias for > FT. The position is in Mumbai, but working remotely may be possible based > on the merit of the candidate. Salary will be very competitive. > > Interested candidates please send your CV to Gautam Sachdev < > gautam.sachdev at adainvestments.com> > > Ada Investments is a systems based investment management firm with offices > in Mumbai, New York and San Francisco. We produce proprietary and original > research marrying finance and technology using cutting edge innovations. > Ada is lead by a high calibre group of people comprising of senior > academics and industry professionals. > > regards, > Vijay > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Regards, *Richa Sinha | Associate - Talent Acquisition | GlobalLogic India*. Leaders in Software R&D Services Argentina | China | India | Israel | Ukraine | UK | USA Office: +0-120-406-2000 x 2378 Fax:+91.120.258.5721| Blog: blogs.globallogic.com *www.globallogic.com * Disclamair: *http://www/globallogic.com/email_disclamair.txt* *About GlobalLogic *GlobalLogic is now home to more than 5,500 employees, delivering innovation to leading technology organizations around the globe. Fortune 100 technology leaders as well as cutting-edge emerging companies rely on GlobalLogic to build innovative software that provides a competitive edge in the global economy. With global innovation hubs on three continents, GlobalLogic allows clients to tap a highly skilled talent pool located in state-of-the-art labs that deliver leading-edge cloud, mobile, SaaS, and social applications. The company is connected globally by its award-winning ?Velocity? innovation platform, and its teams thrive on Agile collaboration. Backed by tier-one investors Goldman Sachs, NEA, and Sequoia Capital, GlobalLogic is headquartered in the US and has offices in Argentina, Germany, India, Israel, Ukraine, and the United Kingdom. For more information, visit: www.globallogic.com. From peterhoward42 at gmail.com Sat Mar 24 01:35:21 2012 From: peterhoward42 at gmail.com (Peter Howard) Date: Sat, 24 Mar 2012 00:35:21 +0000 Subject: [BangPypers] Python coders - get paid to do some work at home in your own time. Message-ID: I?m trying to generate a bit more interest for this opportunity for Python coders to get paid for doing some work at home. Please see my project here: http://www.freelancer.com/projects/Python/three-python-classes.html Pete Howard From akghosh3 at gmail.com Sat Mar 24 04:10:11 2012 From: akghosh3 at gmail.com (Aloke Ghosh) Date: Sat, 24 Mar 2012 08:40:11 +0530 Subject: [BangPypers] help needed to understand an error message. Message-ID: Hi, I am learning Python and do not have programming experience. I was following an exercise from http://learnpythonthehardway.org/book/ex2.html and made a mistake in entry : *Print"I like typing this."* and got the following error message: *In [2]: Print"I like typing this."* *------------------------------------------------------------* * File "", line 1* * Print"I like typing this."* * ^* *SyntaxError: invalid syntax* I feel the error is in Capital P in print . However the error indicated with "*^*" hints at quote at the end of the line. *Can any one please help me understand this.* -- A.K.Ghosh Bangalore:560016 Karnataka, India. Mob : +91 9448116503 From vid at svaksha.com Sat Mar 24 05:25:45 2012 From: vid at svaksha.com (=?UTF-8?B?4KS44KWN4KS14KSV4KWN4KS3?=) Date: Sat, 24 Mar 2012 04:25:45 +0000 Subject: [BangPypers] help needed to understand an error message. In-Reply-To: References: Message-ID: On Sat, Mar 24, 2012 at 03:10, Aloke Ghosh wrote: > Hi, > I am learning Python and do not have programming experience. > I was following an exercise from > http://learnpythonthehardway.org/book/ex2.html > and made a mistake in entry : > > *Print"I like typing this."* > > and got the following error message: > > *In [2]: Print"I like typing this."* > *------------------------------------------------------------* > * ? File "", line 1* > * ? ? Print"I like typing this."* > * ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^* > *SyntaxError: invalid syntax* > > I feel the error is in Capital P in print . > However the error indicated with "*^*" > hints at quote at the end of the line. You are right about the errors, capital "P" and "*" On the console if you retry as below it should return only the contents within quotes as output, like this: >>> print "I like typing this." I like typing this. HTH, -- ? ?????? ? http://svaksha.com ? From anandology at gmail.com Sat Mar 24 07:34:28 2012 From: anandology at gmail.com (Anand Chitipothu) Date: Sat, 24 Mar 2012 06:34:28 +0000 Subject: [BangPypers] April Meetup Message-ID: Hi, I'm at Google office attending the Open Data Camp and asked couple of Google folks if they will be interested to host BangPypers meetup and they were very positive. There is a HasGeek event on third saturday of this month, the usual day for BangPyper meetup. I think some of us will be interested to attend that so I suggest to postpone the meetup to Sunday. Please let me know your thoughts. Last month the meetup was at Amrita college and I gave one hour python tutorial to about 50 students. The tutorial was well received and many of them said that they will consider Python for their final year project. Anand From kracethekingmaker at gmail.com Sat Mar 24 07:37:28 2012 From: kracethekingmaker at gmail.com (kracethekingmaker) Date: Sat, 24 Mar 2012 12:07:28 +0530 Subject: [BangPypers] April Meetup In-Reply-To: References: Message-ID: <4F6D6BA8.2020801@gmail.com> Hi > Hi, > > I'm at Google office attending the Open Data Camp and asked couple of > Google folks if they will be interested to host BangPypers meetup and they > were very positive. > > There is a HasGeek event on third saturday of this month, the usual day for > BangPyper meetup. I think some of us will be interested to attend that so I > suggest to postpone the meetup to Sunday. > > Please let me know your thoughts. > > Last month the meetup was at Amrita college and I gave one hour python > tutorial to about 50 students. The tutorial was well received and many of > them said that they will consider Python for their final year project. So Happy to hear. Yes we can have it on Sunday, rather than 2nd saturday. > Anand > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers -- "Talk is cheap, show me the code" -- Linus Torvalds Regards Kracekumar.R www.kracekumar.com From hr6 at hrlabz.com Sat Mar 24 07:43:36 2012 From: hr6 at hrlabz.com (Keerthana) Date: Sat, 24 Mar 2012 12:13:36 +0530 Subject: [BangPypers] Job Opening Message-ID: <5568A3C6F8EA4D0984417A128CFFDBDB@earth> Dear friends, We have a very good Python Lead opening for Web Development MNC. Please send your profiles to hr6 at hrlabz.com 6+ years * Experience with Python is a must * Demonstrated ability to lead teams through projects * Experience coordinating/working with distributed teams (ideally international teams) * Demonstrated experience with multiple product development methodologies: Agile, waterfall, Kanban, etc. Any one Best Regards, Keerthana, HR Labz, Bangalore. hr6 at hrlabz.com Tell No:080-40603613 Mobile :09845322088 From picachu.nioto at gmail.com Sat Mar 24 07:55:20 2012 From: picachu.nioto at gmail.com (Picachu Nioto) Date: Sat, 24 Mar 2012 12:25:20 +0530 Subject: [BangPypers] April Meetup In-Reply-To: <4F6D6BA8.2020801@gmail.com> References: <4F6D6BA8.2020801@gmail.com> Message-ID: Hi Anand, Can you tell me more about these BangPypers meetups? What is done there? How long is it? Is it free to attend? Can a bring my friend? What kind of tutorials are given - basic or advanced topics? Also if you have anything specific planned for April session, will like to know. Since it may fall on Sunday, I have a mind to attend it. Thank you. Picachu. On Sat, Mar 24, 2012 at 12:07 PM, kracethekingmaker < kracethekingmaker at gmail.com> wrote: > Hi > > Hi, >> >> I'm at Google office attending the Open Data Camp and asked couple of >> Google folks if they will be interested to host BangPypers meetup and they >> were very positive. >> >> There is a HasGeek event on third saturday of this month, the usual day >> for >> BangPyper meetup. I think some of us will be interested to attend that so >> I >> suggest to postpone the meetup to Sunday. >> >> Please let me know your thoughts. >> >> Last month the meetup was at Amrita college and I gave one hour python >> tutorial to about 50 students. The tutorial was well received and many of >> them said that they will consider Python for their final year project. >> > So Happy to hear. > Yes we can have it on Sunday, rather than 2nd saturday. > > Anand >> ______________________________**_________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/**mailman/listinfo/bangpypers >> > > > -- > "Talk is cheap, show me the code" -- Linus Torvalds > Regards > Kracekumar.R > www.kracekumar.com > > > ______________________________**_________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/**mailman/listinfo/bangpypers > From kracethekingmaker at gmail.com Sun Mar 25 12:41:27 2012 From: kracethekingmaker at gmail.com (kracethekingmaker) Date: Sun, 25 Mar 2012 16:11:27 +0530 Subject: [BangPypers] Maintaining dev and prod env alike Message-ID: <4F6EF657.9040705@gmail.com> Hi I am using git. I do dev in my localhost and prod env is my web server, I don't have test env. My issue is my model has db params, so param are different in both env, so every time I pull and change db param, I dont think so this is encouraged, though this has nothing to do with python, but most people out here must have faced similar situation, kindly let me know best practices. -- "Talk is cheap, show me the code" -- Linus Torvalds Regards Kracekumar.R www.kracekumar.com From noufal at nibrahim.net.in Sun Mar 25 13:17:10 2012 From: noufal at nibrahim.net.in (Noufal Ibrahim) Date: Sun, 25 Mar 2012 16:47:10 +0530 Subject: [BangPypers] Maintaining dev and prod env alike In-Reply-To: <4F6EF657.9040705@gmail.com> (kracethekingmaker@gmail.com's message of "Sun, 25 Mar 2012 16:11:27 +0530") References: <4F6EF657.9040705@gmail.com> Message-ID: <87ehshylop.fsf@sanitarium.localdomain> kracethekingmaker writes: > Hi > > I am using git. I do dev in my localhost and prod env is my web > server, I don't have test env. My issue is my model has db params, so > param are different in both env, so every time I pull and change db > param, I dont think so this is encouraged, though this has nothing to > do with python, but most people out here must have faced similar > situation, kindly let me know best practices. You should probably keep a -dev settings file which can override the server parameters (or vice versa). This shouldn be as small as possible and should be ignored by git. -- ~noufal http://nibrahim.net.in Procrastination means never having to say you're sorry. From kracethekingmaker at gmail.com Sun Mar 25 13:25:48 2012 From: kracethekingmaker at gmail.com (kracethekingmaker) Date: Sun, 25 Mar 2012 16:55:48 +0530 Subject: [BangPypers] Maintaining dev and prod env alike In-Reply-To: <87ehshylop.fsf@sanitarium.localdomain> References: <4F6EF657.9040705@gmail.com> <87ehshylop.fsf@sanitarium.localdomain> Message-ID: <4F6F00BC.6000504@gmail.com> hi >> Hi >> >> I am using git. I do dev in my localhost and prod env is my web >> server, I don't have test env. My issue is my model has db params, so >> param are different in both env, so every time I pull and change db >> param, I dont think so this is encouraged, though this has nothing to >> do with python, but most people out here must have faced similar >> situation, kindly let me know best practices. > You should probably keep a -dev settings file which can override the > server parameters (or vice versa). This shouldn be as small as possible > and should be ignored by git. Mean config.py ignored by git and have sample_config.py bare bone skeleton? -- "Talk is cheap, show me the code" -- Linus Torvalds Regards Kracekumar.R www.kracekumar.com From naikvin at gmail.com Sun Mar 25 13:38:43 2012 From: naikvin at gmail.com (Vineet Naik) Date: Sun, 25 Mar 2012 17:08:43 +0530 Subject: [BangPypers] Maintaining dev and prod env alike In-Reply-To: <4F6F00BC.6000504@gmail.com> References: <4F6EF657.9040705@gmail.com> <87ehshylop.fsf@sanitarium.localdomain> <4F6F00BC.6000504@gmail.com> Message-ID: I keep a file devsettings.py alongside settings.py and add environment specific config in it. Then inside settings.py, devsettings is imported and all those settings are taken from there devsettings.py is ignored by git but so that you don't lose any settings and to make sharing of this file with other contributors easy, maintain a file devsettings.py.sample which is tracked by git. Whenever a new setting is added in devsettings, it should also go into the sample file. On Sun, Mar 25, 2012 at 4:55 PM, kracethekingmaker wrote: > hi > >>> Hi >>> >>> ?I am using git. I do dev in my localhost and prod env is my web >>> server, I don't have test env. My issue is my model has db params, so >>> param are different in both env, so every time I pull and change db >>> param, I dont think so this is encouraged, though this has nothing to >>> do with python, but most people out here must have faced similar >>> situation, kindly let me know best practices. >> >> You should probably keep a -dev settings file which can override the >> server parameters (or vice versa). This shouldn be as small as possible >> and should be ignored by git. > > Mean config.py ignored by git and have sample_config.py bare bone skeleton? > > > > -- > "Talk is cheap, show me the code" -- Linus Torvalds > Regards > Kracekumar.R > www.kracekumar.com > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers -- Vineet Naik From kracethekingmaker at gmail.com Sun Mar 25 13:41:36 2012 From: kracethekingmaker at gmail.com (kracethekingmaker) Date: Sun, 25 Mar 2012 17:11:36 +0530 Subject: [BangPypers] Maintaining dev and prod env alike In-Reply-To: References: <4F6EF657.9040705@gmail.com> <87ehshylop.fsf@sanitarium.localdomain> <4F6F00BC.6000504@gmail.com> Message-ID: <4F6F0470.3000600@gmail.com> Thanks all, :) > I keep a file devsettings.py alongside settings.py and add environment > specific config in it. > > Then inside settings.py, devsettings is imported and all those > settings are taken from there > > devsettings.py is ignored by git but so that you don't lose any > settings and to make sharing of this file with other > contributors easy, maintain a file devsettings.py.sample which is > tracked by git. > > Whenever a new setting is added in devsettings, it should also go into > the sample file. > > > On Sun, Mar 25, 2012 at 4:55 PM, kracethekingmaker > wrote: >> hi >> >>>> Hi >>>> >>>> I am using git. I do dev in my localhost and prod env is my web >>>> server, I don't have test env. My issue is my model has db params, so >>>> param are different in both env, so every time I pull and change db >>>> param, I dont think so this is encouraged, though this has nothing to >>>> do with python, but most people out here must have faced similar >>>> situation, kindly let me know best practices. >>> You should probably keep a -dev settings file which can override the >>> server parameters (or vice versa). This shouldn be as small as possible >>> and should be ignored by git. >> Mean config.py ignored by git and have sample_config.py bare bone skeleton? >> >> >> >> -- >> "Talk is cheap, show me the code" -- Linus Torvalds >> Regards >> Kracekumar.R >> www.kracekumar.com >> >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers > > -- "Talk is cheap, show me the code" -- Linus Torvalds Regards Kracekumar.R www.kracekumar.com From noufal at nibrahim.net.in Sun Mar 25 13:31:25 2012 From: noufal at nibrahim.net.in (Noufal Ibrahim) Date: Sun, 25 Mar 2012 17:01:25 +0530 Subject: [BangPypers] Maintaining dev and prod env alike In-Reply-To: <4F6F00BC.6000504@gmail.com> (kracethekingmaker@gmail.com's message of "Sun, 25 Mar 2012 16:55:48 +0530") References: <4F6EF657.9040705@gmail.com> <87ehshylop.fsf@sanitarium.localdomain> <4F6F00BC.6000504@gmail.com> Message-ID: <87aa34zzle.fsf@sanitarium.localdomain> kracethekingmaker writes: > hi >>> Hi >>> >>> I am using git. I do dev in my localhost and prod env is my web >>> server, I don't have test env. My issue is my model has db params, so >>> param are different in both env, so every time I pull and change db >>> param, I dont think so this is encouraged, though this has nothing to >>> do with python, but most people out here must have faced similar >>> situation, kindly let me know best practices. >> You should probably keep a -dev settings file which can override the >> server parameters (or vice versa). This shouldn be as small as possible >> and should be ignored by git. > Mean config.py ignored by git and have sample_config.py bare bone > skeleton? You can either have the the "main" one as the production one and have a small ignored dev one which overrides some parts of the production one or vice versa. Either way, make sure that your main config is version controlled and that the ignored one is as small as possible. -- ~noufal http://nibrahim.net.in All generalisations are dangerous, including this one. From picachu.nioto at gmail.com Sun Mar 25 13:47:24 2012 From: picachu.nioto at gmail.com (Picachu Nioto) Date: Sun, 25 Mar 2012 17:17:24 +0530 Subject: [BangPypers] April Meetup In-Reply-To: References: <4F6D6BA8.2020801@gmail.com> Message-ID: Would appreciate a response or pointers. Thanks, Picachu. On Sat, Mar 24, 2012 at 12:25 PM, Picachu Nioto wrote: > Hi Anand, > > Can you tell me more about these BangPypers meetups? > What is done there? How long is it? Is it free to attend? Can a bring my > friend? > What kind of tutorials are given - basic or advanced topics? > > Also if you have anything specific planned for April session, will like to > know. > Since it may fall on Sunday, I have a mind to attend it. > > Thank you. > > Picachu. > > > On Sat, Mar 24, 2012 at 12:07 PM, kracethekingmaker < > kracethekingmaker at gmail.com> wrote: > >> Hi >> >> Hi, >>> >>> I'm at Google office attending the Open Data Camp and asked couple of >>> Google folks if they will be interested to host BangPypers meetup and >>> they >>> were very positive. >>> >>> There is a HasGeek event on third saturday of this month, the usual day >>> for >>> BangPyper meetup. I think some of us will be interested to attend that >>> so I >>> suggest to postpone the meetup to Sunday. >>> >>> Please let me know your thoughts. >>> >>> Last month the meetup was at Amrita college and I gave one hour python >>> tutorial to about 50 students. The tutorial was well received and many of >>> them said that they will consider Python for their final year project. >>> >> So Happy to hear. >> Yes we can have it on Sunday, rather than 2nd saturday. >> >> Anand >>> ______________________________**_________________ >>> BangPypers mailing list >>> BangPypers at python.org >>> http://mail.python.org/**mailman/listinfo/bangpypers >>> >> >> >> -- >> "Talk is cheap, show me the code" -- Linus Torvalds >> Regards >> Kracekumar.R >> www.kracekumar.com >> >> >> ______________________________**_________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/**mailman/listinfo/bangpypers >> > > From benignbala at gmail.com Sun Mar 25 13:53:08 2012 From: benignbala at gmail.com (Balachandran Sivakumar) Date: Sun, 25 Mar 2012 17:23:08 +0530 Subject: [BangPypers] April Meetup In-Reply-To: References: <4F6D6BA8.2020801@gmail.com> Message-ID: Hi, On Sun, Mar 25, 2012 at 5:17 PM, Picachu Nioto wrote: > Would appreciate a response or pointers. > The meet-ups happen once a month, mostly on 3rd Saturdays. All are welcome and you can bring in your friends as well. The agenda will be discussed the week preceding the meeting. Please do drop by for the next meeting :) Thanks PS: Please do not post questions not directly related to the subject, in the same thread. You can always start a new thread. :) > Thanks, > Picachu. > -- Thank you Balachandran Sivakumar Arise Awake and stop not till the goal is reached. ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?- Swami Vivekananda Mail: benignbala at gmail.com Blog: http://benignbala.wordpress.com/ From picachu.nioto at gmail.com Sun Mar 25 13:56:30 2012 From: picachu.nioto at gmail.com (Picachu Nioto) Date: Sun, 25 Mar 2012 17:26:30 +0530 Subject: [BangPypers] April Meetup In-Reply-To: References: <4F6D6BA8.2020801@gmail.com> Message-ID: On Sun, Mar 25, 2012 at 5:23 PM, Balachandran Sivakumar < benignbala at gmail.com> wrote: > Hi, > > On Sun, Mar 25, 2012 at 5:17 PM, Picachu Nioto > wrote: > > Would appreciate a response or pointers. > > > > The meet-ups happen once a month, mostly on 3rd Saturdays. > All are welcome and you can bring in your friends as well. The agenda > will be discussed the week preceding the meeting. Please do drop by > for the next meeting :) Thanks > Thanks! Sure, I'll try to make it. Will need to see the agenda as it is out though. > > PS: Please do not post questions not directly related to the subject, > in the same thread. You can always start a new thread. :) > > Yes, I do not. But this one was relevant to the subject. > > Thanks, > > Picachu. > > > Picachu From benignbala at gmail.com Sun Mar 25 14:02:30 2012 From: benignbala at gmail.com (Balachandran Sivakumar) Date: Sun, 25 Mar 2012 17:32:30 +0530 Subject: [BangPypers] April Meetup In-Reply-To: References: <4F6D6BA8.2020801@gmail.com> Message-ID: Hi, On Sun, Mar 25, 2012 at 5:26 PM, Picachu Nioto wrote: > > Thanks! Sure, I'll try to make it. Will need to see the agenda as it is out > though. > Sure, you are welcome. :) > >> >> PS: Please do not post questions not directly related to the subject, >> in the same thread. You can always start a new thread. :) >> >> > Yes, I do not. But this one was relevant to the subject. > Sorry, that was my mistake. I was reading a series of mails from a couple of mailing lists, and added that P.S by mistake(confusing this for another thread that I was just reading). Thanks -- Thank you Balachandran Sivakumar Arise Awake and stop not till the goal is reached. ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?- Swami Vivekananda Mail: benignbala at gmail.com Blog: http://benignbala.wordpress.com/ From noufal at nibrahim.net.in Mon Mar 26 07:43:14 2012 From: noufal at nibrahim.net.in (Noufal Ibrahim) Date: Mon, 26 Mar 2012 11:13:14 +0530 Subject: [BangPypers] April meetup Message-ID: <871uofgbnx.fsf@sanitarium.localdomain> Since there's still time for the meetup, I'd like to start a thread to discuss if anyone has ideas for a presentation. -- ~noufal http://nibrahim.net.in A verbal contract isn't worth the paper it's written on. Include me out. -Samuel Goldwyn From vsapre80 at gmail.com Mon Mar 26 07:47:35 2012 From: vsapre80 at gmail.com (Vishal) Date: Mon, 26 Mar 2012 11:17:35 +0530 Subject: [BangPypers] Industrial Control Systems in Python Message-ID: Hello, There is a need in our company to prototype some control systems in Python. These would be general industrial control systems. After this prototype is made, I was wondering it there would be a way to use the same code to actually do the control. Has anybody worked on this kind of stuff here. Any suggestions? Usually such controllers are implemented using PLCs (Programmable Logic Controllers) and their proprietary programming languages (ST...which is Basic like, Block diagrams, Ladders etc). I want to replace all that with a PC running the control application coded in Python. Any pointers towards Single Board Computers that can be used? etc Thanks and best regards, Vishal Sapre --- "Life is 10% how you make it, and 90% how you take it" "????? ?????, ????? ????? (Benefit for most people, Happiness for most people.)" --- Please DONT print this email, unless you really need to. Save Energy & Paper. Save the Earth. From noufal at nibrahim.net.in Mon Mar 26 07:52:33 2012 From: noufal at nibrahim.net.in (Noufal Ibrahim) Date: Mon, 26 Mar 2012 11:22:33 +0530 Subject: [BangPypers] Industrial Control Systems in Python In-Reply-To: (Vishal's message of "Mon, 26 Mar 2012 11:17:35 +0530") References: Message-ID: <87k427ewny.fsf@sanitarium.localdomain> Vishal writes: > Hello, > > There is a need in our company to prototype some control systems in Python. > These would be general industrial control systems. > After this prototype is made, I was wondering it there would be a way to > use the same code to actually do the control. Has anybody worked on this > kind of stuff here. Any suggestions? > > Usually such controllers are implemented using PLCs (Programmable Logic > Controllers) and their proprietary programming languages (ST...which is > Basic like, Block diagrams, Ladders etc). I want to replace all that with a > PC running the control application coded in Python. > Any pointers towards Single Board Computers that can be used? etc Aren't these devices very low on memory and processing power? I'm not really familiar with the area but my gut feel is that Python might be overkill there? That being said, I have managed to get Python running on an embedded device but it had a microprocessor and a stripped down OS so it wasn't too hard. Just a cross compilation and a little trimming of the standard library and other such things. If your situation is similar, I might be able to help out. Another thing I can think of, and this is just an idea, is that you can write your control application in perhaps a subset of Python, then "compile" it into ST and then use it with the regular toolchain. [...] -- ~noufal http://nibrahim.net.in I'm proud of my humility. From vsapre80 at gmail.com Mon Mar 26 09:33:02 2012 From: vsapre80 at gmail.com (Vishal) Date: Mon, 26 Mar 2012 13:03:02 +0530 Subject: [BangPypers] Industrial Control Systems in Python In-Reply-To: <87k427ewny.fsf@sanitarium.localdomain> References: <87k427ewny.fsf@sanitarium.localdomain> Message-ID: On Mon, Mar 26, 2012 at 11:22 AM, Noufal Ibrahim wrote: > Vishal writes: > > > Hello, > > > > There is a need in our company to prototype some control systems in > Python. > > These would be general industrial control systems. > > After this prototype is made, I was wondering it there would be a way to > > use the same code to actually do the control. Has anybody worked on this > > kind of stuff here. Any suggestions? > > > > Usually such controllers are implemented using PLCs (Programmable Logic > > Controllers) and their proprietary programming languages (ST...which is > > Basic like, Block diagrams, Ladders etc). I want to replace all that > with a > > PC running the control application coded in Python. > > Any pointers towards Single Board Computers that can be used? etc > > Aren't these devices very low on memory and processing power? I'm not > really familiar with the area but my gut feel is that Python might be > overkill there? > > That being said, I have managed to get Python running on an embedded > device but it had a microprocessor and a stripped down OS so it wasn't > too hard. Just a cross compilation and a little trimming of the standard > library and other such things. If your situation is similar, I might be > able to help out. > > Another thing I can think of, and this is just an idea, is that you can > write your control application in perhaps a subset of Python, then > "compile" it into ST and then use it with the regular toolchain. > > [...] > > > -- > ~noufal > http://nibrahim.net.in > > I'm proud of my humility. > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > Noufal, I would like to use a regular x86 processor with Linux (stripped down)... to avoid recompiling Python itself...to avoid one more variable in the entire process. What was the processor/OS combination you mentioned earlier ? Compiling the Python code to ST means, writing a compiler :))...which will be a serious project in itself. and then I will loose all the good things that come with Python. This field badly needs Python :)) -- Thanks and best regards, Vishal Sapre From noufal at nibrahim.net.in Mon Mar 26 10:00:31 2012 From: noufal at nibrahim.net.in (Noufal Ibrahim) Date: Mon, 26 Mar 2012 13:30:31 +0530 Subject: [BangPypers] Industrial Control Systems in Python In-Reply-To: (Vishal's message of "Mon, 26 Mar 2012 13:03:02 +0530") References: <87k427ewny.fsf@sanitarium.localdomain> Message-ID: <87d37zhjvk.fsf@sanitarium.localdomain> Vishal writes: [...] > Noufal, I would like to use a regular x86 processor with Linux > (stripped down)... to avoid recompiling Python itself...to avoid one > more variable in the entire process. What was the processor/OS > combination you mentioned earlier ? In my case, it was an ARM processor with a stripped down Linux kernel running busybox for basic userspace utilities. I cross compiled Python for ARM, got rid of most of the standard libraries and managed to squeeze it onto the device. The python was for a tiny server which listened over USB that acted as a kind of RPC server on the device. You could write code on your host machine and a module would translate that into JSON, send it over the wire to the device where this server would run the code and send back responses that were interpreted by the host library. We used it to test the device. You could say things like `device.ioctl(...)` and it would actually execute the ioctl on the device with the params you sent it. > Compiling the Python code to ST means, writing a compiler :))...which > will be a serious project in itself. and then I will loose all the > good things that come with Python. Not necessarily. How complicated is ST? I wrote a simple declarative config language that Python would compile into once. It was some ast tricks and I'd seriously consider it as an alternative if the target language was not too complex. But you're a better judge of the situation. It's just something that occurred to me. -- ~noufal http://nibrahim.net.in Cum tacent, clamant. When they are silent, they shout. -Cicero From vsapre80 at gmail.com Mon Mar 26 14:29:39 2012 From: vsapre80 at gmail.com (Vishal) Date: Mon, 26 Mar 2012 17:59:39 +0530 Subject: [BangPypers] Industrial Control Systems in Python In-Reply-To: <87d37zhjvk.fsf@sanitarium.localdomain> References: <87k427ewny.fsf@sanitarium.localdomain> <87d37zhjvk.fsf@sanitarium.localdomain> Message-ID: On Mon, Mar 26, 2012 at 1:30 PM, Noufal Ibrahim wrote: > Vishal writes: > > > [...] > > > Noufal, I would like to use a regular x86 processor with Linux > > (stripped down)... to avoid recompiling Python itself...to avoid one > > more variable in the entire process. What was the processor/OS > > combination you mentioned earlier ? > > In my case, it was an ARM processor with a stripped down Linux kernel > running busybox for basic userspace utilities. I cross compiled Python > for ARM, got rid of most of the standard libraries and managed to > squeeze it onto the device. > > The python was for a tiny server which listened over USB that acted as a > kind of RPC server on the device. You could write code on your host > machine and a module would translate that into JSON, send it over the > wire to the device where this server would run the code and send back > responses that were interpreted by the host library. We used it to test > the device. You could say things like `device.ioctl(...)` and it would > actually execute the ioctl on the device with the params you sent it. > > > Compiling the Python code to ST means, writing a compiler :))...which > > will be a serious project in itself. and then I will loose all the > > good things that come with Python. > > Not necessarily. How complicated is ST? I wrote a simple declarative > config language that Python would compile into once. It was some ast > tricks and I'd seriously consider it as an alternative if the target > language was not too complex. But you're a better judge of the > situation. It's just something that occurred to me. > > > -- > ~noufal > http://nibrahim.net.in > > Cum tacent, clamant. When they are silent, they shout. -Cicero > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > 1) The scenario you describe is very close to what we would like to have...except that I wish to have an SBC running the actual control code in Python and a small micro-controller board to manage peripherals like ADC and PWM pins...that would translate to the control actions. These two talk over wire, using some protocol...some request-response bytes structure that we invent :)) Now the next thing is...what is busybox and can I use it in this case on the SBC? and where to find such SBCs.... Any pointers... ? the search continues :)) Recently I have realized that almost all problems in this world...are a form of search...No wonder the company that mastered search is a "G"iant now. 2) Going the ST way is not recommended (BTW its called Structured Text) ...because only a compiler will not be enough, we'll have to come up with some way of debugging... It would be like creating a whole new language. -- Thanks and best regards, Vishal Sapre --- "Life is 10% how you make it, and 90% how you take it" "????? ?????, ????? ????? (Benefit for most people, Happiness for most people.)" --- Please DONT print this email, unless you really need to. Save Energy & Paper. Save the Earth. From noufal at nibrahim.net.in Mon Mar 26 14:54:49 2012 From: noufal at nibrahim.net.in (Noufal Ibrahim) Date: Mon, 26 Mar 2012 18:24:49 +0530 Subject: [BangPypers] Industrial Control Systems in Python In-Reply-To: (Vishal's message of "Mon, 26 Mar 2012 17:59:39 +0530") References: <87k427ewny.fsf@sanitarium.localdomain> <87d37zhjvk.fsf@sanitarium.localdomain> Message-ID: <87mx73from.fsf@sanitarium.localdomain> Vishal writes: [...] > 1) The scenario you describe is very close to what we would like to > have...except that I wish to have an SBC running the actual control > code in Python and a small micro-controller board to manage > peripherals like ADC and PWM pins...that would translate to the > control actions. These two talk over wire, using some protocol...some > request-response bytes structure that we invent :)) I wrote a custom JSON based protocol but later in the project, I wished I had used something more standard. > Now the next thing is...what is busybox and can I use it in this case > on the SBC? and where to find such SBCs.... Busybox[1] is a single executable that provides the functionality of many of the basic UNIX userspace utilities (like ls etc.) depending on what name it's called with. You can simply symlink ls etc. to busybox and it'll work. It's very useful for embedded situations since you can just drop in a single executable and get all the basic things for free. > Any pointers... ? Apropos SBCs, I recently bought a beagle board[2] for someone who was working on a project. It's ARM based and is quite powerful. It has tons of ports you can connect stuff to. I think he booted it with something called Angstrom[3] and then we connected to it via. serial and got a complete environment. It's powerful enough to run a proper small GNU/Linux. I don't think you need busybox and things like that. This is the only one *I* know of. You can order it in Bangalore from Tenet technologies[4] and it costs a little less than 10k. > the search continues :)) > > Recently I have realized that almost all problems in this world...are > a form of search...No wonder the company that mastered search is a > "G"iant now. My take is different. I recently met someone famous but I didn't recollect what he was famous for. He was standing about a metre away from me and instead of starting a conversation - something which I can do fairly well, I actually googled for his name to find out more about him. Later in the evening, I seriously wished that I didn't have the ability to just "search" for him. The conversation would have been a lot more interesting. But I'm a bit of a luddite so... > 2) Going the ST way is not recommended (BTW its called Structured > Text) ...because only a compiler will not be enough, we'll have to > come up with some way of debugging... It would be like creating a > whole new language. Good point. My use case was a lot less complicated. Footnotes: [1] http://www.busybox.net/about.html [2] http://beagleboard.org/ [3] http://www.angstrom-distribution.org/ [4] http://tenettech.com/ -- ~noufal http://nibrahim.net.in "I always avoid prophesying beforehand because it is much better to prophesy after the event has already taken place. " - Winston Churchill From vsapre80 at gmail.com Mon Mar 26 16:26:41 2012 From: vsapre80 at gmail.com (Vishal) Date: Mon, 26 Mar 2012 19:56:41 +0530 Subject: [BangPypers] Industrial Control Systems in Python In-Reply-To: <87mx73from.fsf@sanitarium.localdomain> References: <87k427ewny.fsf@sanitarium.localdomain> <87d37zhjvk.fsf@sanitarium.localdomain> <87mx73from.fsf@sanitarium.localdomain> Message-ID: On Mon, Mar 26, 2012 at 6:24 PM, Noufal Ibrahim wrote: > Vishal writes: > > > [...] > > > 1) The scenario you describe is very close to what we would like to > > have...except that I wish to have an SBC running the actual control > > code in Python and a small micro-controller board to manage > > peripherals like ADC and PWM pins...that would translate to the > > control actions. These two talk over wire, using some protocol...some > > request-response bytes structure that we invent :)) > > I wrote a custom JSON based protocol but later in the project, I wished > I had used something more standard. > > > Now the next thing is...what is busybox and can I use it in this case > > on the SBC? and where to find such SBCs.... > > Busybox[1] is a single executable that provides the functionality of > many of the basic UNIX userspace utilities (like ls etc.) depending on > what name it's called with. You can simply symlink ls etc. to busybox > and it'll work. It's very useful for embedded situations since you can > just drop in a single executable and get all the basic things for free. > > > Any pointers... ? > > Apropos SBCs, I recently bought a beagle board[2] for someone who was > working on a project. It's ARM based and is quite powerful. It has tons > of ports you can connect stuff to. I think he booted it with something > called Angstrom[3] and then we connected to it via. serial and got a > complete environment. It's powerful enough to run a proper small > GNU/Linux. I don't think you need busybox and things like that. This is > the only one *I* know of. You can order it in Bangalore from Tenet > technologies[4] and it costs a little less than 10k. > > > the search continues :)) > > > > Recently I have realized that almost all problems in this world...are > > a form of search...No wonder the company that mastered search is a > > "G"iant now. > > My take is different. I recently met someone famous but I didn't > recollect what he was famous for. He was standing about a metre away > from me and instead of starting a conversation - something which I can > do fairly well, I actually googled for his name to find out more about > him. Later in the evening, I seriously wished that I didn't have the > ability to just "search" for him. The conversation would have been a lot > more interesting. But I'm a bit of a luddite so... > > > 2) Going the ST way is not recommended (BTW its called Structured > > Text) ...because only a compiler will not be enough, we'll have to > > come up with some way of debugging... It would be like creating a > > whole new language. > > Good point. My use case was a lot less complicated. > > > Footnotes: > [1] http://www.busybox.net/about.html > > [2] http://beagleboard.org/ > > [3] http://www.angstrom-distribution.org/ > > [4] http://tenettech.com/ > > -- > ~noufal > http://nibrahim.net.in > > "I always avoid prophesying beforehand because it is much better to > prophesy after the event has already taken place. " - Winston Churchill > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > Noufal, Thanks for the links. I hope my search will lead me to a decent solution. Indeed, machines_and_automation (of all kinds) is most of the times against humanization...so, i guess the only way is to stay human, while surrounded by machines all the time, is to exercise the humanitarian aspect of our personalities as much as possible every day of our lives. -- Warm regards, Vishal Sapre --- "Life is 10% how you make it, and 90% how you take it" "????? ?????, ????? ????? (Benefit for most people, Happiness for most people.)" --- Please DONT print this email, unless you really need to. Save Energy & Paper. Save the Earth. From wah_meng at yahoo.com Tue Mar 27 12:08:27 2012 From: wah_meng at yahoo.com (Wah Meng Wong) Date: Tue, 27 Mar 2012 03:08:27 -0700 (PDT) Subject: [BangPypers] Socket Error : Address still in use (Conveting from python 1.5.2 to 2.7.1) In-Reply-To: <20110918102341.GA5546@mathmagic> References: <1316337331.30517.YahooMailNeo@web30404.mail.mud.yahoo.com> <20110918102341.GA5546@mathmagic> Message-ID: <1332842907.54534.YahooMailNeo@web160203.mail.bf1.yahoo.com> Hello there, ? I am almost done converting my application from python 1.5.2 to python 2.7.1 on a HP-UX 11 Itanium box. ? My application server will set a listening port, accepting request from multiple clients. The code just works fine in the old python environment. E.g. when I do a lsof | grep I got the following. ? python???? 62602? genasm??? 5u? IPv4 0x7350d1f0??????? 0t0? TCP zmy02aix02:12121 (LISTEN) python???? 62602? genasm??? 6u? IPv4 0x744fb5f0??????? 0t0? TCP zmy02aix02:12121->zmy02aix02-bkup:51867 (ESTABLISHED) python???? 62602? genasm??? 7u? IPv4 0x75b959f0??????? 0t0? TCP zmy02aix02:12121->zmy02aix02-bkup:51869 (ESTABLISHED) python???? 62602? genasm??? 8u? IPv4 0x75a559f0??????? 0t0? TCP zmy02aix02:12121->zmy02aix02-bkup:51873 (ESTABLISHED) ? Strange things happened in python 2.7.1. Without modifying the code of how the socket was created and how the TCP/IP address was bound to the socket, it seems that every other processes that I run, which supposed to connect to the listening port as a client program, also appears to be holding a listening port. This is weird. Anyone has encountered this before especially when you were converting from an old python to a new python? Like you can see below there are 5 processes hosting the listening port of 18882. ? $ lsof -i tcp | grep 18882 python? 10598 r32813??? 3u? IPv4 0xe00000050b73e400?????? 0t0? TCP zmy02hp3.ap.freescale.net:18882 (LISTEN) python? 18181 r32813??? 3u? IPv4 0xe00000050b73e400?????? 0t0? TCP zmy02hp3.ap.freescale.net:18882 (LISTEN) python? 20025 r32813??? 3u? IPv4 0xe00000050b73e400?????? 0t0? TCP zmy02hp3.ap.freescale.net:18882 (LISTEN) python? 26295 r32813??? 3u? IPv4 0xe00000050b73e400?????? 0t0? TCP zmy02hp3.ap.freescale.net:18882 (LISTEN) python? 26428 r32813??? 3u? IPv4 0xe00000050b73e400?????? 0t0? TCP zmy02hp3.ap.freescale.net:18882 (LISTEN) ? Since only one of them is the genuine process holding the port, I need to kill off the rest of them if I need to restart the process which is the legitimate owner of the listening port. It should not work this way. ? Here is the code of the application process that hosts the listening port. ? ????? self.sock = socket.socket( socket.AF_INET, socket.SOCK_STREAM ) ????? self.sock.setsockopt( socket.SOL_SOCKET, socket.SO_REUSEADDR, 1 ) ????? self.sock.setsockopt( socket.SOL_SOCKET, socket.SO_KEEPALIVE, 1 ????? self.sock.setsockopt( socket.IPPROTO_TCP, _TCP_NODELAY, 1 ) ????? self.sock.bind( self.server_address ) ? ? Here is the client code that does the connection. ? ?????? self.sock = socket.socket( socket.AF_INET, socket.SOCK_STREAM ) ?????? self.sock.setsockopt( socket.IPPROTO_TCP, _TCP_NODELAY, 1 ) ?????? self.sock.connect( self.server_address ) Hope to hear something from the community. ? Regards, Wah Meng From anandology at gmail.com Tue Mar 27 16:26:47 2012 From: anandology at gmail.com (Anand Chitipothu) Date: Tue, 27 Mar 2012 19:56:47 +0530 Subject: [BangPypers] April meetup In-Reply-To: <871uofgbnx.fsf@sanitarium.localdomain> References: <871uofgbnx.fsf@sanitarium.localdomain> Message-ID: Since there's still time for the meetup, I'd like to start a thread to > discuss if anyone has ideas for a presentation. > I can talk about how to start a python project. This includes: * writing setup.py, Makefile, Readme * setting up virtualenv for the project * setting up sphinx documentation and hosting it on readthedocs.org * writing tests and setting up continuous integration using http://travis-ci.org/ * Making releases and uploading the packages to pypi Anand From noufal at nibrahim.net.in Tue Mar 27 16:24:58 2012 From: noufal at nibrahim.net.in (Noufal Ibrahim) Date: Tue, 27 Mar 2012 19:54:58 +0530 Subject: [BangPypers] April meetup In-Reply-To: <871uofgbnx.fsf@sanitarium.localdomain> (Noufal Ibrahim's message of "Mon, 26 Mar 2012 11:13:14 +0530") References: <871uofgbnx.fsf@sanitarium.localdomain> Message-ID: <87bonice9x.fsf@sanitarium.localdomain> I myself could speak about either pygame (game development in general) or on the Python C API. -- ~noufal http://nibrahim.net.in I distinctly remember forgetting that. -Clara Barton From vinayakh at gmail.com Tue Mar 27 17:18:03 2012 From: vinayakh at gmail.com (Vinayak Hegde) Date: Tue, 27 Mar 2012 20:48:03 +0530 Subject: [BangPypers] April meetup In-Reply-To: <87bonice9x.fsf@sanitarium.localdomain> References: <871uofgbnx.fsf@sanitarium.localdomain> <87bonice9x.fsf@sanitarium.localdomain> Message-ID: Can I vote ? +1 for pygame. Would also like to hear experiences of people who went to Pycon this month. -- Vinayak On Tue, Mar 27, 2012 at 7:54 PM, Noufal Ibrahim wrote: > > I myself could speak about either pygame (game development in general) > or on the Python C API. > > -- > ~noufal > http://nibrahim.net.in > > I distinctly remember forgetting that. -Clara Barton > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers From kracethekingmaker at gmail.com Tue Mar 27 18:20:26 2012 From: kracethekingmaker at gmail.com (kracethekingmaker) Date: Tue, 27 Mar 2012 21:50:26 +0530 Subject: [BangPypers] April meetup In-Reply-To: References: <871uofgbnx.fsf@sanitarium.localdomain> <87bonice9x.fsf@sanitarium.localdomain> Message-ID: <4F71E8CA.8020203@gmail.com> Hi For past two months I am trying to attend bangpypers but unfortunately I was unable to attend. But this time I will make it, mean while how long does meet up lasts? If so I can also give some basic demo on Flask, requests, twitter live streaming etc . . . From past two weeks observation can any one share the audience are beginners, intermediate or advanced python users. In case time is constraint I will not present this time, next time I can show demo. Probably we can watch any one pycon video(Guido's keynote or any other video). +1 for Anand's topic. > Can I vote ? +1 for pygame. Would also like to hear experiences of > people who went to Pycon this month. > > -- Vinayak > > On Tue, Mar 27, 2012 at 7:54 PM, Noufal Ibrahim wrote: >> I myself could speak about either pygame (game development in general) >> or on the Python C API. >> >> -- >> ~noufal >> http://nibrahim.net.in >> >> I distinctly remember forgetting that. -Clara Barton >> _______________________________________________ >> 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 -- "Talk is cheap, show me the code" -- Linus Torvalds Regards Kracekumar.R www.kracekumar.com From benignbala at gmail.com Tue Mar 27 18:32:40 2012 From: benignbala at gmail.com (Balachandran Sivakumar) Date: Tue, 27 Mar 2012 22:02:40 +0530 Subject: [BangPypers] April meetup In-Reply-To: <87bonice9x.fsf@sanitarium.localdomain> References: <871uofgbnx.fsf@sanitarium.localdomain> <87bonice9x.fsf@sanitarium.localdomain> Message-ID: Hi, On Tue, Mar 27, 2012 at 7:54 PM, Noufal Ibrahim wrote: > > I myself could speak about either pygame (game development in general) > or on the Python C API. > +1 for both the topics - Python project creation and pygame. Anand, it would be great if you could demo it with a real world project, not a hello world project :) But anything would be fine. Thanks -- Thank you Balachandran Sivakumar Arise Awake and stop not till the goal is reached. ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?- Swami Vivekananda Mail: benignbala at gmail.com Blog: http://benignbala.wordpress.com/ From arjun_r at live.com Tue Mar 27 19:28:50 2012 From: arjun_r at live.com (Arjun R) Date: Tue, 27 Mar 2012 22:58:50 +0530 Subject: [BangPypers] April meetup In-Reply-To: References: <871uofgbnx.fsf@sanitarium.localdomain>, <87bonice9x.fsf@sanitarium.localdomain>, Message-ID: Wow amazing topics this time. +1 - anand +1 - Python C API +1 - PyCon +1 - Flask/Werkzeug or CherryPy?? @krace I'm a student having only a few project experiences with Python. As long as you dont direc > From: benignbala at gmail.com > Date: Tue, 27 Mar 2012 22:02:40 +0530 > To: bangpypers at python.org > Subject: Re: [BangPypers] April meetup > > Hi, > > On Tue, Mar 27, 2012 at 7:54 PM, Noufal Ibrahim wrote: > > > > I myself could speak about either pygame (game development in general) > > or on the Python C API. > > > > +1 for both the topics - Python project creation and pygame. > > Anand, it would be great if you could demo it with a real world > project, not a hello world project :) But anything would be fine. > Thanks > > -- > Thank you > Balachandran Sivakumar > > Arise Awake and stop not till the goal is reached. > - Swami Vivekananda > > Mail: benignbala at gmail.com > Blog: http://benignbala.wordpress.com/ > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers From kracethekingmaker at gmail.com Tue Mar 27 19:34:04 2012 From: kracethekingmaker at gmail.com (kracethekingmaker) Date: Tue, 27 Mar 2012 23:04:04 +0530 Subject: [BangPypers] April meetup In-Reply-To: References: <871uofgbnx.fsf@sanitarium.localdomain>, <87bonice9x.fsf@sanitarium.localdomain>, Message-ID: <4F71FA0C.8070206@gmail.com> Hi > > > > Wow amazing topics this time. > > +1 - anand > > +1 - Python C API > > +1 - PyCon > +1 - Flask/Werkzeug or CherryPy?? > @krace I'm a student having only a few project experiences with Python. As long as you dont direc I will make sure, I keep things very simple. @arjun: `As long as you dont direc` I din get this. >> From: benignbala at gmail.com >> Date: Tue, 27 Mar 2012 22:02:40 +0530 >> To: bangpypers at python.org >> Subject: Re: [BangPypers] April meetup >> >> Hi, >> >> On Tue, Mar 27, 2012 at 7:54 PM, Noufal Ibrahim wrote: >>> I myself could speak about either pygame (game development in general) >>> or on the Python C API. >>> >> +1 for both the topics - Python project creation and pygame. >> >> Anand, it would be great if you could demo it with a real world >> project, not a hello world project :) But anything would be fine. >> Thanks >> >> -- >> Thank you >> Balachandran Sivakumar >> >> Arise Awake and stop not till the goal is reached. >> - Swami Vivekananda >> >> Mail: benignbala at gmail.com >> Blog: http://benignbala.wordpress.com/ >> _______________________________________________ >> 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 -- "Talk is cheap, show me the code" -- Linus Torvalds Regards Kracekumar.R www.kracekumar.com From arjun_r at live.com Tue Mar 27 19:36:34 2012 From: arjun_r at live.com (Arjun R) Date: Tue, 27 Mar 2012 23:06:34 +0530 Subject: [BangPypers] April meetup In-Reply-To: <4F71FA0C.8070206@gmail.com> References: <871uofgbnx.fsf@sanitarium.localdomain>, , <87bonice9x.fsf@sanitarium.localdomain>, , , , <4F71FA0C.8070206@gmail.com> Message-ID: @krace I'm a student having only a few project experiences with Python. As long as you dont directly go advanced, I guess I can follow. Sorry for the spamming guys. > Date: Tue, 27 Mar 2012 23:04:04 +0530 > From: kracethekingmaker at gmail.com > To: bangpypers at python.org > Subject: Re: [BangPypers] April meetup > > Hi > > > > > > > > Wow amazing topics this time. > > > > +1 - anand > > > > +1 - Python C API > > > > +1 - PyCon > > +1 - Flask/Werkzeug or CherryPy?? > > @krace I'm a student having only a few project experiences with Python. As long as you dont direc > I will make sure, I keep things very simple. > > @arjun: > > `As long as you dont direc` > > I din get this. > > > >> From: benignbala at gmail.com > >> Date: Tue, 27 Mar 2012 22:02:40 +0530 > >> To: bangpypers at python.org > >> Subject: Re: [BangPypers] April meetup > >> > >> Hi, > >> > >> On Tue, Mar 27, 2012 at 7:54 PM, Noufal Ibrahim wrote: > >>> I myself could speak about either pygame (game development in general) > >>> or on the Python C API. > >>> > >> +1 for both the topics - Python project creation and pygame. > >> > >> Anand, it would be great if you could demo it with a real world > >> project, not a hello world project :) But anything would be fine. > >> Thanks > >> > >> -- > >> Thank you > >> Balachandran Sivakumar > >> > >> Arise Awake and stop not till the goal is reached. > >> - Swami Vivekananda > >> > >> Mail: benignbala at gmail.com > >> Blog: http://benignbala.wordpress.com/ > >> _______________________________________________ > >> 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 > > > -- > "Talk is cheap, show me the code" -- Linus Torvalds > Regards > Kracekumar.R > www.kracekumar.com > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers From kracethekingmaker at gmail.com Tue Mar 27 19:39:34 2012 From: kracethekingmaker at gmail.com (kracethekingmaker) Date: Tue, 27 Mar 2012 23:09:34 +0530 Subject: [BangPypers] April meetup In-Reply-To: References: <871uofgbnx.fsf@sanitarium.localdomain>, , <87bonice9x.fsf@sanitarium.localdomain>, , , , <4F71FA0C.8070206@gmail.com> Message-ID: <4F71FB56.3060804@gmail.com> Hi > > @krace I'm a student having only a few project experiences with Python. As long as you dont directly go advanced, I guess I can follow. Yes, I will make things simpler. > Sorry for the spamming guys. > >> Date: Tue, 27 Mar 2012 23:04:04 +0530 >> From: kracethekingmaker at gmail.com >> To: bangpypers at python.org >> Subject: Re: [BangPypers] April meetup >> >> Hi >>> >>> >>> Wow amazing topics this time. >>> >>> +1 - anand >>> >>> +1 - Python C API >>> >>> +1 - PyCon >>> +1 - Flask/Werkzeug or CherryPy?? >>> @krace I'm a student having only a few project experiences with Python. As long as you dont direc >> I will make sure, I keep things very simple. >> >> @arjun: >> >> `As long as you dont direc` >> >> I din get this. >> >> >>>> From: benignbala at gmail.com >>>> Date: Tue, 27 Mar 2012 22:02:40 +0530 >>>> To: bangpypers at python.org >>>> Subject: Re: [BangPypers] April meetup >>>> >>>> Hi, >>>> >>>> On Tue, Mar 27, 2012 at 7:54 PM, Noufal Ibrahim wrote: >>>>> I myself could speak about either pygame (game development in general) >>>>> or on the Python C API. >>>>> >>>> +1 for both the topics - Python project creation and pygame. >>>> >>>> Anand, it would be great if you could demo it with a real world >>>> project, not a hello world project :) But anything would be fine. >>>> Thanks >>>> >>>> -- >>>> Thank you >>>> Balachandran Sivakumar >>>> >>>> Arise Awake and stop not till the goal is reached. >>>> - Swami Vivekananda >>>> >>>> Mail: benignbala at gmail.com >>>> Blog: http://benignbala.wordpress.com/ >>>> _______________________________________________ >>>> 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 >> >> -- >> "Talk is cheap, show me the code" -- Linus Torvalds >> Regards >> Kracekumar.R >> www.kracekumar.com >> >> _______________________________________________ >> 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 -- "Talk is cheap, show me the code" -- Linus Torvalds Regards Kracekumar.R www.kracekumar.com From swamiyeswanth at gmail.com Tue Mar 27 19:43:56 2012 From: swamiyeswanth at gmail.com (yeswanth) Date: Tue, 27 Mar 2012 23:13:56 +0530 Subject: [BangPypers] April meetup In-Reply-To: <4F71FB56.3060804@gmail.com> References: <871uofgbnx.fsf@sanitarium.localdomain> <87bonice9x.fsf@sanitarium.localdomain> <4F71FA0C.8070206@gmail.com> <4F71FB56.3060804@gmail.com> Message-ID: Hi, I can give an introduction to ZeroMQ asynchronous messaging library if any one is interested :) On Tue, Mar 27, 2012 at 11:09 PM, kracethekingmaker < kracethekingmaker at gmail.com> wrote: > Hi > > >> @krace I'm a student having only a few project experiences with Python. >> As long as you dont directly go advanced, I guess I can follow. >> > > Yes, I will make things simpler. > > Sorry for the spamming guys. >> >> Date: Tue, 27 Mar 2012 23:04:04 +0530 >>> From: kracethekingmaker at gmail.com >>> To: bangpypers at python.org >>> Subject: Re: [BangPypers] April meetup >>> >>> Hi >>> >>>> >>>> >>>> Wow amazing topics this time. >>>> >>>> +1 - anand >>>> >>>> +1 - Python C API >>>> >>>> +1 - PyCon >>>> +1 - Flask/Werkzeug or CherryPy?? >>>> @krace I'm a student having only a few project experiences with Python. >>>> As long as you dont direc >>>> >>> I will make sure, I keep things very simple. >>> >>> @arjun: >>> >>> `As long as you dont direc` >>> >>> I din get this. >>> >>> >>> From: benignbala at gmail.com >>>>> Date: Tue, 27 Mar 2012 22:02:40 +0530 >>>>> To: bangpypers at python.org >>>>> Subject: Re: [BangPypers] April meetup >>>>> >>>>> Hi, >>>>> >>>>> On Tue, Mar 27, 2012 at 7:54 PM, Noufal Ibrahim>>>> **> wrote: >>>>> >>>>>> I myself could speak about either pygame (game development in general) >>>>>> or on the Python C API. >>>>>> >>>>>> +1 for both the topics - Python project creation and pygame. >>>>> >>>>> Anand, it would be great if you could demo it with a real world >>>>> project, not a hello world project :) But anything would be fine. >>>>> Thanks >>>>> >>>>> -- >>>>> Thank you >>>>> Balachandran Sivakumar >>>>> >>>>> Arise Awake and stop not till the goal is reached. >>>>> - Swami >>>>> Vivekananda >>>>> >>>>> Mail: benignbala at gmail.com >>>>> Blog: http://benignbala.wordpress.**com/ >>>>> ______________________________**_________________ >>>>> 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 >>>> >>> >>> -- >>> "Talk is cheap, show me the code" -- Linus Torvalds >>> Regards >>> Kracekumar.R >>> www.kracekumar.com >>> >>> ______________________________**_________________ >>> 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 >> > > > -- > "Talk is cheap, show me the code" -- Linus Torvalds > Regards > Kracekumar.R > www.kracekumar.com > > ______________________________**_________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/**mailman/listinfo/bangpypers > -- Regards, Yeswanth http://advencode.wordpress.com/ From kracethekingmaker at gmail.com Tue Mar 27 19:47:04 2012 From: kracethekingmaker at gmail.com (kracethekingmaker) Date: Tue, 27 Mar 2012 23:17:04 +0530 Subject: [BangPypers] April meetup In-Reply-To: References: <871uofgbnx.fsf@sanitarium.localdomain> <87bonice9x.fsf@sanitarium.localdomain> <4F71FA0C.8070206@gmail.com> <4F71FB56.3060804@gmail.com> Message-ID: <4F71FD18.5020103@gmail.com> Hi > I can give an introduction to ZeroMQ asynchronous messaging library if any > one is interested :) > I thought about it but, felt advanced, so ignored, love to hear :) > On Tue, Mar 27, 2012 at 11:09 PM, kracethekingmaker< > kracethekingmaker at gmail.com> wrote: > >> Hi >> >> >>> @krace I'm a student having only a few project experiences with Python. >>> As long as you dont directly go advanced, I guess I can follow. >>> >> Yes, I will make things simpler. >> >> Sorry for the spamming guys. >>> Date: Tue, 27 Mar 2012 23:04:04 +0530 >>>> From: kracethekingmaker at gmail.com >>>> To: bangpypers at python.org >>>> Subject: Re: [BangPypers] April meetup >>>> >>>> Hi >>>> >>>>> >>>>> Wow amazing topics this time. >>>>> >>>>> +1 - anand >>>>> >>>>> +1 - Python C API >>>>> >>>>> +1 - PyCon >>>>> +1 - Flask/Werkzeug or CherryPy?? >>>>> @krace I'm a student having only a few project experiences with Python. >>>>> As long as you dont direc >>>>> >>>> I will make sure, I keep things very simple. >>>> >>>> @arjun: >>>> >>>> `As long as you dont direc` >>>> >>>> I din get this. >>>> >>>> >>>> From: benignbala at gmail.com >>>>>> Date: Tue, 27 Mar 2012 22:02:40 +0530 >>>>>> To: bangpypers at python.org >>>>>> Subject: Re: [BangPypers] April meetup >>>>>> >>>>>> Hi, >>>>>> >>>>>> On Tue, Mar 27, 2012 at 7:54 PM, Noufal Ibrahim>>>>> **> wrote: >>>>>> >>>>>>> I myself could speak about either pygame (game development in general) >>>>>>> or on the Python C API. >>>>>>> >>>>>>> +1 for both the topics - Python project creation and pygame. >>>>>> Anand, it would be great if you could demo it with a real world >>>>>> project, not a hello world project :) But anything would be fine. >>>>>> Thanks >>>>>> >>>>>> -- >>>>>> Thank you >>>>>> Balachandran Sivakumar >>>>>> >>>>>> Arise Awake and stop not till the goal is reached. >>>>>> - Swami >>>>>> Vivekananda >>>>>> >>>>>> Mail: benignbala at gmail.com >>>>>> Blog: http://benignbala.wordpress.**com/ >>>>>> ______________________________**_________________ >>>>>> 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 >>>>> >>>> -- >>>> "Talk is cheap, show me the code" -- Linus Torvalds >>>> Regards >>>> Kracekumar.R >>>> www.kracekumar.com >>>> >>>> ______________________________**_________________ >>>> 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 >>> >> >> -- >> "Talk is cheap, show me the code" -- Linus Torvalds >> Regards >> Kracekumar.R >> www.kracekumar.com >> >> ______________________________**_________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/**mailman/listinfo/bangpypers >> > > -- "Talk is cheap, show me the code" -- Linus Torvalds Regards Kracekumar.R www.kracekumar.com From noufal at nibrahim.net.in Tue Mar 27 20:16:16 2012 From: noufal at nibrahim.net.in (Noufal Ibrahim) Date: Tue, 27 Mar 2012 23:46:16 +0530 Subject: [BangPypers] April meetup In-Reply-To: (Vinayak Hegde's message of "Tue, 27 Mar 2012 20:48:03 +0530") References: <871uofgbnx.fsf@sanitarium.localdomain> <87bonice9x.fsf@sanitarium.localdomain> Message-ID: <8762dpdi4v.fsf@sanitarium.localdomain> Vinayak Hegde writes: > Can I vote ? +1 for pygame. Would also like to hear experiences of > people who went to Pycon this month. [...] I think a lot of people are interested in Anand's topic. Perhaps we should prioritise that and if there's time, I can speak a little about PyGame. -- ~noufal http://nibrahim.net.in Our similarities are different. -Dale Berra, son of Yogi From kracethekingmaker at gmail.com Tue Mar 27 20:33:20 2012 From: kracethekingmaker at gmail.com (kracethekingmaker) Date: Wed, 28 Mar 2012 00:03:20 +0530 Subject: [BangPypers] April meetup In-Reply-To: <8762dpdi4v.fsf@sanitarium.localdomain> References: <871uofgbnx.fsf@sanitarium.localdomain> <87bonice9x.fsf@sanitarium.localdomain> <8762dpdi4v.fsf@sanitarium.localdomain> Message-ID: <4F7207F0.2030303@gmail.com> Yes, +1 . > Vinayak Hegde writes: > >> Can I vote ? +1 for pygame. Would also like to hear experiences of >> people who went to Pycon this month. > [...] > > I think a lot of people are interested in Anand's topic. Perhaps we > should prioritise that and if there's time, I can speak a little about > PyGame. > > -- "Talk is cheap, show me the code" -- Linus Torvalds Regards Kracekumar.R www.kracekumar.com From arunkumarjigajinni at gmail.com Wed Mar 28 06:21:06 2012 From: arunkumarjigajinni at gmail.com (Arunkumar Jigajinni) Date: Wed, 28 Mar 2012 09:51:06 +0530 Subject: [BangPypers] April meetup In-Reply-To: <4F7207F0.2030303@gmail.com> References: <871uofgbnx.fsf@sanitarium.localdomain> <87bonice9x.fsf@sanitarium.localdomain> <8762dpdi4v.fsf@sanitarium.localdomain> <4F7207F0.2030303@gmail.com> Message-ID: +1 - Anand On Wed, Mar 28, 2012 at 12:03 AM, kracethekingmaker < kracethekingmaker at gmail.com> wrote: > Yes, +1 . > > Vinayak Hegde writes: >> >> Can I vote ? +1 for pygame. Would also like to hear experiences of >>> people who went to Pycon this month. >>> >> [...] >> >> I think a lot of people are interested in Anand's topic. Perhaps we >> should prioritise that and if there's time, I can speak a little about >> PyGame. >> >> >> > > -- > "Talk is cheap, show me the code" -- Linus Torvalds > Regards > Kracekumar.R > www.kracekumar.com > > ______________________________**_________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/**mailman/listinfo/bangpypers > From abpillai at gmail.com Wed Mar 28 08:42:26 2012 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Wed, 28 Mar 2012 12:12:26 +0530 Subject: [BangPypers] Industrial Control Systems in Python In-Reply-To: References: <87k427ewny.fsf@sanitarium.localdomain> <87d37zhjvk.fsf@sanitarium.localdomain> <87mx73from.fsf@sanitarium.localdomain> Message-ID: On Mon, Mar 26, 2012 at 7:56 PM, Vishal wrote: > On Mon, Mar 26, 2012 at 6:24 PM, Noufal Ibrahim >wrote: > > > Vishal writes: > > > > > > [...] > > > > > 1) The scenario you describe is very close to what we would like to > > > have...except that I wish to have an SBC running the actual control > > > code in Python and a small micro-controller board to manage > > > peripherals like ADC and PWM pins...that would translate to the > > > control actions. These two talk over wire, using some protocol...some > > > request-response bytes structure that we invent :)) > > > > I wrote a custom JSON based protocol but later in the project, I wished > > I had used something more standard. > > > > > Now the next thing is...what is busybox and can I use it in this case > > > on the SBC? and where to find such SBCs.... > > > > Busybox[1] is a single executable that provides the functionality of > > many of the basic UNIX userspace utilities (like ls etc.) depending on > > what name it's called with. You can simply symlink ls etc. to busybox > > and it'll work. It's very useful for embedded situations since you can > > just drop in a single executable and get all the basic things for free. > > > > > Any pointers... ? > > > > Apropos SBCs, I recently bought a beagle board[2] for someone who was > > working on a project. It's ARM based and is quite powerful. It has tons > > of ports you can connect stuff to. I think he booted it with something > > called Angstrom[3] and then we connected to it via. serial and got a > > complete environment. It's powerful enough to run a proper small > > GNU/Linux. I don't think you need busybox and things like that. This is > > the only one *I* know of. You can order it in Bangalore from Tenet > > technologies[4] and it costs a little less than 10k. > I recall there was an excellent presentation in Pycon 2010 by one Mr.Vijay about a programmable hardware interface called with an I/O framework written in Python by his company Zilogic. Details about this are here. http://in.pycon.org/2010/talks/52-device-interfacing-with-python-and-zio Looks like the toolkit is mainly meant for hobbyists and for prototyping but I think it could be used for your purpose as well. http://www.zilogic.com/zio-mb.html I wonder if it uses pyserial behind the scenes. HTH. --Anand > > > > > the search continues :)) > > > > > > Recently I have realized that almost all problems in this world...are > > > a form of search...No wonder the company that mastered search is a > > > "G"iant now. > > > > My take is different. I recently met someone famous but I didn't > > recollect what he was famous for. He was standing about a metre away > > from me and instead of starting a conversation - something which I can > > do fairly well, I actually googled for his name to find out more about > > him. Later in the evening, I seriously wished that I didn't have the > > ability to just "search" for him. The conversation would have been a lot > > more interesting. But I'm a bit of a luddite so... > > > > > 2) Going the ST way is not recommended (BTW its called Structured > > > Text) ...because only a compiler will not be enough, we'll have to > > > come up with some way of debugging... It would be like creating a > > > whole new language. > > > > Good point. My use case was a lot less complicated. > > > > > > Footnotes: > > [1] http://www.busybox.net/about.html > > > > [2] http://beagleboard.org/ > > > > [3] http://www.angstrom-distribution.org/ > > > > [4] http://tenettech.com/ > > > > -- > > ~noufal > > http://nibrahim.net.in > > > > "I always avoid prophesying beforehand because it is much better to > > prophesy after the event has already taken place. " - Winston Churchill > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > http://mail.python.org/mailman/listinfo/bangpypers > > > > Noufal, > > Thanks for the links. I hope my search will lead me to a decent solution. > > Indeed, machines_and_automation (of all kinds) is most of the times against > humanization...so, i guess the only way is to stay human, while surrounded > by machines all the time, is to exercise the humanitarian aspect of our > personalities as much as possible every day of our lives. > > -- > Warm regards, > Vishal Sapre > > --- > "Life is 10% how you make it, and 90% how you take it" > "????? ?????, ????? ????? (Benefit for most people, Happiness for most > people.)" > --- > Please DONT print this email, unless you really need to. > Save Energy & Paper. Save the Earth. > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand From vsapre80 at gmail.com Wed Mar 28 08:50:02 2012 From: vsapre80 at gmail.com (Vishal) Date: Wed, 28 Mar 2012 12:20:02 +0530 Subject: [BangPypers] Industrial Control Systems in Python In-Reply-To: References: <87k427ewny.fsf@sanitarium.localdomain> <87d37zhjvk.fsf@sanitarium.localdomain> <87mx73from.fsf@sanitarium.localdomain> Message-ID: On Wed, Mar 28, 2012 at 12:12 PM, Anand Balachandran Pillai < abpillai at gmail.com> wrote: > On Mon, Mar 26, 2012 at 7:56 PM, Vishal wrote: > > > On Mon, Mar 26, 2012 at 6:24 PM, Noufal Ibrahim > >wrote: > > > > > Vishal writes: > > > > > > > > > [...] > > > > > > > 1) The scenario you describe is very close to what we would like to > > > > have...except that I wish to have an SBC running the actual control > > > > code in Python and a small micro-controller board to manage > > > > peripherals like ADC and PWM pins...that would translate to the > > > > control actions. These two talk over wire, using some protocol...some > > > > request-response bytes structure that we invent :)) > > > > > > I wrote a custom JSON based protocol but later in the project, I wished > > > I had used something more standard. > > > > > > > Now the next thing is...what is busybox and can I use it in this case > > > > on the SBC? and where to find such SBCs.... > > > > > > Busybox[1] is a single executable that provides the functionality of > > > many of the basic UNIX userspace utilities (like ls etc.) depending on > > > what name it's called with. You can simply symlink ls etc. to busybox > > > and it'll work. It's very useful for embedded situations since you can > > > just drop in a single executable and get all the basic things for free. > > > > > > > Any pointers... ? > > > > > > Apropos SBCs, I recently bought a beagle board[2] for someone who was > > > working on a project. It's ARM based and is quite powerful. It has tons > > > of ports you can connect stuff to. I think he booted it with something > > > called Angstrom[3] and then we connected to it via. serial and got a > > > complete environment. It's powerful enough to run a proper small > > > GNU/Linux. I don't think you need busybox and things like that. This is > > > the only one *I* know of. You can order it in Bangalore from Tenet > > > technologies[4] and it costs a little less than 10k. > > > > I recall there was an excellent presentation in Pycon 2010 by one Mr.Vijay > about a programmable hardware interface called with an I/O framework > written in Python by his company Zilogic. > > Details about this are here. > > http://in.pycon.org/2010/talks/52-device-interfacing-with-python-and-zio > > Looks like the toolkit is mainly meant for hobbyists and for prototyping > but I think it could be used for your purpose as well. > > http://www.zilogic.com/zio-mb.html > > I wonder if it uses pyserial behind the scenes. > > HTH. > > --Anand > > > --Anand > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > Anand, Thanks for the link. About BeagleBoard: I found out from the BeagleBoard guys that there efforts are tuned toward providing embedded computing opportunities to the community...because of which.... a) They cannot guarantee the availability of this hardware...they reserve the right to change this as and when they feel the need. ( Industrial automation requires at least 10 years of availability) c) They cannot guarantee that this hardware is suitable for industry use...so as to avoid potential law suits from customers for whom the board fails (This is OK, since we incur that responsibility with open source all the time...and this is an open hardware platform) I feel its still a great platform for prototyping your app, and then later on going for an industrial grade SBC. -- Thanks and best regards, Vishal Sapre --- "Life is 10% how you make it, and 90% how you take it" "????? ?????, ????? ????? (Benefit for most people, Happiness for most people.)" --- Please DONT print this email, unless you really need to. Save Energy & Paper. Save the Earth. From bhavya.mayur at gmail.com Fri Mar 30 04:04:38 2012 From: bhavya.mayur at gmail.com (Bhavya) Date: Thu, 29 Mar 2012 22:04:38 -0400 Subject: [BangPypers] Python for a college kid.. Message-ID: Hello everyone, I am looking for some information & advice on Python jobs & internships in Bangalore. My brother will be passing out of college with a degree in information science & engineering this semester. Unfortunately, his grades are bad. I work with a start up in Montreal & we are python crazy,Though I am not on development side, I have been singing praises about web development & python to him. He is learning python right now - he is been on Zed Shaw's Learn python the hard way & on Udacity's course. So, here is what I wanted to know - are there any entry level internships dealing with python & web development in Bangalore ? How much do academics matter to get into any of these ? Any advice and/or help will be much appreciated. Thanks, Bhavya From noufal at nibrahim.net.in Fri Mar 30 05:15:42 2012 From: noufal at nibrahim.net.in (Noufal Ibrahim) Date: Fri, 30 Mar 2012 08:45:42 +0530 Subject: [BangPypers] Python for a college kid.. In-Reply-To: (Bhavya's message of "Thu, 29 Mar 2012 22:04:38 -0400") References: Message-ID: <871uoa7p9d.fsf@sanitarium.localdomain> Bhavya writes: > Hello everyone, > > I am looking for some information & advice on Python jobs & > internships in Bangalore. My brother will be passing out of college > with a degree in information science & engineering this > semester. Unfortunately, his grades are bad. > > I work with a start up in Montreal & we are python crazy,Though I am > not on development side, I have been singing praises about web > development & python to him. He is learning python right now - he is > been on Zed Shaw's Learn python the hard way & on Udacity's course. Zed Shaw is a good teacher. I think he's picked a good book to work through. > So, here is what I wanted to know - are there any entry level > internships dealing with python & web development in Bangalore ? How > much do academics matter to get into any of these ? I think there are small companies in Bangalore (and possibly other cities) that are open to the idea of taking smart kids as interns. They *might* not pay too well but I think that's okay as long as the kid understands that he's being paid lesser than the market rate. I'm not sure if this will affect his later salaries though. The larger companies, atleast in my experience, have become so laden with bureaucratic barnacle that to simply apply for an internship is a bit of a chore in itself. The other thing is that a lot of college students these days get exposed to "real world" software development via. free software. Along with more structured programs like the Google summer of code, they have a lot of ways other than grades to prove their mettle to prospective employers. This is double edged. It magnifies the differences between the students so smart kids get a greater advantage earlier on while average ones who stick to the purely academic line lose out a little. > Any advice and/or help will be much appreciated. So, in summary, my advice would be for your brother to get involved in some free software work. This will give him a bit of a reputation if he pulls it off. Then connect with the startup and tech communities in Bangalore and other cities. I think something will come his way. Good luck to him! [...] -- ~noufal http://nibrahim.net.in A verbal contract isn't worth the paper it's written on. Include me out. -Samuel Goldwyn From bugcy013 at gmail.com Fri Mar 30 11:34:01 2012 From: bugcy013 at gmail.com (Ganesh Kumar) Date: Fri, 30 Mar 2012 15:04:01 +0530 Subject: [BangPypers] Help pyqt learning guide. Message-ID: Hi guys, I am new to pyqt. please suggest any good material to understand pyqt. please guide me. -Ganesh. Did I learn something today? If not, I wasted it. From kracethekingmaker at gmail.com Fri Mar 30 16:04:50 2012 From: kracethekingmaker at gmail.com (kracethekingmaker) Date: Fri, 30 Mar 2012 19:34:50 +0530 Subject: [BangPypers] Python for a college kid.. In-Reply-To: <871uoa7p9d.fsf@sanitarium.localdomain> References: <871uoa7p9d.fsf@sanitarium.localdomain> Message-ID: <4F75BD82.6050008@gmail.com> Hi Most important point to be noted does your brother enjoying programming? He wants to code in python personally? Introduce him to other language as well. > Bhavya writes: > >> Hello everyone, >> >> I am looking for some information& advice on Python jobs& >> internships in Bangalore. My brother will be passing out of college >> with a degree in information science& engineering this >> semester. Unfortunately, his grades are bad. >> >> I work with a start up in Montreal& we are python crazy,Though I am >> not on development side, I have been singing praises about web >> development& python to him. He is learning python right now - he is >> been on Zed Shaw's Learn python the hard way& on Udacity's course. > Zed Shaw is a good teacher. I think he's picked a good book to work > through. > >> So, here is what I wanted to know - are there any entry level >> internships dealing with python& web development in Bangalore ? How >> much do academics matter to get into any of these ? > I think there are small companies in Bangalore (and possibly other > cities) that are open to the idea of taking smart kids as interns. They > *might* not pay too well but I think that's okay as long as the kid > understands that he's being paid lesser than the market rate. I'm not > sure if this will affect his later salaries though. The larger > companies, atleast in my experience, have become so laden with > bureaucratic barnacle that to simply apply for an internship is a bit of > a chore in itself. > > The other thing is that a lot of college students these days get exposed > to "real world" software development via. free software. Along with more > structured programs like the Google summer of code, they have a lot of > ways other than grades to prove their mettle to prospective > employers. This is double edged. It magnifies the differences between > the students so smart kids get a greater advantage earlier on while > average ones who stick to the purely academic line lose out a little. > >> Any advice and/or help will be much appreciated. > So, in summary, my advice would be for your brother to get involved in > some free software work. This will give him a bit of a reputation if he > pulls it off. Then connect with the startup and tech communities in > Bangalore and other cities. I think something will come his way. > > Good luck to him! > > [...] > > -- "Talk is cheap, show me the code" -- Linus Torvalds Regards Kracekumar.R www.kracekumar.com From lawgon at gmail.com Fri Mar 30 16:16:33 2012 From: lawgon at gmail.com (Kenneth Gonsalves) Date: Fri, 30 Mar 2012 19:46:33 +0530 Subject: [BangPypers] Python for a college kid.. In-Reply-To: <4F75BD82.6050008@gmail.com> References: <871uoa7p9d.fsf@sanitarium.localdomain> <4F75BD82.6050008@gmail.com> Message-ID: <1333116993.13545.4.camel@xlquest.web> I have something available in Ooty - the only thing is my interns pay me (and not the other way round) On Fri, 2012-03-30 at 19:34 +0530, kracethekingmaker wrote: > Hi > Most important point to be noted does your brother enjoying > programming? > > He wants to code in python personally? Introduce him to other language > as well. > > > Bhavya writes: > > > >> Hello everyone, > >> > >> I am looking for some information& advice on Python jobs& > >> internships in Bangalore. My brother will be passing out of college > >> with a degree in information science& engineering this > >> semester. Unfortunately, his grades are bad. > >> > >> I work with a start up in Montreal& we are python crazy,Though I am > >> not on development side, I have been singing praises about web > >> development& python to him. He is learning python right now - he is > >> been on Zed Shaw's Learn python the hard way& on Udacity's course. > > Zed Shaw is a good teacher. I think he's picked a good book to work > > through. > > > >> So, here is what I wanted to know - are there any entry level > >> internships dealing with python& web development in Bangalore ? How > >> much do academics matter to get into any of these ? > > I think there are small companies in Bangalore (and possibly other > > cities) that are open to the idea of taking smart kids as interns. They > > *might* not pay too well but I think that's okay as long as the kid > > understands that he's being paid lesser than the market rate. I'm not > > sure if this will affect his later salaries though. The larger > > companies, atleast in my experience, have become so laden with > > bureaucratic barnacle that to simply apply for an internship is a bit of > > a chore in itself. > > > > The other thing is that a lot of college students these days get exposed > > to "real world" software development via. free software. Along with more > > structured programs like the Google summer of code, they have a lot of > > ways other than grades to prove their mettle to prospective > > employers. This is double edged. It magnifies the differences between > > the students so smart kids get a greater advantage earlier on while > > average ones who stick to the purely academic line lose out a little. > > > >> Any advice and/or help will be much appreciated. > > So, in summary, my advice would be for your brother to get involved in > > some free software work. This will give him a bit of a reputation if he > > pulls it off. Then connect with the startup and tech communities in > > Bangalore and other cities. I think something will come his way. > > > > Good luck to him! > > > > [...] > > > > > > -- regards Kenneth Gonsalves From senthil at uthcode.com Sat Mar 31 03:03:07 2012 From: senthil at uthcode.com (Senthil Kumaran) Date: Sat, 31 Mar 2012 09:03:07 +0800 Subject: [BangPypers] Help pyqt learning guide. In-Reply-To: References: Message-ID: <20120331010307.GA2069@mathmagic> Hello Ganesh, The best way to learn GUI development is to develop a simple application. The tutorials can assist you - http://zetcode.com/tutorials/pyqt4/ But set yourself a target - like a GUI application using which you can post to your blog. Try doing this and you should be in the right path. You could share with the group once you have something to show! Thanks, Senthil On Fri, Mar 30, 2012 at 03:04:01PM +0530, Ganesh Kumar wrote: > Hi guys, > > I am new to pyqt. please suggest any good material to understand pyqt. > please guide me. > > -Ganesh. > Did I learn something today? If not, I wasted it. > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers