Re: [BangPypers] Date Change for the November Meetup

2022-11-18 Thread Anand Chitipothu
On Fri, Nov 18, 2022 at 9:32 AM Ritesh Agrawal wrote: > Hello all > > Due to unavailability of speakers, the meetup date is shifted by a week. > The meetup is now scheduled for Nov 26, 2022. > > If you would like to present something, please fill in the details at the > link below. > https://bit.

Re: [BangPypers] Date Change for the November Meetup

2022-11-18 Thread Anand Chitipothu
On Fri, Nov 18, 2022 at 9:32 AM Ritesh Agrawal wrote: > Hello all > > Due to unavailability of speakers, the meetup date is shifted by a week. > The meetup is now scheduled for Nov 26, 2022. > > If you would like to present something, please fill in the details at the > link below. > https://bit.

[BangPypers] [Commercial] The Lambda Retreat

2022-11-03 Thread Anand Chitipothu
Hello everyone, I'm planning a week-long immersive training/retreat to deep-dive into the foundations of programming and writing complex software. Structure and interpretation of computer programs (SICP) by Abelson and Sussman, famously known as the wizard book, is a very influential textbook wit

[BangPypers] The Joy of Programming

2021-07-22 Thread Anand Chitipothu
Hello everyone, For more than a year, I've been thinking about what is a good way to introduce programming to your students. I've presented some of my ideas at the keynote talk[1] that I gave at PyConf Hyderabad last year. Since the last six months, I've been working on building a new learning pl

Re: [BangPypers] [Bangpypers] The 100th Bangpypers Event is here :) Mark your calendars! - Feb 22, 2020

2020-01-30 Thread Anand Chitipothu
On Thu, Jan 30, 2020 at 9:47 PM Abhiram R wrote: > Hi all, > It's been a long time since Bangpypers was created all those years ago by > Anand > B Pillai and team and the first > Bangpypers meetup was reportedly on Jan 22 2005 >

Re: [BangPypers] My querry

2019-09-24 Thread Anand Chitipothu
On Tue, Sep 24, 2019 at 1:03 PM Bappa Bhalsing via BangPypers < bangpypers@python.org> wrote: > Hello All, > I am trying to run following program using python and i am getting error > consistently. > Please to resolve. > input_file = '.\Desktop\height-weight.csv'import pandas as pd > from pandas i

Re: [BangPypers] Require help

2019-09-23 Thread Anand Chitipothu
On Tue, Sep 24, 2019 at 12:05 PM Bappa Bhalsing via BangPypers < bangpypers@python.org> wrote: > Dear Bangpypers Members, > Thanks for including me this group. > I am nascent to Python Language and some queries related to python. > I want to seek help from volunteer group member to evaluate my pro

Re: [BangPypers] Teaching yourself machine learning

2018-08-08 Thread Anand Chitipothu
On Thu, Aug 9, 2018 at 11:35 AM Noufal Ibrahim wrote: > On 2018-08-09 08:48, Rohit Chormale wrote: > [..] > > Currently I am trying to teach myself machine learning. But I am facing > > difficulty to connect it in real life. I would really love to know the > > real > > life scenarios for machine-

[BangPypers] [Commercial][Job] - Platform Engineer for rorodata

