From lawgon at au-kbc.org Wed Jul 1 02:35:46 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Wed, 1 Jul 2009 06:05:46 +0530 Subject: [BangPypers] Invitations fo Pycon India In-Reply-To: <77bb36840906300816v7564a3b1v65ed40329f6795b5@mail.gmail.com> References: <9963e56e0906282247k3944e634iabfabcb1cee6b624@mail.gmail.com> <12470af00906300015x425f320ase580db2e1c951ed1@mail.gmail.com> <77bb36840906300816v7564a3b1v65ed40329f6795b5@mail.gmail.com> Message-ID: <200907010605.46304.lawgon@au-kbc.org> On Tuesday 30 June 2009 20:46:10 Ranganath s wrote: > The twitter tag and the identica tag has been added. check it > out.. please put them in the links on the right, which will make them more visible. -- regards Kenneth Gonsalves Associate NRC-FOSS http://nrcfosshelpline.in/web/ From lawgon at au-kbc.org Wed Jul 1 06:13:49 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Wed, 1 Jul 2009 09:43:49 +0530 Subject: [BangPypers] Fwd: [PyCon-Organizers] PyCon Twitter Bot In-Reply-To: <8548c5f30906300512r5b12870ge63eefc94055a242@mail.gmail.com> References: <4A196D88.3040806@voidspace.org.uk> <9963e56e0906290116x31a9e0dew3fb7197666d1bdf9@mail.gmail.com> <8548c5f30906300512r5b12870ge63eefc94055a242@mail.gmail.com> Message-ID: <200907010943.50122.lawgon@au-kbc.org> On Tuesday 30 June 2009 17:42:36 Anand Balachandran Pillai wrote: > The main use of the bot for a conference is for sending updates > via twitter. The way it works is as follows. > > 1. A twitter bot account for the conference is created on twitter. > For our conference it could be "inpycon" for example. > 2. An admin befriends the bot. > 3. For broadcasting (tweeting) a message, the admin sends a command > to the twitter bot with the message to be tweeted and the bot "tweets" it. > 4. Everyone "following" the bot gets the update. > 5. We can also publish the update on the website in this case, > the in-pycon website. > > These are "push" bots. > > The bot will be running on a server, in this case it should ideally run > on the inpycon server. > > I have the twitter reflect script written by Stephen Crimm for Pycon > with me. I can take care of installing this on our inpycon server > and administering it. > > I just need root ssh access on the inpycon machine. Kenneth, > can u send this info to me directly ? the conference software is a django application. To tweet, all we need to do is create a signal on save which will tweet the info to twitter. The only thing we need to do is to decide what info we are going to send. For example, every time a delegate registers, his name and a link to his info could be tweeted. Or when a talk is proposed, a post made, that can be tweeted also. AFAIK there is no need to install a bot. -- regards Kenneth Gonsalves Associate NRC-FOSS http://nrcfosshelpline.in/web/ From lawgon at au-kbc.org Wed Jul 1 06:17:28 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Wed, 1 Jul 2009 09:47:28 +0530 Subject: [BangPypers] Fwd: [PyCon-Organizers] PyCon Twitter Bot In-Reply-To: <200907010943.50122.lawgon@au-kbc.org> References: <4A196D88.3040806@voidspace.org.uk> <8548c5f30906300512r5b12870ge63eefc94055a242@mail.gmail.com> <200907010943.50122.lawgon@au-kbc.org> Message-ID: <200907010947.28278.lawgon@au-kbc.org> arrrghh - this has gone to Bangpypers On Wednesday 01 July 2009 09:43:49 Kenneth Gonsalves wrote: > On Tuesday 30 June 2009 17:42:36 Anand Balachandran Pillai wrote: > > The main use of the bot for a conference is for sending updates > > via twitter. The way it works is as follows. > > > > 1. A twitter bot account for the conference is created on twitter. > > For our conference it could be "inpycon" for example. > > 2. An admin befriends the bot. > > 3. For broadcasting (tweeting) a message, the admin sends a command > > to the twitter bot with the message to be tweeted and the bot "tweets" > > it. 4. Everyone "following" the bot gets the update. > > 5. We can also publish the update on the website in this case, > > the in-pycon website. > > > > These are "push" bots. > > > > The bot will be running on a server, in this case it should ideally run > > on the inpycon server. > > > > I have the twitter reflect script written by Stephen Crimm for Pycon > > with me. I can take care of installing this on our inpycon server > > and administering it. > > > > I just need root ssh access on the inpycon machine. Kenneth, > > can u send this info to me directly ? > > the conference software is a django application. To tweet, all we need to > do is create a signal on save which will tweet the info to twitter. The > only thing we need to do is to decide what info we are going to send. For > example, every time a delegate registers, his name and a link to his info > could be tweeted. Or when a talk is proposed, a post made, that can be > tweeted also. AFAIK there is no need to install a bot. -- regards Kenneth Gonsalves Associate NRC-FOSS http://nrcfosshelpline.in/web/ From rmathews at gmail.com Wed Jul 1 16:13:55 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Wed, 1 Jul 2009 19:43:55 +0530 Subject: [BangPypers] Performance benefits of Generators? In-Reply-To: <547db2260906300307i47324708g50bef97deb189789@mail.gmail.com> References: <547db2260906300306v4f3a203fx999981556ffbf7a3@mail.gmail.com> <547db2260906300307i47324708g50bef97deb189789@mail.gmail.com> Message-ID: <1c4dc2780907010713q3a567627p3b1b6cfabf84a747@mail.gmail.com> On Tue, Jun 30, 2009 at 3:37 PM, Amit Saha wrote: > Since, this is out of mere curiosity, for the moment, performance > would be simply the time taken to complete a task. > Please look at: http://bitbucket.org/rm/substitutions/src/tip/prunepropogate.py#cl-86 This change (in explode) speeded up the rest of the code by a great deal. I don't know if it was the generators per se, or just lesser memory usage, but this might be an example of generator based speedup. Anecdotal evidence this is, I'd be interested in something more concrete. PS: the program is wrong, don't spend too much time poring over that. From rmathews at gmail.com Wed Jul 1 17:18:12 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Wed, 1 Jul 2009 20:48:12 +0530 Subject: [BangPypers] Performance benefits of Generators? In-Reply-To: <4A49E645.509@gmail.com> References: <547db2260906300306v4f3a203fx999981556ffbf7a3@mail.gmail.com> <4A49E645.509@gmail.com> Message-ID: <1c4dc2780907010818m6bb88929t9356de8ed08c48e6@mail.gmail.com> On Tue, Jun 30, 2009 at 3:47 PM, Shekhar wrote: > The pdf at http://www.dabeaz.com/generators-uk/GeneratorsUK.pdf was a great > deal of help for me. > It has good examples about performance (some numbers too) gains in different > situations. > This was quite an amazing read. I looked when the 4th edition of Python Essential Reference will be out, and found that it was announced just two weeks back: http://mail.python.org/pipermail/python-announce-list/2009-June/007576.html Flipkart has the 3rd edition for some 400 rupees, http://www.flipkart.com/python-david-beazley-essential-reference/8131700445-tu23fqcqab wonder how long it will take for the indian version of the 4th edition to hit the markets. Roshan Mathews From lawgon at au-kbc.org Wed Jul 1 10:43:27 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Wed, 1 Jul 2009 14:13:27 +0530 Subject: [BangPypers] Fwd: [PyCon-Organizers] PyCon Twitter Bot In-Reply-To: <200907010943.50122.lawgon@au-kbc.org> References: <4A196D88.3040806@voidspace.org.uk> <8548c5f30906300512r5b12870ge63eefc94055a242@mail.gmail.com> <200907010943.50122.lawgon@au-kbc.org> Message-ID: <200907011413.27294.lawgon@au-kbc.org> On Wednesday 01 July 2009 09:43:49 Kenneth Gonsalves wrote: > > I just need root ssh access on the inpycon machine. Kenneth, > > can u send this info to me directly ? > > the conference software is a django application. To tweet, all we need to > do is create a signal on save which will tweet the info to twitter. The > only thing we need to do is to decide what info we are going to send. For > example, every time a delegate registers, his name and a link to his info > could be tweeted. Or when a talk is proposed, a post made, that can be > tweeted also. AFAIK there is no need to install a bot. ok - I have written the code. Whenever a delegate registers, this is tweeted (if that is the correct term). There are two questions: 1. do we enable it? 2. what information do we send? I would suggest just name with a link to his profile. btw, the code is here: def tweetit(sender,**kwargs): """ extract relevant info and tweet it """ if kwargs['created']: t = twitter.Api(settings.TWITTER_USER, settings.TWITTER_PASSWORD) t.PostUpdate("%s has registered as a delegate" %(kwargs['instance'].username)) post_save.connect(tweetit, sender=Delegate) I think even no_mind would concede that django rocks. -- regards Kenneth Gonsalves Associate NRC-FOSS http://nrcfosshelpline.in/web/ From lawgon at au-kbc.org Wed Jul 1 07:39:28 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Wed, 1 Jul 2009 11:09:28 +0530 Subject: [BangPypers] Fwd: [PyCon-Organizers] PyCon Twitter Bot In-Reply-To: <200907010943.50122.lawgon@au-kbc.org> References: <4A196D88.3040806@voidspace.org.uk> <8548c5f30906300512r5b12870ge63eefc94055a242@mail.gmail.com> <200907010943.50122.lawgon@au-kbc.org> Message-ID: <200907011109.28518.lawgon@au-kbc.org> On Wednesday 01 July 2009 09:43:49 Kenneth Gonsalves wrote: > > I just need root ssh access on the inpycon machine. Kenneth, > > can u send this info to me directly ? > > the conference software is a django application. To tweet, all we need to > do is create a signal on save which will tweet the info to twitter. The > only thing we need to do is to decide what info we are going to send. For > example, every time a delegate registers, his name and a link to his info > could be tweeted. Or when a talk is proposed, a post made, that can be > tweeted also. AFAIK there is no need to install a bot. issue is created: http://bitbucket.org/lawgon/fossconf/issue/27/marry-the-app-to-twitter comments welcome. -- regards Kenneth Gonsalves Associate NRC-FOSS http://nrcfosshelpline.in/web/ From vsapre80 at gmail.com Wed Jul 1 10:10:01 2009 From: vsapre80 at gmail.com (Vishal) Date: Wed, 1 Jul 2009 13:40:01 +0530 Subject: [BangPypers] [InfoRequired] Anyone working at SpikeSource in this group? Message-ID: Hi, Is anybody in this group, working for SpikeSource in Bangalore? Thanks and best regards, Vishal Sapre -------------- next part -------------- An HTML attachment was scrubbed... URL: From amitsaha.in at gmail.com Fri Jul 3 17:09:48 2009 From: amitsaha.in at gmail.com (Amit Saha) Date: Fri, 3 Jul 2009 20:39:48 +0530 Subject: [BangPypers] Performance benefits of Generators? In-Reply-To: <1c4dc2780907010818m6bb88929t9356de8ed08c48e6@mail.gmail.com> References: <547db2260906300306v4f3a203fx999981556ffbf7a3@mail.gmail.com> <4A49E645.509@gmail.com> <1c4dc2780907010818m6bb88929t9356de8ed08c48e6@mail.gmail.com> Message-ID: <547db2260907030809q16dcd34dy7cf08f9c5806c4b5@mail.gmail.com> On Wed, Jul 1, 2009 at 8:48 PM, Roshan Mathews wrote: > On Tue, Jun 30, 2009 at 3:47 PM, Shekhar wrote: >> The pdf at http://www.dabeaz.com/generators-uk/GeneratorsUK.pdf was a great >> deal of help for me. >> It has good examples about performance (some numbers too) gains in different >> situations. >> > This was quite an amazing read. ?I looked when the 4th edition of > Python Essential Reference will be out, and found that it was > announced just two weeks back: > http://mail.python.org/pipermail/python-announce-list/2009-June/007576.html Read (on Safari) the chapter on Functions and Functional programming. Closures, Generators- along with some hints on the performance improvements (by using them) are described, Generators and Coroutines are well presented too. Best, Amit > > Flipkart has the 3rd edition for some 400 rupees, > http://www.flipkart.com/python-david-beazley-essential-reference/8131700445-tu23fqcqab > wonder how long it will take for the indian version of the 4th > edition to hit the markets. > > Roshan Mathews > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Journal: http://amitksaha.wordpress.com, ?-blog: http://twitter.com/amitsaha Freenode: cornucopic in #scheme, #lisp, #math,#linux, #python From amitsaha.in at gmail.com Fri Jul 3 17:11:15 2009 From: amitsaha.in at gmail.com (Amit Saha) Date: Fri, 3 Jul 2009 20:41:15 +0530 Subject: [BangPypers] Performance benefits of Generators? In-Reply-To: <4A49E645.509@gmail.com> References: <547db2260906300306v4f3a203fx999981556ffbf7a3@mail.gmail.com> <4A49E645.509@gmail.com> Message-ID: <547db2260907030811g2ffae74fuff2d4dc366dd4870@mail.gmail.com> On Tue, Jun 30, 2009 at 3:47 PM, Shekhar wrote: > Amit Saha wrote: >> >> Hello, >> >> Theoretically and/or practically, is it possible to reason about the >> performance gain/loss of using generators? ?The PEP 255 >> (http://www.python.org/dev/peps/pep-0255/) doesn't seem to hint at it. >> >> Anything that any of you would like to share on this ? >> >> Best, >> Amit >> >> > > Hi Amit, > > The pdf at http://www.dabeaz.com/generators-uk/GeneratorsUK.pdf was a great > deal of help for me. > It has good examples about performance (some numbers too) gains in different > situations. This is the "Version 2" of his earlier ChiPy talk on Generators. I am going through it.. Thanks for pointing to it! Best, Amit > > Cheers, > Shekhar > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Journal: http://amitksaha.wordpress.com, ?-blog: http://twitter.com/amitsaha Freenode: cornucopic in #scheme, #lisp, #math,#linux, #python From navin.kabra at gmail.com Sat Jul 4 05:54:47 2009 From: navin.kabra at gmail.com (Navin Kabra) Date: Sat, 4 Jul 2009 09:24:47 +0530 Subject: [BangPypers] Performance benefits of Generators? In-Reply-To: References: <547db2260906300306v4f3a203fx999981556ffbf7a3@mail.gmail.com> <547db2260906300307i47324708g50bef97deb189789@mail.gmail.com> Message-ID: > OTOH, Decorators , lambdas ('syntactic sugars') et al reduce the number of > lines of code, > depending on the scenario, for a given piece of complex logic, but these are > 'slow'. But, I dont think > the factor is huge enough to cause a performance bottleneck.? I had similar > reservations on > list comprehensions, but in some cases the bytecode generated by LC is same > as the one generated > by the if-else/loop counterparts.?If you are building apps wherein? every > microsecond matters, > then it is better to time both variants - the sugars and their vanilla > equivalents - and then choose the best. I'm wondering: if you are building apps wherein every microsecond matters, why are you doing it in Python? Python is bound to be about 10x slower than Java/C/C++ so for apps where performance is so important, you're better off writing in those languages. Or, better still, just replace the important parts with native C code. Python code should focus on what python is good at - readability, conciseness, maintainability. Leave the performance aspects to languages that are better at it. (Reference for the 10x slower comment - http://blog.dhananjaynene.com/2008/07/performance-comparison-c-java-python-ruby-jython-jruby-groovy/ - Dhananjay is also on this list, so maybe he will also jump in with a response) navin. From amitsaha.in at gmail.com Sat Jul 4 05:59:39 2009 From: amitsaha.in at gmail.com (Amit Saha) Date: Sat, 4 Jul 2009 09:29:39 +0530 Subject: [BangPypers] Performance benefits of Generators? In-Reply-To: References: <547db2260906300306v4f3a203fx999981556ffbf7a3@mail.gmail.com> <547db2260906300307i47324708g50bef97deb189789@mail.gmail.com> Message-ID: <547db2260907032059y572fa282tc6a17378ab7359b9@mail.gmail.com> On Sat, Jul 4, 2009 at 9:24 AM, Navin Kabra wrote: >> OTOH, Decorators , lambdas ('syntactic sugars') et al reduce the number of >> lines of code, >> depending on the scenario, for a given piece of complex logic, but these are >> 'slow'. But, I dont think >> the factor is huge enough to cause a performance bottleneck.? I had similar >> reservations on >> list comprehensions, but in some cases the bytecode generated by LC is same >> as the one generated >> by the if-else/loop counterparts.?If you are building apps wherein? every >> microsecond matters, >> then it is better to time both variants - the sugars and their vanilla >> equivalents - and then choose the best. > > I'm wondering: if you are building apps wherein every microsecond > matters, why are you doing it in Python? Python is bound to be about > 10x slower than Java/C/C++ so for apps where performance is so > important, you're better off writing in those languages. Or, better > still, just replace the important parts with native C code. Python > code should focus on what python is good at - readability, > conciseness, maintainability. Leave the performance aspects to > languages that are better at it. > > (Reference for the 10x slower comment - > http://blog.dhananjaynene.com/2008/07/performance-comparison-c-java-python-ruby-jython-jruby-groovy/ > - Dhananjay is also on this list, so maybe he will also jump in with a > response) No not yet. I am not building a application where every mu-sec matters. I appreciate the link and comments though. Will be helpful some day in the future. Thanks! -Amit > > navin. > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Journal: http://amitksaha.wordpress.com, ?-blog: http://twitter.com/amitsaha Freenode: cornucopic in #scheme, #lisp, #math,#linux, #python From navin.kabra at gmail.com Sat Jul 4 06:10:52 2009 From: navin.kabra at gmail.com (Navin Kabra) Date: Sat, 4 Jul 2009 09:40:52 +0530 Subject: [BangPypers] Performance benefits of Generators? In-Reply-To: <547db2260907032059y572fa282tc6a17378ab7359b9@mail.gmail.com> References: <547db2260906300306v4f3a203fx999981556ffbf7a3@mail.gmail.com> <547db2260906300307i47324708g50bef97deb189789@mail.gmail.com> <547db2260907032059y572fa282tc6a17378ab7359b9@mail.gmail.com> Message-ID: > > No not yet. I am not building a application where every mu-sec > matters. I appreciate the link and comments though. Will be helpful > some day in the future. I guess my point is this: If you've chosen python as a language for your app, you have pretty much accepted that your application is not CPU bound. Hence you should not be worrying about the extra CPU cycles taken by advanced languages features. Use all possible language features (focusing on readibility and maintainability and other such things). Don't worry about the CPU performance unless there is a need to worry about, and even then, you should be thinking in terms of replacing a key function with C code rather than replacing a generator with a for loop. navin. From amitsaha.in at gmail.com Sat Jul 4 10:36:00 2009 From: amitsaha.in at gmail.com (Amit Saha) Date: Sat, 4 Jul 2009 14:06:00 +0530 Subject: [BangPypers] Performance benefits of Generators? In-Reply-To: References: <547db2260906300306v4f3a203fx999981556ffbf7a3@mail.gmail.com> <547db2260906300307i47324708g50bef97deb189789@mail.gmail.com> <547db2260907032059y572fa282tc6a17378ab7359b9@mail.gmail.com> Message-ID: <547db2260907040136n6e999b73r44646fb5be36eb45@mail.gmail.com> Hello Navin, On Sat, Jul 4, 2009 at 9:40 AM, Navin Kabra wrote: >> >> No not yet. I am not building a application where every mu-sec >> matters. I appreciate the link and comments though. Will be helpful >> some day in the future. I hope I did not sound too terse. I *really* do appreciate the pointers. Sorry, If I did. > > I guess my point is this: > > If you've chosen python as a language for your app, you have pretty > much accepted that your application is not CPU bound. Hence you should > not be worrying about the extra CPU cycles taken by advanced languages > features. Use all possible language features (focusing on readibility > and maintainability and other such things). Don't worry about the CPU > performance unless there is a need to worry about, and even then, you > should be thinking in terms of replacing a key function with C code > rather than replacing a generator with a for loop. Yeah. Right now, I am just exploring these concepts in Python simply because its so easy to do it in this language. I am anticipating some Python development coming up, and in the not too distant past, I had started coding a software tool (a Fuzzy reasoning tool), knowing very few Python-ic features. I don't want to repeat the same stupidity. Thanks again! Best Regards, Amit > > navin. > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Journal: http://amitksaha.wordpress.com, ?-blog: http://twitter.com/amitsaha Freenode: cornucopic in #scheme, #lisp, #math,#linux, #python From mahaboobcrc at gmail.com Tue Jul 7 06:34:35 2009 From: mahaboobcrc at gmail.com (subhan) Date: Tue, 7 Jul 2009 10:04:35 +0530 Subject: [BangPypers] [Job] Python developer Message-ID: <3db08df80907062134k328aeb6cwcf5b8aa4624fd8d7@mail.gmail.com> Would you want to develop intelligent systems for the next generation? If yes, read on. We at Trellisys.net are looking for a candidate with the following competences: . Atleast 3 years experience in Python . Awareness of Xml parsing techniques . Exposure to any Web Framework (TurboGears/Django etc) . Knowledge of PostgreSQL/OpenDocument format would be a plus Desired: A candidate who: . Has an analytical mind to come up with effective solutions . Is committed to code quality and enforces coding standards . Believes in developing a good relationship with client personnel . Has a flexible attitude with an ability to perform under pressure . Communicates effectively What you gain? . Opportunity to work with a talented team spread globally . Sustained professional growth over a period of time . Self development on a daily basis Interested candidates can send me their resumes. subhan at trellisys.net Trellisys.net Pvt. Ltd 572,3rd Main,2nd Block R T Nagar Bangalore:560032 Phone:+91-80-23337032 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jayasimha.makineni at gmail.com Tue Jul 7 08:03:32 2009 From: jayasimha.makineni at gmail.com (jayasimha makineni) Date: Tue, 7 Jul 2009 11:33:32 +0530 Subject: [BangPypers] [Job] Python developer In-Reply-To: <3db08df80907062134k328aeb6cwcf5b8aa4624fd8d7@mail.gmail.com> References: <3db08df80907062134k328aeb6cwcf5b8aa4624fd8d7@mail.gmail.com> Message-ID: Hi, Can I work for you from home ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From san82moon at gmail.com Tue Jul 7 18:49:14 2009 From: san82moon at gmail.com (sunny_plone) Date: Tue, 7 Jul 2009 09:49:14 -0700 (PDT) Subject: [BangPypers] Re quired Plone developers Message-ID: <24377221.post@talk.nabble.com> Hi, My name is Sunny Chilgod. Currently there is opening for plone developers (0-1 years exp.) in my company, www.abbotinfotech.com. Anyone interested , can send thier resumes to schilgod at gmail.com. -- View this message in context: http://www.nabble.com/Required-Plone-developers-tp24377221p24377221.html Sent from the BangPypers - Bangalore Python Users Group mailing list archive at Nabble.com. From noufal at gmail.com Wed Jul 8 14:36:44 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Wed, 8 Jul 2009 18:06:44 +0530 Subject: [BangPypers] [OT] Accommodation for people from outside during inPycon Message-ID: <9963e56e0907080536l76633982t54dc2307200bdbe4@mail.gmail.com> Hello everyone, Some of the folks coming from outside B'lore for PyCon don't have local contacts here where they can stay. If there are any people here who're willing to offer a brother Python a room for the night, please add your name to http://wiki.python.org/moin/PyConIndiaAccommodation If you know low cost lodgings near the venue (IISc.) that might help people, please add those to the page as well. TIA -- ~noufal From pythonic at gmail.com Wed Jul 8 17:24:23 2009 From: pythonic at gmail.com (Shekhar) Date: Wed, 08 Jul 2009 20:54:23 +0530 Subject: [BangPypers] [OT] Accommodation for people from outside during inPycon In-Reply-To: <9963e56e0907080536l76633982t54dc2307200bdbe4@mail.gmail.com> References: <9963e56e0907080536l76633982t54dc2307200bdbe4@mail.gmail.com> Message-ID: <4A54BA27.6030908@gmail.com> Noufal Ibrahim wrote: > Hello everyone, > Some of the folks coming from outside B'lore for PyCon don't have > local contacts here where they can stay. If there are any people here > who're willing to offer a brother Python a room for the night, please > add your name to http://wiki.python.org/moin/PyConIndiaAccommodation > > If you know low cost lodgings near the venue (IISc.) that might > help people, please add those to the page as well. > > TIA > TIA. That would be great help. From lawgon at au-kbc.org Sun Jul 12 03:50:02 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Sun, 12 Jul 2009 07:20:02 +0530 Subject: [BangPypers] [ANN] w-meter released Message-ID: <200907120720.02733.lawgon@au-kbc.org> hi, AU-KBC has released w-meter, an open source wireless tool: http://sourceforge.net/apps/trac/w-meter/ -- regards Kenneth Gonsalves Associate NRC-FOSS http://nrcfosshelpline.in/web/ From madhubalav at infotechsw.com Thu Jul 16 09:40:42 2009 From: madhubalav at infotechsw.com (Madhubala) Date: Thu, 16 Jul 2009 13:10:42 +0530 Subject: [BangPypers] design discussion. Message-ID: <001301ca05e8$b88e3740$29aaa5c0$@com> Posted earlier with wrong description in the subject - sorry. Hi, I would like to put one design for discussion and would like to get appropriate solution after discussions. The details are below. There are three dictionaries like goodObjects {name:object} # object can be any data type which cannot/need not hold its type as good etc. badObjects {name:object} unknownObjects {name:object} The requirement here is to display all these objects sorted by name and show different colors for good/bad/unknown What is required here is one data structure basically one more dictionary of combined of above three dicts like objects {name:objects} which will be sorted by keys and yields object when requested. Here the type of object whether it belongs to good/bad/unknown should be also obtained for displaying them differently along with sorting. Thanks, Madhubala From madhubalav at infotechsw.com Thu Jul 16 09:25:17 2009 From: madhubalav at infotechsw.com (Madhubala) Date: Thu, 16 Jul 2009 12:55:17 +0530 Subject: [BangPypers] calling instance of the other class. In-Reply-To: <24145716.post@talk.nabble.com> References: <24145716.post@talk.nabble.com> Message-ID: <000f01ca05e6$921cd320$b6567960$@com> Hi, I would like to put one design for discussion and would like to get appropriate solution after discussions. The details are below. There are three dictionaries like goodObjects {name:object} # object can be any data type which cannot/need not hold its type as good etc. badObjects {name:object} unknownObjects {name:object} The requirement here is to display all these objects sorted by name and show different colors for good/bad/unknown What is required here is one data structure basically one more dictionary of combined of above three dicts like objects {name:objects} which will be sorted by keys and yields object when requested. Here the type of object whether it belongs to good/bad/unknown should be also obtained for displaying them differently along with sorting. Thanks, Madhubala From gora at srijan.in Thu Jul 16 20:52:53 2009 From: gora at srijan.in (Gora Mohanty) Date: Fri, 17 Jul 2009 00:22:53 +0530 Subject: [BangPypers] design discussion. In-Reply-To: <001301ca05e8$b88e3740$29aaa5c0$@com> References: <001301ca05e8$b88e3740$29aaa5c0$@com> Message-ID: <20090717002253.5bd16c83@anubis> On Thu, 16 Jul 2009 13:10:42 +0530 "Madhubala" wrote: > Posted earlier with wrong description in the subject - sorry. > Hi, > > I would like to put one design for discussion and would like to > get appropriate solution after discussions. The details are below. > > There are three dictionaries like > goodObjects {name:object} # object can be any data type which > cannot/need not hold its type as good etc. > badObjects {name:object} unknownObjects {name:object} > > The requirement here is to display all these objects sorted by > name and show different colors for good/bad/unknown Show colours where? This is not a Python question. > What is required here is one data structure basically one more > dictionary of combined of above three dicts > like objects {name:objects} which will be sorted by keys and > yields object when requested. [...] One solution might be to have the combined dictionary hold other dictionaries which carry the type information. It is possible that I am not understanding what you mean by "cannot/need not hold its type as good etc.", because this should be elementary Python. Regards, Gora From artagnon at gmail.com Thu Jul 16 21:25:26 2009 From: artagnon at gmail.com (Ramkumar R) Date: Fri, 17 Jul 2009 00:55:26 +0530 Subject: [BangPypers] design discussion. In-Reply-To: <001301ca05e8$b88e3740$29aaa5c0$@com> References: <001301ca05e8$b88e3740$29aaa5c0$@com> Message-ID: > The requirement here is to display all these objects sorted by name and show > different colors for good/bad/unknown Do you realize that dictionaries or hashtables don't have the concept of ordering? Therefore, you'll have to parse through the hashtable once, sorting the keys like a list and then parse it again, looking up the value for each key in the sorted list. > What is required here is ?one data structure basically one more dictionary > of combined of above three dicts > like objects {name:objects} which will be sorted by keys and yields object > when requested. Simple extrapolation of the above solution. Terrible design to begin with though. -- Artagnon (.com) From navin.kabra at gmail.com Fri Jul 17 00:04:50 2009 From: navin.kabra at gmail.com (Navin Kabra) Date: Fri, 17 Jul 2009 03:34:50 +0530 Subject: [BangPypers] design discussion. In-Reply-To: <001301ca05e8$b88e3740$29aaa5c0$@com> References: <001301ca05e8$b88e3740$29aaa5c0$@com> Message-ID: On Thu, Jul 16, 2009 at 1:10 PM, Madhubala wrote: > Posted earlier with wrong description in the subject - sorry. > Hi, > > I would like to put one design for discussion and would like to get > appropriate solution after discussions. The details are below. > > There are ?three dictionaries like > goodObjects ? ?{name:object} # object can be any data type which cannot/need > not hold its type as good etc. ? ? ? ? ? ? ? badObjects ? ? {name:object} > unknownObjects {name:object} > > The requirement here is to display all these objects sorted by name and show > different colors for good/bad/unknown This is what I would do: l = [(name, object, 'good') for name, object in goodObjects.iteritems()] l.extend(((name, object, 'bad') for name, object in badObjects.iteritems())) l.extend(((name, object, 'unknown') for name, object in unknownObjects.iteritems())) Now "sorted(l)" will give you the list you want. But I agree with the earlier poster who implied that you should consider re-organizing your data structures so you don't find yourself in this situation. navin. From punchagan at gmail.com Fri Jul 17 12:37:34 2009 From: punchagan at gmail.com (Puneeth Chaganti) Date: Fri, 17 Jul 2009 16:07:34 +0530 Subject: [BangPypers] Two day Python workshop at CDEEP In-Reply-To: <4A604924.5040409@aero.iitb.ac.in> References: <4A604924.5040409@aero.iitb.ac.in> Message-ID: <604ca1b20907170337s6ff3ea60saa3b4b0c33d1233@mail.gmail.com> Hello, As part of the MHRD funded open source mission at IITB, ?Asokan and I are planning a 2 day Python workshop: ?Topic: Programming with Python ?Date: 25, 26th July 2009 (weekend) ?Time: 1400 hrs to 1800 hrs ?Venue: CDEEP seminar hall ?Instructors: Asokan P and Prabhu Ramachandran This is targeted at students of engineering who will be able to use Python as their core language for scientific and engineering computing. ?The course will be done at CDEEP and will be broadcast live via EDUSAT and also webcast (http://www.cdeep.iitb.ac.in/). Attendees are strongly encouraged to bring along laptops since the instruction is entirely hands on. ?We will be able to provide some extra laptops for use but the numbers will be limited. Please send: ?Kadambari Devarajan a confirmation email regarding your participation and she will get back to you on what you need to install, prerequisites etc. Please forward this to any others who may be interested. regards, -- Prabhu Ramachandran ? ? ? ? ? ? ? ? http://www.aero.iitb.ac.in/~prabhu From dinoj.d at raffles.co.in Tue Jul 21 06:58:58 2009 From: dinoj.d at raffles.co.in (dinoj.d at raffles.co.in) Date: Tue, 21 Jul 2009 10:28:58 +0530 (IST) Subject: [BangPypers] Help-subversion_python Message-ID: <59119.199.64.0.252.1248152338.squirrel@203.123.176.11> Hi I am using the following code to write some contents to a file stream = fs.apply_text(txt_root, path, None) core.svn_stream_write(stream, "hello world!\n") core.svn_stream_close(stream) This will overwrite the existing file contents. Please help me for this to write contents in the beginning line of the file without losing the contents or in append mode. Thanks in advance DD From noufal at gmail.com Tue Jul 21 06:48:00 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Tue, 21 Jul 2009 10:18:00 +0530 Subject: [BangPypers] User group meeting this weekend Message-ID: <9963e56e0907202148g41b833cbt920067ccd69a86a1@mail.gmail.com> Since it's been a while, I thought it would be nice to have a user group meeting this weekend. What do you guys think? We'd need a venue too. -- ~noufal From ranganaths at gmail.com Tue Jul 21 06:52:10 2009 From: ranganaths at gmail.com (Ranganath s) Date: Tue, 21 Jul 2009 10:22:10 +0530 Subject: [BangPypers] User group meeting this weekend In-Reply-To: <9963e56e0907202148g41b833cbt920067ccd69a86a1@mail.gmail.com> References: <9963e56e0907202148g41b833cbt920067ccd69a86a1@mail.gmail.com> Message-ID: <77bb36840907202152m259cb089n5bf1031251f376@mail.gmail.com> +1 sure... -r On Tue, Jul 21, 2009 at 10:18 AM, Noufal Ibrahim wrote: > Since it's been a while, I thought it would be nice to have a user > group meeting this weekend. > > What do you guys think? We'd need a venue too. > -- > ~noufal > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- I blog at http://ranganaths.wordpress.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sridhar.ratna at gmail.com Tue Jul 21 06:53:06 2009 From: sridhar.ratna at gmail.com (Sridhar Ratnakumar) Date: Mon, 20 Jul 2009 21:53:06 -0700 Subject: [BangPypers] Help-subversion_python In-Reply-To: <59119.199.64.0.252.1248152338.squirrel@203.123.176.11> References: <59119.199.64.0.252.1248152338.squirrel@203.123.176.11> Message-ID: Not rocket science: 1) read the entire contents of the file into memory and write it back (after writing your "hello world") 2) move the file (if it is on disk) to some other location; write "hello world" and append the moved file back to this new file. -srid On Mon, 20 Jul 2009 21:58:58 -0700, wrote: > Hi > I am using the following code to write some contents to a file > > stream = fs.apply_text(txt_root, path, None) > core.svn_stream_write(stream, "hello world!\n") > core.svn_stream_close(stream) > > This will overwrite the existing file contents. Please help me for this > to > write contents in the beginning line of the file without losing the > contents or in append mode. > > Thanks in advance > DD > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers From mbaiju at zeomega.net Tue Jul 21 06:56:57 2009 From: mbaiju at zeomega.net (Baiju M) Date: Tue, 21 Jul 2009 10:26:57 +0530 Subject: [BangPypers] User group meeting this weekend In-Reply-To: <9963e56e0907202148g41b833cbt920067ccd69a86a1@mail.gmail.com> References: <9963e56e0907202148g41b833cbt920067ccd69a86a1@mail.gmail.com> Message-ID: On Tue, Jul 21, 2009 at 10:18 AM, Noufal Ibrahim wrote: > Since it's been a while, I thought it would be nice to have a user > group meeting this weekend. > > What do you guys think? We'd need a venue too. Want a different place for just a change ? Please let me know, we can arrange ZeOmega office. Regards, Baiju M From dinoj.d at raffles.co.in Tue Jul 21 07:24:00 2009 From: dinoj.d at raffles.co.in (Dinoj D) Date: Tue, 21 Jul 2009 10:54:00 +0530 (IST) Subject: [BangPypers] Help-subversion_python In-Reply-To: References: <59119.199.64.0.252.1248152338.squirrel@203.123.176.11> Message-ID: <58819.199.64.0.252.1248153840.squirrel@203.123.176.11> Its a good idea..is there any option to have append mode with the below codes > Not rocket science: > > 1) read the entire contents of the file into memory and write it back > (after writing your "hello world") > 2) move the file (if it is on disk) to some other location; write > "hello > world" and append the moved file back to this new file. > > -srid > > On Mon, 20 Jul 2009 21:58:58 -0700, wrote: > >> Hi >> I am using the following code to write some contents to a file >> >> stream = fs.apply_text(txt_root, path, None) >> core.svn_stream_write(stream, "hello world!\n") >> core.svn_stream_close(stream) >> >> This will overwrite the existing file contents. Please help me for this >> to >> write contents in the beginning line of the file without losing the >> contents or in append mode. >> >> Thanks in advance >> DD >> >> >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From dinoj.d at raffles.co.in Tue Jul 21 07:24:00 2009 From: dinoj.d at raffles.co.in (Dinoj D) Date: Tue, 21 Jul 2009 10:54:00 +0530 (IST) Subject: [BangPypers] Help-subversion_python In-Reply-To: References: <59119.199.64.0.252.1248152338.squirrel@203.123.176.11> Message-ID: <58819.199.64.0.252.1248153840.squirrel@203.123.176.11> Its a good idea..is there any option to have append mode with the below codes > Not rocket science: > > 1) read the entire contents of the file into memory and write it back > (after writing your "hello world") > 2) move the file (if it is on disk) to some other location; write > "hello > world" and append the moved file back to this new file. > > -srid > > On Mon, 20 Jul 2009 21:58:58 -0700, wrote: > >> Hi >> I am using the following code to write some contents to a file >> >> stream = fs.apply_text(txt_root, path, None) >> core.svn_stream_write(stream, "hello world!\n") >> core.svn_stream_close(stream) >> >> This will overwrite the existing file contents. Please help me for this >> to >> write contents in the beginning line of the file without losing the >> contents or in append mode. >> >> Thanks in advance >> DD >> >> >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From sridhar.ratna at gmail.com Tue Jul 21 09:53:32 2009 From: sridhar.ratna at gmail.com (Sridhar Ratnakumar) Date: Tue, 21 Jul 2009 00:53:32 -0700 Subject: [BangPypers] Help-subversion_python In-Reply-To: <58819.199.64.0.252.1248153840.squirrel@203.123.176.11> References: <59119.199.64.0.252.1248152338.squirrel@203.123.176.11> <58819.199.64.0.252.1248153840.squirrel@203.123.176.11> Message-ID: >> Not rocket science: >> >> 1) read the entire contents of the file into memory and write it back >> (after writing your "hello world") >> 2) move the file (if it is on disk) to some other location; write >> "hello >> world" and append the moved file back to this new file. On Mon, 20 Jul 2009 22:24:00 -0700, Dinoj D wrote: > Its a good idea..is there any option to have append mode with the below > codes > >>> stream = fs.apply_text(txt_root, path, None) >>> core.svn_stream_write(stream, "hello world!\n") >>> core.svn_stream_close(stream) This snippet of code is obviously copied from a larger project .. judging from the use of symbols like 'apply_text', 'svn_stream_write', 'svn_stream_close' that are not in the standard library. Perhaps read their definitions in the appropriate modules in the source tree (or API of the libraries used). It is not difficult to adapt this code to the ideas I suggested further above - it is likely that there is also a 'svn_stream_open' function, for instance. If you find this basic task difficult, then I can only suggest you to either patiently work through them using the Python docs, Google, pdb, etc.. or hire someone to do it for you. -srid From noufal at gmail.com Tue Jul 21 12:16:28 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Tue, 21 Jul 2009 15:46:28 +0530 Subject: [BangPypers] User group meeting this weekend In-Reply-To: References: <9963e56e0907202148g41b833cbt920067ccd69a86a1@mail.gmail.com> Message-ID: <9963e56e0907210316g568332a1ye496d18afa31f683@mail.gmail.com> On Tue, Jul 21, 2009 at 10:26 AM, Baiju M wrote: [..] > Want a different place for just a change ? > Please let me know, we can arrange ZeOmega office.[..] ZeOmega would be nice this time..Anyone else willing to come? -- ~noufal From orsenthil at gmail.com Tue Jul 21 18:35:14 2009 From: orsenthil at gmail.com (Senthil Kumaran) Date: Tue, 21 Jul 2009 22:05:14 +0530 Subject: [BangPypers] User group meeting this weekend Message-ID: <20090721163514.GB7674@ubuntu.ubuntu-domain> On Tue, Jul 21, 2009 at 03:46:28PM +0530, Noufal Ibrahim wrote: > > Want a different place for just a change ? > > Please let me know, we can arrange ZeOmega office.[..] > > ZeOmega would be nice this time..Anyone else willing to come? > 0. Depending upon the timings/agenda, it might transform to +1. -- Senthil I am a conscientious man, when I throw rocks at seabirds I leave no tern unstoned. -- Ogden Nash, "Everybody's Mind to Me a Kingdom Is" From noufal at gmail.com Tue Jul 21 18:47:32 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Tue, 21 Jul 2009 22:17:32 +0530 Subject: [BangPypers] User group meeting this weekend In-Reply-To: <20090721163514.GB7674@ubuntu.ubuntu-domain> References: <20090721163514.GB7674@ubuntu.ubuntu-domain> Message-ID: <9963e56e0907210947h23fb066dhcdaa7301feaaaba3@mail.gmail.com> On Tue, Jul 21, 2009 at 10:05 PM, Senthil Kumaran wrote: [..] > 0. Depending upon the timings/agenda, it might transform to +1.[..] suggest something. :) -- ~noufal From ramkrsna at gmail.com Wed Jul 22 07:29:35 2009 From: ramkrsna at gmail.com (Ramakrishna Reddy) Date: Wed, 22 Jul 2009 10:59:35 +0530 Subject: [BangPypers] User group meeting this weekend In-Reply-To: <9963e56e0907210947h23fb066dhcdaa7301feaaaba3@mail.gmail.com> References: <20090721163514.GB7674@ubuntu.ubuntu-domain> <9963e56e0907210947h23fb066dhcdaa7301feaaaba3@mail.gmail.com> Message-ID: On Tue, Jul 21, 2009 at 10:17 PM, Noufal Ibrahim wrote: > suggest something. :) Minutes of the Meeting to be noted, just any important decisions for Pycon crop up. Good to know stuff et. all. -- Ramakrishna Reddy GPG Key ID:31FF0090 Fingerprint = 18D7 3FC1 784B B57F C08F 32B9 4496 B2A1 31FF 0090 From noufal at gmail.com Wed Jul 22 11:34:17 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Wed, 22 Jul 2009 15:04:17 +0530 Subject: [BangPypers] User group meeting this weekend In-Reply-To: References: <20090721163514.GB7674@ubuntu.ubuntu-domain> <9963e56e0907210947h23fb066dhcdaa7301feaaaba3@mail.gmail.com> Message-ID: <9963e56e0907220234j6669e5aaid5683593af9612dd@mail.gmail.com> I think ZeOmega on the coming Saturday from 2:00 to 5:00 pm is okay. What does everyone else here think? How many people will show up? -- ~noufal From abpillai at gmail.com Wed Jul 22 12:39:25 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Wed, 22 Jul 2009 16:09:25 +0530 Subject: [BangPypers] Fwd: [Inpycon] Volunteer needed : Sponsor coordinator In-Reply-To: <9963e56e0907220315h693f3c9emb1d765c6bd620c41@mail.gmail.com> References: <9963e56e0907220315h693f3c9emb1d765c6bd620c41@mail.gmail.com> Message-ID: <8548c5f30907220339w674b8a1bnbb8b281dc59f677a@mail.gmail.com> Please reply to Noufal and CC the inpycon list if you are interested. Thanks --Anand ---------- Forwarded message ---------- From: Noufal Ibrahim Date: Wed, Jul 22, 2009 at 3:45 PM Subject: [Inpycon] Volunteer needed : Sponsor coordinator To: Mailing list for the PyCon India conference Hello everyone, I need someone to take over sponsorships. We talked to ZeOmega today and they're almost confirmed. Once we get some more, there should be a single person they contact for any needs. We need someone to pick this up. It'll mostly be a phone call/email kind of thing. You'd also need to make some time to talk to any new sponsors who might come up. We have 3 or 4 people we need to meet right now already. I can't personally go everywhere so a few more people need to pitch in. Thanks. -- ~noufal _______________________________________________ Inpycon mailing list Inpycon at python.org http://mail.python.org/mailman/listinfo/inpycon -- -Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From noufal at gmail.com Wed Jul 22 18:07:14 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Wed, 22 Jul 2009 21:37:14 +0530 Subject: [BangPypers] User group meeting this weekend In-Reply-To: <9963e56e0907220234j6669e5aaid5683593af9612dd@mail.gmail.com> References: <20090721163514.GB7674@ubuntu.ubuntu-domain> <9963e56e0907210947h23fb066dhcdaa7301feaaaba3@mail.gmail.com> <9963e56e0907220234j6669e5aaid5683593af9612dd@mail.gmail.com> Message-ID: <9963e56e0907220907i41fdd5d4r9ee933a2bd7f4e@mail.gmail.com> On Wed, Jul 22, 2009 at 3:04 PM, Noufal Ibrahim wrote: > I think ZeOmega on the coming Saturday from 2:00 to 5:00 pm is okay. > What does everyone else here think? If there's sufficient people interested, we can ask Brad Allen (who's a seasoned Python hacker and currently in India) to give us a quick talk on some stuff he's working on. It would be interesting. -- ~noufal From ranganaths at gmail.com Wed Jul 22 18:13:31 2009 From: ranganaths at gmail.com (Ranganath s) Date: Wed, 22 Jul 2009 21:43:31 +0530 Subject: [BangPypers] User group meeting this weekend In-Reply-To: <9963e56e0907220907i41fdd5d4r9ee933a2bd7f4e@mail.gmail.com> References: <20090721163514.GB7674@ubuntu.ubuntu-domain> <9963e56e0907210947h23fb066dhcdaa7301feaaaba3@mail.gmail.com> <9963e56e0907220234j6669e5aaid5683593af9612dd@mail.gmail.com> <9963e56e0907220907i41fdd5d4r9ee933a2bd7f4e@mail.gmail.com> Message-ID: <77bb36840907220913x18793a54r516dc904caf175fc@mail.gmail.com> yes that will be a good idea! -R On Wed, Jul 22, 2009 at 9:37 PM, Noufal Ibrahim wrote: > On Wed, Jul 22, 2009 at 3:04 PM, Noufal Ibrahim wrote: > > I think ZeOmega on the coming Saturday from 2:00 to 5:00 pm is okay. > > What does everyone else here think? > > If there's sufficient people interested, we can ask Brad Allen (who's > a seasoned Python hacker and currently in India) to give us a quick > talk on some stuff he's working on. It would be interesting. > > > -- > ~noufal > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- I blog at http://ranganaths.wordpress.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bradallen137 at gmail.com Thu Jul 23 03:59:05 2009 From: bradallen137 at gmail.com (Brad Allen) Date: Thu, 23 Jul 2009 07:29:05 +0530 Subject: [BangPypers] User group meeting this weekend In-Reply-To: <77bb36840907220913x18793a54r516dc904caf175fc@mail.gmail.com> References: <20090721163514.GB7674@ubuntu.ubuntu-domain> <9963e56e0907210947h23fb066dhcdaa7301feaaaba3@mail.gmail.com> <9963e56e0907220234j6669e5aaid5683593af9612dd@mail.gmail.com> <9963e56e0907220907i41fdd5d4r9ee933a2bd7f4e@mail.gmail.com> <77bb36840907220913x18793a54r516dc904caf175fc@mail.gmail.com> Message-ID: <4957f1ef0907221859h67eeeed6y1d36053998ca860b@mail.gmail.com> So are we confirmed for meeting at the ZeOmega RLP office at 2pm? Does everyone know how to find it? I don't have an organized talk with slides but I can show off some of the source code we're using at ZeOmega, to provide usage examples of Storm, nose testing, closures, Python logging, zope.component as a standalone library, dateutil, memoize approach to caching...depending on what people are interested in seeing. However, I think it might be more interesting/fun to plan some coding sprints involving Python 3.1. There is a lot of work to be done in the community in getting libraries updated for Python 3.1, and I don't really know much about Python 3.1. We could do a 'teach me Python 3' session, similar to Steve Holden's 'teach me Twisted' open space meeting from PyCon US 2008. It's an interesting format; one person leads the questioning of a group of experts, providing an entertaining banter for onlookers (who can also ask questions of course). It might be a good way to get the whole group up to speed on Python 3 without anyone having to put together formal training materials. On Wed, Jul 22, 2009 at 9:43 PM, Ranganath s wrote: > yes that will be a good idea! > > -R > > On Wed, Jul 22, 2009 at 9:37 PM, Noufal Ibrahim wrote: >> >> On Wed, Jul 22, 2009 at 3:04 PM, Noufal Ibrahim wrote: >> > I think ZeOmega on the coming Saturday from 2:00 to 5:00 pm is okay. >> > What does everyone else here think? >> >> If there's sufficient people interested, we can ask Brad Allen (who's >> a seasoned Python hacker and currently in India) to give us a quick >> talk on some stuff he's working on. It would be interesting. >> >> >> -- >> ~noufal >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers > > > > -- > I blog at http://ranganaths.wordpress.com > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > From noufal at gmail.com Thu Jul 23 07:15:09 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Thu, 23 Jul 2009 10:45:09 +0530 Subject: [BangPypers] User group meeting this weekend In-Reply-To: <4957f1ef0907221859h67eeeed6y1d36053998ca860b@mail.gmail.com> References: <20090721163514.GB7674@ubuntu.ubuntu-domain> <9963e56e0907210947h23fb066dhcdaa7301feaaaba3@mail.gmail.com> <9963e56e0907220234j6669e5aaid5683593af9612dd@mail.gmail.com> <9963e56e0907220907i41fdd5d4r9ee933a2bd7f4e@mail.gmail.com> <77bb36840907220913x18793a54r516dc904caf175fc@mail.gmail.com> <4957f1ef0907221859h67eeeed6y1d36053998ca860b@mail.gmail.com> Message-ID: <9963e56e0907222215v5a8da7eesc69db7b6b7ba599d@mail.gmail.com> Unless there's a sufficient number of people, this might not really kick off. I count myself, Ranganath, Senthil, Baiju and you so far. That's just 5 people. A few more folks from ZeOmega might be there as well. If we have some more people who can come, it would be much nicer. -- ~noufal From jayesh.mail at gmail.com Thu Jul 23 08:27:20 2009 From: jayesh.mail at gmail.com (jayesh v) Date: Thu, 23 Jul 2009 11:57:20 +0530 Subject: [BangPypers] User group meeting this weekend In-Reply-To: <9963e56e0907222215v5a8da7eesc69db7b6b7ba599d@mail.gmail.com> References: <20090721163514.GB7674@ubuntu.ubuntu-domain> <9963e56e0907210947h23fb066dhcdaa7301feaaaba3@mail.gmail.com> <9963e56e0907220234j6669e5aaid5683593af9612dd@mail.gmail.com> <9963e56e0907220907i41fdd5d4r9ee933a2bd7f4e@mail.gmail.com> <77bb36840907220913x18793a54r516dc904caf175fc@mail.gmail.com> <4957f1ef0907221859h67eeeed6y1d36053998ca860b@mail.gmail.com> <9963e56e0907222215v5a8da7eesc69db7b6b7ba599d@mail.gmail.com> Message-ID: <5f7b7e0907222327h7a0ebff7m32dcf7450dcbeb44@mail.gmail.com> Count me also. -- Thanks Jayesh On Thu, Jul 23, 2009 at 10:45 AM, Noufal Ibrahim wrote: > Unless there's a sufficient number of people, this might not really kick > off. > > I count myself, Ranganath, Senthil, Baiju and you so far. That's just > 5 people. A few more folks from ZeOmega might be there as well. If we > have some more people who can come, it would be much nicer. > > > -- > ~noufal > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kunalkantsen at gmail.com Thu Jul 23 08:28:33 2009 From: kunalkantsen at gmail.com (kunalkant sen) Date: Thu, 23 Jul 2009 11:58:33 +0530 Subject: [BangPypers] User group meeting this weekend In-Reply-To: <5f7b7e0907222327h7a0ebff7m32dcf7450dcbeb44@mail.gmail.com> References: <20090721163514.GB7674@ubuntu.ubuntu-domain> <9963e56e0907210947h23fb066dhcdaa7301feaaaba3@mail.gmail.com> <9963e56e0907220234j6669e5aaid5683593af9612dd@mail.gmail.com> <9963e56e0907220907i41fdd5d4r9ee933a2bd7f4e@mail.gmail.com> <77bb36840907220913x18793a54r516dc904caf175fc@mail.gmail.com> <4957f1ef0907221859h67eeeed6y1d36053998ca860b@mail.gmail.com> <9963e56e0907222215v5a8da7eesc69db7b6b7ba599d@mail.gmail.com> <5f7b7e0907222327h7a0ebff7m32dcf7450dcbeb44@mail.gmail.com> Message-ID: <63eb47a20907222328s3b3b054cy96f2e57a50e0065a@mail.gmail.com> I m in. Count me too Kunal Kant Sen 09241009423 On Thu, Jul 23, 2009 at 11:57 AM, jayesh v wrote: > Count me also. > -- > Thanks > Jayesh > > > On Thu, Jul 23, 2009 at 10:45 AM, Noufal Ibrahim wrote: > >> Unless there's a sufficient number of people, this might not really kick >> off. >> >> I count myself, Ranganath, Senthil, Baiju and you so far. That's just >> 5 people. A few more folks from ZeOmega might be there as well. If we >> have some more people who can come, it would be much nicer. >> >> >> -- >> ~noufal >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From noufal at gmail.com Thu Jul 23 09:09:40 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Thu, 23 Jul 2009 12:39:40 +0530 Subject: [BangPypers] User group meeting this weekend In-Reply-To: <63eb47a20907222328s3b3b054cy96f2e57a50e0065a@mail.gmail.com> References: <20090721163514.GB7674@ubuntu.ubuntu-domain> <9963e56e0907210947h23fb066dhcdaa7301feaaaba3@mail.gmail.com> <9963e56e0907220234j6669e5aaid5683593af9612dd@mail.gmail.com> <9963e56e0907220907i41fdd5d4r9ee933a2bd7f4e@mail.gmail.com> <77bb36840907220913x18793a54r516dc904caf175fc@mail.gmail.com> <4957f1ef0907221859h67eeeed6y1d36053998ca860b@mail.gmail.com> <9963e56e0907222215v5a8da7eesc69db7b6b7ba599d@mail.gmail.com> <5f7b7e0907222327h7a0ebff7m32dcf7450dcbeb44@mail.gmail.com> <63eb47a20907222328s3b3b054cy96f2e57a50e0065a@mail.gmail.com> Message-ID: <9963e56e0907230009v56aa5432qcae312406517996d@mail.gmail.com> That's 7. -- ~noufal From jayasimha.makineni at gmail.com Thu Jul 23 09:08:58 2009 From: jayasimha.makineni at gmail.com (jayasimha makineni) Date: Thu, 23 Jul 2009 12:38:58 +0530 Subject: [BangPypers] User group meeting this weekend In-Reply-To: <63eb47a20907222328s3b3b054cy96f2e57a50e0065a@mail.gmail.com> References: <20090721163514.GB7674@ubuntu.ubuntu-domain> <9963e56e0907210947h23fb066dhcdaa7301feaaaba3@mail.gmail.com> <9963e56e0907220234j6669e5aaid5683593af9612dd@mail.gmail.com> <9963e56e0907220907i41fdd5d4r9ee933a2bd7f4e@mail.gmail.com> <77bb36840907220913x18793a54r516dc904caf175fc@mail.gmail.com> <4957f1ef0907221859h67eeeed6y1d36053998ca860b@mail.gmail.com> <9963e56e0907222215v5a8da7eesc69db7b6b7ba599d@mail.gmail.com> <5f7b7e0907222327h7a0ebff7m32dcf7450dcbeb44@mail.gmail.com> <63eb47a20907222328s3b3b054cy96f2e57a50e0065a@mail.gmail.com> Message-ID: Where is ZeOmega located ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From noufal at gmail.com Thu Jul 23 09:28:17 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Thu, 23 Jul 2009 12:58:17 +0530 Subject: [BangPypers] User group meeting this weekend In-Reply-To: References: <20090721163514.GB7674@ubuntu.ubuntu-domain> <9963e56e0907220234j6669e5aaid5683593af9612dd@mail.gmail.com> <9963e56e0907220907i41fdd5d4r9ee933a2bd7f4e@mail.gmail.com> <77bb36840907220913x18793a54r516dc904caf175fc@mail.gmail.com> <4957f1ef0907221859h67eeeed6y1d36053998ca860b@mail.gmail.com> <9963e56e0907222215v5a8da7eesc69db7b6b7ba599d@mail.gmail.com> <5f7b7e0907222327h7a0ebff7m32dcf7450dcbeb44@mail.gmail.com> <63eb47a20907222328s3b3b054cy96f2e57a50e0065a@mail.gmail.com> Message-ID: <9963e56e0907230028j3e740f50q53566d28f4ba5f70@mail.gmail.com> On Thu, Jul 23, 2009 at 12:38 PM, jayasimha makineni wrote: > > Where is ZeOmega located ? > > Baiju can probably send a map. -- ~noufal http://nibrahim.net.in From orsenthil at gmail.com Thu Jul 23 04:59:30 2009 From: orsenthil at gmail.com (Senthil Kumaran) Date: Thu, 23 Jul 2009 08:29:30 +0530 Subject: [BangPypers] User group meeting this weekend Message-ID: <20090723025930.GA7337@ubuntu.ubuntu-domain> On Thu, Jul 23, 2009 at 07:29:05AM +0530, Brad Allen wrote: > So are we confirmed for meeting at the ZeOmega RLP office at 2pm? Does > everyone know how to find it? Yes. It is confirmed at ZeOmega. > I don't have an organized talk with slides but I can show off some of > the source code we're using at ZeOmega, to provide usage examples of > Storm, nose testing, closures, Python logging, zope.component as a > standalone library, dateutil, memoize approach to caching...depending > on what people are interested in seeing. That would be great, Brad. It would definitely be interesting. > > However, I think it might be more interesting/fun to plan some coding > sprints involving Python 3.1. There is a lot of work to be done in the I can share some information on this one. Perhaps very beginner level information. I have been on and off with 3.1 mostly for bug-fixes in stdlib, but I can share the stuffs I have read so far, though I cannot claim that I know 3.x well. Coding sprints: I don't know how we go about in a short notice. Shall bring in my laptop and lets see, if we can start with something interesting. -- Senthil BOFH excuse #428: Firmware update in the coffee machine From bradallen137 at gmail.com Thu Jul 23 09:56:15 2009 From: bradallen137 at gmail.com (Brad Allen) Date: Thu, 23 Jul 2009 13:26:15 +0530 Subject: [BangPypers] User group meeting this weekend In-Reply-To: <20090723025930.GA7337@ubuntu.ubuntu-domain> References: <20090723025930.GA7337@ubuntu.ubuntu-domain> Message-ID: <4957f1ef0907230056k7d28b268if4e4b433314e740@mail.gmail.com> On Thu, Jul 23, 2009 at 8:29 AM, Senthil Kumaran wrote: > Coding sprints: I don't know how we go about in a short notice. Shall > bring in my laptop and lets see, if we can start with something > interesting. I'm suggesting we allocate time to plan for a future coding sprint, maybe a couple of weeks later. From bradallen137 at gmail.com Thu Jul 23 09:57:20 2009 From: bradallen137 at gmail.com (Brad Allen) Date: Thu, 23 Jul 2009 13:27:20 +0530 Subject: [BangPypers] User group meeting this weekend In-Reply-To: <9963e56e0907222215v5a8da7eesc69db7b6b7ba599d@mail.gmail.com> References: <20090721163514.GB7674@ubuntu.ubuntu-domain> <9963e56e0907210947h23fb066dhcdaa7301feaaaba3@mail.gmail.com> <9963e56e0907220234j6669e5aaid5683593af9612dd@mail.gmail.com> <9963e56e0907220907i41fdd5d4r9ee933a2bd7f4e@mail.gmail.com> <77bb36840907220913x18793a54r516dc904caf175fc@mail.gmail.com> <4957f1ef0907221859h67eeeed6y1d36053998ca860b@mail.gmail.com> <9963e56e0907222215v5a8da7eesc69db7b6b7ba599d@mail.gmail.com> Message-ID: <4957f1ef0907230057k7630bf0dx7cb9b00e8a5d86bc@mail.gmail.com> On Thu, Jul 23, 2009 at 10:45 AM, Noufal Ibrahim wrote: > Unless there's a sufficient number of people, this might not really kick off. > > I count myself, Ranganath, Senthil, Baiju and you so far. That's just > 5 people. A few more folks from ZeOmega might be there as well. If we > have some more people who can come, it would be much nicer. I'll talk it up to some additional ZeOmega employees to see if we can increase the attendance. From agoldgod at gmail.com Thu Jul 23 10:11:49 2009 From: agoldgod at gmail.com (goldgod a) Date: Thu, 23 Jul 2009 13:41:49 +0530 Subject: [BangPypers] User group meeting this weekend In-Reply-To: <9963e56e0907230028j3e740f50q53566d28f4ba5f70@mail.gmail.com> References: <20090721163514.GB7674@ubuntu.ubuntu-domain> <9963e56e0907220234j6669e5aaid5683593af9612dd@mail.gmail.com> <9963e56e0907220907i41fdd5d4r9ee933a2bd7f4e@mail.gmail.com> <77bb36840907220913x18793a54r516dc904caf175fc@mail.gmail.com> <4957f1ef0907221859h67eeeed6y1d36053998ca860b@mail.gmail.com> <9963e56e0907222215v5a8da7eesc69db7b6b7ba599d@mail.gmail.com> <5f7b7e0907222327h7a0ebff7m32dcf7450dcbeb44@mail.gmail.com> <63eb47a20907222328s3b3b054cy96f2e57a50e0065a@mail.gmail.com> <9963e56e0907230028j3e740f50q53566d28f4ba5f70@mail.gmail.com> Message-ID: <105c9ccc0907230111n1115b69cy4fce284e0487b9a4@mail.gmail.com> Hi, This Ponnusamy from Zeomega. For any assistance about the meeting please contact me. My mobile number is : 09731760878. *Zeomega address is :* *ZeOmega Infotech Pvt Ltd.* # 20,21,Rajalakshmi Plaza , 2 floor,South End Road, Basavanagudi, Bangalore - 560 004 Ph : 080-42432019/26621089 Opp. Shiv Shakthi Convection hall. *Land marks:* Near South End Circle, ACP office, Canara Bank, Surna College. *Google Map:* http://maps.google.co.in/maps/ms?oe=utf-8&client=firefox-a&ie=UTF8&hl=en&msa=0&ll=12.937447,77.576866&spn=0.004392,0.006899&t=h&z=17&msid=114097346613541138466.00046f5ad2967319b03f3 On Thu, Jul 23, 2009 at 12:58 PM, Noufal Ibrahim wrote: > On Thu, Jul 23, 2009 at 12:38 PM, jayasimha > makineni wrote: > > > > Where is ZeOmega located ? > > > > > > Baiju can probably send a map. > > -- > ~noufal > http://nibrahim.net.in > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Thanks & Regards, Goldgod -------------- next part -------------- An HTML attachment was scrubbed... URL: From noufal at gmail.com Thu Jul 23 12:11:34 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Thu, 23 Jul 2009 15:41:34 +0530 Subject: [BangPypers] User group meeting this weekend In-Reply-To: <105c9ccc0907230111n1115b69cy4fce284e0487b9a4@mail.gmail.com> References: <20090721163514.GB7674@ubuntu.ubuntu-domain> <9963e56e0907220907i41fdd5d4r9ee933a2bd7f4e@mail.gmail.com> <77bb36840907220913x18793a54r516dc904caf175fc@mail.gmail.com> <4957f1ef0907221859h67eeeed6y1d36053998ca860b@mail.gmail.com> <9963e56e0907222215v5a8da7eesc69db7b6b7ba599d@mail.gmail.com> <5f7b7e0907222327h7a0ebff7m32dcf7450dcbeb44@mail.gmail.com> <63eb47a20907222328s3b3b054cy96f2e57a50e0065a@mail.gmail.com> <9963e56e0907230028j3e740f50q53566d28f4ba5f70@mail.gmail.com> <105c9ccc0907230111n1115b69cy4fce284e0487b9a4@mail.gmail.com> Message-ID: <9963e56e0907230311j138c8358j64e45f47e0ab6af5@mail.gmail.com> I see that Baiju has put up a link on the wiki as well. http://wiki.python.org/moin/BangPypers/Meeting25July2009 See you all there. :) -- ~noufal http://nibrahim.net.in From orsenthil at gmail.com Sat Jul 25 04:46:18 2009 From: orsenthil at gmail.com (Senthil Kumaran) Date: Sat, 25 Jul 2009 08:16:18 +0530 Subject: [BangPypers] User group meeting this weekend In-Reply-To: <4957f1ef0907230056k7d28b268if4e4b433314e740@mail.gmail.com> References: <20090723025930.GA7337@ubuntu.ubuntu-domain> <4957f1ef0907230056k7d28b268if4e4b433314e740@mail.gmail.com> Message-ID: <20090725024618.GA4437@ubuntu.ubuntu-domain> On Thu, Jul 23, 2009 at 01:26:15PM +0530, Brad Allen wrote: > > I'm suggesting we allocate time to plan for a future coding sprint, > maybe a couple of weeks later. I am all for it. Perhaps Aug1 or Aug8. Lets discuss it at todays meet. -- Senthil Modern man is the missing link between apes and human beings. From noufal at gmail.com Sat Jul 25 06:57:53 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Sat, 25 Jul 2009 10:27:53 +0530 Subject: [BangPypers] User group meeting this weekend In-Reply-To: <20090725024618.GA4437@ubuntu.ubuntu-domain> References: <20090723025930.GA7337@ubuntu.ubuntu-domain> <4957f1ef0907230056k7d28b268if4e4b433314e740@mail.gmail.com> <20090725024618.GA4437@ubuntu.ubuntu-domain> Message-ID: <9963e56e0907242157l9b1e5c6m414eb16d0289ed22@mail.gmail.com> On Sat, Jul 25, 2009 at 8:16 AM, Senthil Kumaran wrote: > On Thu, Jul 23, 2009 at 01:26:15PM +0530, Brad Allen wrote: >> >> I'm suggesting we allocate time to plan for a future coding sprint, >> maybe a couple of weeks later. > > I am all for it. Perhaps Aug1 or Aug8. Lets discuss it at todays meet. Okay. See you all at 2:00 today. -- ~noufal http://nibrahim.net.in From noufal at gmail.com Sat Jul 25 20:03:17 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Sat, 25 Jul 2009 23:33:17 +0530 Subject: [BangPypers] InPyCon Volunteers needed : Swag and banner management Message-ID: <9963e56e0907251103l3c590d32w93a9535162da177e@mail.gmail.com> (Sorry about cross posting but I need more visibility) Hello folks, We need some people to take charge of handling the T-shirt and banner printing. This will kick into full swing only after a week or two when the sponsors are completely in. But we need to do the groundwork and find out prices for the T-shirts and other details beforehand so that we're ready to give the orders when the cash is with us. We need one or two people to lead this effort. They'll need to find out how to get the shirts printed, finalise the design and give the orders. Then get the T-shirts and keep the ready for the conference. They'll also need to get the banners ready for the event. Some of this stuff will require discussions on the list (shirt design etc.) but apart from that, it's a short burst of work. Please let me know if you're interested in pitching in. It would be really useful. thanks. -- ~noufal http://nibrahim.net.in From lawgon at au-kbc.org Sun Jul 26 05:53:42 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Sun, 26 Jul 2009 09:23:42 +0530 Subject: [BangPypers] InPyCon Volunteers needed : Swag and banner management In-Reply-To: <9963e56e0907251103l3c590d32w93a9535162da177e@mail.gmail.com> References: <9963e56e0907251103l3c590d32w93a9535162da177e@mail.gmail.com> Message-ID: <200907260923.42698.lawgon@au-kbc.org> On Saturday 25 Jul 2009 11:33:17 pm Noufal Ibrahim wrote: > (Sorry about cross posting but I need more visibility) please post this on the website also -- regards Kenneth Gonsalves Associate NRC-FOSS http://nrcfosshelpline.in/web/ From noufal at gmail.com Sun Jul 26 10:35:14 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Sun, 26 Jul 2009 14:05:14 +0530 Subject: [BangPypers] InPyCon Volunteers needed : Swag and banner management In-Reply-To: <9963e56e0907251103l3c590d32w93a9535162da177e@mail.gmail.com> References: <9963e56e0907251103l3c590d32w93a9535162da177e@mail.gmail.com> Message-ID: <9963e56e0907260135va7db21cv5e51e5f4e810c21f@mail.gmail.com> Anyone? We need some help here. :) On Sat, Jul 25, 2009 at 11:33 PM, Noufal Ibrahim wrote: > (Sorry about cross posting but I need more visibility) > > Hello folks, > ? We need some people to take charge of handling the T-shirt and > banner printing. > > ? This will kick into full swing only after a week or two when the > sponsors are completely in. But we need to do the groundwork and find > out prices for the T-shirts and other details beforehand so that we're > ready to give the orders when the cash is with us. We need one or two > people to lead this effort. They'll need to find out how to get the > shirts printed, finalise the design and give the orders. Then get the > T-shirts and keep the ready for the conference. > > ? They'll also need to get the banners ready for the event. Some of > this stuff will require discussions on the list (shirt design etc.) > but apart from that, it's a short burst of work. Please let me know if > you're interested in pitching in. It would be really useful. > > thanks. > > -- > ~noufal > http://nibrahim.net.in > -- ~noufal http://nibrahim.net.in From shivraj.ms at gmail.com Sun Jul 26 12:13:36 2009 From: shivraj.ms at gmail.com (Shivaraj M S) Date: Sun, 26 Jul 2009 15:43:36 +0530 Subject: [BangPypers] Any python metaclasses for UID Message-ID: <2c1c314c0907260313j649f7d12lfbb2102bf64abc96@mail.gmail.com> Is there any python metaclass for UID or only Gates are Super() for the friend functions of UID publishers' Class hierarchy? -- Regards _______________ Shivaraj -------------- next part -------------- An HTML attachment was scrubbed... URL: From noufal at gmail.com Sun Jul 26 12:19:23 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Sun, 26 Jul 2009 15:49:23 +0530 Subject: [BangPypers] Detailed talk on the GIL Message-ID: <9963e56e0907260319u64358436kdb2733ecb74864a0@mail.gmail.com> Hi, I mentioned this during the user group meeting yesterday. It's a talk describing the issues with the GIL in detail. http://blip.tv/file/2232410 Enjoy. -- ~noufal http://nibrahim.net.in From ardsrk at gmail.com Sun Jul 26 13:12:38 2009 From: ardsrk at gmail.com (Arvind Jamuna Dixit) Date: Sun, 26 Jul 2009 16:42:38 +0530 Subject: [BangPypers] User group meeting this weekend Message-ID: <3d62196a0907260412p568dd21aq218fee5c6661389b@mail.gmail.com> Hi, I am Arvind working at Geodesic, Bangalore and recently joined the Bangpypers mailing list. I am feeling very bad for myself for having missed yesterday's meeting and am interested in knowing the minutes of yesterday's meeting. The checked the wikibut did not find much details about the meeting. Thanks. -Arvind On Sat, Jul 25, 2009 at 3:30 PM, wrote: > Send BangPypers mailing list submissions to > bangpypers at python.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.python.org/mailman/listinfo/bangpypers > or, via email, send a message with subject or body 'help' to > bangpypers-request at python.org > > You can reach the person managing the list at > bangpypers-owner at python.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of BangPypers digest..." > > > Today's Topics: > > 1. Re: User group meeting this weekend (Senthil Kumaran) > 2. Re: User group meeting this weekend (Noufal Ibrahim) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 25 Jul 2009 08:16:18 +0530 > From: Senthil Kumaran > To: Bangalore Python Users Group - India > Subject: Re: [BangPypers] User group meeting this weekend > Message-ID: <20090725024618.GA4437 at ubuntu.ubuntu-domain> > Content-Type: text/plain; charset=us-ascii > > On Thu, Jul 23, 2009 at 01:26:15PM +0530, Brad Allen wrote: > > > > I'm suggesting we allocate time to plan for a future coding sprint, > > maybe a couple of weeks later. > > I am all for it. Perhaps Aug1 or Aug8. Lets discuss it at todays meet. > > -- > Senthil > Modern man is the missing link between apes and human beings. > > > ------------------------------ > > Message: 2 > Date: Sat, 25 Jul 2009 10:27:53 +0530 > From: Noufal Ibrahim > To: Bangalore Python Users Group - India > Subject: Re: [BangPypers] User group meeting this weekend > Message-ID: > <9963e56e0907242157l9b1e5c6m414eb16d0289ed22 at mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > On Sat, Jul 25, 2009 at 8:16 AM, Senthil Kumaran > wrote: > > On Thu, Jul 23, 2009 at 01:26:15PM +0530, Brad Allen wrote: > >> > >> I'm suggesting we allocate time to plan for a future coding sprint, > >> maybe a couple of weeks later. > > > > I am all for it. Perhaps Aug1 or Aug8. Lets discuss it at todays meet. > > Okay. See you all at 2:00 today. > > > > -- > ~noufal > http://nibrahim.net.in > > > ------------------------------ > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > > End of BangPypers Digest, Vol 23, Issue 18 > ****************************************** > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rmathews at gmail.com Sun Jul 26 13:18:50 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Sun, 26 Jul 2009 16:48:50 +0530 Subject: [BangPypers] Detailed talk on the GIL In-Reply-To: <9963e56e0907260319u64358436kdb2733ecb74864a0@mail.gmail.com> References: <9963e56e0907260319u64358436kdb2733ecb74864a0@mail.gmail.com> Message-ID: <1c4dc2780907260418w5e09f17au26ae72821527e7fb@mail.gmail.com> On Sun, Jul 26, 2009 at 3:49 PM, Noufal Ibrahim wrote: > ?I mentioned this during the user group meeting yesterday. It's a > talk describing the issues with the GIL in detail. > ?http://blip.tv/file/2232410 > Here are the slides: http://www.dabeaz.com/python/GIL.pdf What are the odds, I just downloaded this for later viewing yesterday. :) Roshan From parth.technofreak at gmail.com Sun Jul 26 14:56:45 2009 From: parth.technofreak at gmail.com (Parthan SR) Date: Sun, 26 Jul 2009 18:26:45 +0530 Subject: [BangPypers] InPyCon Volunteers needed : Swag and banner management In-Reply-To: <9963e56e0907260135va7db21cv5e51e5f4e810c21f@mail.gmail.com> References: <9963e56e0907251103l3c590d32w93a9535162da177e@mail.gmail.com> <9963e56e0907260135va7db21cv5e51e5f4e810c21f@mail.gmail.com> Message-ID: <4A6C528D.5090209@gmail.com> Noufal Ibrahim wrote: >> ? This will kick into full swing only after a week or two when the >> sponsors are completely in. But we need to do the groundwork and find >> out prices for the T-shirts and other details beforehand so that we're >> ready to give the orders when the cash is with us. We need one or two >> people to lead this effort. They'll need to find out how to get the >> shirts printed, finalise the design and give the orders. Then get the >> T-shirts and keep the ready for the conference. Have you checked out xtees.com? During foss.in a couple of years ago, we got tees printed by them for KDE India team. They are of very good quality and also the prices are optimal. They make and print the tees in Tirupur, Tamil Nadu, but will send them through some packaging service to other cities. The contact details are available in their site http://xtees.com . I will also enquire my friend about how he did the deal. -- With Regards, Parthan SR "technofreak" GPG Key 2FF01026 Fingerprint 5707 ECBD 8D8D 8E6E 28F8 DFA5 938B D861 2FF0 1026 Weblog http://blog.technofreak.in From ramkrsna at gmail.com Sun Jul 26 15:00:37 2009 From: ramkrsna at gmail.com (Ramakrishna Reddy) Date: Sun, 26 Jul 2009 18:30:37 +0530 Subject: [BangPypers] InPyCon Volunteers needed : Swag and banner management In-Reply-To: <4A6C528D.5090209@gmail.com> References: <9963e56e0907251103l3c590d32w93a9535162da177e@mail.gmail.com> <9963e56e0907260135va7db21cv5e51e5f4e810c21f@mail.gmail.com> <4A6C528D.5090209@gmail.com> Message-ID: On Sun, Jul 26, 2009 at 6:26 PM, Parthan SR wrote: > Noufal Ibrahim wrote: > > Have you checked out xtees.com? During foss.in a couple of years ago, we got > tees printed by them for KDE India team. They are of very good quality and > also the prices are optimal. They make and print the tees in Tirupur, Tamil > Nadu, but will send them through some packaging service to other cities. The > contact details are available in their site http://xtees.com . I will also > enquire my friend about how he did the deal. +1 for Xtees. They are economical and reliable too. regards -- Ramakrishna Reddy GPG Key ID:31FF0090 Fingerprint = 18D7 3FC1 784B B57F C08F 32B9 4496 B2A1 31FF 0090 From srsy70 at gmail.com Sun Jul 26 15:01:17 2009 From: srsy70 at gmail.com (S.Ramaswamy) Date: Sun, 26 Jul 2009 18:31:17 +0530 Subject: [BangPypers] Detailed talk on the GIL In-Reply-To: <1c4dc2780907260418w5e09f17au26ae72821527e7fb@mail.gmail.com> References: <9963e56e0907260319u64358436kdb2733ecb74864a0@mail.gmail.com> <1c4dc2780907260418w5e09f17au26ae72821527e7fb@mail.gmail.com> Message-ID: > > What are the odds, I just downloaded this for later viewing yesterday. :) > Weird, I viewed the video a bit today morning. Ramaswamy From noufal at gmail.com Sun Jul 26 15:06:10 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Sun, 26 Jul 2009 18:36:10 +0530 Subject: [BangPypers] InPyCon Volunteers needed : Swag and banner management In-Reply-To: References: <9963e56e0907251103l3c590d32w93a9535162da177e@mail.gmail.com> <9963e56e0907260135va7db21cv5e51e5f4e810c21f@mail.gmail.com> <4A6C528D.5090209@gmail.com> Message-ID: <9963e56e0907260606t4c9afe3csf52e447d6d31721@mail.gmail.com> Ravi (CCed here) has volunteered to take care of the T-shirt procurement. I think he has another source in mind but since this came up, it might be worth considering as well. -- ~noufal http://nibrahim.net.in From ramkrsna at gmail.com Sun Jul 26 15:14:57 2009 From: ramkrsna at gmail.com (Ramakrishna Reddy) Date: Sun, 26 Jul 2009 18:44:57 +0530 Subject: [BangPypers] InPyCon Volunteers needed : Swag and banner management In-Reply-To: <9963e56e0907260606t4c9afe3csf52e447d6d31721@mail.gmail.com> References: <9963e56e0907251103l3c590d32w93a9535162da177e@mail.gmail.com> <9963e56e0907260135va7db21cv5e51e5f4e810c21f@mail.gmail.com> <4A6C528D.5090209@gmail.com> <9963e56e0907260606t4c9afe3csf52e447d6d31721@mail.gmail.com> Message-ID: On Sun, Jul 26, 2009 at 6:36 PM, Noufal Ibrahim wrote: > Ravi (CCed here) has volunteered to take care of the T-shirt > procurement. I think he has another source in mind but since this came > up, it might be worth considering as well. Just an another source , there is also a Bangalore based company called hepfly.com . They made the official foss.in tshirt last year. The quality was quite good. They also ship tshirts for the people who missed the order on the day of the conference regards -- Ramakrishna Reddy GPG Key ID:31FF0090 Fingerprint = 18D7 3FC1 784B B57F C08F 32B9 4496 B2A1 31FF 0090 From rmathews at gmail.com Sun Jul 26 15:53:59 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Sun, 26 Jul 2009 19:23:59 +0530 Subject: [BangPypers] Detailed talk on the GIL In-Reply-To: References: <9963e56e0907260319u64358436kdb2733ecb74864a0@mail.gmail.com> <1c4dc2780907260418w5e09f17au26ae72821527e7fb@mail.gmail.com> Message-ID: <1c4dc2780907260653i2163f474p10e5a43bb9ee8088@mail.gmail.com> On Sun, Jul 26, 2009 at 6:31 PM, S.Ramaswamy wrote: >> What are the odds, I just downloaded this for later viewing yesterday. :) >> > Weird, I viewed the video a bit today morning. > "memes" I think these are called. :) Roshan From orsenthil at gmail.com Sun Jul 26 20:10:34 2009 From: orsenthil at gmail.com (Senthil Kumaran) Date: Sun, 26 Jul 2009 23:40:34 +0530 Subject: [BangPypers] Any python metaclasses for UID In-Reply-To: <2c1c314c0907260313j649f7d12lfbb2102bf64abc96@mail.gmail.com> References: <2c1c314c0907260313j649f7d12lfbb2102bf64abc96@mail.gmail.com> Message-ID: <20090726181034.GA4859@ubuntu.ubuntu-domain> On Sun, Jul 26, 2009 at 03:43:36PM +0530, Shivaraj M S wrote: > Is there any python metaclass for UID or only Gates are Super() for the friend > functions of UID publishers' Class hierarchy? Would you please explain what UID is? Not a very common Python term. When speaking of super, I hope you know that using super can be used to call a method of a Base class without expliciticly naming the Base class. class MyClass(BaseClass): def __init__(): super(Myclass,self).method_of_BaseClass() That is one prevalant use case for super along with other cases of using diamond inherience via multiple base classes. Now, if I could understand UID better, perhaps I might be able to corelate it. -- Senthil Mickey Mouse wears a Spiro Agnew watch. From orsenthil at gmail.com Sun Jul 26 20:50:45 2009 From: orsenthil at gmail.com (Senthil Kumaran) Date: Mon, 27 Jul 2009 00:20:45 +0530 Subject: [BangPypers] Detailed talk on the GIL In-Reply-To: <1c4dc2780907260653i2163f474p10e5a43bb9ee8088@mail.gmail.com> References: <9963e56e0907260319u64358436kdb2733ecb74864a0@mail.gmail.com> <1c4dc2780907260418w5e09f17au26ae72821527e7fb@mail.gmail.com> <1c4dc2780907260653i2163f474p10e5a43bb9ee8088@mail.gmail.com> Message-ID: <20090726185045.GB4859@ubuntu.ubuntu-domain> On Sun, Jul 26, 2009 at 07:23:59PM +0530, Roshan Mathews wrote: > >> What are the odds, I just downloaded this for later viewing yesterday. :) > >> > > Weird, I viewed the video a bit today morning. > > > "memes" I think these are called. :) Every one suddenly getting interested in concurrency and coroutines might make 'that concept' a meme. But in this case, the odds should follow the logic of Birthday Paradox. (like how many people should be in a classroom so that you have more than 50% chance of atleast two people sharing the same birthday. The Answer in 23). In a hypothetical scenario, if all bangpypers were watching only python videos on a particular day, we have more than 50% chances of having ANY two watching the same video is like this: n(n-1)/2 = V Where n is number of bangpypers and V is the number of Python videos. Trying some actual numbers. If there are 200 bangpypers, there is there is more than 50% chance of two people watching the same video if number of python videos are 19900. Wow! That's pretty high. :) -- Senthil If you keep anything long enough, you can throw it away. From orsenthil at gmail.com Sun Jul 26 20:57:27 2009 From: orsenthil at gmail.com (Senthil Kumaran) Date: Mon, 27 Jul 2009 00:27:27 +0530 Subject: [BangPypers] User group meeting this weekend In-Reply-To: <3d62196a0907260412p568dd21aq218fee5c6661389b@mail.gmail.com> References: <3d62196a0907260412p568dd21aq218fee5c6661389b@mail.gmail.com> Message-ID: <20090726185727.GC4859@ubuntu.ubuntu-domain> On Sun, Jul 26, 2009 at 04:42:38PM +0530, Arvind Jamuna Dixit wrote: > I am feeling very bad for myself for having missed yesterday's meeting and am > interested in knowing the minutes of yesterday's meeting. You might join the next meeting perhaps. > The checked the wiki but did not find much details about the meeting. > We are lazy to write the minutes of the meeting. Perhaps we need someone who is interested in writing the minutes (and he/she sees some form of personal benefit in doing so). Roughly we discussed the following. * Python 3.1 - How to get started with it. * Subtopics included Unicode vs Strings. Strings vs Bytes. Whats new * in python * Brad showed the audience some interesing programming paradigms used at ZeOmega for their purposes. * We discussed about logging module of Python * Discussed about PyCon and Brad shared some of his thoughts on how PyCon is organized. The essence of PyCon, etc. The meeting started around 2:00 /2:30 ( I was unfortunately late at 3:00 pm) and went till 6:30 pm. I enjoyed it, I learnt a lot of things and I hope others enjoyed the meet too. -- Senthil Your society will be sought by people of taste and refinement. From shivraj.ms at gmail.com Mon Jul 27 10:20:45 2009 From: shivraj.ms at gmail.com (Shivaraj M S) Date: Mon, 27 Jul 2009 13:50:45 +0530 Subject: [BangPypers] Any python metaclasses for UID Message-ID: <2c1c314c0907270120p32115f76hcb1a0e31f63f8514@mail.gmail.com> We will have to wait for UID I guess. In a ''real world scenario'' class ClassI(Gates): def __init__(): super(UID,self).Wind(7) friend void exchange(ClassI& x, Gates& y) void exchange(A& x, B& y) { B.x = A.location.awards A.x = B.location.banks.outsource } These classes extended from probably c++ or so (of whose patchy source is closed) . Now the issue is this class has also a friend in UID but can be extended by python in real world. class UID(): friend void A::show(ClassI& x, UID& y); UID is meant to be in public domain of whose behaviour is unknown. Should be available near future Py 3.0 Coming back to the question: Can there be a metaclass in python which can change the behaviour of object at creation stage by extending it and nullifying friend functions? -- Regards _______________ Shivaraj -------------- next part -------------- An HTML attachment was scrubbed... URL: From sirtaj at sirtaj.net Mon Jul 27 11:20:39 2009 From: sirtaj at sirtaj.net (Sirtaj Singh Kang) Date: Mon, 27 Jul 2009 14:50:39 +0530 Subject: [BangPypers] Any python metaclasses for UID In-Reply-To: <2c1c314c0907270120p32115f76hcb1a0e31f63f8514@mail.gmail.com> References: <2c1c314c0907270120p32115f76hcb1a0e31f63f8514@mail.gmail.com> Message-ID: <5F226E5A-48CD-4B0C-8ACD-79EFB858DDAE@sirtaj.net> On 27-Jul-09, at 1:50 PM, Shivaraj M S wrote: [snip] > > Can there be a metaclass in python which can change the behaviour of > object at creation stage by extending it and nullifying friend > functions? (I must confess this is the only sentence in the email that I could comprehend...) If what you are looking for is a way to customize object creation, have a look at the __new__ class method. It is called before __init__, and can return _any_ object when the client code attempts to instantiate the class. In some cases I have dynamically generated a subclass of the class using type(), and returned a new instance of that. I think this is the kind of thing you are looking for. -Taj. From orsenthil at gmail.com Mon Jul 27 12:42:07 2009 From: orsenthil at gmail.com (Senthil Kumaran) Date: Mon, 27 Jul 2009 16:12:07 +0530 Subject: [BangPypers] Any python metaclasses for UID In-Reply-To: <5F226E5A-48CD-4B0C-8ACD-79EFB858DDAE@sirtaj.net> References: <2c1c314c0907270120p32115f76hcb1a0e31f63f8514@mail.gmail.com> <5F226E5A-48CD-4B0C-8ACD-79EFB858DDAE@sirtaj.net> Message-ID: <20090727104207.GA12837@ubuntu.ubuntu-domain> On Mon, Jul 27, 2009 at 02:50:39PM +0530, Sirtaj Singh Kang wrote: > > On 27-Jul-09, at 1:50 PM, Shivaraj M S wrote: > [snip] >> >> Can there be a metaclass in python which can change the behaviour of >> object at creation stage by extending it and nullifying friend >> functions? > > (I must confess this is the only sentence in the email that I could > comprehend...) Very true. Shivaraj: It is nearly incomprehensible as what you are trying to convey. If you are a beginning python programmer (but a good other language programmer), a couple of tutorials at www.python.org may help perhaps? -- Senthil Needs are a function of what other people have. From ardsrk at gmail.com Mon Jul 27 15:29:47 2009 From: ardsrk at gmail.com (ardsrk) Date: Mon, 27 Jul 2009 06:29:47 -0700 (PDT) Subject: [BangPypers] User group meeting this weekend In-Reply-To: <20090726185727.GC4859@ubuntu.ubuntu-domain> References: <9963e56e0907202148g41b833cbt920067ccd69a86a1@mail.gmail.com> <3d62196a0907260412p568dd21aq218fee5c6661389b@mail.gmail.com> <20090726185727.GC4859@ubuntu.ubuntu-domain> Message-ID: <24680724.post@talk.nabble.com> Thanks for the reply. Looking forward for the next meeting. Senthil Kumaran-6 wrote: > > On Sun, Jul 26, 2009 at 04:42:38PM +0530, Arvind Jamuna Dixit wrote: >> I am feeling very bad for myself for having missed yesterday's meeting >> and am >> interested in knowing the minutes of yesterday's meeting. > > You might join the next meeting perhaps. > >> The checked the wiki but did not find much details about the meeting. >> > We are lazy to write the minutes of the meeting. Perhaps we need > someone who is interested in writing the minutes (and he/she sees some > form of personal benefit in doing so). > > Roughly we discussed the following. > > * Python 3.1 - How to get started with it. > * Subtopics included Unicode vs Strings. Strings vs Bytes. Whats new > * in python > > * Brad showed the audience some interesing programming paradigms > used at ZeOmega for their purposes. > > * We discussed about logging module of Python > > * Discussed about PyCon and Brad shared some of his thoughts on how > PyCon is organized. The essence of PyCon, etc. > > > The meeting started around 2:00 /2:30 ( I was unfortunately late at > 3:00 pm) and went till 6:30 pm. > > I enjoyed it, I learnt a lot of things and I hope others enjoyed the > meet too. > > > > -- > Senthil > Your society will be sought by people of taste and refinement. > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- View this message in context: http://www.nabble.com/User-group-meeting-this-weekend-tp24581644p24680724.html Sent from the BangPypers - Bangalore Python Users Group mailing list archive at Nabble.com. From vnbang2003 at yahoo.com Tue Jul 28 15:10:39 2009 From: vnbang2003 at yahoo.com (VIJAY KUMAR) Date: Tue, 28 Jul 2009 18:40:39 +0530 (IST) Subject: [BangPypers] Django test case problem In-Reply-To: <24680724.post@talk.nabble.com> Message-ID: <556769.22953.qm@web95309.mail.in2.yahoo.com> Hi, ?? I am running testcase from django when I run them from models.py it run. ?? But when I put the same in test.py in the same directory where models is define it not even getting called. ? My structure django application is? mysite Settings.py ???????? Urls.py ??????????Polls ???????????????? __int__.py ?????????????????models.py ???????????????? test.py ???????????????? views.py I used this command to run the test cases?? python manage.py test polls Can some help me know what am I missing or should need to do something? so my testcase from test.py start get executed. I tried to follow this link for the same http://docs.djangoproject.com/en/dev/topics/testing/ ? ? ? with thanks Vijay ? Love Cricket? Check out live scores, photos, video highlights and more. Click here http://cricket.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From gora at srijan.in Tue Jul 28 15:46:26 2009 From: gora at srijan.in (Gora Mohanty) Date: Tue, 28 Jul 2009 19:16:26 +0530 Subject: [BangPypers] Django test case problem In-Reply-To: <556769.22953.qm@web95309.mail.in2.yahoo.com> References: <24680724.post@talk.nabble.com> <556769.22953.qm@web95309.mail.in2.yahoo.com> Message-ID: <20090728191626.3ef9a7a3@anubis> On Tue, 28 Jul 2009 18:40:39 +0530 (IST) VIJAY KUMAR wrote: [...] > I used this command to run the test cases?? python manage.py test > polls Can some help me know what am I missing or should need to > do something? so my testcase from test.py start get executed. [...] Any errors that you see? Is test.py small enough, and public enough that you can put it up on a site somewhere, e.g., pastebin.com? Regards, Gora From shivraj.ms at gmail.com Tue Jul 28 15:58:05 2009 From: shivraj.ms at gmail.com (Shivaraj M S) Date: Tue, 28 Jul 2009 19:28:05 +0530 Subject: [BangPypers] Any python metaclasses for UID Message-ID: <2c1c314c0907280658s442943exfc917482016cd01@mail.gmail.com> Well,it's like a game. Mapping the names with real world objects-specially current affairs, should convey great deal of information for the abstraction to be realized. Still waiting for the metaclasses, if any..... -- Regards _______________ Shivaraj -------------- next part -------------- An HTML attachment was scrubbed... URL: From rajeev.sebastian at gmail.com Tue Jul 28 16:43:21 2009 From: rajeev.sebastian at gmail.com (Rajeev J Sebastian) Date: Tue, 28 Jul 2009 20:13:21 +0530 Subject: [BangPypers] Any python metaclasses for UID In-Reply-To: <2c1c314c0907280658s442943exfc917482016cd01@mail.gmail.com> References: <2c1c314c0907280658s442943exfc917482016cd01@mail.gmail.com> Message-ID: <79a035420907280743l3591ebe6rdfbb543cccfc6db7@mail.gmail.com> On Tue, Jul 28, 2009 at 7:28 PM, Shivaraj M S wrote: > Well,it's like a game. > Mapping the names with real world objects-specially current affairs, should > convey great deal of information > for the abstraction to be realized. > Still waiting for the metaclasses, if any..... > -- Do you have any URLs that describe what UID actually is ? googling doesnt return anything useful ... Regards Rajeev J Sebastian From madhav.bnk at gmail.com Tue Jul 28 16:52:23 2009 From: madhav.bnk at gmail.com (B.Nanda Kishore) Date: Tue, 28 Jul 2009 20:22:23 +0530 Subject: [BangPypers] Django test case problem In-Reply-To: <556769.22953.qm@web95309.mail.in2.yahoo.com> References: <24680724.post@talk.nabble.com> <556769.22953.qm@web95309.mail.in2.yahoo.com> Message-ID: <26030bef0907280752m6e1086bbj51135d603e56f8c@mail.gmail.com> By default django looks for a file called *tests.py*(plural) and not * test.py*. Check that and let us know. Regards, Nandakishore On Tue, Jul 28, 2009 at 6:40 PM, VIJAY KUMAR wrote: > Hi, > > I am running testcase from django when I run them from models.py it > run. > > But when I put the same in test.py in the same directory where models > is define it not even getting called. > > My structure django application is mysite > > Settings.py > > Urls.py > > Polls > > __int__.py > > models.py > > test.py > > views.py > > I used this command to run the test cases python manage.py test polls > > Can some help me know what am I missing or should need to do something so > my testcase from test.py start get executed. > > I tried to follow this link for the same > http://docs.djangoproject.com/en/dev/topics/testing/ > > > > > > > > with thanks > > Vijay > > > ------------------------------ > Love Cricket? Check out live scores, photos, video highlights and more. Click > here . > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From srijayanth at gmail.com Wed Jul 29 09:07:08 2009 From: srijayanth at gmail.com (Srijayanth Sridhar) Date: Wed, 29 Jul 2009 12:37:08 +0530 Subject: [BangPypers] Using dogtail to test/automate gtk apps Message-ID: <5ead360a0907290007i429b15dat618ab62522d4612@mail.gmail.com> Hello, I am trying to use dogtail to make a demonstration about automating tests for certain gtk applications we develop. I managed to get a fair bit of it working but I am having a hard time getting dogtail to send events to certain types of widgets, primarily the EventBox widget. I've googled and not found anything significant. Has anyone worked on this? I am pasting some code. # This program draws a simple window with an event box in it. The # eventbox is attached to the on_evbox_clicked() function and prints # a simple message upon being clicked. import pygtk pygtk.require('2.0') import atk import gtk def on_evbox_clicked(evbox,event): print "Simple click event" evbox = gtk.EventBox() evbox.connect("button-release-event",on_evbox_clicked) evbox_acc = evbox.get_accessible() evbox_acc.set_name("test event box") window = gtk.Window() window.add(evbox) window.connect("delete-event",gtk.main_quit) window_acc = window.get_accessible() window_acc.set_name("test window") window_acc.set_role(atk.ROLE_WINDOW) window.show_all() gtk.main() # end of eventbox.py -------------------------------------------- from dogtail.utils import run from dogtail import tree from os import environ,path,remove app=tree.root.application('eventbox.py') evbox=app.child("test event box") print evbox.actions # actions are showing up as an empty dict. :( ---------------------------------- So for some vague reason the eventbox has no actions associated with it. Does anyone have a clue why this is so? Thank you, Jayanth -------------- next part -------------- An HTML attachment was scrubbed... URL: From shivraj.ms at gmail.com Wed Jul 29 09:28:42 2009 From: shivraj.ms at gmail.com (Shivaraj M S) Date: Wed, 29 Jul 2009 12:58:42 +0530 Subject: [BangPypers] Any python metaclasses for UID Message-ID: <2c1c314c0907290028n12ea3c3fxd7ab0af31ef1adc4@mail.gmail.com> A small typo there super(UID,self).Wind(7) *is* super(ClassI,self).Wind(7) Well google's is doing definitely a strong attempt here. I guess it's metaprogramming than metaclassing. Class GoogleOS(OS): def __init__(self): self.official.languages = ['c++','java','python'] self.name = 'Chrome' def os(self,Browser(Webapps)): self.aim.compatibility = Gates().Wind(7).os.compatibility + Mac().os.compatibility self.patches = "tobe decided" where Gates is extended by Boost for seamless interoperability. I haven't got any more ideas on this. Well about the "useful" part of the search I think Data Snooping Bias should be avoidedl. -- Regards _______________ Shivaraj -------------- next part -------------- An HTML attachment was scrubbed... URL: From rmathews at gmail.com Wed Jul 29 10:01:48 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Wed, 29 Jul 2009 13:31:48 +0530 Subject: [BangPypers] Any python metaclasses for UID In-Reply-To: <2c1c314c0907290028n12ea3c3fxd7ab0af31ef1adc4@mail.gmail.com> References: <2c1c314c0907290028n12ea3c3fxd7ab0af31ef1adc4@mail.gmail.com> Message-ID: <1c4dc2780907290101r6f2dd4dey82a759527bd9c95a@mail.gmail.com> On Wed, Jul 29, 2009 at 12:58 PM, Shivaraj M S wrote: > A small typo there Where? > super(UID,self).Wind(7) ?is super(ClassI,self).Wind(7) > Well google's is doing definitely a strong attempt here. I guess it's > metaprogramming than metaclassing. "here"? "it's"? What are you talking about? > Class GoogleOS(OS): *C*lass? > ? ? ? ? ?def __init__(self): > ? ? ? ? ? ? ? ?self.official.languages = ['c++','java','python'] > ? ? ? ? ? ? ? ?self.name = 'Chrome' > ?? ? ? ? def os(self,Browser(Webapps)): > ? ? ? ? ? ? ? ?self.aim.compatibility = Gates().Wind(7).os.compatibility + > Mac().os.compatibility > ? ? ? ? ? ? ? ?self.patches = "tobe decided" > where Gates is extended by Boost for seamless interoperability. > I haven't got any more ideas on this. > Well about the "useful" part of the search I think Data Snooping Bias should > be avoidedl. > Again, what are you talking about? Roshan From rajeev.sebastian at gmail.com Wed Jul 29 13:49:32 2009 From: rajeev.sebastian at gmail.com (Rajeev J Sebastian) Date: Wed, 29 Jul 2009 17:19:32 +0530 Subject: [BangPypers] Any python metaclasses for UID In-Reply-To: <2c1c314c0907290028n12ea3c3fxd7ab0af31ef1adc4@mail.gmail.com> References: <2c1c314c0907290028n12ea3c3fxd7ab0af31ef1adc4@mail.gmail.com> Message-ID: <79a035420907290449k5e37f99fx2e7d028ac8d32b95@mail.gmail.com> On Wed, Jul 29, 2009 at 12:58 PM, Shivaraj M S wrote: > A small typo there > super(UID,self).Wind(7) ?is super(ClassI,self).Wind(7) > Well google's is doing definitely a strong attempt here. I guess it's > metaprogramming than metaclassing. > Class GoogleOS(OS): > ? ? ? ? ?def __init__(self): > ? ? ? ? ? ? ? ?self.official.languages = ['c++','java','python'] > ? ? ? ? ? ? ? ?self.name = 'Chrome' > ?? ? ? ? def os(self,Browser(Webapps)): > ? ? ? ? ? ? ? ?self.aim.compatibility = Gates().Wind(7).os.compatibility + > Mac().os.compatibility > ? ? ? ? ? ? ? ?self.patches = "tobe decided" > where Gates is extended by Boost for seamless interoperability. > I haven't got any more ideas on this. > Well about the "useful" part of the search I think Data Snooping Bias should > be avoidedl. I have a good feeling that Shivaraj is a spambot :P Regards Rajeev j Sebastian From nagappan at gmail.com Wed Jul 29 14:27:37 2009 From: nagappan at gmail.com (Nagappan Alagappan) Date: Wed, 29 Jul 2009 05:27:37 -0700 Subject: [BangPypers] Using dogtail to test/automate gtk apps In-Reply-To: <5ead360a0907290007i429b15dat618ab62522d4612@mail.gmail.com> References: <5ead360a0907290007i429b15dat618ab62522d4612@mail.gmail.com> Message-ID: <9d0602eb0907290527g7ff7bf7cne2b81ecae445a309@mail.gmail.com> Hello Jayanth, Did you get a chance to try the same with LDTP [1] ? Its being used by GNOME automation project [2], Ubuntu, VMware, Palm Source. [1] - http://ldtp.freedesktop.org [2] - http://mago.ubuntu.com Thanks Nagappan On Wed, Jul 29, 2009 at 12:07 AM, Srijayanth Sridhar wrote: > Hello, > > I am trying to use dogtail to make a demonstration about automating tests > for certain gtk applications we develop. I managed to get a fair bit of it > working but I am having a hard time getting dogtail to send events to > certain types of widgets, primarily the EventBox widget. > > I've googled and not found anything significant. Has anyone worked on this? > I am pasting some code. > > # This program draws a simple window with an event box in it. The > # eventbox is attached to the on_evbox_clicked() function and prints > # a simple message upon being clicked. > > import pygtk > pygtk.require('2.0') > import atk > import gtk > > def on_evbox_clicked(evbox,event): > print "Simple click event" > > evbox = gtk.EventBox() > evbox.connect("button-release-event",on_evbox_clicked) > evbox_acc = evbox.get_accessible() > evbox_acc.set_name("test event box") > window = gtk.Window() > window.add(evbox) > window.connect("delete-event",gtk.main_quit) > window_acc = window.get_accessible() > window_acc.set_name("test window") > window_acc.set_role(atk.ROLE_WINDOW) > window.show_all() > gtk.main() > > # end of eventbox.py > > -------------------------------------------- > > from dogtail.utils import run > from dogtail import tree > from os import environ,path,remove > > app=tree.root.application('eventbox.py') > evbox=app.child("test event box") > print evbox.actions > > # actions are showing up as an empty dict. :( > > ---------------------------------- > > So for some vague reason the eventbox has no actions associated with it. > > Does anyone have a clue why this is so? > > Thank you, > > Jayanth > > > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org http://nagappanal.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From srijayanth at gmail.com Wed Jul 29 14:55:45 2009 From: srijayanth at gmail.com (Srijayanth Sridhar) Date: Wed, 29 Jul 2009 18:25:45 +0530 Subject: [BangPypers] Using dogtail to test/automate gtk apps In-Reply-To: <9d0602eb0907290527g7ff7bf7cne2b81ecae445a309@mail.gmail.com> References: <5ead360a0907290007i429b15dat618ab62522d4612@mail.gmail.com> <9d0602eb0907290527g7ff7bf7cne2b81ecae445a309@mail.gmail.com> Message-ID: <5ead360a0907290555o5a8a5ee8hf37af86efd3c225f@mail.gmail.com> Hello all, For some vague reason the click() function isn't defined on certain types of Node objects, I have no clue why, I haven't looked at the code in detail, but I took the Node.click() method, rewrote it as a standalone function and passed the eventbox into it and it works. So I think this might actually be a bug at some level, or a really strange feature. Nagappan, thanks for LDTP. I'll take a look at that one as well. Thank you, Jayanth On Wed, Jul 29, 2009 at 5:57 PM, Nagappan Alagappan wrote: > Hello Jayanth, > > Did you get a chance to try the same with LDTP [1] ? Its being used by > GNOME automation project [2], Ubuntu, VMware, Palm Source. > > [1] - http://ldtp.freedesktop.org > [2] - http://mago.ubuntu.com > > Thanks > Nagappan > > On Wed, Jul 29, 2009 at 12:07 AM, Srijayanth Sridhar > wrote: > >> Hello, >> >> I am trying to use dogtail to make a demonstration about automating tests >> for certain gtk applications we develop. I managed to get a fair bit of it >> working but I am having a hard time getting dogtail to send events to >> certain types of widgets, primarily the EventBox widget. >> >> I've googled and not found anything significant. Has anyone worked on >> this? I am pasting some code. >> >> # This program draws a simple window with an event box in it. The >> # eventbox is attached to the on_evbox_clicked() function and prints >> # a simple message upon being clicked. >> >> import pygtk >> pygtk.require('2.0') >> import atk >> import gtk >> >> def on_evbox_clicked(evbox,event): >> print "Simple click event" >> >> evbox = gtk.EventBox() >> evbox.connect("button-release-event",on_evbox_clicked) >> evbox_acc = evbox.get_accessible() >> evbox_acc.set_name("test event box") >> window = gtk.Window() >> window.add(evbox) >> window.connect("delete-event",gtk.main_quit) >> window_acc = window.get_accessible() >> window_acc.set_name("test window") >> window_acc.set_role(atk.ROLE_WINDOW) >> window.show_all() >> gtk.main() >> >> # end of eventbox.py >> >> -------------------------------------------- >> >> from dogtail.utils import run >> from dogtail import tree >> from os import environ,path,remove >> >> app=tree.root.application('eventbox.py') >> evbox=app.child("test event box") >> print evbox.actions >> >> # actions are showing up as an empty dict. :( >> >> ---------------------------------- >> >> So for some vague reason the eventbox has no actions associated with it. >> >> Does anyone have a clue why this is so? >> >> Thank you, >> >> Jayanth >> >> >> >> >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> >> > > > -- > Linux Desktop (GUI Application) Testing Project - > http://ldtp.freedesktop.org > http://nagappanal.blogspot.com > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sibtey.mehndi at genpact.com Wed Jul 29 15:00:48 2009 From: sibtey.mehndi at genpact.com (Mehndi, Sibtey) Date: Wed, 29 Jul 2009 18:30:48 +0530 Subject: [BangPypers] how to embed the python interpreter into web App Message-ID: <1A343A98C8DAE44A8D9D1BF310F90D5E023D5590@GCPWINGGN2EVS11.IND.CORP.AD> Hi All I am trying to embed the python interpreter in to a web page but could not get the way, any one can suggest me how to do this. Thanks, Sibtey Mehdi This e-mail (and any attachments), is confidential and may be privileged. It may be read, copied and used only by intended recipients. Unauthorized access to this e-mail (or attachments) and disclosure or copying of its contents or any action taken in reliance on it is unlawful. Unintended recipients must notify the sender immediately by e-mail/phone & delete it from their system without making any copies or disclosing it to a third person. -------------- next part -------------- An HTML attachment was scrubbed... URL: From madhav.bnk at gmail.com Wed Jul 29 15:04:32 2009 From: madhav.bnk at gmail.com (B.Nanda Kishore) Date: Wed, 29 Jul 2009 18:34:32 +0530 Subject: [BangPypers] how to embed the python interpreter into web App In-Reply-To: <1A343A98C8DAE44A8D9D1BF310F90D5E023D5590@GCPWINGGN2EVS11.IND.CORP.AD> References: <1A343A98C8DAE44A8D9D1BF310F90D5E023D5590@GCPWINGGN2EVS11.IND.CORP.AD> Message-ID: <26030bef0907290604g22cab80bn618c6a04442dbdb@mail.gmail.com> You mean like this? http://shell.appspot.com/ Regards, Nandakishore On Wed, Jul 29, 2009 at 6:30 PM, Mehndi, Sibtey wrote: > Hi All > > I am trying to embed the python interpreter in to a web page > but could not get the way, any one can suggest me how to do this. > > > > Thanks, > > Sibtey Mehdi > > > > This e-mail (and any attachments), is confidential and may be privileged. It may be read, copied and used only > by intended recipients. Unauthorized access to this e-mail (or attachments) and disclosure or copying of its > contents or any action taken in reliance on it is unlawful. Unintended recipients must notify the sender immediately > by e-mail/phone & delete it from their system without making any copies or disclosing it to a third person. > > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sibtey.mehndi at genpact.com Wed Jul 29 15:07:29 2009 From: sibtey.mehndi at genpact.com (Mehndi, Sibtey) Date: Wed, 29 Jul 2009 06:07:29 -0700 Subject: [BangPypers] how to embed the python interpreter into web App In-Reply-To: <26030bef0907290604g22cab80bn618c6a04442dbdb@mail.gmail.com> References: <1A343A98C8DAE44A8D9D1BF310F90D5E023D5590@GCPWINGGN2EVS11.IND.CORP.AD> <26030bef0907290604g22cab80bn618c6a04442dbdb@mail.gmail.com> Message-ID: <1A343A98C8DAE44A8D9D1BF310F90D5E023D55B0@GCPWINGGN2EVS11.IND.CORP.AD> Yes, I need exactly the same functionality ________________________________ From: bangpypers-bounces+sibtey.mehndi=genpact.com at python.org [mailto:bangpypers-bounces+sibtey.mehndi=genpact.com at python.org] On Behalf Of B.Nanda Kishore Sent: Wednesday, July 29, 2009 6:35 PM To: Bangalore Python Users Group - India Subject: Re: [BangPypers] how to embed the python interpreter into web App You mean like this? http://shell.appspot.com/ Regards, Nandakishore On Wed, Jul 29, 2009 at 6:30 PM, Mehndi, Sibtey > wrote: Hi All I am trying to embed the python interpreter in to a web page but could not get the way, any one can suggest me how to do this. Thanks, Sibtey Mehdi This e-mail (and any attachments), is confidential and may be privileged. It may be read, copied and used only by intended recipients. Unauthorized access to this e-mail (or attachments) and disclosure or copying of its contents or any action taken in reliance on it is unlawful. Unintended recipients must notify the sender immediately by e-mail/phone & delete it from their system without making any copies or disclosing it to a third person. _______________________________________________ BangPypers mailing list BangPypers at python.org http://mail.python.org/mailman/listinfo/bangpypers This e-mail (and any attachments), is confidential and may be privileged. It may be read, copied and used only by intended recipients. Unauthorized access to this e-mail (or attachments) and disclosure or copying of its contents or any action taken in reliance on it is unlawful. Unintended recipients must notify the sender immediately by e-mail/phone & delete it from their system without making any copies or disclosing it to a third person. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pradeep at btbytes.com Wed Jul 29 15:34:11 2009 From: pradeep at btbytes.com (Pradeep Gowda) Date: Wed, 29 Jul 2009 09:34:11 -0400 Subject: [BangPypers] how to embed the python interpreter into web App In-Reply-To: <1A343A98C8DAE44A8D9D1BF310F90D5E023D5590@GCPWINGGN2EVS11.IND.CORP.AD> References: <1A343A98C8DAE44A8D9D1BF310F90D5E023D5590@GCPWINGGN2EVS11.IND.CORP.AD> Message-ID: <3e3294b70907290634w44e36e5bye9c7c887515b7a55@mail.gmail.com> > ??????????? I am trying to embed the python interpreter in to a web page but > could not get the way, any one can suggest me how to do this. http://werkzeug.pocoo.org/documentation/0.5.1/debug.html From sibtey.mehndi at genpact.com Wed Jul 29 14:16:38 2009 From: sibtey.mehndi at genpact.com (Mehndi, Sibtey) Date: Wed, 29 Jul 2009 05:16:38 -0700 Subject: [BangPypers] how to embed the python interpreter into web App Message-ID: <1A343A98C8DAE44A8D9D1BF310F90D5E023D54A0@GCPWINGGN2EVS11.IND.CORP.AD> Hi All I am trying to embed the python interpreter in to a web page but could not get the way, any one can suggest me how to do this. Thanks, Sibtey Mehdi This e-mail (and any attachments), is confidential and may be privileged. It may be read, copied and used only by intended recipients. Unauthorized access to this e-mail (or attachments) and disclosure or copying of its contents or any action taken in reliance on it is unlawful. Unintended recipients must notify the sender immediately by e-mail/phone & delete it from their system without making any copies or disclosing it to a third person. -------------- next part -------------- An HTML attachment was scrubbed... URL: From madhav.bnk at gmail.com Wed Jul 29 16:13:50 2009 From: madhav.bnk at gmail.com (B.Nanda Kishore) Date: Wed, 29 Jul 2009 19:43:50 +0530 Subject: [BangPypers] how to embed the python interpreter into web App In-Reply-To: <1A343A98C8DAE44A8D9D1BF310F90D5E023D54A0@GCPWINGGN2EVS11.IND.CORP.AD> References: <1A343A98C8DAE44A8D9D1BF310F90D5E023D54A0@GCPWINGGN2EVS11.IND.CORP.AD> Message-ID: <26030bef0907290713m1e3f0dc1o2b7694aa8019870d@mail.gmail.com> You have got a source link there on that page. check it. shell.appspot.com Regards, Nandakishore On Wed, Jul 29, 2009 at 5:46 PM, Mehndi, Sibtey wrote: > Hi All > > I am trying to embed the python interpreter in to a web page > but could not get the way, any one can suggest me how to do this. > > > > Thanks, > > Sibtey Mehdi > > This e-mail (and any attachments), is confidential and may be privileged. It may be read, copied and used only > by intended recipients. Unauthorized access to this e-mail (or attachments) and disclosure or copying of its > contents or any action taken in reliance on it is unlawful. Unintended recipients must notify the sender immediately > by e-mail/phone & delete it from their system without making any copies or disclosing it to a third person. > > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From noufal at gmail.com Wed Jul 29 18:47:29 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Wed, 29 Jul 2009 22:17:29 +0530 Subject: [BangPypers] Any python metaclasses for UID In-Reply-To: <2c1c314c0907290028n12ea3c3fxd7ab0af31ef1adc4@mail.gmail.com> References: <2c1c314c0907290028n12ea3c3fxd7ab0af31ef1adc4@mail.gmail.com> Message-ID: <9963e56e0907290947l585ba11av6f4a06108d02a800@mail.gmail.com> On Wed, Jul 29, 2009 at 12:58 PM, Shivaraj M S wrote: > A small typo there But an important one. > super(UID,self).Wind(7) ?is super(ClassI,self).Wind(7) > Well google's is doing definitely a strong attempt here. I guess it's > metaprogramming than metaclassing. Nonsense. It's simple method dispatching. > Class GoogleOS(OS): > ? ? ? ? ?def __init__(self): > ? ? ? ? ? ? ? ?self.official.languages = ['c++','java','python'] > ? ? ? ? ? ? ? ?self.name = 'Chrome' > ?? ? ? ? def os(self,Browser(Webapps)): > ? ? ? ? ? ? ? ?self.aim.compatibility = Gates().Wind(7).os.compatibility + > Mac().os.compatibility > ? ? ? ? ? ? ? ?self.patches = "tobe decided" > where Gates is extended by Boost for seamless interoperability. Not really. You're reinstantiating Boost using the Gates provider which won't work in this context. > I haven't got any more ideas on this. Why don't you try to converting Gates to a factory? That might help you out rather than the one way UIDs. > Well about the "useful" part of the search I think Data Snooping Bias should > be avoidedl. Don't knock it till you've tried it. I'm sure you'll get far with that query. Also try "frobnicating the bogosphere". -- ~noufal http://nibrahim.net.in From rmathews at gmail.com Wed Jul 29 18:50:02 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Wed, 29 Jul 2009 22:20:02 +0530 Subject: [BangPypers] Any python metaclasses for UID In-Reply-To: <9963e56e0907290947l585ba11av6f4a06108d02a800@mail.gmail.com> References: <2c1c314c0907290028n12ea3c3fxd7ab0af31ef1adc4@mail.gmail.com> <9963e56e0907290947l585ba11av6f4a06108d02a800@mail.gmail.com> Message-ID: <1c4dc2780907290950g3ebf6c33lf295d7bf751ad331@mail.gmail.com> I think I just fell down the rabbit hole. On Wed, Jul 29, 2009 at 10:17 PM, Noufal Ibrahim wrote: > On Wed, Jul 29, 2009 at 12:58 PM, Shivaraj M S wrote: >> A small typo there > > But an important one. > >> super(UID,self).Wind(7) ?is super(ClassI,self).Wind(7) >> Well google's is doing definitely a strong attempt here. I guess it's >> metaprogramming than metaclassing. > > Nonsense. It's simple method dispatching. > >> Class GoogleOS(OS): >> ? ? ? ? ?def __init__(self): >> ? ? ? ? ? ? ? ?self.official.languages = ['c++','java','python'] >> ? ? ? ? ? ? ? ?self.name = 'Chrome' >> ?? ? ? ? def os(self,Browser(Webapps)): >> ? ? ? ? ? ? ? ?self.aim.compatibility = Gates().Wind(7).os.compatibility + >> Mac().os.compatibility >> ? ? ? ? ? ? ? ?self.patches = "tobe decided" >> where Gates is extended by Boost for seamless interoperability. > > Not really. You're reinstantiating Boost using the Gates provider > which won't work in this context. > >> I haven't got any more ideas on this. > > Why don't you try to converting Gates to a factory? That might help > you out rather than the one way UIDs. > >> Well about the "useful" part of the search I think Data Snooping Bias should >> be avoidedl. > > Don't knock it till you've tried it. I'm sure you'll get far with that > query. Also try "frobnicating the bogosphere". > From noufal at gmail.com Wed Jul 29 19:56:17 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Wed, 29 Jul 2009 23:26:17 +0530 Subject: [BangPypers] Any python metaclasses for UID In-Reply-To: <1c4dc2780907290950g3ebf6c33lf295d7bf751ad331@mail.gmail.com> References: <2c1c314c0907290028n12ea3c3fxd7ab0af31ef1adc4@mail.gmail.com> <9963e56e0907290947l585ba11av6f4a06108d02a800@mail.gmail.com> <1c4dc2780907290950g3ebf6c33lf295d7bf751ad331@mail.gmail.com> Message-ID: <9963e56e0907291056r63faabaq2ee7edf07444db51@mail.gmail.com> On Wed, Jul 29, 2009 at 10:20 PM, Roshan Mathews wrote: > I think I just fell down the rabbit hole. > The time has come the Walrus said to speak of many things! -- ~noufal http://nibrahim.net.in From gora at srijan.in Wed Jul 29 20:10:24 2009 From: gora at srijan.in (Gora Mohanty) Date: Wed, 29 Jul 2009 23:40:24 +0530 Subject: [BangPypers] Any python metaclasses for UID In-Reply-To: <9963e56e0907291056r63faabaq2ee7edf07444db51@mail.gmail.com> References: <2c1c314c0907290028n12ea3c3fxd7ab0af31ef1adc4@mail.gmail.com> <9963e56e0907290947l585ba11av6f4a06108d02a800@mail.gmail.com> <1c4dc2780907290950g3ebf6c33lf295d7bf751ad331@mail.gmail.com> <9963e56e0907291056r63faabaq2ee7edf07444db51@mail.gmail.com> Message-ID: <20090729234024.5fcc00c8@anubis> On Wed, 29 Jul 2009 23:26:17 +0530 Noufal Ibrahim wrote: > On Wed, Jul 29, 2009 at 10:20 PM, Roshan > Mathews wrote: > > I think I just fell down the rabbit hole. > > > > The time has come the Walrus said to speak of many things! Of atoms, and stars, and nebulae, Of entropy, and genes! Regards, Gora From b.ghose at gmail.com Wed Jul 29 22:13:23 2009 From: b.ghose at gmail.com (Baishampayan Ghose) Date: Thu, 30 Jul 2009 01:43:23 +0530 Subject: [BangPypers] Any python metaclasses for UID In-Reply-To: <1c4dc2780907290950g3ebf6c33lf295d7bf751ad331@mail.gmail.com> References: <2c1c314c0907290028n12ea3c3fxd7ab0af31ef1adc4@mail.gmail.com> <9963e56e0907290947l585ba11av6f4a06108d02a800@mail.gmail.com> <1c4dc2780907290950g3ebf6c33lf295d7bf751ad331@mail.gmail.com> Message-ID: > I think I just fell down the rabbit hole. I think BangPypers just got its own John Harrop. Regards, BG -- Baishampayan Ghose b.ghose at gmail.com From nagappan at gmail.com Thu Jul 30 03:23:16 2009 From: nagappan at gmail.com (Nagappan Alagappan) Date: Wed, 29 Jul 2009 18:23:16 -0700 Subject: [BangPypers] Using dogtail to test/automate gtk apps In-Reply-To: <5ead360a0907290555o5a8a5ee8hf37af86efd3c225f@mail.gmail.com> References: <5ead360a0907290007i429b15dat618ab62522d4612@mail.gmail.com> <9d0602eb0907290527g7ff7bf7cne2b81ecae445a309@mail.gmail.com> <5ead360a0907290555o5a8a5ee8hf37af86efd3c225f@mail.gmail.com> Message-ID: <9d0602eb0907291823j71a72f11h7a6286af047f67fe@mail.gmail.com> Hello Jayanth, If you are using latest distribution, you can see all the accessible information through Accerciser application. Thanks Nagappan On Wed, Jul 29, 2009 at 5:55 AM, Srijayanth Sridhar wrote: > Hello all, > > For some vague reason the click() function isn't defined on certain types > of Node objects, I have no clue why, I haven't looked at the code in detail, > but I took the Node.click() method, rewrote it as a standalone function and > passed the eventbox into it and it works. So I think this might actually be > a bug at some level, or a really strange feature. > > Nagappan, thanks for LDTP. I'll take a look at that one as well. > > Thank you, > > Jayanth > > > On Wed, Jul 29, 2009 at 5:57 PM, Nagappan Alagappan wrote: > >> Hello Jayanth, >> >> Did you get a chance to try the same with LDTP [1] ? Its being used by >> GNOME automation project [2], Ubuntu, VMware, Palm Source. >> >> [1] - http://ldtp.freedesktop.org >> [2] - http://mago.ubuntu.com >> >> Thanks >> Nagappan >> >> On Wed, Jul 29, 2009 at 12:07 AM, Srijayanth Sridhar < >> srijayanth at gmail.com> wrote: >> >>> Hello, >>> >>> I am trying to use dogtail to make a demonstration about automating tests >>> for certain gtk applications we develop. I managed to get a fair bit of it >>> working but I am having a hard time getting dogtail to send events to >>> certain types of widgets, primarily the EventBox widget. >>> >>> I've googled and not found anything significant. Has anyone worked on >>> this? I am pasting some code. >>> >>> # This program draws a simple window with an event box in it. The >>> # eventbox is attached to the on_evbox_clicked() function and prints >>> # a simple message upon being clicked. >>> >>> import pygtk >>> pygtk.require('2.0') >>> import atk >>> import gtk >>> >>> def on_evbox_clicked(evbox,event): >>> print "Simple click event" >>> >>> evbox = gtk.EventBox() >>> evbox.connect("button-release-event",on_evbox_clicked) >>> evbox_acc = evbox.get_accessible() >>> evbox_acc.set_name("test event box") >>> window = gtk.Window() >>> window.add(evbox) >>> window.connect("delete-event",gtk.main_quit) >>> window_acc = window.get_accessible() >>> window_acc.set_name("test window") >>> window_acc.set_role(atk.ROLE_WINDOW) >>> window.show_all() >>> gtk.main() >>> >>> # end of eventbox.py >>> >>> -------------------------------------------- >>> >>> from dogtail.utils import run >>> from dogtail import tree >>> from os import environ,path,remove >>> >>> app=tree.root.application('eventbox.py') >>> evbox=app.child("test event box") >>> print evbox.actions >>> >>> # actions are showing up as an empty dict. :( >>> >>> ---------------------------------- >>> >>> So for some vague reason the eventbox has no actions associated with it. >>> >>> Does anyone have a clue why this is so? >>> >>> Thank you, >>> >>> Jayanth >>> >>> >>> >>> >>> _______________________________________________ >>> BangPypers mailing list >>> BangPypers at python.org >>> http://mail.python.org/mailman/listinfo/bangpypers >>> >>> >> >> >> -- >> Linux Desktop (GUI Application) Testing Project - >> http://ldtp.freedesktop.org >> http://nagappanal.blogspot.com >> >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> >> > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org http://nagappanal.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From srijayanth at gmail.com Thu Jul 30 03:28:15 2009 From: srijayanth at gmail.com (Srijayanth Sridhar) Date: Thu, 30 Jul 2009 06:58:15 +0530 Subject: [BangPypers] Using dogtail to test/automate gtk apps In-Reply-To: <9d0602eb0907291823j71a72f11h7a6286af047f67fe@mail.gmail.com> References: <5ead360a0907290007i429b15dat618ab62522d4612@mail.gmail.com> <9d0602eb0907290527g7ff7bf7cne2b81ecae445a309@mail.gmail.com> <5ead360a0907290555o5a8a5ee8hf37af86efd3c225f@mail.gmail.com> <9d0602eb0907291823j71a72f11h7a6286af047f67fe@mail.gmail.com> Message-ID: <5ead360a0907291828u124b2eecn1927355f76a90b75@mail.gmail.com> Thanks Nagappan. I use sniff and seems to work well enough so far. I got dogtail to work but their documentation isn't funky. Mago looks interesting btw. I see you are on both the LDTP and Mago projects. Mago looks particularly interesting. When does it come out? Jayanth On Thu, Jul 30, 2009 at 6:53 AM, Nagappan Alagappan wrote: > Hello Jayanth, > > If you are using latest distribution, you can see all the accessible > information through Accerciser application. > > Thanks > Nagappan > > > On Wed, Jul 29, 2009 at 5:55 AM, Srijayanth Sridhar wrote: > >> Hello all, >> >> For some vague reason the click() function isn't defined on certain types >> of Node objects, I have no clue why, I haven't looked at the code in detail, >> but I took the Node.click() method, rewrote it as a standalone function and >> passed the eventbox into it and it works. So I think this might actually be >> a bug at some level, or a really strange feature. >> >> Nagappan, thanks for LDTP. I'll take a look at that one as well. >> >> Thank you, >> >> Jayanth >> >> >> On Wed, Jul 29, 2009 at 5:57 PM, Nagappan Alagappan wrote: >> >>> Hello Jayanth, >>> >>> Did you get a chance to try the same with LDTP [1] ? Its being used by >>> GNOME automation project [2], Ubuntu, VMware, Palm Source. >>> >>> [1] - http://ldtp.freedesktop.org >>> [2] - http://mago.ubuntu.com >>> >>> Thanks >>> Nagappan >>> >>> On Wed, Jul 29, 2009 at 12:07 AM, Srijayanth Sridhar < >>> srijayanth at gmail.com> wrote: >>> >>>> Hello, >>>> >>>> I am trying to use dogtail to make a demonstration about automating >>>> tests for certain gtk applications we develop. I managed to get a fair bit >>>> of it working but I am having a hard time getting dogtail to send events to >>>> certain types of widgets, primarily the EventBox widget. >>>> >>>> I've googled and not found anything significant. Has anyone worked on >>>> this? I am pasting some code. >>>> >>>> # This program draws a simple window with an event box in it. The >>>> # eventbox is attached to the on_evbox_clicked() function and prints >>>> # a simple message upon being clicked. >>>> >>>> import pygtk >>>> pygtk.require('2.0') >>>> import atk >>>> import gtk >>>> >>>> def on_evbox_clicked(evbox,event): >>>> print "Simple click event" >>>> >>>> evbox = gtk.EventBox() >>>> evbox.connect("button-release-event",on_evbox_clicked) >>>> evbox_acc = evbox.get_accessible() >>>> evbox_acc.set_name("test event box") >>>> window = gtk.Window() >>>> window.add(evbox) >>>> window.connect("delete-event",gtk.main_quit) >>>> window_acc = window.get_accessible() >>>> window_acc.set_name("test window") >>>> window_acc.set_role(atk.ROLE_WINDOW) >>>> window.show_all() >>>> gtk.main() >>>> >>>> # end of eventbox.py >>>> >>>> -------------------------------------------- >>>> >>>> from dogtail.utils import run >>>> from dogtail import tree >>>> from os import environ,path,remove >>>> >>>> app=tree.root.application('eventbox.py') >>>> evbox=app.child("test event box") >>>> print evbox.actions >>>> >>>> # actions are showing up as an empty dict. :( >>>> >>>> ---------------------------------- >>>> >>>> So for some vague reason the eventbox has no actions associated with it. >>>> >>>> Does anyone have a clue why this is so? >>>> >>>> Thank you, >>>> >>>> Jayanth >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> BangPypers mailing list >>>> BangPypers at python.org >>>> http://mail.python.org/mailman/listinfo/bangpypers >>>> >>>> >>> >>> >>> -- >>> Linux Desktop (GUI Application) Testing Project - >>> http://ldtp.freedesktop.org >>> http://nagappanal.blogspot.com >>> >>> _______________________________________________ >>> BangPypers mailing list >>> BangPypers at python.org >>> http://mail.python.org/mailman/listinfo/bangpypers >>> >>> >> >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> >> > > > -- > Linux Desktop (GUI Application) Testing Project - > http://ldtp.freedesktop.org > http://nagappanal.blogspot.com > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rmathews at gmail.com Thu Jul 30 04:48:29 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Thu, 30 Jul 2009 08:18:29 +0530 Subject: [BangPypers] Any python metaclasses for UID In-Reply-To: References: <2c1c314c0907290028n12ea3c3fxd7ab0af31ef1adc4@mail.gmail.com> <9963e56e0907290947l585ba11av6f4a06108d02a800@mail.gmail.com> <1c4dc2780907290950g3ebf6c33lf295d7bf751ad331@mail.gmail.com> Message-ID: <1c4dc2780907291948m1ffa8ea0oaad628d909b9d808@mail.gmail.com> On Thu, Jul 30, 2009 at 1:43 AM, Baishampayan Ghose wrote: >> I think I just fell down the rabbit hole. > > I think BangPypers just got its own John Harrop. > Jon, I think you mean (although there is a John Harrop in the Clojure community), in which case I'm guessing you're trying hard to say I'm trolling (like the JH in comp.lang.lisp) ... except I wasn't, I just wanted context. Something which Noufal seemed to pull out of thin air. Roshan From b.ghose at gmail.com Thu Jul 30 06:01:40 2009 From: b.ghose at gmail.com (Baishampayan Ghose) Date: Thu, 30 Jul 2009 09:31:40 +0530 Subject: [BangPypers] Any python metaclasses for UID In-Reply-To: <1c4dc2780907291948m1ffa8ea0oaad628d909b9d808@mail.gmail.com> References: <2c1c314c0907290028n12ea3c3fxd7ab0af31ef1adc4@mail.gmail.com> <9963e56e0907290947l585ba11av6f4a06108d02a800@mail.gmail.com> <1c4dc2780907290950g3ebf6c33lf295d7bf751ad331@mail.gmail.com> <1c4dc2780907291948m1ffa8ea0oaad628d909b9d808@mail.gmail.com> Message-ID: I didn't call _you_ Jo[h]n Harrop, man :) I called the OP a troll because his question is pretty much meaningless and is causing unnecessary irritation. May be it was because of the way I quoted the mail. Sorry for the confusion :-p Regards, BG On 7/30/09, Roshan Mathews wrote: > On Thu, Jul 30, 2009 at 1:43 AM, Baishampayan Ghose > wrote: >>> I think I just fell down the rabbit hole. >> >> I think BangPypers just got its own John Harrop. >> > Jon, I think you mean (although there is a John Harrop in the Clojure > community), in which case I'm guessing you're trying hard to say I'm > trolling (like the JH in comp.lang.lisp) ... except I wasn't, I just > wanted context. Something which Noufal seemed to pull out of thin > air. > > Roshan > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Sent from my mobile device Baishampayan Ghose b.ghose at gmail.com From lawgon at au-kbc.org Thu Jul 30 06:05:19 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Thu, 30 Jul 2009 09:35:19 +0530 Subject: [BangPypers] Any python metaclasses for UID In-Reply-To: References: <2c1c314c0907290028n12ea3c3fxd7ab0af31ef1adc4@mail.gmail.com> <1c4dc2780907291948m1ffa8ea0oaad628d909b9d808@mail.gmail.com> Message-ID: <200907300935.19718.lawgon@au-kbc.org> On Thursday 30 Jul 2009 9:31:40 am Baishampayan Ghose wrote: > May be it was because of the way I quoted the mail. Sorry for the confusion > :-p top posting almost invariably causes confusion - an excellent way of making sure no one knows what you are talking about -- regards Kenneth Gonsalves Associate NRC-FOSS http://nrcfosshelpline.in/web/ From rmathews at gmail.com Thu Jul 30 06:13:04 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Thu, 30 Jul 2009 09:43:04 +0530 Subject: [BangPypers] Any python metaclasses for UID In-Reply-To: References: <2c1c314c0907290028n12ea3c3fxd7ab0af31ef1adc4@mail.gmail.com> <9963e56e0907290947l585ba11av6f4a06108d02a800@mail.gmail.com> <1c4dc2780907290950g3ebf6c33lf295d7bf751ad331@mail.gmail.com> <1c4dc2780907291948m1ffa8ea0oaad628d909b9d808@mail.gmail.com> Message-ID: <1c4dc2780907292113w2983a906rcfed75866136e6d1@mail.gmail.com> On Thu, Jul 30, 2009 at 9:31 AM, Baishampayan Ghose wrote: > I didn't call _you_ Jo[h]n Harrop, man :) I called the OP a troll > because his question is pretty much meaningless and is causing > unnecessary irritation. > > May be it was because of the way I quoted the mail. Sorry for the confusion :-p > Ah, no biggie. Like KG says, I shouldn't have top posted. :) Roshan From b.ghose at gmail.com Thu Jul 30 06:16:15 2009 From: b.ghose at gmail.com (Baishampayan Ghose) Date: Thu, 30 Jul 2009 09:46:15 +0530 Subject: [BangPypers] Any python metaclasses for UID In-Reply-To: <200907300935.19718.lawgon@au-kbc.org> References: <2c1c314c0907290028n12ea3c3fxd7ab0af31ef1adc4@mail.gmail.com> <1c4dc2780907291948m1ffa8ea0oaad628d909b9d808@mail.gmail.com> <200907300935.19718.lawgon@au-kbc.org> Message-ID: >> May be it was because of the way I quoted the mail. Sorry for the confusion >> :-p > > top posting almost invariably causes confusion - an excellent way of making > sure no one knows what you are talking about Hehe :) I for one merely wanted to add to Roshan's sentiment by drawing an analogy with the usual way in which Jon Harrop traumatises different mailing lists. Regards, BG -- Baishampayan Ghose b.ghose at gmail.com From noufal at gmail.com Thu Jul 30 08:07:44 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Thu, 30 Jul 2009 11:37:44 +0530 Subject: [BangPypers] Any python metaclasses for UID In-Reply-To: <1c4dc2780907291948m1ffa8ea0oaad628d909b9d808@mail.gmail.com> References: <2c1c314c0907290028n12ea3c3fxd7ab0af31ef1adc4@mail.gmail.com> <9963e56e0907290947l585ba11av6f4a06108d02a800@mail.gmail.com> <1c4dc2780907290950g3ebf6c33lf295d7bf751ad331@mail.gmail.com> <1c4dc2780907291948m1ffa8ea0oaad628d909b9d808@mail.gmail.com> Message-ID: <9963e56e0907292307l4dd5fc42qe568cd66428030c5@mail.gmail.com> On Thu, Jul 30, 2009 at 8:18 AM, Roshan Mathews wrote: [..] air. Someone had to do it. -- ~noufal http://nibrahim.net.in From nagappan at gmail.com Fri Jul 31 04:54:26 2009 From: nagappan at gmail.com (Nagappan Alagappan) Date: Thu, 30 Jul 2009 19:54:26 -0700 Subject: [BangPypers] Using dogtail to test/automate gtk apps In-Reply-To: <5ead360a0907291828u124b2eecn1927355f76a90b75@mail.gmail.com> References: <5ead360a0907290007i429b15dat618ab62522d4612@mail.gmail.com> <9d0602eb0907290527g7ff7bf7cne2b81ecae445a309@mail.gmail.com> <5ead360a0907290555o5a8a5ee8hf37af86efd3c225f@mail.gmail.com> <9d0602eb0907291823j71a72f11h7a6286af047f67fe@mail.gmail.com> <5ead360a0907291828u124b2eecn1927355f76a90b75@mail.gmail.com> Message-ID: <9d0602eb0907301954k96894cchcf99c9ddb68d6561@mail.gmail.com> Hi Jayanth, On Wed, Jul 29, 2009 at 6:28 PM, Srijayanth Sridhar wrote: > Thanks Nagappan. > > I use sniff and seems to work well enough so far. I got dogtail to work but > their documentation isn't funky. > > Mago looks interesting btw. I see you are on both the LDTP and Mago > projects. Mago looks particularly interesting. When does it come out? I'm author of LDTP :) and so I'm there. Mago project uses LDTP and so, I got involved over there ! Its an ongoing effort. So, I doubt there will be any release for it. Mago is targeted mainly for GNOME and soon KDE in upstream and distribution level. Thanks Nagappan > > > Jayanth > > On Thu, Jul 30, 2009 at 6:53 AM, Nagappan Alagappan wrote: > >> Hello Jayanth, >> >> If you are using latest distribution, you can see all the accessible >> information through Accerciser application. >> >> Thanks >> Nagappan >> >> >> On Wed, Jul 29, 2009 at 5:55 AM, Srijayanth Sridhar > > wrote: >> >>> Hello all, >>> >>> For some vague reason the click() function isn't defined on certain types >>> of Node objects, I have no clue why, I haven't looked at the code in detail, >>> but I took the Node.click() method, rewrote it as a standalone function and >>> passed the eventbox into it and it works. So I think this might actually be >>> a bug at some level, or a really strange feature. >>> >>> Nagappan, thanks for LDTP. I'll take a look at that one as well. >>> >>> Thank you, >>> >>> Jayanth >>> >>> >>> On Wed, Jul 29, 2009 at 5:57 PM, Nagappan Alagappan wrote: >>> >>>> Hello Jayanth, >>>> >>>> Did you get a chance to try the same with LDTP [1] ? Its being used by >>>> GNOME automation project [2], Ubuntu, VMware, Palm Source. >>>> >>>> [1] - http://ldtp.freedesktop.org >>>> [2] - http://mago.ubuntu.com >>>> >>>> Thanks >>>> Nagappan >>>> >>>> On Wed, Jul 29, 2009 at 12:07 AM, Srijayanth Sridhar < >>>> srijayanth at gmail.com> wrote: >>>> >>>>> Hello, >>>>> >>>>> I am trying to use dogtail to make a demonstration about automating >>>>> tests for certain gtk applications we develop. I managed to get a fair bit >>>>> of it working but I am having a hard time getting dogtail to send events to >>>>> certain types of widgets, primarily the EventBox widget. >>>>> >>>>> I've googled and not found anything significant. Has anyone worked on >>>>> this? I am pasting some code. >>>>> >>>>> # This program draws a simple window with an event box in it. The >>>>> # eventbox is attached to the on_evbox_clicked() function and prints >>>>> # a simple message upon being clicked. >>>>> >>>>> import pygtk >>>>> pygtk.require('2.0') >>>>> import atk >>>>> import gtk >>>>> >>>>> def on_evbox_clicked(evbox,event): >>>>> print "Simple click event" >>>>> >>>>> evbox = gtk.EventBox() >>>>> evbox.connect("button-release-event",on_evbox_clicked) >>>>> evbox_acc = evbox.get_accessible() >>>>> evbox_acc.set_name("test event box") >>>>> window = gtk.Window() >>>>> window.add(evbox) >>>>> window.connect("delete-event",gtk.main_quit) >>>>> window_acc = window.get_accessible() >>>>> window_acc.set_name("test window") >>>>> window_acc.set_role(atk.ROLE_WINDOW) >>>>> window.show_all() >>>>> gtk.main() >>>>> >>>>> # end of eventbox.py >>>>> >>>>> -------------------------------------------- >>>>> >>>>> from dogtail.utils import run >>>>> from dogtail import tree >>>>> from os import environ,path,remove >>>>> >>>>> app=tree.root.application('eventbox.py') >>>>> evbox=app.child("test event box") >>>>> print evbox.actions >>>>> >>>>> # actions are showing up as an empty dict. :( >>>>> >>>>> ---------------------------------- >>>>> >>>>> So for some vague reason the eventbox has no actions associated with >>>>> it. >>>>> >>>>> Does anyone have a clue why this is so? >>>>> >>>>> Thank you, >>>>> >>>>> Jayanth >>>>> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> BangPypers mailing list >>>>> BangPypers at python.org >>>>> http://mail.python.org/mailman/listinfo/bangpypers >>>>> >>>>> >>>> >>>> >>>> -- >>>> Linux Desktop (GUI Application) Testing Project - >>>> http://ldtp.freedesktop.org >>>> http://nagappanal.blogspot.com >>>> >>>> _______________________________________________ >>>> BangPypers mailing list >>>> BangPypers at python.org >>>> http://mail.python.org/mailman/listinfo/bangpypers >>>> >>>> >>> >>> _______________________________________________ >>> BangPypers mailing list >>> BangPypers at python.org >>> http://mail.python.org/mailman/listinfo/bangpypers >>> >>> >> >> >> -- >> Linux Desktop (GUI Application) Testing Project - >> http://ldtp.freedesktop.org >> http://nagappanal.blogspot.com >> >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> >> > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org http://nagappanal.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From shivraj.ms at gmail.com Fri Jul 31 07:19:14 2009 From: shivraj.ms at gmail.com (Shivaraj M S) Date: Fri, 31 Jul 2009 10:49:14 +0530 Subject: [BangPypers] Any python metaclasses for UID Message-ID: <2c1c314c0907302219l2108ae67q9873c4a834eb39d8@mail.gmail.com> One more typo Of Inheritances and diamonds,* * Mac().os.compatibility *"is" Mac(FreeBSD,Mach).os.compatibility * * * * * *quote(nouful): Why don't you try converting Gates to a factory* * * Well, the factories is what implements Gates since Gates is closed as is Winds often seen cracked before opening err ... called release. The unique thing is the closure is a recursive one applied to all that is derived . They use singular tense "is" .* * class IFactory(): def register(self, release, *locks, **patches): _args = [release] _args.extend(locks).extend(patches) _args.expected.location.crack = laws.us.break['malay']['crackresearch'] setattr(self, random_algo_word_length_key) self.is_closed = true def unregister(self,hackers): delattr(self, blame) This provides the indirection needed. Not intended to confuse anyone but invariably it gets :-) And on a ending note , wishing class BDFL ,the best for a polarising year ahead. -- Regards _______________ Shivaraj -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgudapati_2000 at yahoo.com Thu Jul 30 09:02:02 2009 From: sgudapati_2000 at yahoo.com (sesh_spike) Date: Thu, 30 Jul 2009 00:02:02 -0700 (PDT) Subject: [BangPypers] Python people required: Message-ID: <24733159.post@talk.nabble.com> HI We need python with Unix/linux people who has strong systems skills and python skills inculding shell programming.This is very urgent requirement.pl get back to me if any one is intrested. -- View this message in context: http://www.nabble.com/Python-people-required%3A-tp24733159p24733159.html Sent from the BangPypers - Bangalore Python Users Group mailing list archive at Nabble.com. From noufal at gmail.com Fri Jul 31 08:16:44 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Fri, 31 Jul 2009 11:46:44 +0530 Subject: [BangPypers] Python people required: In-Reply-To: <24733159.post@talk.nabble.com> References: <24733159.post@talk.nabble.com> Message-ID: <9963e56e0907302316j55346c73qf86507ae5306c50f@mail.gmail.com> On Thu, Jul 30, 2009 at 12:32 PM, sesh_spike wrote: > > HI > We need python with Unix/linux people who has strong systems skills and > python skills inculding shell programming.This is very urgent requirement.pl > get back to me if any one is intrested. For which company is this? -- ~noufal http://nibrahim.net.in