Re: [BangPypers] Object Oriented Programming in python

2013-10-20 Thread s|s
On Fri, Oct 18, 2013 at 11:31 AM, Dhananjay Nene dhananjay.n...@gmail.comwrote: On Tue, Oct 15, 2013 at 4:44 PM, s|s supr.e.etse...@gmail.com wrote: Hi Pranav, I would pose a counter question regarding object oriented programming. How did you learn OOP concepts? I am assuming like most

Re: [BangPypers] Object Oriented Programming in python

2013-10-17 Thread s|s
Hi Pranav, I would pose a counter question regarding object oriented programming. How did you learn OOP concepts? I am assuming like most of us, probably through a C++ or Java course. These courses ingrain a certain expectation of what OOP should look like. Which to me seems to be a dis-service

Re: [BangPypers] Getting a random record from Database . The best strategy.

2013-10-04 Thread s|s
the tools I am using. Thanks Amit -- A-M-I-T S|S ___ BangPypers mailing list BangPypers@python.org https://mail.python.org/mailman/listinfo/bangpypers -- Supreet Sethi Ph UK: +447859172473 Ph IN: +919811143517 Ph Skype: d_j_i_n_n Profile: http

Re: [BangPypers] Pyladies Bangalore in Times of India

2013-09-23 Thread s|s
Learning thing or two about news flows, I would say its not diluted or distorted, it falls into a template. Like some respectable occidental reporter gets off on a port in Africa an announces I would like talk to a women who has been raped and can speak English. News has already been written and

Re: [BangPypers] Functional testing wih headless browser framework

2013-09-18 Thread s|s
+1 Selenium with xvfb is your best bet. On Wed, Sep 18, 2013 at 11:29 AM, Gora Mohanty g...@mimirtech.com wrote: On 17 September 2013 02:24, Amit Sethi amit.pureene...@gmail.com wrote: Hi , I am looking to add some functional testing to my application. I have seen a couple of tools

Re: [BangPypers] [Announce] Online Python workshop

2013-09-15 Thread s|s
On Sat, Sep 14, 2013 at 10:51 PM, Noufal Ibrahim nou...@nibrahim.net.inwrote: I just wrapped this up earlier today and have the course notes and IRC transcript at http://thelycaeum.in/online-workshops/python-14-Sep-2013/python-14-sep-2013.html Comments welcome. Thanks! Thanks Noufal,

Re: [BangPypers] Favorite tips/techniques

2013-09-11 Thread s|s
This use case where one needs to keep related values together as logical group: Properties, getattr, setattr are quite interesting option but I prefer collections.namedtuple Example EmployeeRecord = namedtuple('EmployeeRecord', 'name, age, title, department, paygrade') import csvfor emp in

Re: [BangPypers] Favorite tips/techniques

2013-09-11 Thread s|s
There are times when the project requires a large blob of data which needs to be loaded with the python code. A general practice is to use pickle and json object which is opened using file functions etc. I tend to convert this kind of data (depending on size) into python file using pprint and

Re: [BangPypers] Hackathon organized by Sequoia Capital

2013-08-29 Thread s|s
Sorry for that On Thu, Aug 29, 2013 at 3:29 PM, kracekumar ramaraju kracethekingma...@gmail.com wrote: This is off-topic to the list. Please use [OFF-TOPIC] or [Commercial] tag in the subject. On Thu, Aug 29, 2013 at 3:25 PM, Supreet Sethi supreet.se...@gmail.com wrote: Sequoia

Re: [BangPypers] Django porting app to multiple databases

2012-03-02 Thread s|s
the back to 1.1 and it works like a charm ... Interesting while I have given defination of one more database in my settings ... I am not actually using it anywhere as yet... So essentially my question why has django started to look for a new database suddenly. Thanks Amit -- A-M-I-T S

Re: [BangPypers] something similar to file command for python

2012-02-29 Thread s|s
The filename is included in the header. On Wed, Feb 29, 2012 at 5:20 PM, Amit Sethi amit.pureene...@gmail.comwrote: python-magic works like a charm ... However I am still curious as to how other mail servers and clients deducing the name of the original file. Thanks Amit -- A-M-I-T S|S

Re: [BangPypers] Read barcode input

2011-10-13 Thread s|s
I possible way is for barcode scanner to put the barcode into he browser field which has focus. Frankly there is no right answer. Chances are you will end up with browser specific solution. Like Noufal said before, Django has not part to play. On Thu, Oct 13, 2011 at 3:47 PM, Noufal Ibrahim

Re: [BangPypers] webmail server

2011-10-12 Thread s|s
Looks great On Wed, Oct 12, 2011 at 6:01 PM, Baishampayan Ghose b.gh...@gmail.com wrote: Lamson - http://lamsonproject.org/ Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org

[BangPypers] [JOB] Python developer required in Pune with web development experience

2011-01-12 Thread s|s
Hello, A startup in stealth mode is engaged in development of web application in education domain. It is looking for a Python developer with knowledge of processes of web development. The developer should have medium to expert level knowledge of databases, templates, html, and at-least one of

Re: [BangPypers] Indian Python Software Society

2010-06-20 Thread s|s
I went through the aims of the society. Although, I can see, as primarily a Python language society, it intends to promote use of python in schools and universities and informal streams. I would have still preferred a slightly wider definition some what including open source paradigm in it.

Re: [BangPypers] Indian Python Software Society

2010-06-20 Thread s|s
Understandably you are taking a sceptical point of view of FOSS can be mutually exclusive from Python as a discourse or as a language. Interestingly I am taking a more pragmatist point that Python may not fulfill all the requirements of a language user in all situations. In those marginal cases

Re: [BangPypers] Indian Python Software Society

2010-06-20 Thread s|s
For any community with long term vision, it was my humble suggestion to keep it slightly open in its targeted goals especially related to education. Secondly having cross-talk with different communities is not pleasant coincidence but an absolute requirement. -- Supreet Sethi Ph UK:

Re: [BangPypers] Indian Python Software Society

2010-06-20 Thread s|s
Python only forms part of rubrik of technology stack that everyone of us uses. Linux, Windows, S60, MacOSX mostly form the underlying operating system. Bunch of libraries form another bit important piece. C/Java/.net form another piece of the puzzle by providing module interfaces. There are

Re: [BangPypers] [OT] Tools for writing books and publishing as pdfs

2010-03-25 Thread s|s
I second Anand on sphinx. Although collaborative effort could be done better with Google docs. -- Supreet Sethi Ph UK: +447859172473 Ph IN: +919811143517 Ph Skype: d_j_i_n_n Profile: http://www.google.com/profiles/supreet.sethi Twt: http://twitter.com/djinn

Re: [BangPypers] Tray Popup

2008-05-28 Thread s|s
You can look at fbhog. Here http://code.google.com/p/fbhog/source/browse/trunk/trayicon.py regards s On Wed, May 21, 2008 at 5:34 PM, soorjith p [EMAIL PROTECTED] wrote: Hi,,, Anyone know how to create tray popup in pygtk? Pls let me know/ Regards Soorjith P

Re: [BangPypers] Expressing meta-data about classes, methods, variables, parameters in python

2008-04-02 Thread s|s
On Wed, Apr 2, 2008 at 3:04 PM, Heshan Suriyaarachchi [EMAIL PROTECTED] wrote: Hi Is there a mechanism to express meta-data about classes, methods, variables and parameters in python ( like annotations in java)? I will be thankful if anyone can point me to a sample code or a web reference.