Re: [BangPypers] Object Oriented Programming in python

2013-10-20 Thread s|s
On Fri, Oct 18, 2013 at 11:31 AM, Dhananjay Nene wrote: > On Tue, Oct 15, 2013 at 4:44 PM, s|s wrote: > > 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, p

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
en fetch the record > using 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 > -- Su

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-17 Thread s|s
+1 Selenium with xvfb is your best bet. On Wed, Sep 18, 2013 at 11:29 AM, Gora Mohanty wrote: > On 17 September 2013 02:24, Amit Sethi wrote: > > Hi , > > > > I am looking to add some functional testing to my application. I have > seen > > a couple of tools via google search but the reason I a

Re: [BangPypers] [Announce] Online Python workshop

2013-09-15 Thread s|s
On Sat, Sep 14, 2013 at 10:51 PM, Noufal Ibrahim wrote: > > 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, Great effor

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 stor

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 map(E

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 >wrote: > > > Sequoia Capital is organizin

Re: [BangPypers] Django porting app to multiple databases

2012-03-02 Thread s|s
question why has django started to look for a new > database suddenly. > > > > > > Thanks > Amit > > -- > A-M-I-T S|S > ___ > BangPypers mailing list > BangPypers@python.org > http://mail.python.org/mailman/li

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 wrote: > 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

Re: [BangPypers] Yahoo BOSS Mashup Framework and Python 2.7

2011-12-09 Thread s|s
I wrote a simple library interface to Yahoo BOSS. You could give it a try. I have found it to be simpler compared to their framework. It is available at https://github.com/djinn/boss . Do tell me if you find any problems using it. -- Supreet Sethi Ph IN: +919811143517 Ph Skype: d_j_i_n_n Profil

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 wrote

Re: [BangPypers] webmail server

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

Re: [BangPypers] Interesting library

2011-10-11 Thread s|s
Great starting point for writing a remote app installer. On Tue, Oct 11, 2011 at 5:06 PM, Ashutosh Narayan wrote: > Hi, > > Came across this interesting library for sys-ad stuffs. > > http://docs.fabfile.org/en/1.2.2/index.html > > > -- > Ashutosh Narayan > > http://ashutoshn.wordpress.com | Twit

Re: [BangPypers] Looking for Guest Speaker on Python and NLTK

2011-10-11 Thread s|s
I would have loved to conduct the session. Unfortunately, I am in Delhi and also I am conducting a session on databases on 22nd. I am sending some important links in this context. http://pypi.python.org/pypi/Fuzzy http://pypi.python.org/pypi/python-Levenshtein/ http://www.nltk.org/ http://streamh

[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 the

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 framewo

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: +447859172473

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 wha

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. Just

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-27 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 refere

Re: [BangPypers] [ Help ] extracting SOAP version from server

2008-03-30 Thread s|s
On Mon, Mar 17, 2008 at 6:37 PM, Senthil <[EMAIL PROTECTED]> wrote: > Hi , > > i am using SOAPpy package for some client side work. > > I would like to knew the method exists, if any for extracting the versioin > of SOAP from the server using python or the SOAPpy package. > I don't know directly i

Re: [BangPypers] Soap with Python 2.5

2007-12-19 Thread s|s
Soaplib from optio supports client and server. Most interesting feature of soaplib is its ability to generate soap calls out of normal functions and decorators. It also produces appropriate WSDL. On client side its weak because it cannot out generate code from WSDL but work is being done towards th