2018-05-02 Thread Anand Chitipothu
Hello, We are looking for a platform engineer to join our team at rorodata ( https://rorodata.com). Experience Level: 3 years Expected Skills: - Python - Proficient in Linux/Unix - Microserviecs and RESTful APIs - Docker, Kubernetes - AWS/Google Cloud Position is based out of Visakhapatnam / H

Re: [BangPypers] Resource for ML

2017-06-07 Thread Anand Chitipothu
On Tue, Jun 6, 2017 at 8:59 PM, Ramkrishna P wrote: > Hello Team, > I have started out to work on pandas and numpy libraries to pick some > machine learning concepts. > I feel apart from working on datasets and getting some results, the > core concepts of machine learning are still missing. > > I

Re: [BangPypers] Improving meetup attendance

2017-03-20 Thread Anand Chitipothu
On Mon, Mar 20, 2017 at 8:32 PM, kracekumar ramaraju < kracethekingma...@gmail.com> wrote: > Hi > > As of today, there are 5394 members in BangPypers meetup [0]. For last > meetup (IoT Workshop), 267 participants showed interest. We allowed 134 > RSVPs and waitlisted 133 attendees. As Nitin menti

[BangPypers] [JOB] Looking for an experienced Python engineer

2016-12-25 Thread Anand Chitipothu
Hi, We are looking for an experienced python engineer to join our team at Rorodata, a data analytics startup based in Hyderabad. Interesting work in the intersection of data science, infrastructure and microservices. This is a full-time position based out of Hyderabad. We can explore remote worki

[BangPypers] [OT][Commercial] HTTP Bottom Up and Python Generators Workshops

2016-09-11 Thread Anand Chitipothu
Hello everyone, I'm doing the following workshops in Bangalore this week. --- HTTP Bottom Up September 16 & 17 (Friday & Saturday), A two-day hands-on workshop to explore everything that happens behind the scenes of your favorite web framework. https://pipal.in/workshops/2016/http-bottom-up --

Re: [BangPypers] Python 2.x Vs 3 & Books - Frequently Asked Question but on latest context

2016-08-04 Thread Anand Chitipothu
On Thu, 4 Aug 2016 at 23:49 Dr.Bhishma Gajavelli < bhishma.gajave...@gmail.com> wrote: > Hi All > > Coming to the packages that are being used in data science are mainly from > Python 2.x.x > > Any comments on this friends ? What are the packages that are not yet available on Python 3? I did an

Re: [BangPypers] Jupyter Support in Django App

2016-08-04 Thread Anand Chitipothu
On Thu, 4 Aug 2016 at 17:21 Raghav wrote: > Hi all- > > I need some advice on embedding Jupyter Notebook into my Django > application. Something similar to Kaggle Notebooks. Kaggle allows you to > spin a custom notebook in browser. > > We too want users to spin their own notebooks for different e

Re: [BangPypers] Python 2.x Vs 3 & Books - Frequently Asked Question but on latest context

2016-08-04 Thread Anand Chitipothu
On Thu, 4 Aug 2016 at 22:24 Noufal Ibrahim KV wrote: > > I think Python 3 has arrived. There are a few libraries that are not > ported and there's legacy code which you might have to work on but apart > from that, 3 is the way to go. > > Learn Python the Hard way is a good book to start with and

Re: [BangPypers] Python 2.x Vs 3 & Books - Frequently Asked Question but on latest context

2016-08-04 Thread Anand Chitipothu
On Thu, 4 Aug 2016 at 20:49 Jins Thomas wrote: > Hello all, > > A frequently asked question, but would like to hear the latest opinion of > Python enthusiasts on this. > > 1) If a person is starting with Python these days can we still recommend > to start with 2.x or it's better now to start wit

Re: [BangPypers] AWS S3 Routine with Python

2016-06-22 Thread Anand Chitipothu
On Wed, 22 Jun 2016 at 22:18 Sundar N wrote: > Hi , > Looking for some pointers on using Python to decompress files on AWS S3. > I have been using Boto 2.x library . > As of now I have a requirement to extract a compressed file in one of the > s3 buckets, > that needs to be extracted. There is no

[BangPypers] [JOB] Python Developer at CTSC, Hyderabad

2016-06-06 Thread Anand Chitipothu
Hello everyone, I'm posting this job on behalf of a friend. Center for Technology and Social Change[1], a non-for-profit organization based in Hyderabad is looking for a Python web developer with 2+ years of experience. The candidate should have good knowledge of Python and at least one web fram

Re: [BangPypers] Python comparisons

2015-12-05 Thread Anand Chitipothu
On Sat, Dec 5, 2015 at 12:56 PM, Noufal Ibrahim KV wrote: > > So I came across this today.. > > >>> class Number(object): > ...def __init__(self, n): > ... self.n = n > ... > >>> m = Number(10) > >>> n = Number(5) > >>> > >>> m < n > True > > This is documented like so > > > If no __cmp

Re: [BangPypers] Role-Based Access Control

2015-09-17 Thread Anand Chitipothu
On Thu, Sep 17, 2015 at 4:58 PM, Senthil Kumaran wrote: > On Thu, Sep 17, 2015 at 3:38 AM, Anand Chitipothu > wrote: > > > If you have any suggestions, please let me know. > > > If the organization uses ldap, then using a ldap based access control is > possible us

[BangPypers] Role-Based Access Control

2015-09-17 Thread Anand Chitipothu
Hi, I'm trying to use Role-Based Access Control (RBAC) [1] for an application I'm working on. Is there any Python library that implements RBAC very well? Has anyone of you have experience with using any such library? I spent some time looking for python libraries, but all of them are tied to a w

Re: [BangPypers] BangPypers completes 10 years

2015-09-14 Thread Anand Chitipothu
On Tue, Sep 15, 2015 at 12:05 PM, Rohit Chormale wrote: > Thanks for sharing your memories. > > I searched about logix & got some interesting links. > > https://github.com/tablatom/Logix > > And guy is Tom Locke. > > Is this right ? > Yes, he is the guy. Anand __

Re: [BangPypers] BangPypers completes 10 years

2015-08-17 Thread Anand Chitipothu
On Mon, Aug 17, 2015 at 11:01 PM, Anand B Pillai < anandpil...@letterboxes.org> wrote: > [...] > I don't and the group has been removed from Y! groups (by Yahoo!). I > have the archives of the group saved somewhere in a dump - need to check > The group seems to be there still. https://groups.yah

Re: [BangPypers] BangPypers completes 10 years

