From careers at doublespring.com Thu Dec 4 07:01:17 2014 From: careers at doublespring.com (Shuhaib Shariff) Date: Thu, 4 Dec 2014 11:31:17 +0530 Subject: [BangPypers] [JOBS] Full Stack Developers (Django / AngularJS) Message-ID: DoubleSpring seeks passionate DJANGO developers with experience in building or contributing to Open Source projects. We are constantly rolling out new products so the right individual would be able to write clean code and work in a fast pace environment. We highly value native ability, passion and the right attitude. Requirements - Technical proficiency with Python / Django. - Technical proficiency in JavaScript / AngularJS - Experience with MySQL / PgSQL. - Experience with MVC design patterns and solid algorithm skills. - 2-4 years of industry experience Location: Bangalore How to apply Send your resume to: careers [at] doublespring.com From turisys.python at gmail.com Fri Dec 5 09:59:21 2014 From: turisys.python at gmail.com (Saurabh Saha) Date: Fri, 5 Dec 2014 14:29:21 +0530 Subject: [BangPypers] **************PYTHON NEWBIE************** Message-ID: <1E5065F9-64F2-4ED4-BC19-C60757CC07FF@gmail.com> Hi Guys I am a python newbie. I am learning python on my own using whatever literature I could find over the web and using courses like coursera and udacity. The issue is even after writing a lot of programs on my own and taking these different courses I still feel I have a long way to go before I write a web app on my own. There is too much to read and no one to guide as to how one must proceed in order to be become proficient enough to code a product on your own. I also took a audacity class taken by the Reddit founder where he teaches you how to build a blog from scratch but he just rushes through it and there are certain things he doesn?t explain. The issue is I have a visual idea about what I plan to build in terms of the algorithm the product would use. But I don?t know how to go about writing the front end with python and how to use the different frameworks that are heavily endorsed by people on quora. There is so much to read on python and there is no one who could help me or guide me on how I could develop a simple product as simple as my own blog. If you could suggest a literature I?d definitely read it and try building small programs. As of now I am going through the MIT OCW lectures and reading this book called ?Think Like a Computer Scientist? along with ?Learn Python The Hard Way? so some of the things are becoming clear but as Peter Norvig says you need to have spent at least 10K hours to master programming I too would need to go through the grind. And I?d be happy to do that provided I get a starting point. I am not getting the starting point from where I could go ahead and proceed writing code. I love this language as its easy to write and has powerful implementations. And so in the end I decided to get in touch with Guido Van Rossum who advised me to join a community that could help me learn the language and make me aware of intricacies of the language. This is how I ended u joining this community as I stay in Bangalore and would love to connect with people who are proficient programmers. I apologize for writing such an intense and long mail but I wanted to articulate the problem in detail so that I could have your valuable suggestions on how to go about it. Thanks a lot for your time. Regards Saurabh Saha Mobile-9538844215 From amishatiitkgp at gmail.com Fri Dec 5 10:22:37 2014 From: amishatiitkgp at gmail.com (Amish Anand) Date: Fri, 5 Dec 2014 14:52:37 +0530 Subject: [BangPypers] **************PYTHON NEWBIE************** In-Reply-To: <1E5065F9-64F2-4ED4-BC19-C60757CC07FF@gmail.com> References: <1E5065F9-64F2-4ED4-BC19-C60757CC07FF@gmail.com> Message-ID: Probably you can go through a few of the open source projects on github and understand the code flow. You can also contribute to those projects by raising issues and suggesting the fix. Also, there is no harm in solving a problem that is already solved as it will open up your thought process and by looking at the existing solutions, you will be able to map your thought process into the actual Pythonic implementation. Hope that helps. Amish Regards, Amish Anand Senior Software Engineer, Juniper Networks. Bangalore. On Fri, Dec 5, 2014 at 2:29 PM, Saurabh Saha wrote: > Hi Guys > > > > I am a python newbie. I am learning python on my own using whatever > literature I could find over the web and using courses like coursera and > udacity. > > > > The issue is even after writing a lot of programs on my own and taking > these different courses I still feel I have a long way to go before I write > a web app on my own. > > > > There is too much to read and no one to guide as to how one must proceed > in order to be become proficient enough to code a product on your own. > > > > I also took a audacity class taken by the Reddit founder where he teaches > you how to build a blog from scratch but he just rushes through it and > there are certain things he doesn?t explain. > > > > The issue is I have a visual idea about what I plan to build in terms of > the algorithm the product would use. > > > > But I don?t know how to go about writing the front end with python and how > to use the different frameworks that are heavily endorsed by people on > quora. > > > > There is so much to read on python and there is no one who could help me > or guide me on how I could develop a simple product as simple as my own > blog. > > > > If you could suggest a literature I?d definitely read it and try building > small programs. > > > > As of now I am going through the MIT OCW lectures and reading this book > called ?Think Like a Computer Scientist? along with ?Learn Python The Hard > Way? so some of the things are becoming clear but as Peter Norvig says you > need to have spent at least 10K hours to master programming I too would > need to go through the grind. > > > > And I?d be happy to do that provided I get a starting point. I am not > getting the starting point from where I could go ahead and proceed writing > code. I love this language as its easy to write and has powerful > implementations. > > > > And so in the end I decided to get in touch with Guido Van Rossum who > advised me to join a community that could help me learn the language and > make me aware of intricacies of the language. > > > > This is how I ended u joining this community as I stay in Bangalore and > would love to connect with people who are proficient programmers. > > > > I apologize for writing such an intense and long mail but I wanted to > articulate the problem in detail so that I could have your valuable > suggestions on how to go about it. > > > > Thanks a lot for your time. > > > > Regards > > Saurabh Saha > > Mobile-9538844215 > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > From shankhabanerjee at gmail.com Fri Dec 5 10:27:07 2014 From: shankhabanerjee at gmail.com (shankha) Date: Fri, 5 Dec 2014 14:57:07 +0530 Subject: [BangPypers] **************PYTHON NEWBIE************** In-Reply-To: References: <1E5065F9-64F2-4ED4-BC19-C60757CC07FF@gmail.com> Message-ID: Solve some algorithm problems and then post it on : http://codereview.stackexchange.com/. You will get lot of tips. Thanks Shankha Banerjee On Fri, Dec 5, 2014 at 2:52 PM, Amish Anand wrote: > Probably you can go through a few of the open source projects on github and > understand the code flow. You can also contribute to those projects by > raising issues and suggesting the fix. > Also, there is no harm in solving a problem that is already solved as it > will open up your thought process and by looking at the existing solutions, > you will be able to map your thought process into the actual Pythonic > implementation. > > Hope that helps. > Amish > > > Regards, > Amish Anand > Senior Software Engineer, > Juniper Networks. > Bangalore. > > On Fri, Dec 5, 2014 at 2:29 PM, Saurabh Saha > wrote: > >> Hi Guys >> >> >> >> I am a python newbie. I am learning python on my own using whatever >> literature I could find over the web and using courses like coursera and >> udacity. >> >> >> >> The issue is even after writing a lot of programs on my own and taking >> these different courses I still feel I have a long way to go before I write >> a web app on my own. >> >> >> >> There is too much to read and no one to guide as to how one must proceed >> in order to be become proficient enough to code a product on your own. >> >> >> >> I also took a audacity class taken by the Reddit founder where he teaches >> you how to build a blog from scratch but he just rushes through it and >> there are certain things he doesn?t explain. >> >> >> >> The issue is I have a visual idea about what I plan to build in terms of >> the algorithm the product would use. >> >> >> >> But I don?t know how to go about writing the front end with python and how >> to use the different frameworks that are heavily endorsed by people on >> quora. >> >> >> >> There is so much to read on python and there is no one who could help me >> or guide me on how I could develop a simple product as simple as my own >> blog. >> >> >> >> If you could suggest a literature I?d definitely read it and try building >> small programs. >> >> >> >> As of now I am going through the MIT OCW lectures and reading this book >> called ?Think Like a Computer Scientist? along with ?Learn Python The Hard >> Way? so some of the things are becoming clear but as Peter Norvig says you >> need to have spent at least 10K hours to master programming I too would >> need to go through the grind. >> >> >> >> And I?d be happy to do that provided I get a starting point. I am not >> getting the starting point from where I could go ahead and proceed writing >> code. I love this language as its easy to write and has powerful >> implementations. >> >> >> >> And so in the end I decided to get in touch with Guido Van Rossum who >> advised me to join a community that could help me learn the language and >> make me aware of intricacies of the language. >> >> >> >> This is how I ended u joining this community as I stay in Bangalore and >> would love to connect with people who are proficient programmers. >> >> >> >> I apologize for writing such an intense and long mail but I wanted to >> articulate the problem in detail so that I could have your valuable >> suggestions on how to go about it. >> >> >> >> Thanks a lot for your time. >> >> >> >> Regards >> >> Saurabh Saha >> >> Mobile-9538844215 >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> https://mail.python.org/mailman/listinfo/bangpypers >> > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers From faiz.off93 at gmail.com Fri Dec 5 11:15:06 2014 From: faiz.off93 at gmail.com (Faiz Kothari) Date: Fri, 5 Dec 2014 15:45:06 +0530 Subject: [BangPypers] **************PYTHON NEWBIE************** In-Reply-To: <1E5065F9-64F2-4ED4-BC19-C60757CC07FF@gmail.com> References: <1E5065F9-64F2-4ED4-BC19-C60757CC07FF@gmail.com> Message-ID: Saurabh, perhaps you should learn some mailing list *etiquettes* first. The formatting of your mail, sigh.. Don't take it the wrong way but this is a very important thing. > The issue is even after writing a lot of programs on my own and taking > these different courses I still feel I have a long way to go before I write > a web app on my own. > There is too much to read and no one to guide as to how one must proceed > in order to be become proficient enough to code a product on your own. As far as writing serious apps in python is concerned, the problem is not with the lack of guidance, but a *lack of creativity or no motive*. The first part is to identify a problem. What problem you want to solve with your python app? Don't think of a very big or ambitious problem. Start with something small. You can try python cook book. it will give you a lot of ideas. > The issue is I have a visual idea about what I plan to build in terms of the algorithm the > product would use. > But I don?t know how to go about writing the front end with python and how to use the different > frameworks that are heavily endorsed by people on quora. Don't aim for something big as big as Quora. Definitely you can, but it requires patience and a lot of determination, specially if you are just a one man army. If you have a team, then go ahead, but first make a plan. For example, evaluate the frameworks out there. Do you need something as complex as Django or you can do away with web.py You can also look at the source of reddit. AFAIK, reddit was also built on top of web.py Its not a framework, just a lib, but you see, it powers the Front Page of the Internet :D Also don't be rigid that you want to build a blog only. There are many interesting problems to solve out there. For starters you can build a package installer for Ubuntu (if you use it) You can also write your own toy shell. You will learn a lot of things about Unix shells. or you can start writing a NoSQL data store. like redis, or etcd. Provide restful APIs for it. or make a pet search engine. you can also do image processing in python using SimpleCV or OpenCV. Maybe make an intruder detector. So first find a problem to work on. Unless you won't have a motive, you will be just breaking your head. Also be patient. Your mind will absorb one thing at a time and it has a finite capacity, so don't try to learn everything, or in the end you will be the jack of all trades, but master of none. In parallel learn how to use git or hg or any version control system, how to create a patch, send a pull request, send patch in mails, how to write test cases, how to automate tasks, etc. These will make you not just a better python dev but also a good software dev as well. And most importantly, Enjoy! --Faiz From kracethekingmaker at gmail.com Sat Dec 6 11:04:40 2014 From: kracethekingmaker at gmail.com (kracekumar ramaraju) Date: Sat, 6 Dec 2014 15:34:40 +0530 Subject: [BangPypers] One day dev sprint Message-ID: Hi As part of BangPypers meetup group we are organizing one day open source dev sprint. The idea is to get people started with open source. The participants can work on their own open source projects or write docs to the existing projects. If you are already contributing to open sources you can work on them and get new contributors. Date: 20th Dec Time: 10.00 AM to 5.00 PM Venue: APiGee Technologies India PVt Ltd, 80 feet road, koramangala RSVP and other details can be found on: http://www.meetup.com/BangPypers/events/160108032/ If you are maintainer of open source project and would like participants to contribute, please contact offline or send message in meetup page with repo url and contributing guidelines. All the projects will be listed in meetup page. -- *Thanks & Regardskracekumar"Talk is cheap, show me the code" -- Linus Torvaldshttp://kracekumar.com * From mak.gnu at gmail.com Tue Dec 9 13:19:37 2014 From: mak.gnu at gmail.com (Mukesh Yadav) Date: Tue, 9 Dec 2014 17:49:37 +0530 Subject: [BangPypers] Rest API testing tool Message-ID: Hi, I was looking for a tool or a library which can do automated testing of APIs, currently I use Postman (Chrome extension for manual testing). I found https://github.com/vlucas/frisby which is exactly what I was looking for is there something similar in python. -- Regards Mukesh Yadav mukeshyadav.com From m at pd.io Tue Dec 9 13:24:10 2014 From: m at pd.io (Pratik Vyas) Date: Tue, 9 Dec 2014 17:54:10 +0530 Subject: [BangPypers] Rest API testing tool In-Reply-To: References: Message-ID: On Tue, Dec 9, 2014 at 5:49 PM, Mukesh Yadav wrote: > Hi, > I was looking for a tool or a library which can do automated testing of > APIs, currently I use Postman (Chrome extension for manual testing). > I found https://github.com/vlucas/frisby which is exactly what I was > looking for is there something similar in python. > > python-requests + unittest would be convenient. From dhruvbaldawa at gmail.com Tue Dec 9 13:22:39 2014 From: dhruvbaldawa at gmail.com (Dhruv Baldawa) Date: Tue, 9 Dec 2014 17:52:39 +0530 Subject: [BangPypers] Rest API testing tool In-Reply-To: References: Message-ID: There is also https://github.com/svanoort/pyresttest/ you can try. On Tue, Dec 9, 2014 at 5:49 PM, Mukesh Yadav wrote: > Hi, > I was looking for a tool or a library which can do automated testing of > APIs, currently I use Postman (Chrome extension for manual testing). > I found https://github.com/vlucas/frisby which is exactly what I was > looking for is there something similar in python. > > > -- > Regards > Mukesh Yadav > mukeshyadav.com > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > -- Dhruv Baldawa (http://www.dhruvb.com) From mak.gnu at gmail.com Tue Dec 9 14:35:13 2014 From: mak.gnu at gmail.com (Mukesh Yadav) Date: Tue, 9 Dec 2014 19:05:13 +0530 Subject: [BangPypers] Rest API testing tool In-Reply-To: References: Message-ID: @Dhruva its nice but it does not test the data type of values. @pratik thats the last choice. On Tue, Dec 9, 2014 at 5:52 PM, Dhruv Baldawa wrote: > There is also https://github.com/svanoort/pyresttest/ you can try. > > On Tue, Dec 9, 2014 at 5:49 PM, Mukesh Yadav wrote: > > > Hi, > > I was looking for a tool or a library which can do automated testing > of > > APIs, currently I use Postman (Chrome extension for manual testing). > > I found https://github.com/vlucas/frisby which is exactly what I was > > looking for is there something similar in python. > > > > > > -- > > Regards > > Mukesh Yadav > > mukeshyadav.com > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > https://mail.python.org/mailman/listinfo/bangpypers > > > > > > -- > Dhruv Baldawa > (http://www.dhruvb.com) > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > -- Regards Mukesh Yadav mukeshyadav.com From me at bibhas.in Tue Dec 9 14:36:23 2014 From: me at bibhas.in (Bibhas Ch Debnath) Date: Tue, 9 Dec 2014 19:06:23 +0530 Subject: [BangPypers] Rest API testing tool In-Reply-To: References: Message-ID: requests/urllib + unittest is possibly the best fit. ---- Thanks, Bibhas Debnath http://bibhas.in On Tue, Dec 9, 2014 at 7:05 PM, Mukesh Yadav wrote: > @Dhruva its nice but it does not test the data type of values. > @pratik thats the last choice. > > On Tue, Dec 9, 2014 at 5:52 PM, Dhruv Baldawa > wrote: > > > There is also https://github.com/svanoort/pyresttest/ you can try. > > > > On Tue, Dec 9, 2014 at 5:49 PM, Mukesh Yadav wrote: > > > > > Hi, > > > I was looking for a tool or a library which can do automated testing > > of > > > APIs, currently I use Postman (Chrome extension for manual testing). > > > I found https://github.com/vlucas/frisby which is exactly what I was > > > looking for is there something similar in python. > > > > > > > > > -- > > > Regards > > > Mukesh Yadav > > > mukeshyadav.com > > > _______________________________________________ > > > BangPypers mailing list > > > BangPypers at python.org > > > https://mail.python.org/mailman/listinfo/bangpypers > > > > > > > > > > > -- > > Dhruv Baldawa > > (http://www.dhruvb.com) > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > https://mail.python.org/mailman/listinfo/bangpypers > > > > > > -- > Regards > Mukesh Yadav > mukeshyadav.com > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > From thavamuni at gmail.com Wed Dec 10 10:25:00 2014 From: thavamuni at gmail.com (Thava Alagu) Date: Wed, 10 Dec 2014 14:55:00 +0530 Subject: [BangPypers] [Jobs][Part-Time] Django framework - Interested candidates for part time work Message-ID: Hi, If any one interested in discussing part time assignments on Python/Django and web 2.0 projects, please get in touch with me. Experience is immaterial but should be comfortable with Django and web 2.0 technologies. Could be fun, flexible and can work from remote. Regards, -thava -- Thava Alagu Freelance Software consultant +91-9731595054 | thavamuni at gmail.com From kishanmehta3 at gmail.com Wed Dec 10 10:36:58 2014 From: kishanmehta3 at gmail.com (Kishan Mehta) Date: Wed, 10 Dec 2014 15:06:58 +0530 Subject: [BangPypers] [Jobs][Part-Time] Django framework - Interested candidates for part time work In-Reply-To: References: Message-ID: Hi, I am from mumbai. And I am interested. Please tell more about the project . Thanks, Kishan Mehta On Dec 10, 2014 2:55 PM, "Thava Alagu" wrote: > Hi, > > If any one interested in discussing part time assignments on Python/Django > and web 2.0 > projects, please get in touch with me. Experience is immaterial but should > be > comfortable with Django and web 2.0 technologies. > Could be fun, flexible and can work from remote. > > Regards, > -thava > > -- > Thava Alagu > Freelance Software consultant > +91-9731595054 | thavamuni at gmail.com > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > From kracethekingmaker at gmail.com Wed Dec 10 10:40:29 2014 From: kracethekingmaker at gmail.com (kracekumar ramaraju) Date: Wed, 10 Dec 2014 15:10:29 +0530 Subject: [BangPypers] [Jobs][Part-Time] Django framework - Interested candidates for part time work In-Reply-To: References: Message-ID: Please share the details off the list. From dhruvdave.ce at gmail.com Wed Dec 10 13:02:14 2014 From: dhruvdave.ce at gmail.com (Dhruv Dave) Date: Wed, 10 Dec 2014 17:32:14 +0530 Subject: [BangPypers] [Jobs][Part-Time] Django framework - Interested candidates for part time work In-Reply-To: References: Message-ID: helllo its glad to hear that, i am ready to grab this opportuniry. just bestow me some of the detail about it . Regards Dhruv Dave dhruvdave.ce at gmail.com www.extploretek.net On Wed, Dec 10, 2014 at 3:10 PM, kracekumar ramaraju < kracethekingmaker at gmail.com> wrote: > Please share the details off the list. > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > -- Dhruv Dave From acabhishek942 at gmail.com Wed Dec 10 13:31:06 2014 From: acabhishek942 at gmail.com (abhishek choudhary) Date: Wed, 10 Dec 2014 18:01:06 +0530 Subject: [BangPypers] [Jobs][Part-Time] Django framework - Interested candidates for part time work In-Reply-To: References: Message-ID: I have some experience with django and would like to be a part of the discussion . On 10 Dec 2014 14:55, "Thava Alagu" wrote: > Hi, > > If any one interested in discussing part time assignments on Python/Django > and web 2.0 > projects, please get in touch with me. Experience is immaterial but should > be > comfortable with Django and web 2.0 technologies. > Could be fun, flexible and can work from remote. > > Regards, > -thava > > -- > Thava Alagu > Freelance Software consultant > +91-9731595054 | thavamuni at gmail.com > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > From gora at mimirtech.com Wed Dec 10 13:37:56 2014 From: gora at mimirtech.com (Gora Mohanty) Date: Wed, 10 Dec 2014 18:07:56 +0530 Subject: [BangPypers] [Jobs][Part-Time] Django framework - Interested candidates for part time work In-Reply-To: References: Message-ID: On 10 December 2014 at 18:01, abhishek choudhary wrote: > I have some experience with django and would like to be a part of the > discussion . As already requested, please take follow-ups off-line. They are not germane to this list. Regards, Gora From pratikmandrekar at gmail.com Thu Dec 11 08:05:20 2014 From: pratikmandrekar at gmail.com (Pratik Mandrekar) Date: Thu, 11 Dec 2014 12:35:20 +0530 Subject: [BangPypers] BangPypers Digest, Vol 88, Issue 4 In-Reply-To: References: Message-ID: If you are using Postman for your REST API testing you can also use to automate your tests. Just save your requests into a collection and run them as part of your test process. Here is the blog detailing that - http://blog.getpostman.com/index.php/2014/05/12/meet-newman-a-command-line-companion-for-postman/ Pratik Mandrekar On Wed, Dec 10, 2014 at 3:07 PM, wrote: > Send BangPypers mailing list submissions to > bangpypers at python.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://mail.python.org/mailman/listinfo/bangpypers > or, via email, send a message with subject or body 'help' to > bangpypers-request at python.org > > You can reach the person managing the list at > bangpypers-owner at python.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of BangPypers digest..." > > > Today's Topics: > > 1. Rest API testing tool (Mukesh Yadav) > 2. Re: Rest API testing tool (Pratik Vyas) > 3. Re: Rest API testing tool (Dhruv Baldawa) > 4. Re: Rest API testing tool (Mukesh Yadav) > 5. Re: Rest API testing tool (Bibhas Ch Debnath) > 6. [Jobs][Part-Time] Django framework - Interested candidates > for part time work (Thava Alagu) > 7. Re: [Jobs][Part-Time] Django framework - Interested > candidates for part time work (Kishan Mehta) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 9 Dec 2014 17:49:37 +0530 > From: Mukesh Yadav > To: Bangalore Python Users Group - India > Subject: [BangPypers] Rest API testing tool > Message-ID: > < > CABcMa_tps57Q7nP2kHRZxVQ2MCzE8qxZOhO6JrV7PKdYj_qB5g at mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > Hi, > I was looking for a tool or a library which can do automated testing of > APIs, currently I use Postman (Chrome extension for manual testing). > I found https://github.com/vlucas/frisby which is exactly what I was > looking for is there something similar in python. > > > -- > Regards > Mukesh Yadav > mukeshyadav.com > > > ------------------------------ > > Message: 2 > Date: Tue, 9 Dec 2014 17:54:10 +0530 > From: Pratik Vyas > To: Bangalore Python Users Group - India > Subject: Re: [BangPypers] Rest API testing tool > Message-ID: > < > CALb5_JoWPUQAQC6cCKVE-BaKUaOwvgdcrMAS4tdFsz0exszrOw at mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > On Tue, Dec 9, 2014 at 5:49 PM, Mukesh Yadav wrote: > > Hi, > > I was looking for a tool or a library which can do automated testing > of > > APIs, currently I use Postman (Chrome extension for manual testing). > > I found https://github.com/vlucas/frisby which is exactly what I was > > looking for is there something similar in python. > > > > > > python-requests + unittest would be convenient. > > > ------------------------------ > > Message: 3 > Date: Tue, 9 Dec 2014 17:52:39 +0530 > From: Dhruv Baldawa > To: Bangalore Python Users Group - India > Subject: Re: [BangPypers] Rest API testing tool > Message-ID: > y8PJcpEnx59JFGfh_LoEQMHA at mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > There is also https://github.com/svanoort/pyresttest/ you can try. > > On Tue, Dec 9, 2014 at 5:49 PM, Mukesh Yadav wrote: > > > Hi, > > I was looking for a tool or a library which can do automated testing > of > > APIs, currently I use Postman (Chrome extension for manual testing). > > I found https://github.com/vlucas/frisby which is exactly what I was > > looking for is there something similar in python. > > > > > > -- > > Regards > > Mukesh Yadav > > mukeshyadav.com > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > https://mail.python.org/mailman/listinfo/bangpypers > > > > > > -- > Dhruv Baldawa > (http://www.dhruvb.com) > > > ------------------------------ > > Message: 4 > Date: Tue, 9 Dec 2014 19:05:13 +0530 > From: Mukesh Yadav > To: Bangalore Python Users Group - India > Subject: Re: [BangPypers] Rest API testing tool > Message-ID: > < > CABcMa_v6KdxZh-G9Zr-1m-L-3XxnPDpz+uh2ewO+HhxqPu0smg at mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > @Dhruva its nice but it does not test the data type of values. > @pratik thats the last choice. > > On Tue, Dec 9, 2014 at 5:52 PM, Dhruv Baldawa > wrote: > > > There is also https://github.com/svanoort/pyresttest/ you can try. > > > > On Tue, Dec 9, 2014 at 5:49 PM, Mukesh Yadav wrote: > > > > > Hi, > > > I was looking for a tool or a library which can do automated testing > > of > > > APIs, currently I use Postman (Chrome extension for manual testing). > > > I found https://github.com/vlucas/frisby which is exactly what I was > > > looking for is there something similar in python. > > > > > > > > > -- > > > Regards > > > Mukesh Yadav > > > mukeshyadav.com > > > _______________________________________________ > > > BangPypers mailing list > > > BangPypers at python.org > > > https://mail.python.org/mailman/listinfo/bangpypers > > > > > > > > > > > -- > > Dhruv Baldawa > > (http://www.dhruvb.com) > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > https://mail.python.org/mailman/listinfo/bangpypers > > > > > > -- > Regards > Mukesh Yadav > mukeshyadav.com > > > ------------------------------ > > Message: 5 > Date: Tue, 9 Dec 2014 19:06:23 +0530 > From: Bibhas Ch Debnath > To: Bangalore Python Users Group - India > Subject: Re: [BangPypers] Rest API testing tool > Message-ID: > DxQ at mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > requests/urllib + unittest is possibly the best fit. > > ---- > Thanks, > Bibhas Debnath > http://bibhas.in > > On Tue, Dec 9, 2014 at 7:05 PM, Mukesh Yadav wrote: > > > @Dhruva its nice but it does not test the data type of values. > > @pratik thats the last choice. > > > > On Tue, Dec 9, 2014 at 5:52 PM, Dhruv Baldawa > > wrote: > > > > > There is also https://github.com/svanoort/pyresttest/ you can try. > > > > > > On Tue, Dec 9, 2014 at 5:49 PM, Mukesh Yadav > wrote: > > > > > > > Hi, > > > > I was looking for a tool or a library which can do automated > testing > > > of > > > > APIs, currently I use Postman (Chrome extension for manual testing). > > > > I found https://github.com/vlucas/frisby which is exactly what I was > > > > looking for is there something similar in python. > > > > > > > > > > > > -- > > > > Regards > > > > Mukesh Yadav > > > > mukeshyadav.com > > > > _______________________________________________ > > > > BangPypers mailing list > > > > BangPypers at python.org > > > > https://mail.python.org/mailman/listinfo/bangpypers > > > > > > > > > > > > > > > > -- > > > Dhruv Baldawa > > > (http://www.dhruvb.com) > > > _______________________________________________ > > > BangPypers mailing list > > > BangPypers at python.org > > > https://mail.python.org/mailman/listinfo/bangpypers > > > > > > > > > > > -- > > Regards > > Mukesh Yadav > > mukeshyadav.com > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > https://mail.python.org/mailman/listinfo/bangpypers > > > > > ------------------------------ > > Message: 6 > Date: Wed, 10 Dec 2014 14:55:00 +0530 > From: Thava Alagu > To: bangpypers at python.org > Subject: [BangPypers] [Jobs][Part-Time] Django framework - Interested > candidates for part time work > Message-ID: > Nh4FtcA at mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > Hi, > > If any one interested in discussing part time assignments on Python/Django > and web 2.0 > projects, please get in touch with me. Experience is immaterial but should > be > comfortable with Django and web 2.0 technologies. > Could be fun, flexible and can work from remote. > > Regards, > -thava > > -- > Thava Alagu > Freelance Software consultant > +91-9731595054 | thavamuni at gmail.com > > > ------------------------------ > > Message: 7 > Date: Wed, 10 Dec 2014 15:06:58 +0530 > From: Kishan Mehta > To: Bangalore Python Users Group - India > Subject: Re: [BangPypers] [Jobs][Part-Time] Django framework - > Interested candidates for part time work > Message-ID: > < > CAC5ThKFivPRn09eqa3FHSkwYa20MGaYFyE-Ow2axQptgMOtKhQ at mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > Hi, > I am from mumbai. And I am interested. Please tell more about the project . > > Thanks, > Kishan Mehta > On Dec 10, 2014 2:55 PM, "Thava Alagu" wrote: > > > Hi, > > > > If any one interested in discussing part time assignments on > Python/Django > > and web 2.0 > > projects, please get in touch with me. Experience is immaterial but > should > > be > > comfortable with Django and web 2.0 technologies. > > Could be fun, flexible and can work from remote. > > > > Regards, > > -thava > > > > -- > > Thava Alagu > > Freelance Software consultant > > +91-9731595054 | thavamuni at gmail.com > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > https://mail.python.org/mailman/listinfo/bangpypers > > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > > > ------------------------------ > > End of BangPypers Digest, Vol 88, Issue 4 > ***************************************** > From rajiv.m1991 at gmail.com Thu Dec 11 11:28:01 2014 From: rajiv.m1991 at gmail.com (Rajiv Subramanian M) Date: Thu, 11 Dec 2014 15:58:01 +0530 Subject: [BangPypers] List of n but same objects Message-ID: Hello Group, I am Rajiv, Python/Django developer in a startup, Bangalore. Today when I experimenting with python I came across the following CASE 1: >>> x = range(10) >>> [iter(x)] * 3 [, , ] Thing to Note: Here all the 3 listiterator object in the list is actually a same single instance residing at the memory location "0x7f6aa5594850" CASE 2: >>> [iter(x), iter(x), iter(x)] [, , ] Thing to Note: In this case literally I created called the iter(x) for 3 times so it created 3 different listiterator object. CASE 3: >>> x = [1, 2, 3] >>> y = [x] * 3 >>> y [[1, 2, 3], [1, 2, 3], [1, 2, 3]] >>> y[0][0] = 5 >>> y [[5, 2, 3], [5, 2, 3], [5, 2, 3]] >>> x [5, 2, 3] Things to Note: As like in first case, here the list objects inside the list y are not the duplicates of x but the x itself Question: 1. How in the first case i.e [iter(x)] * 3 creates a list of 3 but the same objects? 2. Is there any other possibility or way (like * operator does here) by which we can obtain the same result as in CASE 1? 3. Does only list and listiterators objects can behave this way? what other python datatypes can behave this way? ~ Regards Rajiv M From shyran at gmail.com Thu Dec 11 11:44:27 2014 From: shyran at gmail.com (Kulkarni, Shreyas) Date: Thu, 11 Dec 2014 16:14:27 +0530 Subject: [BangPypers] List of n but same objects In-Reply-To: References: Message-ID: <8767042A-FF50-49EB-96B3-F97EAC696906@gmail.com> When you call iter(x) it returns you a listiterator object. Every time you call iter(x) it *creates* a new listiterator and returns it back. The differences you are seeing in your cases are not because of how lists of list operators work, but because of how they are called. In case-1, iter(x) gets called once, and the same returned object is used when you do '* 3' on the list. In case-2, you are calling iter(x) three times, so naturally you get 3 different iterators - three different objects with different base addresses in memory. Case-3 is how python typically works - when you do an assignment, python doesn't create a copy, but a reference. So when you say y = [x] * 3; y is essentially a list with 3 references to the same memory location pointed to by x. So when you update one value, all three refs point to the same location, and hence you are seeing what you are seeing. If you want deep copy instead of shallow one with references, take a look at 'copy' module and copy.deepcopy method in particular. shreyas On Dec 11, 2014, at 3:58 PM, Rajiv Subramanian M wrote: > Hello Group, > > I am Rajiv, Python/Django developer in a startup, Bangalore. Today when I > experimenting with python I came across the following > > CASE 1: > >>>> x = range(10) > >>>> [iter(x)] * 3 > > [, > > , > > ] > > > Thing to Note: > > Here all the 3 listiterator object in the list is actually a same single > instance residing at the memory location "0x7f6aa5594850" > > > CASE 2: > >>>> [iter(x), iter(x), iter(x)] > > [, > > , > > ] > > > Thing to Note: > In this case literally I created called the iter(x) for 3 times so it > created 3 different listiterator object. > > CASE 3: >>>> x = [1, 2, 3] >>>> y = [x] * 3 >>>> y > [[1, 2, 3], [1, 2, 3], [1, 2, 3]] >>>> y[0][0] = 5 >>>> y > [[5, 2, 3], [5, 2, 3], [5, 2, 3]] >>>> x > [5, 2, 3] > > Things to Note: > As like in first case, here the list objects inside the list y are not the > duplicates of x but the x itself > > > Question: > 1. How in the first case i.e [iter(x)] * 3 creates a list of 3 but the > same objects? > 2. Is there any other possibility or way (like * operator does here) by > which we can obtain the same result as in CASE 1? > 3. Does only list and listiterators objects can behave this way? what other > python datatypes can behave this way? > > ~ Regards > Rajiv M > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers From rajiv.m1991 at gmail.com Thu Dec 11 11:51:00 2014 From: rajiv.m1991 at gmail.com (Rajiv Subramanian M) Date: Thu, 11 Dec 2014 16:21:00 +0530 Subject: [BangPypers] List of n but same objects In-Reply-To: <8767042A-FF50-49EB-96B3-F97EAC696906@gmail.com> References: <8767042A-FF50-49EB-96B3-F97EAC696906@gmail.com> Message-ID: Hi Shreyas, Thanks for your answer. For the questions numered 2 and 3 do you have any thoughts? 2. Is there any other possibility or way (like * operator does here) by which we can obtain the same result as in CASE 1? 3. Does only list and listiterators objects can behave this way? what other python datatypes can behave this way? On Thu, Dec 11, 2014 at 4:14 PM, Kulkarni, Shreyas wrote: > When you call iter(x) it returns you a listiterator object. Every time you > call iter(x) it *creates* a new listiterator and returns it back. The > differences you are seeing in your cases are not because of how lists of > list operators work, but because of how they are called. > > In case-1, iter(x) gets called once, and the same returned object is used > when you do '* 3' on the list. > In case-2, you are calling iter(x) three times, so naturally you get 3 > different iterators - three different objects with different base addresses > in memory. > > Case-3 is how python typically works - when you do an assignment, python > doesn't create a copy, but a reference. So when you say y = [x] * 3; y is > essentially a list with 3 references to the same memory location pointed to > by x. So when you update one value, all three refs point to the same > location, and hence you are seeing what you are seeing. > If you want deep copy instead of shallow one with references, take a look > at 'copy' module and copy.deepcopy method in particular. > > shreyas > > > On Dec 11, 2014, at 3:58 PM, Rajiv Subramanian M > wrote: > > > Hello Group, > > > > I am Rajiv, Python/Django developer in a startup, Bangalore. Today when I > > experimenting with python I came across the following > > > > CASE 1: > > > >>>> x = range(10) > > > >>>> [iter(x)] * 3 > > > > [, > > > > , > > > > ] > > > > > > Thing to Note: > > > > Here all the 3 listiterator object in the list is actually a same single > > instance residing at the memory location "0x7f6aa5594850" > > > > > > CASE 2: > > > >>>> [iter(x), iter(x), iter(x)] > > > > [, > > > > , > > > > ] > > > > > > Thing to Note: > > In this case literally I created called the iter(x) for 3 times so it > > created 3 different listiterator object. > > > > CASE 3: > >>>> x = [1, 2, 3] > >>>> y = [x] * 3 > >>>> y > > [[1, 2, 3], [1, 2, 3], [1, 2, 3]] > >>>> y[0][0] = 5 > >>>> y > > [[5, 2, 3], [5, 2, 3], [5, 2, 3]] > >>>> x > > [5, 2, 3] > > > > Things to Note: > > As like in first case, here the list objects inside the list y are not > the > > duplicates of x but the x itself > > > > > > Question: > > 1. How in the first case i.e [iter(x)] * 3 creates a list of 3 but the > > same objects? > > 2. Is there any other possibility or way (like * operator does here) by > > which we can obtain the same result as in CASE 1? > > 3. Does only list and listiterators objects can behave this way? what > other > > python datatypes can behave this way? > > > > ~ Regards > > Rajiv M > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > https://mail.python.org/mailman/listinfo/bangpypers > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > -- [image: --] Rajiv Subramanian M [image: http://]about.me/rajiv.m1991 From abdulmuneer at gmail.com Thu Dec 11 11:54:14 2014 From: abdulmuneer at gmail.com (Abdul Muneer) Date: Thu, 11 Dec 2014 16:24:14 +0530 Subject: [BangPypers] List of n but same objects In-Reply-To: References: <8767042A-FF50-49EB-96B3-F97EAC696906@gmail.com> Message-ID: Hi Rajiv, Premise 1: Every time you *create* an object, it has a new id. Examples: >>> a = list () >>> b = list() >>> id(a), id(b) (140688241027768, 140688241027840) >>> p = dict() >>> q = dict() >>> id(p), id(q) (140688241071280, 140688241071560) >>> x = iter(range(10)) >>> y = iter(range(10)) >>> id(x), id(y) (140688241024208, 140688241024272) Premise 2: Every time you associate the same object to multiple names, they all will point to same object. Examples: >>> a = list() >>> b = a >>> id(a), id(b) (140688241028200, 140688241028200) >>> p = dict() >>> q = p >>> id(p), id(q) (140688241071840, 140688241071840) >>> x = iter(range(10)) >>> y = x >>> id(x), id(y) (140688241024464, 140688241024464) In your problem, Case 1 and Case 3 follow the pattern [an_object]*3 which results in [an_object, an_object, an_object] where as Case 2 follows the pattern [create_object(), create_object(), create_object()] Note that in Case 3, iter(x) is evaluated before multiplying. Regards, Abdul Muneer -- Follow me on Twitter: @abdulmuneer On Thu, Dec 11, 2014 at 4:21 PM, Rajiv Subramanian M wrote: > > Hi Shreyas, > > Thanks for your answer. > For the questions numered 2 and 3 do you have any thoughts? > > 2. Is there any other possibility or way (like * operator does here) by > which we can obtain the same result as in CASE 1? > 3. Does only list and listiterators objects can behave this way? what other > python datatypes can behave this way? > > > > On Thu, Dec 11, 2014 at 4:14 PM, Kulkarni, Shreyas > wrote: > > > When you call iter(x) it returns you a listiterator object. Every time > you > > call iter(x) it *creates* a new listiterator and returns it back. The > > differences you are seeing in your cases are not because of how lists of > > list operators work, but because of how they are called. > > > > In case-1, iter(x) gets called once, and the same returned object is used > > when you do '* 3' on the list. > > In case-2, you are calling iter(x) three times, so naturally you get 3 > > different iterators - three different objects with different base > addresses > > in memory. > > > > Case-3 is how python typically works - when you do an assignment, python > > doesn't create a copy, but a reference. So when you say y = [x] * 3; y is > > essentially a list with 3 references to the same memory location pointed > to > > by x. So when you update one value, all three refs point to the same > > location, and hence you are seeing what you are seeing. > > If you want deep copy instead of shallow one with references, take a look > > at 'copy' module and copy.deepcopy method in particular. > > > > shreyas > > > > > > On Dec 11, 2014, at 3:58 PM, Rajiv Subramanian M > > wrote: > > > > > Hello Group, > > > > > > I am Rajiv, Python/Django developer in a startup, Bangalore. Today > when I > > > experimenting with python I came across the following > > > > > > CASE 1: > > > > > >>>> x = range(10) > > > > > >>>> [iter(x)] * 3 > > > > > > [, > > > > > > , > > > > > > ] > > > > > > > > > Thing to Note: > > > > > > Here all the 3 listiterator object in the list is actually a same > single > > > instance residing at the memory location "0x7f6aa5594850" > > > > > > > > > CASE 2: > > > > > >>>> [iter(x), iter(x), iter(x)] > > > > > > [, > > > > > > , > > > > > > ] > > > > > > > > > Thing to Note: > > > In this case literally I created called the iter(x) for 3 times so it > > > created 3 different listiterator object. > > > > > > CASE 3: > > >>>> x = [1, 2, 3] > > >>>> y = [x] * 3 > > >>>> y > > > [[1, 2, 3], [1, 2, 3], [1, 2, 3]] > > >>>> y[0][0] = 5 > > >>>> y > > > [[5, 2, 3], [5, 2, 3], [5, 2, 3]] > > >>>> x > > > [5, 2, 3] > > > > > > Things to Note: > > > As like in first case, here the list objects inside the list y are not > > the > > > duplicates of x but the x itself > > > > > > > > > Question: > > > 1. How in the first case i.e [iter(x)] * 3 creates a list of 3 but > the > > > same objects? > > > 2. Is there any other possibility or way (like * operator does here) by > > > which we can obtain the same result as in CASE 1? > > > 3. Does only list and listiterators objects can behave this way? what > > other > > > python datatypes can behave this way? > > > > > > ~ Regards > > > Rajiv M > > > _______________________________________________ > > > BangPypers mailing list > > > BangPypers at python.org > > > https://mail.python.org/mailman/listinfo/bangpypers > > > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > https://mail.python.org/mailman/listinfo/bangpypers > > > > > > -- > > [image: --] > Rajiv Subramanian M > [image: http://]about.me/rajiv.m1991 > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > From shyran at gmail.com Thu Dec 11 12:08:38 2014 From: shyran at gmail.com (Kulkarni, Shreyas) Date: Thu, 11 Dec 2014 16:38:38 +0530 Subject: [BangPypers] List of n but same objects In-Reply-To: References: <8767042A-FF50-49EB-96B3-F97EAC696906@gmail.com> Message-ID: <6E75D276-FCF6-41FB-9937-DE96205C114E@gmail.com> 2. I assume you want same result as case 1 - in case 2; case 3 is essentially same as case 1 (which is why you are seeing one assignment 'changing' all three lists). Well, instead of calling iter(x) three times, you need to call it only once, and then use that object to multiply. In short, to get result as case-1, do as case-1 does, instead of case-2 :) 3. I think you are missing the point. This behavior is not tied to list or listiterators or broadly to any datatype in python, but to the way operators, assignments and function calls work in python. shreyas On Dec 11, 2014, at 4:21 PM, Rajiv Subramanian M wrote: > Hi Shreyas, > > Thanks for your answer. > For the questions numered 2 and 3 do you have any thoughts? > > 2. Is there any other possibility or way (like * operator does here) by > which we can obtain the same result as in CASE 1? > 3. Does only list and listiterators objects can behave this way? what other > python datatypes can behave this way? > > > > On Thu, Dec 11, 2014 at 4:14 PM, Kulkarni, Shreyas wrote: > >> When you call iter(x) it returns you a listiterator object. Every time you >> call iter(x) it *creates* a new listiterator and returns it back. The >> differences you are seeing in your cases are not because of how lists of >> list operators work, but because of how they are called. >> >> In case-1, iter(x) gets called once, and the same returned object is used >> when you do '* 3' on the list. >> In case-2, you are calling iter(x) three times, so naturally you get 3 >> different iterators - three different objects with different base addresses >> in memory. >> >> Case-3 is how python typically works - when you do an assignment, python >> doesn't create a copy, but a reference. So when you say y = [x] * 3; y is >> essentially a list with 3 references to the same memory location pointed to >> by x. So when you update one value, all three refs point to the same >> location, and hence you are seeing what you are seeing. >> If you want deep copy instead of shallow one with references, take a look >> at 'copy' module and copy.deepcopy method in particular. >> >> shreyas >> >> >> On Dec 11, 2014, at 3:58 PM, Rajiv Subramanian M >> wrote: >> >>> Hello Group, >>> >>> I am Rajiv, Python/Django developer in a startup, Bangalore. Today when I >>> experimenting with python I came across the following >>> >>> CASE 1: >>> >>>>>> x = range(10) >>> >>>>>> [iter(x)] * 3 >>> >>> [, >>> >>> , >>> >>> ] >>> >>> >>> Thing to Note: >>> >>> Here all the 3 listiterator object in the list is actually a same single >>> instance residing at the memory location "0x7f6aa5594850" >>> >>> >>> CASE 2: >>> >>>>>> [iter(x), iter(x), iter(x)] >>> >>> [, >>> >>> , >>> >>> ] >>> >>> >>> Thing to Note: >>> In this case literally I created called the iter(x) for 3 times so it >>> created 3 different listiterator object. >>> >>> CASE 3: >>>>>> x = [1, 2, 3] >>>>>> y = [x] * 3 >>>>>> y >>> [[1, 2, 3], [1, 2, 3], [1, 2, 3]] >>>>>> y[0][0] = 5 >>>>>> y >>> [[5, 2, 3], [5, 2, 3], [5, 2, 3]] >>>>>> x >>> [5, 2, 3] >>> >>> Things to Note: >>> As like in first case, here the list objects inside the list y are not >> the >>> duplicates of x but the x itself >>> >>> >>> Question: >>> 1. How in the first case i.e [iter(x)] * 3 creates a list of 3 but the >>> same objects? >>> 2. Is there any other possibility or way (like * operator does here) by >>> which we can obtain the same result as in CASE 1? >>> 3. Does only list and listiterators objects can behave this way? what >> other >>> python datatypes can behave this way? >>> >>> ~ Regards >>> Rajiv M >>> _______________________________________________ >>> BangPypers mailing list >>> BangPypers at python.org >>> https://mail.python.org/mailman/listinfo/bangpypers >> >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> https://mail.python.org/mailman/listinfo/bangpypers >> > > > > -- > > [image: --] > Rajiv Subramanian M > [image: http://]about.me/rajiv.m1991 > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers From noufal at nibrahim.net.in Thu Dec 11 11:56:50 2014 From: noufal at nibrahim.net.in (Noufal Ibrahim KV) Date: Thu, 11 Dec 2014 16:26:50 +0530 Subject: [BangPypers] List of n but same objects In-Reply-To: (Rajiv Subramanian M.'s message of "Thu, 11 Dec 2014 15:58:01 +0530") References: Message-ID: <871to6v4i5.fsf@nibrahim.net.in> On Thu, Dec 11 2014, Rajiv Subramanian M wrote: [...] > Question: > 1. How in the first case i.e [iter(x)] * 3 creates a list of 3 but the > same objects? The * operator when applied to a list (or any sequence type) is a repetition. You can see the code for list_repeat here [1]. The line I've linked to shows what's happening. You allocate enough memory for a new list that's large enough and copy over stuff from the source to the target those many times. Multiplying a list by `n` returns a new list with each element of the said list repeated `n` times. > 2. Is there any other possibility or way (like * operator does here) by > which we can obtain the same result as in CASE 1? You could do something like this. x = range(10) [iter(x) for x in range(3)] This will call 3 iter times and give you 3 separate iterators. I think though that you're doing something wrong here. What's the larger problem you're trying to solve? > 3. Does only list and listiterators objects can behave this way? what other > python datatypes can behave this way? This the semantics of sequence types. I haven't checked for tuples etc. but the list sequence methods behave this way. I don't think the others will be different. It doesn't make sense to make copies of the original thing anyway. You can do that explicitly using copy or something if you want to. [...] Footnotes: [1] https://hg.python.org/cpython/file/ce66b65ad8d6/Objects/listobject.c#l567 -- Cordially, Noufal http://nibrahim.net.in From sangeeth.saravanaraj at gmail.com Fri Dec 12 05:03:05 2014 From: sangeeth.saravanaraj at gmail.com (Sangeeth Saravanaraj) Date: Fri, 12 Dec 2014 09:33:05 +0530 Subject: [BangPypers] [Jobs] Openings for full-time Interns, entry-, mid- and expert-level Python programmers. Message-ID: ?Riptide IO has multiple openings for Python programmers. We are looking for full-time Interns, entry-, mid- and expert-level Python programmers.? You could apply here - https://www.linkedin.com/jobs2/view/13795011 We are also looking for Python developers in test - https://www.linkedin.com/jobs2/view/28208583 You could also send us your resume and/or github link to jobs at riptideio.com Thank you, Sangeeth From narayannaik.05 at gmail.com Mon Dec 15 07:21:39 2014 From: narayannaik.05 at gmail.com (narayan naik) Date: Mon, 15 Dec 2014 11:51:39 +0530 Subject: [BangPypers] about code Message-ID: Hi, import cv2 def detect(path): img = cv2.imread(path) cascade = cv2.CascadeClassifier("haarcascade_frontalface_alt.xml") rects = cascade.detectMultiScale(img, 1.3, 4, cv2.cv.CV_HAAR_SCALE_IMAGE, (20,20)) if len(rects) == 0: return [], img rects[:, 2:] += rects[:, :2] return rects, img def box(rects, img): for x1, y1, x2, y2 in rects: cv2.rectangle(img, (x1, y1), (x2, y2), (127, 255, 0), 2) rects, img = detect("hi.jpg") cropped = img[70:17, 40:40] cv2.imshow("cropped", cropped) cv2.waitKey(0) box(rects, img) cv2.imshow('img',img) cv2.waitKey(0) cv2.destroyAllWindows() This is a face detection code.This will work properly.but I want to crop the detected faces and it should display on the screen. From gora at mimirtech.com Mon Dec 15 07:28:10 2014 From: gora at mimirtech.com (Gora Mohanty) Date: Mon, 15 Dec 2014 11:58:10 +0530 Subject: [BangPypers] about code In-Reply-To: References: Message-ID: On 15 December 2014 at 11:51, narayan naik wrote: [...] > This is a face detection code.This will work properly.but I want to crop > the detected faces and it should display on the screen. Please ask more specific questions *after* you have tried for yourself. Did you even try searching Google, e.g., "cv2 crop detected faces" turns up many likely-looking links. Regards, Gora From skb655952 at gmail.com Mon Dec 15 07:30:05 2014 From: skb655952 at gmail.com (sayantan bhattacharya) Date: Mon, 15 Dec 2014 12:00:05 +0530 Subject: [BangPypers] about code In-Reply-To: References: Message-ID: Hello, I haven't worked that much with openCV in python, so can't provide choosing help right away. But searched on Google for similar topic and found the following link: http://stackoverflow.com/questions/13211745/detect-face-then-autocrop-pictures Hope this helps. On Dec 15, 2014 11:52 AM, "narayan naik" wrote: > Hi, > import cv2 > > def detect(path): > img = cv2.imread(path) > cascade = cv2.CascadeClassifier("haarcascade_frontalface_alt.xml") > rects = cascade.detectMultiScale(img, 1.3, 4, > cv2.cv.CV_HAAR_SCALE_IMAGE, (20,20)) > > if len(rects) == 0: > return [], img > rects[:, 2:] += rects[:, :2] > return rects, img > > def box(rects, img): > for x1, y1, x2, y2 in rects: > cv2.rectangle(img, (x1, y1), (x2, y2), (127, 255, 0), 2) > > > rects, img = detect("hi.jpg") > > cropped = img[70:17, 40:40] > cv2.imshow("cropped", cropped) > cv2.waitKey(0) > box(rects, img) > > cv2.imshow('img',img) > cv2.waitKey(0) > cv2.destroyAllWindows() > > This is a face detection code.This will work properly.but I want to crop > the detected faces and it should display on the screen. > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > From satishsagar83 at gmail.com Mon Dec 15 07:40:48 2014 From: satishsagar83 at gmail.com (L Radhakrishna Rao) Date: Mon, 15 Dec 2014 12:10:48 +0530 Subject: [BangPypers] about code In-Reply-To: References: Message-ID: This might help you: http://stackoverflow.com/questions/13211745/detect-face-then-autocrop-pictures On Mon, Dec 15, 2014 at 12:00 PM, sayantan bhattacharya wrote: > > Hello, > > I haven't worked that much with openCV in python, so can't provide choosing > help right away. But searched on Google for similar topic and found the > following link: > > > http://stackoverflow.com/questions/13211745/detect-face-then-autocrop-pictures > > Hope this helps. > On Dec 15, 2014 11:52 AM, "narayan naik" wrote: > > > Hi, > > import cv2 > > > > def detect(path): > > img = cv2.imread(path) > > cascade = cv2.CascadeClassifier("haarcascade_frontalface_alt.xml") > > rects = cascade.detectMultiScale(img, 1.3, 4, > > cv2.cv.CV_HAAR_SCALE_IMAGE, (20,20)) > > > > if len(rects) == 0: > > return [], img > > rects[:, 2:] += rects[:, :2] > > return rects, img > > > > def box(rects, img): > > for x1, y1, x2, y2 in rects: > > cv2.rectangle(img, (x1, y1), (x2, y2), (127, 255, 0), 2) > > > > > > rects, img = detect("hi.jpg") > > > > cropped = img[70:17, 40:40] > > cv2.imshow("cropped", cropped) > > cv2.waitKey(0) > > box(rects, img) > > > > cv2.imshow('img',img) > > cv2.waitKey(0) > > cv2.destroyAllWindows() > > > > This is a face detection code.This will work properly.but I want to crop > > the detected faces and it should display on the screen. > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > https://mail.python.org/mailman/listinfo/bangpypers > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > From narayannaik.05 at gmail.com Mon Dec 15 07:42:05 2014 From: narayannaik.05 at gmail.com (narayan naik) Date: Mon, 15 Dec 2014 12:12:05 +0530 Subject: [BangPypers] about code In-Reply-To: References: Message-ID: Thank you, but i already tried that,it will crop but i want to show that cropped image on the window immediately On Mon, Dec 15, 2014 at 12:00 PM, sayantan bhattacharya wrote: > > Hello, > > I haven't worked that much with openCV in python, so can't provide choosing > help right away. But searched on Google for similar topic and found the > following link: > > > http://stackoverflow.com/questions/13211745/detect-face-then-autocrop-pictures > > Hope this helps. > On Dec 15, 2014 11:52 AM, "narayan naik" wrote: > > > Hi, > > import cv2 > > > > def detect(path): > > img = cv2.imread(path) > > cascade = cv2.CascadeClassifier("haarcascade_frontalface_alt.xml") > > rects = cascade.detectMultiScale(img, 1.3, 4, > > cv2.cv.CV_HAAR_SCALE_IMAGE, (20,20)) > > > > if len(rects) == 0: > > return [], img > > rects[:, 2:] += rects[:, :2] > > return rects, img > > > > def box(rects, img): > > for x1, y1, x2, y2 in rects: > > cv2.rectangle(img, (x1, y1), (x2, y2), (127, 255, 0), 2) > > > > > > rects, img = detect("hi.jpg") > > > > cropped = img[70:17, 40:40] > > cv2.imshow("cropped", cropped) > > cv2.waitKey(0) > > box(rects, img) > > > > cv2.imshow('img',img) > > cv2.waitKey(0) > > cv2.destroyAllWindows() > > > > This is a face detection code.This will work properly.but I want to crop > > the detected faces and it should display on the screen. > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > https://mail.python.org/mailman/listinfo/bangpypers > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > From narayannaik.05 at gmail.com Mon Dec 15 07:43:07 2014 From: narayannaik.05 at gmail.com (narayan naik) Date: Mon, 15 Dec 2014 12:13:07 +0530 Subject: [BangPypers] about code In-Reply-To: References: Message-ID: Thank you, but i already tried that,it will crop but i want to show that cropped image on the window immediately On Mon, Dec 15, 2014 at 12:10 PM, L Radhakrishna Rao < satishsagar83 at gmail.com> wrote: > > This might help you: > > > http://stackoverflow.com/questions/13211745/detect-face-then-autocrop-pictures > > On Mon, Dec 15, 2014 at 12:00 PM, sayantan bhattacharya < > skb655952 at gmail.com > > wrote: > > > > Hello, > > > > I haven't worked that much with openCV in python, so can't provide > choosing > > help right away. But searched on Google for similar topic and found the > > following link: > > > > > > > http://stackoverflow.com/questions/13211745/detect-face-then-autocrop-pictures > > > > Hope this helps. > > On Dec 15, 2014 11:52 AM, "narayan naik" > wrote: > > > > > Hi, > > > import cv2 > > > > > > def detect(path): > > > img = cv2.imread(path) > > > cascade = cv2.CascadeClassifier("haarcascade_frontalface_alt.xml") > > > rects = cascade.detectMultiScale(img, 1.3, 4, > > > cv2.cv.CV_HAAR_SCALE_IMAGE, (20,20)) > > > > > > if len(rects) == 0: > > > return [], img > > > rects[:, 2:] += rects[:, :2] > > > return rects, img > > > > > > def box(rects, img): > > > for x1, y1, x2, y2 in rects: > > > cv2.rectangle(img, (x1, y1), (x2, y2), (127, 255, 0), 2) > > > > > > > > > rects, img = detect("hi.jpg") > > > > > > cropped = img[70:17, 40:40] > > > cv2.imshow("cropped", cropped) > > > cv2.waitKey(0) > > > box(rects, img) > > > > > > cv2.imshow('img',img) > > > cv2.waitKey(0) > > > cv2.destroyAllWindows() > > > > > > This is a face detection code.This will work properly.but I want to > crop > > > the detected faces and it should display on the screen. > > > _______________________________________________ > > > BangPypers mailing list > > > BangPypers at python.org > > > https://mail.python.org/mailman/listinfo/bangpypers > > > > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > https://mail.python.org/mailman/listinfo/bangpypers > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > From vbnetmithun at gmail.com Mon Dec 15 07:52:10 2014 From: vbnetmithun at gmail.com (mithun chackravarthy) Date: Mon, 15 Dec 2014 12:22:10 +0530 Subject: [BangPypers] How to dynamically load modules in Django/Python Message-ID: Hi , I need to load modules dynamically from one of my django app . 1. lets say 'test' is my app name and am having functions inside it. 2. in an util function I need to load modules dynamically when a function (loader_function) is called with appname and list of functions as arguments utils.py def loader_function(*appname*, *functions*): from *'appname'* import *'[list of functions passed]'* do SOME stuff return stuff views.py from utils import loader_function * stuff = loader_function('test', ['fun1', 'fun2']* How can I achieve this.Thanks for your time. Thanks Mithu From narayannaik.05 at gmail.com Tue Dec 16 10:18:08 2014 From: narayannaik.05 at gmail.com (narayan naik) Date: Tue, 16 Dec 2014 14:48:08 +0530 Subject: [BangPypers] about integral image Message-ID: Hi, is there any function that converts an image into an integral imageI From tanuj at toptalent.in Tue Dec 16 13:55:41 2014 From: tanuj at toptalent.in (Tanuj Deshpande) Date: Tue, 16 Dec 2014 18:25:41 +0530 Subject: [BangPypers] [Job]Openings in Locus Labs Message-ID: Hi, Locus Labs is looking for Python Developer. If interested, Please follow the link: https://www.toptalent.in/job/3629/back-end-programmer-python-for-award-winning-startup-bangalore-india/ Thanks, Tanuj. From saager.mhatre at gmail.com Wed Dec 17 17:40:49 2014 From: saager.mhatre at gmail.com (Saager Mhatre) Date: Wed, 17 Dec 2014 11:40:49 -0500 Subject: [BangPypers] How to dynamically load modules in Django/Python In-Reply-To: References: Message-ID: On Mon, Dec 15, 2014 at 1:52 AM, mithun chackravarthy wrote: > > > How can I achieve this.Thanks for your time. > I suppose the __import__ function should be a good start. - d From nitin.nitp at gmail.com Wed Dec 17 19:05:32 2014 From: nitin.nitp at gmail.com (Nitin Kumar) Date: Wed, 17 Dec 2014 23:35:32 +0530 Subject: [BangPypers] combine multiple modules in one Message-ID: Hi, say I am installing a module "abc" and it got multiple dependent modules say xyz pqr. pip easy install will take care of downloading and installing these. but i need to install "abc" on a device which doesnt have net connection. So do i need to copy tar.gz for each abc, pqr, xyz and install all individually or is there a way i can create one installer say final.tar.gz out of abc, xyz, pqr (on off box) and copy final.tar.gz to device and install using it. If I am thinking in totally worng direction, do let me know what all option i have. is there any already existing sdk for the same?? Nitin K From gora at mimirtech.com Thu Dec 18 05:05:13 2014 From: gora at mimirtech.com (Gora Mohanty) Date: Thu, 18 Dec 2014 09:35:13 +0530 Subject: [BangPypers] combine multiple modules in one In-Reply-To: References: Message-ID: On 17 December 2014 at 23:35, Nitin Kumar wrote: > Hi, > > say I am installing a module "abc" and it got multiple dependent modules > say xyz pqr. > pip easy install will take care of downloading and installing these. > > but i need to install "abc" on a device which doesnt have net connection. [...] Have only tried this once a while ago, but one can install offline with pip. See, e.g., https://pip.pypa.io/en/latest/user_guide.html#fast-local-installs Regards, Gora From amishatiitkgp at gmail.com Thu Dec 18 05:21:38 2014 From: amishatiitkgp at gmail.com (Amish Anand) Date: Thu, 18 Dec 2014 09:51:38 +0530 Subject: [BangPypers] combine multiple modules in one In-Reply-To: References: Message-ID: There is also another way similar to what Gora has mentioned: https://devcenter.heroku.com/articles/python-pip#local-file-backed-distributions However for modules that need C extensions and C libraries, platform dependencies have to be taken care of, probably we can use pre compiled egg files for distribution. Regards, Amish Anand Senior Software Engineer, Juniper Networks. Bangalore. On Thu, Dec 18, 2014 at 9:35 AM, Gora Mohanty wrote: > > On 17 December 2014 at 23:35, Nitin Kumar wrote: > > Hi, > > > > say I am installing a module "abc" and it got multiple dependent modules > > say xyz pqr. > > pip easy install will take care of downloading and installing these. > > > > but i need to install "abc" on a device which doesnt have net connection. > [...] > > Have only tried this once a while ago, but one can install offline > with pip. See, e.g., > https://pip.pypa.io/en/latest/user_guide.html#fast-local-installs > > Regards, > Gora > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > From vbnetmithun at gmail.com Thu Dec 18 06:18:14 2014 From: vbnetmithun at gmail.com (mithun chackravarthy) Date: Thu, 18 Dec 2014 10:48:14 +0530 Subject: [BangPypers] How to dynamically load modules in Django/Python In-Reply-To: References: Message-ID: Thanks Saager, got it. On Wed, Dec 17, 2014 at 10:10 PM, Saager Mhatre wrote: > > On Mon, Dec 15, 2014 at 1:52 AM, mithun chackravarthy < > vbnetmithun at gmail.com > > wrote: > > > > > > How can I achieve this.Thanks for your time. > > > > I suppose the __import__ function > should be a > good start. > > - d > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > -- mithun chackravarthy From amit.pureenergy at gmail.com Thu Dec 18 06:28:05 2014 From: amit.pureenergy at gmail.com (Amit Sethi) Date: Thu, 18 Dec 2014 10:58:05 +0530 Subject: [BangPypers] How to dynamically load modules in Django/Python In-Reply-To: References: Message-ID: Mithun a suggestion, checkout how settings.py file is imported in your manage.py Thanks Amit From dhruvbaldawa at gmail.com Thu Dec 18 06:30:31 2014 From: dhruvbaldawa at gmail.com (Dhruv Baldawa) Date: Thu, 18 Dec 2014 11:00:31 +0530 Subject: [BangPypers] How to dynamically load modules in Django/Python In-Reply-To: References: Message-ID: You can also take a look at importlib - https://docs.python.org/2.7/library/importlib.html On Thu, Dec 18, 2014 at 10:58 AM, Amit Sethi wrote: > > Mithun a suggestion, checkout how settings.py file is imported in your > manage.py > > Thanks > Amit > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > -- Dhruv Baldawa (http://www.dhruvb.com) From vbnetmithun at gmail.com Thu Dec 18 06:31:41 2014 From: vbnetmithun at gmail.com (mithun chackravarthy) Date: Thu, 18 Dec 2014 11:01:41 +0530 Subject: [BangPypers] How to dynamically load modules in Django/Python In-Reply-To: References: Message-ID: Hi Amit As like this os.environ.setdefault("DJANGO_SETTINGS_MODULE", "appname.settings") am importing it. Thanks, Mithun On Thu, Dec 18, 2014 at 10:58 AM, Amit Sethi wrote: > > Mithun a suggestion, checkout how settings.py file is imported in your > manage.py > > Thanks > Amit > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > -- mithun chackravarthy From shyran at gmail.com Thu Dec 18 07:13:07 2014 From: shyran at gmail.com (Kulkarni, Shreyas) Date: Thu, 18 Dec 2014 11:43:07 +0530 Subject: [BangPypers] combine multiple modules in one In-Reply-To: References: Message-ID: PIP_DOWNLOAD_CACHE could help you, if the device-without-connectivity has the same arch as the device-with-connectivity. pip stores downloaded bundles in the PIP_DOWNLOAD_CACHE folder, if one is set. I guess, you could just copy over this folder to the device-without-connectivity, set it as PIP_DOWNLOAD_CACHE on that device, and do regular pip installs there. Unless pip keep some registry (of downloaded components) somewhere which I am not aware of. shreyas On Dec 17, 2014, at 11:35 PM, Nitin Kumar wrote: > Hi, > > say I am installing a module "abc" and it got multiple dependent modules > say xyz pqr. > pip easy install will take care of downloading and installing these. > > but i need to install "abc" on a device which doesnt have net connection. > > So do i need to copy tar.gz for each abc, pqr, xyz and install all > individually or is there a way i can create one installer say final.tar.gz > out of abc, xyz, pqr (on off box) and copy final.tar.gz to device and > install using it. > > If I am thinking in totally worng direction, do let me know what all option > i have. > is there any already existing sdk for the same?? > > Nitin K > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers From sriram at watchy.in Thu Dec 18 16:24:18 2014 From: sriram at watchy.in (Sriramkumar VH) Date: Thu, 18 Dec 2014 20:54:18 +0530 Subject: [BangPypers] Opensource hardware for free lending Message-ID: Am Sriram, Founder of Watchy Tech (watchy.in) We have few opensource & proprietary Linux/Android boards, left from R&D phase of our bond007 product. We have decided to lend it to other hackers. You can use the boards and return it within a month for free. Currently we support only Bangalore region. Please pass on the message. Check http://watchy.in/blog/linux-android-boards-lending/ Sriramkumar Founder, Watchy Technology Pvt Ltd. Watchy.in [tweet: @neosrix ] From jinsthomas at gmail.com Fri Dec 19 06:27:06 2014 From: jinsthomas at gmail.com (Jins Thomas) Date: Fri, 19 Dec 2014 10:57:06 +0530 Subject: [BangPypers] Python - Training Message-ID: Hello all, I remember some Python enthusiasts used to conduct Python training workshops on a regular basis in Bangalore. Is such training still happen in and around Bangalore.? Thanks Jins Thomas From vnbang2003 at gmail.com Fri Dec 19 07:18:19 2014 From: vnbang2003 at gmail.com (vijay kumar) Date: Fri, 19 Dec 2014 11:48:19 +0530 Subject: [BangPypers] Python - Training In-Reply-To: References: Message-ID: I think you are referring to monthly meetup where volunteers conduct workshop. http://www.meetup.com/BangPypers/ On Fri, Dec 19, 2014 at 10:57 AM, Jins Thomas wrote: > > Hello all, > > I remember some Python enthusiasts used to conduct Python training > workshops on a regular basis in Bangalore. Is such training still happen > in and around Bangalore.? > > > Thanks > Jins Thomas > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > -- Thanks, Vijay From jinsthomas at gmail.com Fri Dec 19 08:23:41 2014 From: jinsthomas at gmail.com (Jins Thomas) Date: Fri, 19 Dec 2014 12:53:41 +0530 Subject: [BangPypers] Python - Training In-Reply-To: References: Message-ID: On Fri, Dec 19, 2014 at 11:48 AM, vijay kumar wrote: > > I think you are referring to monthly meetup where volunteers conduct > workshop. > http://www.meetup.com/BangPypers/ > > > Not sure whether it's the same. Anand and Noufal used to have some workshops during weekends? > On Fri, Dec 19, 2014 at 10:57 AM, Jins Thomas > wrote: > > > > Hello all, > > > > I remember some Python enthusiasts used to conduct Python training > > workshops on a regular basis in Bangalore. Is such training still happen > > in and around Bangalore.? > > > > > > Thanks > > Jins Thomas > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > https://mail.python.org/mailman/listinfo/bangpypers > > > > > -- > Thanks, > Vijay > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > From abhinavtrue at gmail.com Fri Dec 19 13:37:42 2014 From: abhinavtrue at gmail.com (abhinav) Date: Fri, 19 Dec 2014 18:07:42 +0530 Subject: [BangPypers] [job] Software Engineer - Back end at Specadel Message-ID: At Specadel we are revolutionizing Indian education. We are building disruptive products in education and e-commerce verticals. In education space we are developing platform for delivering digital content on tablets and web. We are expanding our technical team and looking for developers having entrepreneurial mindset, good aptitude and logical skills. Some of the products we are working on 1) http://www.samsung.com/in/galaxytab4/byju.html 2) http://www.thinktab.com/ *Skills & Requirements:* 1) 2+ years of experience in developing enterprise web applications in PHP, Python and MySQL. Should have experience with creating REST web services 2) Good understanding of OOP, MVC architecture and design patterns 3) Good to have knowledge of Git, Nginx, Memcache, Amazon Web Services. Should know your way around *nix environments 4) Ability to architect, design, and program large applications and write modular code 5) Understands the importance of good programming practices - test driven development, code reviews etc 6) Ability to work independently and ship production ready code 7) Self driven and motivated. Good to have previous experience in working with product startups not mandatory tough *Key Responsibilities:* You will be responsible for defining, building, maintaining and scaling our products. Also you will be playing key role in developing new products *What you will get:* - Opportunity to work with highly motivated team comprising alumnus of IITs/IIMs - Extensive learning. You will get chance to learn technical as well as business challenges of building products - Opportunity to interact directly with end users - Rapid career growth path If interested, please forward your resume to abhinav.singh at specadel dot com From parul8ue at gmail.com Sun Dec 21 10:31:50 2014 From: parul8ue at gmail.com (Parul Gupta) Date: Sun, 21 Dec 2014 15:01:50 +0530 Subject: [BangPypers] Planning a startup hiring hackathon in Mumbai Message-ID: Hi fellow pythonist(a)s, A bunch of young, exciting startups in Mumbai are looking to hold a hackathon there, with hiring being an obvious intent. Wondering if the python community on this group is broad in geo+interest enough that it would be ok to post information about it here. If not, and if some of you would be interested in getting updates about the hackathon (or startup openings in Mumbai in general) please reply to me 1-1. Thanks Parul SlideRule : Learn something new From kracethekingmaker at gmail.com Sun Dec 21 10:46:54 2014 From: kracethekingmaker at gmail.com (kracekumar ramaraju) Date: Sun, 21 Dec 2014 15:16:54 +0530 Subject: [BangPypers] Planning a startup hiring hackathon in Mumbai In-Reply-To: References: Message-ID: Hi Parul It is completely ok to post the details of the event in brief with link to hackathon. AFAIK there are few pythonistas from Mumbai in the group. On Sun, Dec 21, 2014 at 3:01 PM, Parul Gupta wrote: > > Hi fellow pythonist(a)s, > > A bunch of young, exciting startups in Mumbai are looking to hold a > hackathon there, with hiring being an obvious intent. > > Wondering if the python community on this group is broad in geo+interest > enough that it would be ok to post information about it here. If not, and > if some of you would be interested in getting updates about the hackathon > (or startup openings in Mumbai in general) please reply to me 1-1. > > Thanks > Parul > > > SlideRule : Learn something new > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > -- *Thanks & Regardskracekumar"Talk is cheap, show me the code" -- Linus Torvaldshttp://kracekumar.com * From kracethekingmaker at gmail.com Sun Dec 21 10:49:44 2014 From: kracethekingmaker at gmail.com (kracekumar ramaraju) Date: Sun, 21 Dec 2014 15:19:44 +0530 Subject: [BangPypers] One day dev sprint In-Reply-To: References: Message-ID: Hi We had great event yesterday. The participants worked on various open source projects and sent pull requests. Complete details can be found at http://bangalore.python.org.in/blog/2014/12/20/december-dev-sprint-report/. On Sat, Dec 6, 2014 at 3:34 PM, kracekumar ramaraju < kracethekingmaker at gmail.com> wrote: > > Hi > > As part of BangPypers meetup group we are organizing one day open source > dev sprint. The idea is to get people started with open source. The > participants can work on their own open source projects or write docs to > the existing projects. If you are already contributing to open sources you > can work on them and get new contributors. > > Date: 20th Dec > Time: 10.00 AM to 5.00 PM > Venue: APiGee Technologies India PVt Ltd, 80 feet road, koramangala > > RSVP and other details can be found on: > http://www.meetup.com/BangPypers/events/160108032/ > > > If you are maintainer of open source project and would like participants > to contribute, please contact offline or send message in meetup page with > repo url and contributing guidelines. All the projects will be listed in > meetup page. > > > -- > > *Thanks & Regardskracekumar"Talk is cheap, show me the code" -- Linus > Torvaldshttp://kracekumar.com * > -- *Thanks & Regardskracekumar"Talk is cheap, show me the code" -- Linus Torvaldshttp://kracekumar.com * From dhruvbaldawa at gmail.com Sun Dec 21 12:37:08 2014 From: dhruvbaldawa at gmail.com (Dhruv Baldawa) Date: Sun, 21 Dec 2014 17:07:08 +0530 Subject: [BangPypers] Planning a startup hiring hackathon in Mumbai In-Reply-To: References: Message-ID: The Mumbai Python User Group is at mumpy at googlegroups.com. You can post it there as well. On Sun, Dec 21, 2014 at 3:01 PM, Parul Gupta wrote: > Hi fellow pythonist(a)s, > > A bunch of young, exciting startups in Mumbai are looking to hold a > hackathon there, with hiring being an obvious intent. > > Wondering if the python community on this group is broad in geo+interest > enough that it would be ok to post information about it here. If not, and > if some of you would be interested in getting updates about the hackathon > (or startup openings in Mumbai in general) please reply to me 1-1. > > Thanks > Parul > > > SlideRule : Learn something new > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > -- Dhruv Baldawa (http://www.dhruvb.com) From abhijit.bangera at hotmail.com Mon Dec 22 08:08:36 2014 From: abhijit.bangera at hotmail.com (Abhijit Bangera) Date: Mon, 22 Dec 2014 07:08:36 +0000 Subject: [BangPypers] Python certifications in India Message-ID: Hi, Is there any international certification for Python like we have ISTQB for testing, Oracle certifications for JAVA, etc. Regards, Abhijit Bangera www.geektech.in From satishsagar83 at gmail.com Mon Dec 22 08:11:38 2014 From: satishsagar83 at gmail.com (L Radhakrishna Rao) Date: Mon, 22 Dec 2014 12:41:38 +0530 Subject: [BangPypers] Python certifications in India In-Reply-To: References: Message-ID: There's one, from coursera, though, that's not an industrial certification. On Mon, Dec 22, 2014 at 12:38 PM, Abhijit Bangera < abhijit.bangera at hotmail.com> wrote: > Hi, > > Is there any international certification for Python like we have ISTQB for > testing, Oracle certifications for JAVA, etc. > > Regards, > Abhijit Bangera > www.geektech.in > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > From me at bibhas.in Mon Dec 22 08:36:23 2014 From: me at bibhas.in (Bibhas Ch Debnath) Date: Mon, 22 Dec 2014 13:06:23 +0530 Subject: [BangPypers] Python certifications in India In-Reply-To: References: Message-ID: Is there anyone or any company here that actually values a certificate for Python? In my experience, certification courses mean nothing, at least for Python developers. None of the people I know or have worked with, cares about a certificate. I'd love to meet someone who thinks otherwise. Bibhas On Dec 22, 2014 12:39 PM, "Abhijit Bangera" wrote: > Hi, > > Is there any international certification for Python like we have ISTQB for > testing, Oracle certifications for JAVA, etc. > > Regards, > Abhijit Bangera > www.geektech.in > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > From noufal at nibrahim.net.in Mon Dec 22 08:54:54 2014 From: noufal at nibrahim.net.in (Noufal Ibrahim KV) Date: Mon, 22 Dec 2014 13:24:54 +0530 Subject: [BangPypers] Python certifications in India In-Reply-To: (Bibhas Ch Debnath's message of "Mon, 22 Dec 2014 13:06:23 +0530") References: Message-ID: <87y4q0ce5t.fsf@nibrahim.net.in> On Mon, Dec 22 2014, Bibhas Ch Debnath wrote: > Is there anyone or any company here that actually values a certificate > for Python? In my experience, certification courses mean nothing, at > least for Python developers. None of the people I know or have worked > with, cares about a certificate. > I'd love to pmeet someone who thinks otherwise. [...] Some companies sell products that require a lot of expertise for the end user (e.g. Cisco). Configuring their equipment/software can be a full time task in itself. If the company themselves do this for their end clients, they'll get a services component bolted onto their product and that will affect their long term plans. However, if they can create some kind of qualification in the market and provide material for that, people unassociated with the company will try to get it and will become employable. In that sense, certifications do have value. Given two people of roughly equal experience, if I were hiring someone to watch over a network of Cisco gear, I'd pick the one who has a Cisco certification. Language certifications don't really fall into this but I suppose when the ecosystem is large enough (e.g. Java), you can cut off a piece and certify people in that department. It will have marketing value for a class of clients. Python doesn't (yet) come under this category so I don't think there are any certifications in India. I don't know many people who use Python that would consider a "certificate" as something valuable. The only certificate course for Python that I know of is the O'Reilly one. [1]. Footnotes: [1] http://www.oreillyschool.com/certificate-programs/python-programming/ -- Cordially, Noufal http://nibrahim.net.in From lokeshbobbys at yahoo.com Mon Dec 22 10:20:05 2014 From: lokeshbobbys at yahoo.com (lokesh bobby) Date: Mon, 22 Dec 2014 09:20:05 +0000 (UTC) Subject: [BangPypers] Python certifications in India In-Reply-To: <87y4q0ce5t.fsf@nibrahim.net.in> References: <87y4q0ce5t.fsf@nibrahim.net.in> Message-ID: <105093732.135965.1419240005731.JavaMail.yahoo@jws10970.mail.sg3.yahoo.com> The one I know for python is "Security Tube Python Scripting Expert". This focuses on automation/tools/scripting stuff that is related to security, but not on application development. Regards,Lokesh Kumar Makani. On Monday, 22 December 2014 1:24 PM, Noufal Ibrahim KV wrote: On Mon, Dec 22 2014, Bibhas Ch Debnath wrote: > Is there anyone or any company here that actually values a certificate > for Python? In my experience, certification courses mean nothing, at > least for Python developers. None of the people I know or have worked > with, cares about a certificate. > I'd love to pmeet someone who thinks otherwise. [...] Some companies sell products that require a lot of expertise for the end user (e.g. Cisco). Configuring their equipment/software can be a full time task in itself. If the company themselves do this for their end clients, they'll get a services component bolted onto their product and that will affect their long term plans. However, if they can create some kind of qualification in the market and provide material for that, people unassociated with the company will try to get it and will become employable. In that sense, certifications do have value. Given two people of roughly equal experience, if I were hiring someone to watch over a network of Cisco gear, I'd pick the one who has a Cisco certification. Language certifications don't really fall into this but I suppose when the ecosystem is large enough (e.g. Java), you can cut off a piece and certify people in that department. It will have marketing value for a class of clients. Python doesn't (yet) come under this category so I don't think there are any certifications in India. I don't know many people who use Python that would consider a "certificate" as something valuable. The only certificate course for Python that I know of is the O'Reilly one. [1]. Footnotes: [1]? http://www.oreillyschool.com/certificate-programs/python-programming/ -- Cordially, Noufal http://nibrahim.net.in _______________________________________________ BangPypers mailing list BangPypers at python.org https://mail.python.org/mailman/listinfo/bangpypers From chintukoshy at gmail.com Mon Dec 22 10:34:05 2014 From: chintukoshy at gmail.com (Chintu Philips Koshy) Date: Mon, 22 Dec 2014 15:04:05 +0530 Subject: [BangPypers] Python certifications in India In-Reply-To: <105093732.135965.1419240005731.JavaMail.yahoo@jws10970.mail.sg3.yahoo.com> References: <87y4q0ce5t.fsf@nibrahim.net.in> <105093732.135965.1419240005731.JavaMail.yahoo@jws10970.mail.sg3.yahoo.com> Message-ID: Security Tube Python Scripting Expert is a valid certification in Indian Security industry. The trainer Vivek Ramachandran is much respected in security industry. Regards, Chintu Philips Koshy On Mon, Dec 22, 2014 at 2:50 PM, lokesh bobby < lokeshbobbys at yahoo.com.dmarc.invalid> wrote: > The one I know for python is "Security Tube Python Scripting Expert". This > focuses on automation/tools/scripting stuff that is related to security, > but not on application development. > Regards,Lokesh Kumar Makani. > > From saager.mhatre at gmail.com Wed Dec 24 05:26:27 2014 From: saager.mhatre at gmail.com (Saager Mhatre) Date: Tue, 23 Dec 2014 23:26:27 -0500 Subject: [BangPypers] How to dynamically load modules in Django/Python In-Reply-To: <86lhm5tws1.fsf@smriti.com> References: <86lhm5tws1.fsf@smriti.com> Message-ID: On Wed, Dec 17, 2014 at 11:19 PM, Navin Kabra wrote: > Saager Mhatre writes: > > > I suppose the __import__ function > > should be > a > > good start. > > Also check out the "imp" module. > > from imp import load_source > load_source('myname', 'myname.py') > Navin/Dhruv, I believe the documentation indicates that the imp module is deprecated in 3.4 in favour of importlib, which is what the __import__ function wraps anyway. - d From saager.mhatre at gmail.com Wed Dec 24 05:28:11 2014 From: saager.mhatre at gmail.com (Saager Mhatre) Date: Tue, 23 Dec 2014 23:28:11 -0500 Subject: [BangPypers] How to dynamically load modules in Django/Python In-Reply-To: References: Message-ID: On Thu, Dec 18, 2014 at 12:18 AM, mithun chackravarthy < vbnetmithun at gmail.com> wrote: > Thanks Saager, got it. http://imdb.to/glad-to => One is glad to be of service. - d From saager.mhatre at gmail.com Wed Dec 24 05:33:14 2014 From: saager.mhatre at gmail.com (Saager Mhatre) Date: Tue, 23 Dec 2014 23:33:14 -0500 Subject: [BangPypers] Python certifications in India In-Reply-To: References: Message-ID: On Mon, Dec 22, 2014 at 2:36 AM, Bibhas Ch Debnath wrote: > Is there anyone or any company here that actually values a certificate for > Python? In my experience, certification courses mean nothing, at least for > Python developers. None of the people I know or have worked with, cares > about a certificate. > I'd love to meet someone who thinks otherwise. That's putting the cart before the horse, wouldn't you say? There isn't really a question of anyone valuing them because they don't quite exist. :) - d From saager.mhatre at gmail.com Wed Dec 24 05:42:44 2014 From: saager.mhatre at gmail.com (Saager Mhatre) Date: Tue, 23 Dec 2014 23:42:44 -0500 Subject: [BangPypers] Python certifications in India In-Reply-To: <87y4q0ce5t.fsf@nibrahim.net.in> References: <87y4q0ce5t.fsf@nibrahim.net.in> Message-ID: On Mon, Dec 22, 2014 at 2:54 AM, Noufal Ibrahim KV wrote: > On Mon, Dec 22 2014, Bibhas Ch Debnath wrote: > > > Is there anyone or any company here that actually values a certificate > > for Python? In my experience, certification courses mean nothing, at > > least for Python developers. None of the people I know or have worked > > with, cares about a certificate. > > I'd love to pmeet someone who thinks otherwise. > > [...] > > Some companies sell products that require a lot of expertise for the end > user (e.g. Cisco). Configuring their equipment/software can be a full > time task in itself. If the company themselves do this for their end > clients, they'll get a services component bolted onto their product and > that will affect their long term plans. > > However, if they can create some kind of qualification in the market and > provide material for that, people unassociated with the company will try > to get it and will become employable. In that sense, certifications do > have value. Given two people of roughly equal experience, if I were > hiring someone to watch over a network of Cisco gear, I'd pick the one > who has a Cisco certification. > Weeeeellll... I wouldn't put quite as much stock in the CCNA given the people we interviewed at TW for a sysad position. > Language certifications don't really fall into this but I suppose when > the ecosystem is large enough (e.g. Java), you can cut off a piece and > certify people in that department. I have my own views about language/framework certifications , but IMHO, Sun did the best job of the lot. Their tests really tested your understanding of the nuances of the language/framework. > It will have marketing value for a > class of clients. Python doesn't (yet) come under this category so I > don't think there are any certifications in India. I don't know many > people who use Python that would consider a "certificate" as something > valuable. The only certificate course for Python that I know of is the > O'Reilly one. [1]. > > Footnotes: > [1] http://www.oreillyschool.com/certificate-programs/python-programming/ Third party certifications bear only as much weight as the... well, third party! Granted O'Reilly has a lot of clout in the publishing and tech event space, but I'm not too enthusiastic about them certifying peoples' python skills; more to the point, who's building the curriculum/tests? The certificates would have to be handed out by the PSF or any of the other bodies core to the python development effort for them to carry enough weight. Just saying. - d From saager.mhatre at gmail.com Wed Dec 24 05:45:36 2014 From: saager.mhatre at gmail.com (Saager Mhatre) Date: Tue, 23 Dec 2014 23:45:36 -0500 Subject: [BangPypers] combine multiple modules in one In-Reply-To: References: Message-ID: On Wed, Dec 17, 2014 at 1:05 PM, Nitin Kumar wrote: > Hi, > > say I am installing a module "abc" and it got multiple dependent modules > say xyz pqr. > pip easy install will take care of downloading and installing these. > > but i need to install "abc" on a device which doesnt have net connection. > how do you currently install 'abc' onto the device? > > So do i need to copy tar.gz for each abc, pqr, xyz and install all > individually or is there a way i can create one installer say final.tar.gz > out of abc, xyz, pqr (on off box) and copy final.tar.gz to device and > install using it. > > If I am thinking in totally worng direction, do let me know what all option > i have. > is there any already existing sdk for the same?? > > Nitin K > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > - d From noufal at nibrahim.net.in Wed Dec 24 06:02:20 2014 From: noufal at nibrahim.net.in (Noufal Ibrahim KV) Date: Wed, 24 Dec 2014 10:32:20 +0530 Subject: [BangPypers] Python certifications in India In-Reply-To: (Saager Mhatre's message of "Tue, 23 Dec 2014 23:42:44 -0500") References: <87y4q0ce5t.fsf@nibrahim.net.in> Message-ID: <87fvc5y71f.fsf@nibrahim.net.in> On Wed, Dec 24 2014, Saager Mhatre wrote: [...] > > Weeeeellll... I wouldn't put quite as much stock in the CCNA given the > people we interviewed at TW for a sysad position. CCNA's are the lowest rung as far as I know. They're fairly easy to get too. CCIEs are very hard to get and the ones I know who have the certification are top players in their game. [...] -- Cordially, Noufal http://nibrahim.net.in From mak.gnu at gmail.com Sun Dec 28 11:50:46 2014 From: mak.gnu at gmail.com (Mukesh Yadav) Date: Sun, 28 Dec 2014 16:20:46 +0530 Subject: [BangPypers] mysqlclient not getting installed in python3 env Message-ID: Hi, I have created virtualenv with python3 in ubuntu machine, I tried with python 2.x env and its working fine but with python3 env its not getting installed. but when I try to install mysqlclient it gives following error. _mysql.c:40:20: fatal error: Python.h: No such file or directory #include "Python.h" ^ compilation terminated. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 I have installed all the prerequisite i.e, python-dev. -- Regards Mukesh Yadav mukeshyadav.com From noufal at nibrahim.net.in Sun Dec 28 11:56:29 2014 From: noufal at nibrahim.net.in (Noufal Ibrahim KV) Date: Sun, 28 Dec 2014 16:26:29 +0530 Subject: [BangPypers] mysqlclient not getting installed in python3 env In-Reply-To: (Mukesh Yadav's message of "Sun, 28 Dec 2014 16:20:46 +0530") References: Message-ID: <87bnmot542.fsf@nibrahim.net.in> On Sun, Dec 28 2014, Mukesh Yadav wrote: [...] > I have installed all the prerequisite i.e, python-dev. You probably need python3-dev for Python3. -- Cordially, Noufal http://nibrahim.net.in From mak.gnu at gmail.com Sun Dec 28 16:33:56 2014 From: mak.gnu at gmail.com (Mukesh Yadav) Date: Sun, 28 Dec 2014 21:03:56 +0530 Subject: [BangPypers] mysqlclient not getting installed in python3 env In-Reply-To: <87bnmot542.fsf@nibrahim.net.in> References: <87bnmot542.fsf@nibrahim.net.in> Message-ID: > You probably need python3-dev for Python3. > Aha Thanks Noufal that worked. That was so basic, feeling dumb :P -- Regards Mukesh Yadav mukeshyadav.com From vasudevram at gmail.com Sun Dec 28 18:06:25 2014 From: vasudevram at gmail.com (Vasudev Ram) Date: Sun, 28 Dec 2014 22:36:25 +0530 Subject: [BangPypers] Python certifications in India In-Reply-To: <87fvc5y71f.fsf@nibrahim.net.in> References: <87y4q0ce5t.fsf@nibrahim.net.in> <87fvc5y71f.fsf@nibrahim.net.in> Message-ID: IIRC there was a Python Certification effort (standard topic/material creation (for the cert.) initially, other related tasks/activities) some years ago by the PSF, but not sure if it was being actively worked on, even when I came across it somewhere on the PSF site. --- "Inspired by nature" Vasudev Ram - Dancing Bison Enterprises Software consulting and training - Python, Linux, databases, PDF, open source, ...) Email: vasudevram at gmail.com . Skype: vasudevram http://jugad2.blogspot.in/p/about-vasudev-ram.html http://careers.stackoverflow.com/cv/employer/130856# Biz site: http://www.dancingbison.com LinkedIn: http://www.linkedin.com/in/vasudevram Twitter: http://mobile.twitter.com/vasudevram Open source projects: https://bitbucket.org/vasudevram Blog: http://jugad2.blogspot.com Python and other recipes on ActiveState: https://code.activestate.com/recipes/users/4173351/ Python posts: http://jugad2.blogspot.com/search/label/python xtopdf posts: http://jugad2.blogspot.com/search/label/xtopdf xtopdf: "a Swiss army knife for PDF creation" xtopdf on Slid.es: http://slid.es/vasudevram/xtopdf xtopdf on Google Slides: http://bit.ly/xtopdf-google-slides On the Python Wiki: https://wiki.python.org/moin/VasudevRam On Wed, Dec 24, 2014 at 10:32 AM, Noufal Ibrahim KV wrote: > On Wed, Dec 24 2014, Saager Mhatre wrote: > > > [...] > >> >> Weeeeellll... I wouldn't put quite as much stock in the CCNA given the >> people we interviewed at TW for a sysad position. > > CCNA's are the lowest rung as far as I know. They're fairly easy to get > too. CCIEs are very hard to get and the ones I know who have the > certification are top players in their game. > > [...] > > > -- > Cordially, > Noufal > http://nibrahim.net.in > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers From avinash007choudhary at gmail.com Mon Dec 29 10:57:21 2014 From: avinash007choudhary at gmail.com (Avinash Choudhary) Date: Mon, 29 Dec 2014 15:27:21 +0530 Subject: [BangPypers] BangPypers Digest, Vol 88, Issue 21 In-Reply-To: References: Message-ID: Hi, Can someone please send me book for learning python? I am not able to find a free pdf online. Thanks On 28-Dec-2014 4:30 PM, wrote: > Send BangPypers mailing list submissions to > bangpypers at python.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://mail.python.org/mailman/listinfo/bangpypers > or, via email, send a message with subject or body 'help' to > bangpypers-request at python.org > > You can reach the person managing the list at > bangpypers-owner at python.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of BangPypers digest..." > > > Today's Topics: > > 1. mysqlclient not getting installed in python3 env (Mukesh Yadav) > 2. Re: mysqlclient not getting installed in python3 env > (Noufal Ibrahim KV) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 28 Dec 2014 16:20:46 +0530 > From: Mukesh Yadav > To: Bangalore Python Users Group - India > Subject: [BangPypers] mysqlclient not getting installed in python3 env > Message-ID: > tVno6qrv8giXJy8w55ANFCxgF_ceYqNZgneXg at mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > Hi, > I have created virtualenv with python3 in ubuntu machine, I tried with > python 2.x env and its working fine but with python3 env its not getting > installed. but when I try to install mysqlclient it gives following error. > > _mysql.c:40:20: fatal error: Python.h: No such file or directory > > #include "Python.h" > > ^ > > compilation terminated. > > error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 > > I have installed all the prerequisite i.e, python-dev. > > -- > Regards > Mukesh Yadav > mukeshyadav.com > > > ------------------------------ > > Message: 2 > Date: Sun, 28 Dec 2014 16:26:29 +0530 > From: Noufal Ibrahim KV > To: Bangalore Python Users Group - India > Subject: Re: [BangPypers] mysqlclient not getting installed in python3 > env > Message-ID: <87bnmot542.fsf at nibrahim.net.in> > Content-Type: text/plain > > On Sun, Dec 28 2014, Mukesh Yadav wrote: > > > [...] > > > I have installed all the prerequisite i.e, python-dev. > > You probably need python3-dev for Python3. > > -- > Cordially, > Noufal > http://nibrahim.net.in > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > > > ------------------------------ > > End of BangPypers Digest, Vol 88, Issue 21 > ****************************************** > From singhai.piyush at gmail.com Mon Dec 29 11:03:25 2014 From: singhai.piyush at gmail.com (piyush singhai) Date: Mon, 29 Dec 2014 15:33:25 +0530 Subject: [BangPypers] BangPypers Digest, Vol 88, Issue 21 In-Reply-To: References: Message-ID: Hello, You can download from here. python essential reference 3rd edition https://microembedded.googlecode.com/files/Python_Essential_Reference_3rd_Edition.pdf Thanks Piyush On Mon, Dec 29, 2014 at 3:27 PM, Avinash Choudhary < avinash007choudhary at gmail.com> wrote: > Hi, > > Can someone please send me book for learning python? > > I am not able to find a free pdf online. > > Thanks > On 28-Dec-2014 4:30 PM, wrote: > > > Send BangPypers mailing list submissions to > > bangpypers at python.org > > > > To subscribe or unsubscribe via the World Wide Web, visit > > https://mail.python.org/mailman/listinfo/bangpypers > > or, via email, send a message with subject or body 'help' to > > bangpypers-request at python.org > > > > You can reach the person managing the list at > > bangpypers-owner at python.org > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of BangPypers digest..." > > > > > > Today's Topics: > > > > 1. mysqlclient not getting installed in python3 env (Mukesh Yadav) > > 2. Re: mysqlclient not getting installed in python3 env > > (Noufal Ibrahim KV) > > > > > > ---------------------------------------------------------------------- > > > > Message: 1 > > Date: Sun, 28 Dec 2014 16:20:46 +0530 > > From: Mukesh Yadav > > To: Bangalore Python Users Group - India > > Subject: [BangPypers] mysqlclient not getting installed in python3 env > > Message-ID: > > > tVno6qrv8giXJy8w55ANFCxgF_ceYqNZgneXg at mail.gmail.com> > > Content-Type: text/plain; charset=UTF-8 > > > > Hi, > > I have created virtualenv with python3 in ubuntu machine, I tried with > > python 2.x env and its working fine but with python3 env its not getting > > installed. but when I try to install mysqlclient it gives following > error. > > > > _mysql.c:40:20: fatal error: Python.h: No such file or directory > > > > #include "Python.h" > > > > ^ > > > > compilation terminated. > > > > error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 > > > > I have installed all the prerequisite i.e, python-dev. > > > > -- > > Regards > > Mukesh Yadav > > mukeshyadav.com > > > > > > ------------------------------ > > > > Message: 2 > > Date: Sun, 28 Dec 2014 16:26:29 +0530 > > From: Noufal Ibrahim KV > > To: Bangalore Python Users Group - India > > Subject: Re: [BangPypers] mysqlclient not getting installed in python3 > > env > > Message-ID: <87bnmot542.fsf at nibrahim.net.in> > > Content-Type: text/plain > > > > On Sun, Dec 28 2014, Mukesh Yadav wrote: > > > > > > [...] > > > > > I have installed all the prerequisite i.e, python-dev. > > > > You probably need python3-dev for Python3. > > > > -- > > Cordially, > > Noufal > > http://nibrahim.net.in > > > > > > ------------------------------ > > > > Subject: Digest Footer > > > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > https://mail.python.org/mailman/listinfo/bangpypers > > > > > > ------------------------------ > > > > End of BangPypers Digest, Vol 88, Issue 21 > > ****************************************** > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > From abhijit.bangera at hotmail.com Mon Dec 29 11:02:21 2014 From: abhijit.bangera at hotmail.com (Abhijit Bangera) Date: Mon, 29 Dec 2014 15:32:21 +0530 Subject: [BangPypers] BangPypers Digest, Vol 88, Issue 21 Message-ID: ?Try to learn from youtube. You can also check out lynda.com. They have good course for python (beginners), paid course. Learning for video tuts is faster than reading books, personal opinion. Regards, Abhijit Bangera www.geektech.in Sent from my BlackBerry 10 smartphone. From: Avinash Choudhary Sent: Monday, 29 December 2014 3:27 PM To: bangpypers at python.org Reply To: Bangalore Python Users Group - India Subject: Re: [BangPypers] BangPypers Digest, Vol 88, Issue 21 Hi, Can someone please send me book for learning python? I am not able to find a free pdf online. Thanks On 28-Dec-2014 4:30 PM, wrote: > Send BangPypers mailing list submissions to > bangpypers at python.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://mail.python.org/mailman/listinfo/bangpypers > or, via email, send a message with subject or body 'help' to > bangpypers-request at python.org > > You can reach the person managing the list at > bangpypers-owner at python.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of BangPypers digest..." > > > Today's Topics: > > 1. mysqlclient not getting installed in python3 env (Mukesh Yadav) > 2. Re: mysqlclient not getting installed in python3 env > (Noufal Ibrahim KV) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 28 Dec 2014 16:20:46 +0530 > From: Mukesh Yadav > To: Bangalore Python Users Group - India > Subject: [BangPypers] mysqlclient not getting installed in python3 env > Message-ID: > tVno6qrv8giXJy8w55ANFCxgF_ceYqNZgneXg at mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > Hi, > I have created virtualenv with python3 in ubuntu machine, I tried with > python 2.x env and its working fine but with python3 env its not getting > installed. but when I try to install mysqlclient it gives following error. > > _mysql.c:40:20: fatal error: Python.h: No such file or directory > > #include "Python.h" > > ^ > > compilation terminated. > > error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 > > I have installed all the prerequisite i.e, python-dev. > > -- > Regards > Mukesh Yadav > mukeshyadav.com > > > ------------------------------ > > Message: 2 > Date: Sun, 28 Dec 2014 16:26:29 +0530 > From: Noufal Ibrahim KV > To: Bangalore Python Users Group - India > Subject: Re: [BangPypers] mysqlclient not getting installed in python3 > env > Message-ID: <87bnmot542.fsf at nibrahim.net.in> > Content-Type: text/plain > > On Sun, Dec 28 2014, Mukesh Yadav wrote: > > > [...] > > > I have installed all the prerequisite i.e, python-dev. > > You probably need python3-dev for Python3. > > -- > Cordially, > Noufal > http://nibrahim.net.in > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > > > ------------------------------ > > End of BangPypers Digest, Vol 88, Issue 21 > ****************************************** > _______________________________________________ BangPypers mailing list BangPypers at python.org https://mail.python.org/mailman/listinfo/bangpypers From anand21nanda at gmail.com Mon Dec 29 11:05:14 2014 From: anand21nanda at gmail.com (Anand Reddy Pandikunta) Date: Mon, 29 Dec 2014 15:35:14 +0530 Subject: [BangPypers] BangPypers Digest, Vol 88, Issue 21 In-Reply-To: References: Message-ID: 255 Python programming books. 53 are free. :) http://importpython.com/books/ On Mon, Dec 29, 2014 at 3:27 PM, Avinash Choudhary < avinash007choudhary at gmail.com> wrote: > Hi, > > Can someone please send me book for learning python? > > I am not able to find a free pdf online. > > Thanks > On 28-Dec-2014 4:30 PM, wrote: > > > Send BangPypers mailing list submissions to > > bangpypers at python.org > > > > To subscribe or unsubscribe via the World Wide Web, visit > > https://mail.python.org/mailman/listinfo/bangpypers > > or, via email, send a message with subject or body 'help' to > > bangpypers-request at python.org > > > > You can reach the person managing the list at > > bangpypers-owner at python.org > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of BangPypers digest..." > > > > > > Today's Topics: > > > > 1. mysqlclient not getting installed in python3 env (Mukesh Yadav) > > 2. Re: mysqlclient not getting installed in python3 env > > (Noufal Ibrahim KV) > > > > > > ---------------------------------------------------------------------- > > > > Message: 1 > > Date: Sun, 28 Dec 2014 16:20:46 +0530 > > From: Mukesh Yadav > > To: Bangalore Python Users Group - India > > Subject: [BangPypers] mysqlclient not getting installed in python3 env > > Message-ID: > > > tVno6qrv8giXJy8w55ANFCxgF_ceYqNZgneXg at mail.gmail.com> > > Content-Type: text/plain; charset=UTF-8 > > > > Hi, > > I have created virtualenv with python3 in ubuntu machine, I tried with > > python 2.x env and its working fine but with python3 env its not getting > > installed. but when I try to install mysqlclient it gives following > error. > > > > _mysql.c:40:20: fatal error: Python.h: No such file or directory > > > > #include "Python.h" > > > > ^ > > > > compilation terminated. > > > > error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 > > > > I have installed all the prerequisite i.e, python-dev. > > > > -- > > Regards > > Mukesh Yadav > > mukeshyadav.com > > > > > > ------------------------------ > > > > Message: 2 > > Date: Sun, 28 Dec 2014 16:26:29 +0530 > > From: Noufal Ibrahim KV > > To: Bangalore Python Users Group - India > > Subject: Re: [BangPypers] mysqlclient not getting installed in python3 > > env > > Message-ID: <87bnmot542.fsf at nibrahim.net.in> > > Content-Type: text/plain > > > > On Sun, Dec 28 2014, Mukesh Yadav wrote: > > > > > > [...] > > > > > I have installed all the prerequisite i.e, python-dev. > > > > You probably need python3-dev for Python3. > > > > -- > > Cordially, > > Noufal > > http://nibrahim.net.in > > > > > > ------------------------------ > > > > Subject: Digest Footer > > > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > https://mail.python.org/mailman/listinfo/bangpypers > > > > > > ------------------------------ > > > > End of BangPypers Digest, Vol 88, Issue 21 > > ****************************************** > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > -- - Anand Reddy Pandikunta www.avilpage.com www.quotes160.com From asif.jamadar at rezayat.net Mon Dec 29 12:57:47 2014 From: asif.jamadar at rezayat.net (Asif Jamadar) Date: Mon, 29 Dec 2014 11:57:47 +0000 Subject: [BangPypers] Terrible choices: MySQL Message-ID: http://blog.ionelmc.ro/2014/12/28/terrible-choices-mysql/ Regards, Asif From noufal at nibrahim.net.in Mon Dec 29 18:18:50 2014 From: noufal at nibrahim.net.in (Noufal Ibrahim KV) Date: Mon, 29 Dec 2014 22:48:50 +0530 Subject: [BangPypers] Python books online (was: BangPypers Digest, Vol 88, Issue 21) In-Reply-To: (piyush singhai's message of "Mon, 29 Dec 2014 15:33:25 +0530") References: Message-ID: <87sifyqsqt.fsf_-_@nibrahim.net.in> On Mon, Dec 29 2014, piyush singhai wrote: > Hello, > > You can download from here. > > python essential reference 3rd edition > > https://microembedded.googlecode.com/files/Python_Essential_Reference_3rd_Edition.pdf [...] This looks like it's being hosted in violation of copyright. Please don't publicise or use such copies. People put in a lot of effort to produce these works and they deserve recognition and payment. If you want free books, there are several that are available online for free (legally). The official Python tutorial is one such example[1]. There's also Zed Shaws LPtHW[2] - the HTML version is freely available online. If you find it good, buy the PDF to support the author. Dive into Python[3] is another GFDL'ed book available online. There's also A Byte of Python[4]. Footnotes: [1] https://docs.python.org/3/tutorial/index.html [2] http://learnpythonthehardway.org/ [3] http://www.diveintopython.net/ [4] http://www.swaroopch.com/notes/python/ -- Cordially, Noufal http://nibrahim.net.in From saager.mhatre at gmail.com Mon Dec 29 20:28:42 2014 From: saager.mhatre at gmail.com (Saager Mhatre) Date: Mon, 29 Dec 2014 14:28:42 -0500 Subject: [BangPypers] Python certifications in India In-Reply-To: <87fvc5y71f.fsf@nibrahim.net.in> References: <87y4q0ce5t.fsf@nibrahim.net.in> <87fvc5y71f.fsf@nibrahim.net.in> Message-ID: On Wed, Dec 24, 2014 at 12:02 AM, Noufal Ibrahim KV wrote: > On Wed, Dec 24 2014, Saager Mhatre wrote: > > > [...] > > > > > Weeeeellll... I wouldn't put quite as much stock in the CCNA given the > > people we interviewed at TW for a sysad position. > > CCNA's are the lowest rung as far as I know. They're fairly easy to get > too. CCIEs are very hard to get and the ones I know who have the > certification are top players in their game. > > [...] Agreed. - d From kartiksinghal at gmail.com Tue Dec 30 04:37:26 2014 From: kartiksinghal at gmail.com (Kartik Singhal) Date: Tue, 30 Dec 2014 09:07:26 +0530 Subject: [BangPypers] Python books online (was: BangPypers Digest, Vol 88, Issue 21) In-Reply-To: <87sifyqsqt.fsf_-_@nibrahim.net.in> References: <87sifyqsqt.fsf_-_@nibrahim.net.in> Message-ID: On Mon, Dec 29, 2014 at 10:48 PM, Noufal Ibrahim KV wrote: > If you want free books, there are several that are available online for > free (legally). The official Python tutorial is one such > example[1]. There's also Zed Shaws LPtHW[2] - the HTML version is freely > available online. If you find it good, buy the PDF to support the > author. Dive into Python[3] is another GFDL'ed book available > online. There's also A Byte of Python[4]. > One more to add to the list -- Think Python: http://www.greenteapress.com/thinkpython/ -- a very accessible book for beginners to Python and programming in general, HTML/PDF editions are free. -- Kartik http://techglider.in From avinash007choudhary at gmail.com Tue Dec 30 13:19:58 2014 From: avinash007choudhary at gmail.com (Avinash Choudhary) Date: Tue, 30 Dec 2014 17:49:58 +0530 Subject: [BangPypers] BangPypers Digest, Vol 88, Issue 22 In-Reply-To: References: Message-ID: Thanks Piyush Singhai. I have downloaded the book. It looks like it has all content which i need to know in the begining. If you have more links for reference please send me. Thanks a lot. Avinash On 29-Dec-2014 3:33 PM, wrote: > Send BangPypers mailing list submissions to > bangpypers at python.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://mail.python.org/mailman/listinfo/bangpypers > or, via email, send a message with subject or body 'help' to > bangpypers-request at python.org > > You can reach the person managing the list at > bangpypers-owner at python.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of BangPypers digest..." > > > Today's Topics: > > 1. Re: mysqlclient not getting installed in python3 env > (Mukesh Yadav) > 2. Re: Python certifications in India (Vasudev Ram) > 3. Re: BangPypers Digest, Vol 88, Issue 21 (Avinash Choudhary) > 4. Re: BangPypers Digest, Vol 88, Issue 21 (piyush singhai) > 5. Re: BangPypers Digest, Vol 88, Issue 21 (Abhijit Bangera) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 28 Dec 2014 21:03:56 +0530 > From: Mukesh Yadav > To: Bangalore Python Users Group - India > Subject: Re: [BangPypers] mysqlclient not getting installed in python3 > env > Message-ID: > g at mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > > You probably need python3-dev for Python3. > > > Aha > Thanks Noufal that worked. That was so basic, feeling dumb :P > > -- > Regards > Mukesh Yadav > mukeshyadav.com > > > ------------------------------ > > Message: 2 > Date: Sun, 28 Dec 2014 22:36:25 +0530 > From: Vasudev Ram > To: Bangalore Python Users Group - India > Subject: Re: [BangPypers] Python certifications in India > Message-ID: > f-jmHsjpWgj59bX4Gp-dwdez9eoULssN5kByG6w at mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > IIRC there was a Python Certification effort (standard topic/material > creation (for the cert.) initially, other related tasks/activities) > some years ago by the PSF, but not sure if it was being actively > worked on, even when I came across it somewhere on the PSF site. > > --- > "Inspired by nature" > Vasudev Ram - Dancing Bison Enterprises > Software consulting and training - Python, Linux, databases, PDF, open > source, ...) > Email: vasudevram at gmail.com . Skype: vasudevram > http://jugad2.blogspot.in/p/about-vasudev-ram.html > http://careers.stackoverflow.com/cv/employer/130856# > Biz site: http://www.dancingbison.com > LinkedIn: http://www.linkedin.com/in/vasudevram > Twitter: http://mobile.twitter.com/vasudevram > Open source projects: https://bitbucket.org/vasudevram > Blog: http://jugad2.blogspot.com > Python and other recipes on ActiveState: > https://code.activestate.com/recipes/users/4173351/ > Python posts: http://jugad2.blogspot.com/search/label/python > xtopdf posts: http://jugad2.blogspot.com/search/label/xtopdf > xtopdf: "a Swiss army knife for PDF creation" > xtopdf on Slid.es: http://slid.es/vasudevram/xtopdf > xtopdf on Google Slides: http://bit.ly/xtopdf-google-slides > On the Python Wiki: https://wiki.python.org/moin/VasudevRam > > > On Wed, Dec 24, 2014 at 10:32 AM, Noufal Ibrahim KV > wrote: > > On Wed, Dec 24 2014, Saager Mhatre wrote: > > > > > > [...] > > > >> > >> Weeeeellll... I wouldn't put quite as much stock in the CCNA given the > >> people we interviewed at TW for a sysad position. > > > > CCNA's are the lowest rung as far as I know. They're fairly easy to get > > too. CCIEs are very hard to get and the ones I know who have the > > certification are top players in their game. > > > > [...] > > > > > > -- > > Cordially, > > Noufal > > http://nibrahim.net.in > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > https://mail.python.org/mailman/listinfo/bangpypers > > > ------------------------------ > > Message: 3 > Date: Mon, 29 Dec 2014 15:27:21 +0530 > From: Avinash Choudhary > To: bangpypers at python.org > Subject: Re: [BangPypers] BangPypers Digest, Vol 88, Issue 21 > Message-ID: > JQ-jDSrS7Yamk2N2tdvfwjODJgA at mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > Hi, > > Can someone please send me book for learning python? > > I am not able to find a free pdf online. > > Thanks > On 28-Dec-2014 4:30 PM, wrote: > > > Send BangPypers mailing list submissions to > > bangpypers at python.org > > > > To subscribe or unsubscribe via the World Wide Web, visit > > https://mail.python.org/mailman/listinfo/bangpypers > > or, via email, send a message with subject or body 'help' to > > bangpypers-request at python.org > > > > You can reach the person managing the list at > > bangpypers-owner at python.org > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of BangPypers digest..." > > > > > > Today's Topics: > > > > 1. mysqlclient not getting installed in python3 env (Mukesh Yadav) > > 2. Re: mysqlclient not getting installed in python3 env > > (Noufal Ibrahim KV) > > > > > > ---------------------------------------------------------------------- > > > > Message: 1 > > Date: Sun, 28 Dec 2014 16:20:46 +0530 > > From: Mukesh Yadav > > To: Bangalore Python Users Group - India > > Subject: [BangPypers] mysqlclient not getting installed in python3 env > > Message-ID: > > > tVno6qrv8giXJy8w55ANFCxgF_ceYqNZgneXg at mail.gmail.com> > > Content-Type: text/plain; charset=UTF-8 > > > > Hi, > > I have created virtualenv with python3 in ubuntu machine, I tried with > > python 2.x env and its working fine but with python3 env its not getting > > installed. but when I try to install mysqlclient it gives following > error. > > > > _mysql.c:40:20: fatal error: Python.h: No such file or directory > > > > #include "Python.h" > > > > ^ > > > > compilation terminated. > > > > error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 > > > > I have installed all the prerequisite i.e, python-dev. > > > > -- > > Regards > > Mukesh Yadav > > mukeshyadav.com > > > > > > ------------------------------ > > > > Message: 2 > > Date: Sun, 28 Dec 2014 16:26:29 +0530 > > From: Noufal Ibrahim KV > > To: Bangalore Python Users Group - India > > Subject: Re: [BangPypers] mysqlclient not getting installed in python3 > > env > > Message-ID: <87bnmot542.fsf at nibrahim.net.in> > > Content-Type: text/plain > > > > On Sun, Dec 28 2014, Mukesh Yadav wrote: > > > > > > [...] > > > > > I have installed all the prerequisite i.e, python-dev. > > > > You probably need python3-dev for Python3. > > > > -- > > Cordially, > > Noufal > > http://nibrahim.net.in > > > > > > ------------------------------ > > > > Subject: Digest Footer > > > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > https://mail.python.org/mailman/listinfo/bangpypers > > > > > > ------------------------------ > > > > End of BangPypers Digest, Vol 88, Issue 21 > > ****************************************** > > > > > ------------------------------ > > Message: 4 > Date: Mon, 29 Dec 2014 15:33:25 +0530 > From: piyush singhai > To: Bangalore Python Users Group - India > Subject: Re: [BangPypers] BangPypers Digest, Vol 88, Issue 21 > Message-ID: > PQ at mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > Hello, > > You can download from here. > > python essential reference 3rd edition > > > https://microembedded.googlecode.com/files/Python_Essential_Reference_3rd_Edition.pdf > > Thanks > Piyush > > > > On Mon, Dec 29, 2014 at 3:27 PM, Avinash Choudhary < > avinash007choudhary at gmail.com> wrote: > > > Hi, > > > > Can someone please send me book for learning python? > > > > I am not able to find a free pdf online. > > > > Thanks > > On 28-Dec-2014 4:30 PM, wrote: > > > > > Send BangPypers mailing list submissions to > > > bangpypers at python.org > > > > > > To subscribe or unsubscribe via the World Wide Web, visit > > > https://mail.python.org/mailman/listinfo/bangpypers > > > or, via email, send a message with subject or body 'help' to > > > bangpypers-request at python.org > > > > > > You can reach the person managing the list at > > > bangpypers-owner at python.org > > > > > > When replying, please edit your Subject line so it is more specific > > > than "Re: Contents of BangPypers digest..." > > > > > > > > > Today's Topics: > > > > > > 1. mysqlclient not getting installed in python3 env (Mukesh Yadav) > > > 2. Re: mysqlclient not getting installed in python3 env > > > (Noufal Ibrahim KV) > > > > > > > > > ---------------------------------------------------------------------- > > > > > > Message: 1 > > > Date: Sun, 28 Dec 2014 16:20:46 +0530 > > > From: Mukesh Yadav > > > To: Bangalore Python Users Group - India > > > Subject: [BangPypers] mysqlclient not getting installed in python3 env > > > Message-ID: > > > > > tVno6qrv8giXJy8w55ANFCxgF_ceYqNZgneXg at mail.gmail.com> > > > Content-Type: text/plain; charset=UTF-8 > > > > > > Hi, > > > I have created virtualenv with python3 in ubuntu machine, I tried > with > > > python 2.x env and its working fine but with python3 env its not > getting > > > installed. but when I try to install mysqlclient it gives following > > error. > > > > > > _mysql.c:40:20: fatal error: Python.h: No such file or directory > > > > > > #include "Python.h" > > > > > > ^ > > > > > > compilation terminated. > > > > > > error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 > > > > > > I have installed all the prerequisite i.e, python-dev. > > > > > > -- > > > Regards > > > Mukesh Yadav > > > mukeshyadav.com > > > > > > > > > ------------------------------ > > > > > > Message: 2 > > > Date: Sun, 28 Dec 2014 16:26:29 +0530 > > > From: Noufal Ibrahim KV > > > To: Bangalore Python Users Group - India > > > Subject: Re: [BangPypers] mysqlclient not getting installed in python3 > > > env > > > Message-ID: <87bnmot542.fsf at nibrahim.net.in> > > > Content-Type: text/plain > > > > > > On Sun, Dec 28 2014, Mukesh Yadav wrote: > > > > > > > > > [...] > > > > > > > I have installed all the prerequisite i.e, python-dev. > > > > > > You probably need python3-dev for Python3. > > > > > > -- > > > Cordially, > > > Noufal > > > http://nibrahim.net.in > > > > > > > > > ------------------------------ > > > > > > Subject: Digest Footer > > > > > > _______________________________________________ > > > BangPypers mailing list > > > BangPypers at python.org > > > https://mail.python.org/mailman/listinfo/bangpypers > > > > > > > > > ------------------------------ > > > > > > End of BangPypers Digest, Vol 88, Issue 21 > > > ****************************************** > > > > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > https://mail.python.org/mailman/listinfo/bangpypers > > > > > ------------------------------ > > Message: 5 > Date: Mon, 29 Dec 2014 15:32:21 +0530 > From: Abhijit Bangera > To: Avinash Choudhary > Subject: Re: [BangPypers] BangPypers Digest, Vol 88, Issue 21 > Message-ID: > Content-Type: text/plain; charset="utf-8" > > ?Try to learn from youtube. You can also check out lynda.com. They have > good course for python (beginners), paid course. Learning for video tuts is > faster than reading books, personal opinion. > > Regards, > Abhijit Bangera > www.geektech.in > > Sent from my BlackBerry 10 smartphone. > From: Avinash Choudhary > Sent: Monday, 29 December 2014 3:27 PM > To: bangpypers at python.org > Reply To: Bangalore Python Users Group - India > Subject: Re: [BangPypers] BangPypers Digest, Vol 88, Issue 21 > > > Hi, > > Can someone please send me book for learning python? > > I am not able to find a free pdf online. > > Thanks > On 28-Dec-2014 4:30 PM, wrote: > > > Send BangPypers mailing list submissions to > > bangpypers at python.org > > > > To subscribe or unsubscribe via the World Wide Web, visit > > https://mail.python.org/mailman/listinfo/bangpypers > > or, via email, send a message with subject or body 'help' to > > bangpypers-request at python.org > > > > You can reach the person managing the list at > > bangpypers-owner at python.org > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of BangPypers digest..." > > > > > > Today's Topics: > > > > 1. mysqlclient not getting installed in python3 env (Mukesh Yadav) > > 2. Re: mysqlclient not getting installed in python3 env > > (Noufal Ibrahim KV) > > > > > > ---------------------------------------------------------------------- > > > > Message: 1 > > Date: Sun, 28 Dec 2014 16:20:46 +0530 > > From: Mukesh Yadav > > To: Bangalore Python Users Group - India > > Subject: [BangPypers] mysqlclient not getting installed in python3 env > > Message-ID: > > > tVno6qrv8giXJy8w55ANFCxgF_ceYqNZgneXg at mail.gmail.com> > > Content-Type: text/plain; charset=UTF-8 > > > > Hi, > > I have created virtualenv with python3 in ubuntu machine, I tried with > > python 2.x env and its working fine but with python3 env its not getting > > installed. but when I try to install mysqlclient it gives following > error. > > > > _mysql.c:40:20: fatal error: Python.h: No such file or directory > > > > #include "Python.h" > > > > ^ > > > > compilation terminated. > > > > error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 > > > > I have installed all the prerequisite i.e, python-dev. > > > > -- > > Regards > > Mukesh Yadav > > mukeshyadav.com > > > > > > ------------------------------ > > > > Message: 2 > > Date: Sun, 28 Dec 2014 16:26:29 +0530 > > From: Noufal Ibrahim KV > > To: Bangalore Python Users Group - India > > Subject: Re: [BangPypers] mysqlclient not getting installed in python3 > > env > > Message-ID: <87bnmot542.fsf at nibrahim.net.in> > > Content-Type: text/plain > > > > On Sun, Dec 28 2014, Mukesh Yadav wrote: > > > > > > [...] > > > > > I have installed all the prerequisite i.e, python-dev. > > > > You probably need python3-dev for Python3. > > > > -- > > Cordially, > > Noufal > > http://nibrahim.net.in > > > > > > ------------------------------ > > > > Subject: Digest Footer > > > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > https://mail.python.org/mailman/listinfo/bangpypers > > > > > > ------------------------------ > > > > End of BangPypers Digest, Vol 88, Issue 21 > > ****************************************** > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > > > ------------------------------ > > End of BangPypers Digest, Vol 88, Issue 22 > ****************************************** > From rajalokan at gmail.com Tue Dec 30 14:44:35 2014 From: rajalokan at gmail.com (Okan bhan) Date: Tue, 30 Dec 2014 19:14:35 +0530 Subject: [BangPypers] Terrible choices: MySQL. What is the way ahead? Message-ID: > > > > http://blog.ionelmc.ro/2014/12/28/terrible-choices-mysql/ > > Regards, > Asif > > Thanks Asif for sharing the link. I was going through it in morning and re-read couple of times again after this post. We also remember facing similar issues faced by Ionel (author) and missing out on customer data (for a Django application). And I see coming from Django 1.2 + Mysql5.5 to Django1.5 + MySQL 5.5, we kept on adding similar django setting. But in comments ( here ) Nohay has given descent enough reasons to continue trust in MySql with release 5.7+. With my limited knowledge of Database internals and most of issues with MySQL fixed in 5.7+, my view is to rather upgrade and continue using MySQL. Will that be right thing to do?? My major reason to continue will be no exposure to PostgreSQL. And after struggling so much with MySQL, if I use Postgre I will be in a domain of unknown again. Can anyone please point to articles comparing latest version of both or share their view for a db novice. Thanks & Regards Alok Kumar From noufal at nibrahim.net.in Tue Dec 30 15:02:58 2014 From: noufal at nibrahim.net.in (Noufal Ibrahim KV) Date: Tue, 30 Dec 2014 19:32:58 +0530 Subject: [BangPypers] Terrible choices: MySQL. What is the way ahead? In-Reply-To: (Okan bhan's message of "Tue, 30 Dec 2014 19:14:35 +0530") References: Message-ID: <87zja5nskt.fsf@nibrahim.net.in> On Tue, Dec 30 2014, Okan bhan wrote: [...] > My major reason to continue will be no exposure to PostgreSQL. And > after struggling so much with MySQL, if I use Postgre I will be in a > domain of unknown again. Can anyone please point to articles comparing > latest version of both or share their view for a db novice. [...] I can't offer anything normative but in my experience (and it's a little dated since I don't use mySQL for anything these days), mySQL is a disaster waiting to hit you. If I had to recommend a path ahead, I'd suggest that you bite the bullet now and make the technical and other investments necessary to migrate from mySQL to postgres right away. It's a much more future proof investment. If your budget and situation doesn't allow for that, atleast make a plan to migrate and stop investing in mySQL for any of your work from now. -- Cordially, Noufal http://nibrahim.net.in From rajalokan at gmail.com Tue Dec 30 17:19:53 2014 From: rajalokan at gmail.com (Okan bhan) Date: Tue, 30 Dec 2014 21:49:53 +0530 Subject: [BangPypers] Terrible choices: MySQL. What is the way ahead? Message-ID: > > > [...] > > > My major reason to continue will be no exposure to PostgreSQL. And > > after struggling so much with MySQL, if I use Postgre I will be in a > > domain of unknown again. Can anyone please point to articles comparing > > latest version of both or share their view for a db novice. > > [...] > > I can't offer anything normative but in my experience (and it's a little > dated since I don't use mySQL for anything these days), mySQL is a > disaster waiting to hit you. > > If I had to recommend a path ahead, I'd suggest that you bite the bullet > now and make the technical and other investments necessary to migrate > from mySQL to postgres right away. It's a much more future proof > investment. If your budget and situation doesn't allow for that, atleast > make a plan to migrate and stop investing in mySQL for any of your work > from now. > > Thanks Noufal for heads up. As you suggested, I will start using PostgreSQL for any of my demo or tryout django projects. Meanwhile, doesn't look like a good week or descent year end for Mysql users --> gitlab-got-bit-mysql-fails-at-rails-migrations-that-work-in-postgresql/ Wishes for a prosperous new year. Thanks & Regards Alok From gora at mimirtech.com Tue Dec 30 18:03:11 2014 From: gora at mimirtech.com (Gora Mohanty) Date: Tue, 30 Dec 2014 22:33:11 +0530 Subject: [BangPypers] Terrible choices: MySQL. What is the way ahead? In-Reply-To: <87zja5nskt.fsf@nibrahim.net.in> References: <87zja5nskt.fsf@nibrahim.net.in> Message-ID: On 30 December 2014 at 19:32, Noufal Ibrahim KV wrote: [...] > I can't offer anything normative but in my experience (and it's a little > dated since I don't use mySQL for anything these days), mySQL is a > disaster waiting to hit you. [...] Personally, I agree with this, but such arguments often degenerate into flamewars. IMHO, it comes down to a matter of knowing your tools, and what use-cases they can meet. Sometimes, mysql can be what one needs. > If I had to recommend a path ahead, I'd suggest that you bite the bullet > now and make the technical and other investments necessary to migrate > from mySQL to postgres right away. It's a much more future proof > investment. If your budget and situation doesn't allow for that, atleast > make a plan to migrate and stop investing in mySQL for any of your work > from now. Agreed strongly. Unless one can make a very good case for it, I would go with Postgresql. From what I am told, even if one has to use mysql, one should look at MariaDB. Regards, Gora From noufal at nibrahim.net.in Tue Dec 30 21:07:32 2014 From: noufal at nibrahim.net.in (Noufal Ibrahim KV) Date: Wed, 31 Dec 2014 01:37:32 +0530 Subject: [BangPypers] Terrible choices: MySQL. What is the way ahead? In-Reply-To: (Gora Mohanty's message of "Tue, 30 Dec 2014 22:33:11 +0530") References: <87zja5nskt.fsf@nibrahim.net.in> Message-ID: <87oaqkoq9n.fsf@nibrahim.net.in> On Tue, Dec 30 2014, Gora Mohanty wrote: > On 30 December 2014 at 19:32, Noufal Ibrahim KV wrote: > [...] >> I can't offer anything normative but in my experience (and it's a little >> dated since I don't use mySQL for anything these days), mySQL is a >> disaster waiting to hit you. > > [...] > > Personally, I agree with this, but such arguments often degenerate > into flamewars. IMHO, it comes down to a matter of knowing your tools, > and what use-cases they can meet. Sometimes, mysql can be what one > needs. [...] They're both RDBMs. Unless you have legacy stuff to support or are tied down to mySQL for any non tech. reason, I can't really think of how it would be what one needs. -- Cordially, Noufal http://nibrahim.net.in From kracethekingmaker at gmail.com Tue Dec 30 21:21:33 2014 From: kracethekingmaker at gmail.com (kracekumar ramaraju) Date: Wed, 31 Dec 2014 01:51:33 +0530 Subject: [BangPypers] Terrible choices: MySQL. What is the way ahead? In-Reply-To: <87oaqkoq9n.fsf@nibrahim.net.in> References: <87zja5nskt.fsf@nibrahim.net.in> <87oaqkoq9n.fsf@nibrahim.net.in> Message-ID: On Dec 31, 2014 1:37 AM, "Noufal Ibrahim KV" wrote: > > On Tue, Dec 30 2014, Gora Mohanty wrote: > > > On 30 December 2014 at 19:32, Noufal Ibrahim KV wrote: > > [...] > >> I can't offer anything normative but in my experience (and it's a little > >> dated since I don't use mySQL for anything these days), mySQL is a > >> disaster waiting to hit you. > > > > [...] > > > > Personally, I agree with this, but such arguments often degenerate > > into flamewars. IMHO, it comes down to a matter of knowing your tools, > > and what use-cases they can meet. Sometimes, mysql can be what one > > needs. > > [...] > > They're both RDBMs. Unless you have legacy stuff to support or are tied > down to mySQL for any non tech. reason, I can't really think of how it > would be what one needs. For example, MySQL MyISAM is fast for read replica. Again MyISAM is terrible choice for write. Migrating from MySQL to postgres is really technical debt. Said that postgres quirks very little and ahead of mysql in features. Lot of companies cant migrate to postgres because incoming data is large. Companies choose MySQL knowing lot of consulting companies are around like percona, example quora. > > -- > Cordially, > Noufal > http://nibrahim.net.in > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers From anandology at gmail.com Wed Dec 31 03:02:34 2014 From: anandology at gmail.com (Anand Chitipothu) Date: Wed, 31 Dec 2014 07:32:34 +0530 Subject: [BangPypers] Terrible choices: MySQL. What is the way ahead? In-Reply-To: References: <87zja5nskt.fsf@nibrahim.net.in> <87oaqkoq9n.fsf@nibrahim.net.in> Message-ID: On Wed, Dec 31, 2014 at 1:51 AM, kracekumar ramaraju < kracethekingmaker at gmail.com> wrote: > On Dec 31, 2014 1:37 AM, "Noufal Ibrahim KV" > wrote: > > > > On Tue, Dec 30 2014, Gora Mohanty wrote: > > > > > On 30 December 2014 at 19:32, Noufal Ibrahim KV < > noufal at nibrahim.net.in> > wrote: > > > [...] > > >> I can't offer anything normative but in my experience (and it's a > little > > >> dated since I don't use mySQL for anything these days), mySQL is a > > >> disaster waiting to hit you. > > > > > > [...] > > > > > > Personally, I agree with this, but such arguments often degenerate > > > into flamewars. IMHO, it comes down to a matter of knowing your tools, > > > and what use-cases they can meet. Sometimes, mysql can be what one > > > needs. > > > > [...] > > > > They're both RDBMs. Unless you have legacy stuff to support or are tied > > down to mySQL for any non tech. reason, I can't really think of how it > > would be what one needs. > > For example, MySQL MyISAM is fast for read replica. Again MyISAM is > terrible choice for write. > > Migrating from MySQL to postgres is really technical debt. Said that > postgres quirks very little and ahead of mysql in features. Lot of > companies cant migrate to postgres because incoming data is large. > > Companies choose MySQL knowing lot of consulting companies are around like > percona, example quora. > Whoever is using it probably not using it because it is a good database, probably something else. For example, friendfeed used it as a nosql store. I've been through horror of mysql. For example, adding a new index locks the entire database. Not only that, since it stores entire database in a single file, it rewrites the entire database in to a new file. If you don't have 50% disk free, you are gone. What to add a new column? plan for downtime again. The big companies using mysql would have found work-arounds for these issues. I don't think individual developers can afford that. Internet Archive (place where I work) was down for 8 hours because we wanted to add couple of columns and build index on them. Fortunately, we have switched to Postgres and both these operations can now be done without second thoughts. Anand From kracethekingmaker at gmail.com Wed Dec 31 03:44:53 2014 From: kracethekingmaker at gmail.com (kracekumar ramaraju) Date: Wed, 31 Dec 2014 08:14:53 +0530 Subject: [BangPypers] Terrible choices: MySQL. What is the way ahead? In-Reply-To: References: <87zja5nskt.fsf@nibrahim.net.in> <87oaqkoq9n.fsf@nibrahim.net.in> Message-ID: On Wed, Dec 31, 2014 at 7:32 AM, Anand Chitipothu wrote: > On Wed, Dec 31, 2014 at 1:51 AM, kracekumar ramaraju < > kracethekingmaker at gmail.com> wrote: > > > On Dec 31, 2014 1:37 AM, "Noufal Ibrahim KV" > > wrote: > > > > > > On Tue, Dec 30 2014, Gora Mohanty wrote: > > > > > > > On 30 December 2014 at 19:32, Noufal Ibrahim KV < > > noufal at nibrahim.net.in> > > wrote: > > > > [...] > > > >> I can't offer anything normative but in my experience (and it's a > > little > > > >> dated since I don't use mySQL for anything these days), mySQL is a > > > >> disaster waiting to hit you. > > > > > > > > [...] > > > > > > > > Personally, I agree with this, but such arguments often degenerate > > > > into flamewars. IMHO, it comes down to a matter of knowing your > tools, > > > > and what use-cases they can meet. Sometimes, mysql can be what one > > > > needs. > > > > > > [...] > > > > > > They're both RDBMs. Unless you have legacy stuff to support or are tied > > > down to mySQL for any non tech. reason, I can't really think of how it > > > would be what one needs. > > > > For example, MySQL MyISAM is fast for read replica. Again MyISAM is > > terrible choice for write. > > > > Migrating from MySQL to postgres is really technical debt. Said that > > postgres quirks very little and ahead of mysql in features. Lot of > > companies cant migrate to postgres because incoming data is large. > > > > Companies choose MySQL knowing lot of consulting companies are around > like > > percona, example quora. > > > > Whoever is using it probably not using it because it is a good database, > probably something else. For example, friendfeed used it as a nosql store. > > I've been through horror of mysql. For example, adding a new index locks > the entire database. Not only that, since it stores entire database in a > single file, it rewrites the entire database in to a new file. If you don't > have 50% disk free, you are gone. > > What to add a new column? plan for downtime again. > > +1. We had same issues with new columns for every add/alter column. > The big companies using mysql would have found work-arounds for these > issues. I don't think individual developers can afford that. > Also, migrating earlier is worth every penny. I find this resource much helpful https://github.com/lanyrd/mysql-postgresql-converter Internet Archive (place where I work) was down for 8 hours because we > wanted to add couple of columns and build index on them. Fortunately, we > have switched to Postgres and both these operations can now be done without > second thoughts. > > Anand > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > -- *Thanks & Regardskracekumar"Talk is cheap, show me the code" -- Linus Torvaldshttp://kracekumar.com * From sriramnrn at gmail.com Wed Dec 31 06:28:03 2014 From: sriramnrn at gmail.com (Sriram Narayanan) Date: Wed, 31 Dec 2014 13:28:03 +0800 Subject: [BangPypers] About the Nim Language Message-ID: Hi folks: I discovered the Nim programming language via HackerNews. Here are some discussion threads: https://news.ycombinator.com/item?id=8814449 http://forum.nim-lang.org/t/671 A quote that caught my attention : "Nim is like writing C at the speed of Python, and running Python at the speed of C." -- Ram From rohitchormale at gmail.com Wed Dec 31 14:29:33 2014 From: rohitchormale at gmail.com (Rohit Chormale) Date: Wed, 31 Dec 2014 18:59:33 +0530 Subject: [BangPypers] About the Nim Language In-Reply-To: References: Message-ID: Thanks for update On Wed, Dec 31, 2014 at 10:58 AM, Sriram Narayanan wrote: > Hi folks: > > I discovered the Nim programming language via HackerNews. > > Here are some discussion threads: > https://news.ycombinator.com/item?id=8814449 > http://forum.nim-lang.org/t/671 > > A quote that caught my attention : "Nim is like writing C at the speed of > Python, and running Python at the speed of C." > > -- Ram > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > https://mail.python.org/mailman/listinfo/bangpypers > From harishbadrinath at gmail.com Wed Dec 31 22:21:51 2014 From: harishbadrinath at gmail.com (harish badrinath) Date: Thu, 1 Jan 2015 02:51:51 +0530 Subject: [BangPypers] Terrible choices: MySQL. What is the way ahead? In-Reply-To: References: <87zja5nskt.fsf@nibrahim.net.in> <87oaqkoq9n.fsf@nibrahim.net.in> Message-ID: Hello, Slightly OT but but internet archive and github mentioned in this thread seemed to be blocked as of "now" "here". Wishing you a great new year, Harish