2015-08-17 Thread Anand Chitipothu
On Fri, Aug 14, 2015 at 9:09 AM, Anand B Pillai wrote: > [...] Thank you for the positive comments. We've learned and grown with this > list and it feels like an old friend now - which is the best thing > about it at the end of day I feel. > [...] I think we should archive the communication on

Re: [BangPypers] BangPypers completes 10 years

2015-08-17 Thread Anand Chitipothu
On Fri, Aug 14, 2015 at 9:09 AM, Anand B Pillai wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi Senthil, > > On Thursday 13 August 2015 07:50 PM, Senthil Kumaran wrote: > > On Aug 13, 2015 12:19 AM, "Anand B Pillai" > > wrote: > >> > >> From Feb 2005 when it started its life in Y

Re: [BangPypers] Connecting developers and companies

2015-07-19 Thread Anand Chitipothu
On Sun, Jul 19, 2015 at 9:41 PM, Deep Sukhwani wrote: > One major concern of all is that people showing up on meetups ONLY > with an agenda of getting a chance to speak with employers. > IMHO, creating a venue for people to talk to potential employers is a good thing. As long as that doesn't tak

Re: [BangPypers] Connecting developers and companies

2015-07-19 Thread Anand Chitipothu
On Sun, Jul 19, 2015 at 2:04 AM, kracekumar ramaraju < kracethekingma...@gmail.com> wrote: > Hi > > We have come long way with BangPypers meetup [1]. In last two years, we > conducted regular workshops and talks. We have seen people travelling from > different cities to attend our meetups. 82 peo

[BangPypers] [Commercial] Python Training Course: April 3-5

2015-03-30 Thread Anand Chitipothu
Hi, I'm conducting a three day hands-on training course on Python programming on April 3, 4 & 5 (Friday, Saturday & Sunday). The course notes is freely available online at http://anandology.com/python-practice-book/. For more information about the co

Re: [BangPypers] Python training material

2015-01-19 Thread Anand Chitipothu
On Tue, Jan 20, 2015 at 10:09 AM, Suyash Bhatt wrote: > Hi Friends, > > I am looking for any Basic training material for Python which can be shared > across (with due credit). > Please let me know if anyone can help me with that. > Feel free to use: http://anandology.com/python-practice-book/

Re: [BangPypers] Terrible choices: MySQL. What is the way ahead?

2014-12-30 Thread Anand Chitipothu
On Wed, Dec 31, 2014 at 1:51 AM, kracekumar ramaraju < kracethekingma...@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 < > nou...@nibrahim.net.in> > wrote: > > >

Re: [BangPypers] Does Python have lexical scoping?

2014-11-09 Thread Anand Chitipothu
On Mon, Nov 10, 2014 at 12:17 PM, Anand Chitipothu wrote: > On Sun, Nov 9, 2014 at 10:38 AM, Noufal Ibrahim KV > wrote: > >> >> Okay, I've been struggling through the proglang course on coursera and >> this thing came up >> >>val x = 2; >>

Re: [BangPypers] Does Python have lexical scoping?

2014-11-09 Thread Anand Chitipothu
On Sun, Nov 9, 2014 at 10:38 AM, Noufal Ibrahim KV wrote: > > Okay, I've been struggling through the proglang course on coursera and > this thing came up > >val x = 2; >fun f y = x + y; > > The second line creates a function that adds `x` to it's argument. Since > ML is statically scoped,

Re: [BangPypers] Asynchronous method calls in python

2014-10-10 Thread Anand Chitipothu
On Fri, Oct 10, 2014 at 2:06 PM, Okan bhan wrote: > Hi, > > I'm working on an appengine + flask application which makes multiple > requests to third party APIs as part of one request. All of these are > independent. > > So I was hoping what should be the best way to make these method calls > asyn

Re: [BangPypers] Adding mixing at run-time

2014-10-09 Thread Anand Chitipothu
On Thu, Oct 9, 2014 at 11:30 AM, kracekumar ramaraju < kracethekingma...@gmail.com> wrote: > On Wed, Oct 8, 2014 at 4:19 PM, Anand Chitipothu > wrote: > > > Hi, > > > > I'm working on a slightly large application and I'm trying to model it > as a &

[BangPypers] Adding mixing at run-time

2014-10-08 Thread Anand Chitipothu
Hi, I'm working on a slightly large application and I'm trying to model it as a some kind of plugin architecture so that it modular and I can enable or take out features without lot of code changes. One of the issues I faced was that the wanted to add some methods to a class only when a feature/p

Re: [BangPypers] Python Gotcha Fibonacci

2014-10-04 Thread Anand Chitipothu
On Sat, Oct 4, 2014 at 5:05 PM, shankha wrote: > Try using pdb. [...] Oh no! Real programmers use print. Anand ___ BangPypers mailing list BangPypers@python.org https://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Python List Comprehension Question

2014-10-03 Thread Anand Chitipothu
On Fri, Oct 3, 2014 at 8:26 PM, Bhargav Kowshik < bhargav.kows...@yahoo.com.dmarc.invalid> wrote: > We could use what Anand talked about at Pycon India about handling the > headers in first row of a CSV.In this scenario, instead of default for > result being None and checking if None everytime, we

Re: [BangPypers] Python List Comprehension Question

2014-10-02 Thread Anand Chitipothu
On Thu, Oct 2, 2014 at 3:51 PM, Rajiv Subramanian M wrote: > Hello Group, > > I'm Rajiv working as web developer in bangalore. > > Objective: > We need to convert the list containing integers and nested list of integer > in it > e.g.) x = [[1, 2, [3]], 4] > into a flat list format > e.g.) result

Re: [BangPypers] Return values

2014-09-20 Thread Anand Chitipothu
On Sat, Sep 20, 2014 at 2:34 PM, Noufal Ibrahim KV wrote: > > I've recently come across something that I'd like some comments on. It's > a stylistic issue so not something that there's an objective answer > for. Nevertheless. > > I have a function that gets some statistics from some source and re

[BangPypers] [XPOST] Python Month is back as Python Express

2014-08-25 Thread Anand Chitipothu
Hello everyone, Last year, along with PyCon India 2013, we have conducted Python workshops in education institutions across India for one month. It was huge success and we conducted more than 100 workshops. This year, Python Month is back in all its glory, but with a new face and a new plan. Pyth

Re: [BangPypers] Mailing list etiquette

2014-08-04 Thread Anand Chitipothu
> > Not only that, it is a pain to download something and open it in some >> application just to know what is inside. It is a lot better to send a link >> instead of sending attachments. >> > > ​Anand, how do you consume your emails? I get my emails on my phones as > well, in gmail, which has a pre

Re: [BangPypers] Mailing list etiquette

2014-08-04 Thread Anand Chitipothu
On Mon, Aug 4, 2014 at 2:23 PM, Noufal Ibrahim KV wrote: > On Mon, Aug 04 2014, Jeffrey Jose wrote: > > > I agree with almost all of it, except for these 2. > > > > 1. No HTML emails > > I don't like HTML emails because usual textual matter doesn't need > it. It simply bloats things and if the re

Re: [BangPypers] Chef Fundamentals - Bangalore, India, From OpexSoftware

2014-06-18 Thread Anand Chitipothu
Hi Vikas, This mailing list is meant to discuss topics related to Python. The topic you posted doesn't have any relation to Python. Please refrain from posting such topics in Future. Anand On Wed, Jun 18, 2014 at 9:38 PM, Vikas Ruhil wrote: > Hello Admin, > > I am just asking , > Can I post

Re: [BangPypers] Iterators

2014-04-01 Thread Anand Chitipothu
On Tue, Apr 1, 2014 at 11:16 PM, Noufal Ibrahim KV wrote: > On Tue, Apr 01 2014, Pradip Caulagi wrote: > > > It is rather late in the day to bring this up but ... > > > > I heard they are removing iterators from Python to keep a small core. > > Anybody want to join efforts to write a generic libra

Re: [BangPypers] BangPypers has an admin-controlled filter preventing discussion of diversity.

2014-01-18 Thread Anand Chitipothu
On Sat, Jan 18, 2014 at 2:19 PM, kracekumar ramaraju < kracethekingma...@gmail.com> wrote: > Thanks for informing us. The particular topic filter is deleted. Can any > one confirm this ? > Confirmed. That filter is not there now. Thanks for handling this Krace. Anand ___

[BangPypers] [Commercial] Python Training Course: January 31-Feb 2

2014-01-08 Thread Anand Chitipothu
Hi, I'm conducting a three day hands-on training course on Python programming on January 31, Feb 1 and 2 (Friday, Saturday & Sunday). The course notes is freely available online at http://anandology.com/python-practice-book/. For more information about the course and registration, please visit t

Re: [BangPypers] [OT]Tech talk by Ulrich Drepper

2013-11-14 Thread Anand Chitipothu
HI Moinak, When posting about a talk, it'll be useful to include at least the title of the talk and a small bio of the speaker. Anand On Thu, Nov 14, 2013 at 10:52 AM, Moinak Ghosh wrote: > This is not exactly Python related, but just trying to reach out to a wider > audience. > > Ulrich Drep

Re: [BangPypers] September Bangpypers meetup

2013-09-24 Thread Anand Chitipothu
On Tue, Sep 24, 2013 at 2:33 PM, Baiju M wrote: > Hi, > > We had a great BangPypers meetup last Saturday. I have uploaded few > photos at meetup site (The photos are showing up in July meetup, can > someone change it to September meetup ?) > > http://www.meetup.com/BangPypers/photos/16191232/285

Re: [BangPypers] Pyladies Bangalore in Times of India

2013-09-23 Thread Anand Chitipothu
> I thank Anand Chitipothu for making Pycon India 2013 women inclusive. Since > he has already made a comment that there was enough participation from > women, there are a few facts that I want get them straight. > Not sure what you mean by "women inclusive" here. PyCon

Re: [BangPypers] Pyladies Bangalore in Times of India

2013-09-23 Thread Anand Chitipothu
This article, at least some of the Python parts of it, are not > accurate. Bangpypers didn't host PyCon India. The PSSI did in Bangalore > and many of the volunteers were out of station. Also, that quote doesn't > sound authentic but like a generic feel good statement. >

Re: [BangPypers] Debugging functions/tools/ways

2013-09-13 Thread Anand Chitipothu
On Fri, Sep 13, 2013 at 2:36 PM, Dhruv Baldawa wrote: > This is what I use for debugging: > from IPython.core.debugger import Tracer; Tracer()() > > works mostly like pdb, with some nice features like tab completions > The best debugging tool I've used so far is the print statement. What about ot

Re: [BangPypers] Favorite tips/techniques

2013-09-11 Thread Anand Chitipothu
Another script I use often is repr. https://github.com/anandology/hacks/blob/master/repr It reads each line from stdin and prints it as python repr. Useful to see hidden/non-alphanumeric characters. $ echo -e "a\bc" c $ echo -e "a\bc" | repr a\x08c\n This is similar to od, but od prints fixed n

Re: [BangPypers] Favorite tips/techniques

2013-09-10 Thread Anand Chitipothu
Another utility script that I use very heavily, pyvi. https://github.com/anandology/hacks/blob/master/pyvi $ pyvi json.tool That opens json.tool module (or any other module) in vim. It also changes the current dir to that module directory so that you can easily open other modules in the same pa

Re: [BangPypers] Simulating atexit using weakref (was How to run a block of code just before the interpreter is being exited ...)

2013-09-09 Thread Anand Chitipothu
On Tue, Sep 10, 2013 at 12:13 PM, Noufal Ibrahim wrote: > [...] > This whole business is kind of surreptitious. > > The PyODE library had a "world" object which can hold multiple > geometries in it. Once you add it to the world, you expect it to keep > track of the geometries. However, it doesn't

Re: [BangPypers] Simulating atexit using weakref (was How to run a block of code just before the interpreter is being exited ...)

2013-09-09 Thread Anand Chitipothu
On Tue, Sep 10, 2013 at 11:43 AM, Anand B Pillai < anandpil...@letterboxes.org> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Tuesday 10 September 2013 11:30 AM, Anand B Pillai wrote: > > > Don't advise anyone to use this code - it is just to illustrate > > the one of the ways in

Re: [BangPypers] Python "Wat"s

2013-09-09 Thread Anand Chitipothu
On Tue, Sep 10, 2013 at 11:10 AM, Bibhas wrote: > > > Anand Chitipothu wrote: > >On Tue, Sep 10, 2013 at 10:57 AM, Shabda Raaj > >wrote: > > > >> > A variable is either local or global. It is decided at the compile > >time. > >> >

Re: [BangPypers] Python "Wat"s

2013-09-09 Thread Anand Chitipothu
On Tue, Sep 10, 2013 at 10:57 AM, Shabda Raaj wrote: > > A variable is either local or global. It is decided at the compile time. > > Erm, compile? > well, you may call it module/script load time. But python compiles the code and generates bytecode before executing it. $ file a.pyc a.pyc: pytho

Re: [BangPypers] Python "Wat"s

2013-09-09 Thread Anand Chitipothu
On Tue, Sep 10, 2013 at 10:46 AM, Ramchandra Apte wrote: > I get UnboundLocalError: local variable 'x' referenced before assignment. > That's strange, I'd expect the first print statement to print 10, not > generate an exception. > A variable is either local or global. It is decided at the compil

Re: [BangPypers] Favorite tips/techniques

2013-09-09 Thread Anand Chitipothu
On Tue, Sep 10, 2013 at 10:45 AM, Noufal Ibrahim wrote: > Anand Chitipothu writes: > > [...] > > > I use it very often. Here is my random-password script. > > [...] > > I use mkpasswd(1) :) > $ sudo apt-cache search mkpasswd libstring-mkpasswd-perl - Perl modu

Re: [BangPypers] Favorite tips/techniques

2013-09-09 Thread Anand Chitipothu
On Tue, Sep 10, 2013 at 10:39 AM, Shabda Raaj wrote: > > https://github.com/webpy/webpy/blob/master/web/utils.py#L52 > > Wow, thats better than the "bare" bunch impl. Gonna use it now. > > Unrelated tip: > > Here is a one liner I use to generate passwords and other random strings. > > ''.join(ran

Re: [BangPypers] Python "Wat"s

2013-09-09 Thread Anand Chitipothu
On Tue, Sep 10, 2013 at 10:37 AM, Ramchandra Apte wrote: > On 10 September 2013 10:21, Anand Chitipothu wrote: > > > On Tue, Sep 10, 2013 at 10:14 AM, Shabda Raaj wrote: > > > > > This is a popular talk on quircks of ruby/js > > > > > >

Re: [BangPypers] Python "Wat"s

2013-09-09 Thread Anand Chitipothu
On Tue, Sep 10, 2013 at 10:14 AM, Shabda Raaj wrote: > This is a popular talk on quircks of ruby/js > > https://www.destroyallsoftware.com/talks/wat > > What are the quircks/unexpected behavior you find in Python? (Aka Python > "wats"). > x = 10 class Foo: print x x = 0 print x

Re: [BangPypers] Favorite tips/techniques

2013-09-09 Thread Anand Chitipothu
On Tue, Sep 10, 2013 at 10:09 AM, Noufal Ibrahim wrote: > Shabda Raaj writes: > > >> I generally like to use attributes instead of keys. > > > > If you are parsing json, aren't you limited to using keys? > > Of course. I was making a general statement about attributes vs. keys. > > > The bunch pa

[BangPypers] [Commercial] Python Training Course: September 26-28

2013-09-03 Thread Anand Chitipothu
Hi, I'm conducting a three day hands-on training course on Python programming on September 26, 27 and 28 (Thursday, Friday & Saturday). The course notes is freely available online at http://anandology.com/python-practice-book/. For more information about the course and registration, please visi

Re: [BangPypers] How to run a block of code just before the interpreter is being exited like END{} in perl ??

2013-09-02 Thread Anand Chitipothu
> This is another version of this by mucking around directly > with sys.exitfunc using a with context. > > from contextlib import contextmanager > > @contextmanager > def end_of_days(): > def wrapper(): > print 'Goodbye.' > yield wrapper > > with end_of_days() as sys.exitfunc: >

Re: [BangPypers] folder initialization issues

2013-08-28 Thread Anand Chitipothu
On Thu, Aug 29, 2013 at 6:55 AM, Adivandhya wrote: > hi friends, > Im a basic python developer, and i could not understand fully the > purpose of adding __init__.py in every folder we want to import .Could > someone please help me out understanding this.(context is based on > importing m

Re: [BangPypers] Change in Mailing list settings

2013-08-23 Thread Anand Chitipothu
On Fri, Aug 23, 2013 at 6:18 PM, Anand B Pillai wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi List, > >The mailing list settings has been modified to change the > default reply-to address to the poster. Earlier it was > the list itself. > >This was done to make sure repl

Re: [BangPypers] Python in Schools Panel

2013-06-24 Thread Anand Chitipothu
On Tue, Jun 25, 2013 at 10:07 AM, Palak Mathur wrote: > Hi, > > If you want to contact CBSE board regarding Python education then you > might want to write to Director (Training and Academics). The position is > currently held by Dr. Sadhana Parashar. The contact details are: > > Tel. 91-11-232

[BangPypers] Python in Schools Panel (Was: CBSE to teach introduction to python in class 11 and 12)

2013-06-23 Thread Anand Chitipothu
On Mon, Jun 24, 2013 at 8:57 AM, Noufal Ibrahim wrote: > Anand Chitipothu writes: > > > [...] > > > Why don't we have a panel discussion about Python in schools at PyCon > > India? We can invite officials from education departments and discuss > about > &g

Re: [BangPypers] CBSE to teach introduction to python in class 11 and 12

2013-06-23 Thread Anand Chitipothu
On Sun, Jun 23, 2013 at 2:25 PM, Noufal Ibrahim wrote: > Baiju M writes: > > > How about creating a website with resources for teachers and students? > > BangPypers is one of the oldest Python community from India. So, I > > think it would be great to do it as a community project. Anyone > > inte

Re: [BangPypers] CBSE to teach introduction to python in class 11 and 12

2013-06-23 Thread Anand Chitipothu
On Sun, Jun 23, 2013 at 4:33 PM, Baiju M wrote: > Hi Anand, > > I need some help with a domain & git repo for this project. I am thinking > to use http://education.python.org.in > The git repo: https://github.com/pythonindia/education > > Please add my github Id to that repo: baijum > > Also ple

[BangPypers] [Commercial] Python Training Course: June 21-23

2013-06-03 Thread Anand Chitipothu
Hi, I'm conducting a three day hands-on training course on Python programming on June 21, 22 and 23 (Friday, Saturday & Sunday). The course notes is freely available online at http://anandology.com/python-practice-book/. For more information about the course and registration, please visit the co

Re: [BangPypers] Volunteer for Managing pycon India Website content

2013-05-22 Thread Anand Chitipothu
On Wed, May 22, 2013 at 7:46 PM, Gora Mohanty wrote: > On 22 May 2013 19:29, vijay wrote: > > Konark,mukesh,Gora,sayan and Rahul thanks for volunteering to help us. > > As Anand C said can you guys send a pull request to > https://github.com/pythonindia/pyconindia2013 > > > > We basically to wor

Re: [BangPypers] Volunteer for Managing pycon India Website content

2013-05-22 Thread Anand Chitipothu
On Wed, May 22, 2013 at 5:33 PM, Gora Mohanty wrote: > On 22 May 2013 14:51, vijay wrote: > > Hi All, > >We need couple of people to take charge of PyCon India website. > >Tasks include tweaking the website software and manage the content. > >Code is on github. > > https://github.com

Re: [BangPypers] [Commercial] Advanced Python Course

2013-05-20 Thread Anand Chitipothu
Hi Anand, > > Will you be having one more session on the same topic some time mid next > month? This is a little short notice, I might miss out this time. > > Regards, > Davidsanthosh L > > > On Mon, May 20, 2013 at 4:54 PM, Anand Chitipothu >wrote: > > > Hi,

[BangPypers] [Commercial] Advanced Python Course

2013-05-20 Thread Anand Chitipothu
Hi, I'm conducting a three-day workshop on Advanced Python programming on May 24-26 (this Friday and weekend). This workshop is organized in association with HasGeek and targeted at experienced Python programmers, who would like to learn Python internals, advanced techniques

Re: [BangPypers] Basic of basic question

2013-05-08 Thread Anand Chitipothu
In my 7+ years of Python programming I've never used the input/raw_input functions. People coming from C background look for a scanf replacement in Python, but that is now the way things are done in Python. You just write a function and call it at the end of the script and run it. Asking user for

Re: [BangPypers] Reorder Dictionary Size in python

2013-04-17 Thread Anand Chitipothu
On Wed, Apr 17, 2013 at 9:30 PM, Rahul R wrote: > As far as i know, python performs a lazy deletion of values , when we > delete content from a dictionary (correct me if i am wrong) . So, when we > insert a lot of values the dictionary automatically expands. I don't see > dict shrinking when we

Re: [BangPypers] Reorder Dictionary Size in python

2013-04-17 Thread Anand Chitipothu
dictionaries are unordered. It is not a good idea to expect any order in dictionaries, even if you are seeing some order by chance. If you need order, then use OrderedDict from collections module (new in Python 2.7). Anand On Wed, Apr 17, 2013 at 9:00 PM, Rahul R wrote: > Hey Guys, > > Is it

Re: [BangPypers] April month meetup

2013-04-17 Thread Anand Chitipothu
Krace is out of town. I've asked Baiju if he can coordinate the meetup at ZeOmega. He said he'll find someone to coordinate the event there. So we have Zeomega as tentative venue. Lets wait for a final confirmation from Baiju. Tentative Venue: ZeOmega, Basavanagudi Date: Saturday, April 20, 2013

Re: [BangPypers] Python Monk - Learn Python in your browser

2013-03-25 Thread Anand Chitipothu
On Mon, Mar 25, 2013 at 8:20 PM, Venkatraman S wrote: > On Mon, Mar 25, 2013 at 7:52 PM, Anand Chitipothu wrote: > >> I have written an interactive learning book for Python at >> http://pythonmonk.com/learning/books/17. >> >> I would love it if you could go through

[BangPypers] Python Monk - Learn Python in your browser

2013-03-25 Thread Anand Chitipothu
Hello everyone! I have written an interactive learning book for Python at http://pythonmonk.com/learning/books/17. I would love it if you could go through the lessons and give feedback. This is an alpha version with limited content. We are releasing this to an audience we already know before we r

[BangPypers] [Commercial] Python Training Course

2013-03-05 Thread Anand Chitipothu
Hi, I'm conducting a three day hands-on training course on Python programming on April 5, 6 & 7 (Friday, Saturday & Sunday). The course notes is freely available online at http://anandology.com/python-practice-book/. For more information about the course and registration, please visit the course

Re: [BangPypers] Python dictionaries, deleting elements while iterating.

2013-02-25 Thread Anand Chitipothu
On Mon, Feb 25, 2013 at 9:50 PM, ragsagar wrote: > On Mon, Feb 25, 2013 at 9:33 PM, Anand Chitipothu >wrote: > > > > > You can iterate over items: > > > > for key, value in dictionary.items(): > > if value == 1: > > del dictionary[k

Re: [BangPypers] Python dictionaries, deleting elements while iterating.

2013-02-25 Thread Anand Chitipothu
On Mon, Feb 25, 2013 at 8:51 PM, Pranjal Mittal < pranjal.mittal.ec...@iitbhu.ac.in> wrote: > > Hi all, > > I was writing a piece of code that deletes items from Python Dictionaries > when a certain condition is met. while iterating over the dictionary. > > http://dpaste.com/hold/995010/ > > Howeve

[BangPypers] list comprehensions and generator expressions in Python 3

2013-02-20 Thread Anand Chitipothu
Hi, PEP 289 says "the semantic definition of a list comprehension in Python 3.0 will be equivalent to list(). http://www.python.org/dev/peps/pep-0289/ I've just come across a bug reported by Peter Norvig, showing counterexamples. http://bugs.python.org/issue14845 Very informative to understand

Re: [BangPypers] Fwd: Python Software Foundation: Python Trademark at Risk

2013-02-15 Thread Anand Chitipothu
I'm glad that we blocked the python.org.in domain and started using for Python community in India. Anand On Fri, Feb 15, 2013 at 4:59 AM, Sriram Narayanan wrote: > Fyi > -- Forwarded message -- > From: "Dmitrijs Ledkovs" > Date: Feb 15, 2013 3:17 AM > Subject: Python Software Fo

[BangPypers] [Commercial] Python Training Course

2013-02-03 Thread Anand Chitipothu
Hi, I'm conducting a two day hands-on training course on Python programming on February 16 & 17. For more information and registration, please visit the course page at: http://pythontraining-feb2013.doattend.com/ Please contact me offline if you have any questions. Thanks, Anand http://anandol

[BangPypers] Death of Aaron Swartz

2013-01-14 Thread Anand Chitipothu
Hi, I'm sure most of you might have already heard about it, Aaron Swartz, hacker, writer and activist committed suicide on Jan 11, 2013. http://boingboing.net/2013/01/12/rip-aaron-swartz.html Aaron was a great Python programmer. He created web.py, a web framework in Python, Infogami a wiki softw

Re: [BangPypers] List compression imrpovement

2013-01-09 Thread Anand Chitipothu
On Wed, Jan 9, 2013 at 1:11 PM, vijay wrote: > Hi, >I want to know if there is any other better way for improving below list > compression. I have to use list compression only to achieve it. > >say i have list a=[1, 4, 9, 12, 15, 21] expected result (4, 12), (9, 12, > 15, 21) > > few

[BangPypers] [OT] [Commercial] Advanced Python Training Course

2013-01-06 Thread Anand Chitipothu
Hi, I'm conducting a two day training on Advanced Python programming on January 26 & 27. For more information, please visit the course page at: http://advancedpython-jan2013.doattend.com/ Please contact me offline if you have any questions. Thanks, Anand http://anandology.com/

Re: [BangPypers] Untitled

2012-12-26 Thread Anand Chitipothu
On Wed, Dec 26, 2012 at 2:54 PM, "Yuvraj >" wrote: > Hello guys am a linux geek from Darjeeling. > > Am new to both bangpypers and python! > > Am getting myself ready to join the gang \m/ You are welcome! Anand ___ BangPypers mailing list BangPypers

[BangPypers] [X-POST] Python India

2012-12-25 Thread Anand Chitipothu
Hi, Many of you might already be aware that we've a new website http://python.org.in/ for representing whole Python community in India. As part of the same effort, we are trying to provide infrastructure for Python usergroups in India for setting up website, blog etc. Having a website for the us

Re: [BangPypers] Wake Up guys!

2012-12-24 Thread Anand Chitipothu
Looks like you have joined the group just now. Bangalore group has been pretty active and we are having regular meetings every month. See http://bangalore.python.org.in/ to know what happened in last 2 meetups. Anand On Tue, Dec 25, 2012 at 2:03 AM, Srinivas Gowda wrote: > hi guys, > > > I'm Sr

Re: [BangPypers] mailing list archives

2012-12-23 Thread Anand Chitipothu
Oops. I meant "... mailing list archives are NOT public." On Mon, Dec 24, 2012 at 7:20 AM, Anand Chitipothu wrote: > Hi, > > I've noticed that bangpypers mailing list archives are public, it > requires a login to see them. Any reason why it is configured that > w

[BangPypers] mailing list archives

2012-12-23 Thread Anand Chitipothu
Hi, I've noticed that bangpypers mailing list archives are public, it requires a login to see them. Any reason why it is configured that way? Any objections to make it public? -- Anand http://anandology.com/ ___ BangPypers mailing list BangPypers@pytho

Re: [BangPypers] December User Group meeting

2012-12-12 Thread Anand Chitipothu
On Wed, Dec 12, 2012 at 1:51 PM, Sreekanth S Rameshaiah wrote: > On 12 December 2012 13:17, Anand Chitipothu wrote: > >> We usually meet on third saturday of every month and that happens to >> be Dec 15. Unless there is a strong reason to change, we should stick >> to it

Re: [BangPypers] December User Group meeting

2012-12-11 Thread Anand Chitipothu
On Wed, Dec 12, 2012 at 1:10 PM, Puneeth Chaganti wrote: > On Thu, Dec 6, 2012 at 10:52 PM, kracekumar ramaraju > wrote: >> Tentatively we can have meetup on 15th, we need to finalize venue > > Would 22nd work or is it too close to Christmas? We usually meet on third saturday of every month and

Re: [BangPypers] December User Group meeting

2012-12-11 Thread Anand Chitipothu
On Thu, Dec 6, 2012 at 10:52 PM, kracekumar ramaraju wrote: > Hello > > December BangPypers meetup hasn't been scheduled. Currently we have Anand > who would like to speak about Implementation of python interpreter for PL > online course(http://www.cs.brown.edu/courses/cs173/2012/OnLine/). > Tent

  1   2   3   4   >