Re: [BangPypers] Role-Based Access Control

2015-09-17 Thread Senthil Kumaran
On Thu, Sep 17, 2015 at 3:38 AM, Anand Chitipothu wrote: > If you have any suggestions, please let me know. If the organization uses ldap, then using a ldap based access control is possible using libraries which are not tied to any web-framework. http://www.python-ldap.org/doc/html/ldap.html __

Re: [BangPypers] BangPypers completes 10 years

2015-08-13 Thread Senthil Kumaran
joined early, feel old. It's been a long run and group has been managed well. Cheers! Senthil ___ BangPypers mailing list BangPypers@python.org https://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] help needed

2015-08-06 Thread Senthil Kumaran
glish and then translate it in python. That's a good first step. If you want easier projects, you could start with tic-tac-toe. Ask here if you need specific help as you write the code. -- Senthil ___ BangPypers mailing list BangPypers@py

Re: [BangPypers] [X-Post] ERPNext Conference 2015

2015-07-24 Thread Senthil Kumaran
On Thu, Jul 23, 2015 at 12:13 PM, Pratik Vyas wrote: > > Thank you for the explanation. Please do include such an explanation > > in future postings. > > > > Yup, I missed that. Will be careful in future. Yeah, it is impressive: https://github.com/frappe/erpnext With a name like Frappé, I tho

Re: [BangPypers] Fwd: Need a help on reviewing a python code. Message-ID:

2015-07-17 Thread Senthil Kumaran
That said, everything else looks good to me and code was pythonic too. I believe, you used some tools like pep8, flake8 to do automatic style fixes. Thank you, Senthil On Fri, Jul 17, 2015 at 3:55 AM, Ramesh Rajagopal wrote: > With regards to the below thread-id, I have posted my code

Re: [BangPypers] Fwd: Need a help on reviewing a python code.

2015-07-16 Thread Senthil Kumaran
thought, we could help with the idiomaticity of the code, if provided and be helpful to the learner. -- Senthil ___ BangPypers mailing list BangPypers@python.org https://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Fwd: Need a help on reviewing a python code.

2015-07-16 Thread Senthil Kumaran
Agree with Anuvrat. Paste your code in https://gist.github.com/ or upload it github/bitcket and share it again. I will help with the review. Thanks, Senthil On Thu, Jul 16, 2015 at 3:40 AM, Anuvrat Parashar wrote: > 1. alignment.tar.gs is missing. > 2. please consider hosting the c

Re: [BangPypers] How to iterate through columns in Model

2015-07-16 Thread Senthil Kumaran
umn Client Id has value Test_Client_Id > Look at the attributes / methods of Obj. Does it have something like .values() ? Check the help of your ORM to find out. then, it will be similar to what you have done. for column in Obj.values(): if column.help_text is not None: print c

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

2015-01-02 Thread Senthil Kumaran
d any basic problems with it. It seems to be stable technology for us, but of course there are some database experts who spend their day time entirely on it. Thanks, Senthil ___ BangPypers mailing list BangPypers@python.org https://mail.python.org/mailm

Re: [BangPypers] Python conversion from .py to .exe

2015-01-02 Thread Senthil Kumaran
l, you design your application with one entry point and point that entry point in the setup.py If you have multiple entry points, then it is considered as multiple applications you will create exes for each of them. HTH, Senthil -- Senthil Kumaran

Re: [BangPypers] Does Python have lexical scoping?

2014-11-09 Thread Senthil Kumaran
On Sun, Nov 9, 2014 at 1:14 AM, Noufal Ibrahim KV wrote: > How is lexical scoping with a mutable environment different from dynamic > scoping? > I think you should post this in python-dev and you might get answers with rigorous definitions. Here is my short snippet which shows a behavior which

Re: [BangPypers] Python is still greek to india's top IT firms

2014-09-24 Thread Senthil Kumaran
On Thu, Sep 25, 2014 at 5:19 AM, Saager Mhatre wrote: > Not to sound overly disparaging, but that argument reeks of survivorship > bias, or at least confirmation bias.What about all the shops looking for > python devs but not finding any good ones; you know, like the ones that > aren't connected

Re: [BangPypers] Python is still greek to india's top IT firms

2014-09-24 Thread Senthil Kumaran
On Thu, Sep 25, 2014 at 5:09 AM, Saager Mhatre wrote: > Some would beg to differ http://tek.io/1yjHw0U > Companies are polyglot from a long time. This talk about developers and some of their grudges :) And author is choosing to overlook technologies like Apache thrift and Protobuf technologies

Re: [BangPypers] Fwd: Issue with basemap import

2014-09-24 Thread Senthil Kumaran
On Wed, Sep 24, 2014 at 12:12 PM, narayan naik wrote: > hi,anybody help me to learn python.I am beginer Sure. But you have ask the question first. If you want start learning, then look for Swaroop's book - A Byte of Python and it is a good start. ___

Re: [BangPypers] New to Python

2014-09-23 Thread Senthil Kumaran
On Tue, Sep 23, 2014 at 7:15 PM, Kazim Abbas wrote: > But how can i start a project in Django, > Please let me know > Start with this book called Two scoops of Django, which is a recent entrant and geared towards beginners. Then you can look at the official Django docs. --

Re: [BangPypers] Fwd: Issue with basemap import

2014-09-23 Thread Senthil Kumaran
How did you install your base package? The matplotlib? Are you using any distribution? If you installed it separately., then looks like you will have to install basecamp using the matplotlib toolkits ( http://sourceforge.net/projects/matplotlib/files/matplotlib-toolkits/) too. If you are using a pr

Re: [BangPypers] Best books for python

2014-09-21 Thread Senthil Kumaran
cts using Python, possibly involving yourself with other senior python developers. Those are the limited resources available atm. -- Senthil ___ BangPypers mailing list BangPypers@python.org https://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Return values

2014-09-20 Thread Senthil Kumaran
On Sat, Sep 20, 2014 at 5:04 PM, Noufal Ibrahim KV wrote: > This has a > parameter `consolidate`. If consolidate is True, it will combine all the > statistics and return just one Stats object. If not, it will return a > list of Stats objects. > > The problem now is that this function sometimes re

Re: [BangPypers] Python is still greek to india's top IT firms

2014-09-17 Thread Senthil Kumaran
Python does not have the push that Java and .Net has from the corporate world. Java and .Net/C# has strong ecosystem of tools too. And surprisingly PHP in open source world got a good adoption by being at the right time for a specific solution. So, in India we see PHP, Java and .Net as primary pla

Re: [BangPypers] "The Python I would like to see" - Armin Ronacher

2014-08-19 Thread Senthil Kumaran
od too. The problem usually lies in out of control dependencies and environment and sometimes we tend to prefer a static binary. -- Senthil Kumaran ___ BangPypers mailing list BangPypers@python.org https://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Django using syncdb does not work

2014-06-04 Thread Senthil
Gora, Sorry I could not reply in short time; I will post the error when I work on this.Appreciate your help there. Thx. SSK. On Tuesday, 3 June 2014 9:14 AM, Senthil wrote: Gora, Thanks for the prompt response. Sorry that I mentioned syncdb to create models from database instead of

Re: [BangPypers] what is python frameworks

2014-06-03 Thread Senthil Kumaran
), which is designed with extensibility and easy of use in mind. Hope this answers your question and you will be able to crack your interview question!. :) Cheers, Senthil -- Senthil Kumaran Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Sunday, June 1, 2014 at 11:58 PM, Sharanu

Re: [BangPypers] Restart when python script hangs

2014-06-02 Thread Senthil Kumaran
Good spotting. I was surprised too. $ python code.py Traceback (most recent call last): File "a3.py", line 6, in signal.signal(signal.SIGTSTP, signal_handler) NameError: name 'signal_handler' is not defined -- Senthil Kumaran Sent with Sparrow (http://www.spa

Re: [BangPypers] Restart when python script hangs

2014-06-02 Thread Senthil
Sateesh, I have a question. In your sample code you are registering the method signal_handler prior to its definition. Does that work? --SSK. On Monday, 2 June 2014 6:57 PM, Sateesh Kumar wrote: On Mon, Jun 2, 2014 at 3:14 PM, Rahul Gopan wrote: > Hello, > > When I run a python scri

Re: [BangPypers] Django using syncdb does not work

2014-06-02 Thread Senthil
, Gora Mohanty wrote: On 3 June 2014 08:48, Senthil wrote: > Hi All, > > I am in process of writing an application. > While designing models, I have the database tables created first and tried > using syncdb to create the models. > When i try to access the models from view I

[BangPypers] Django using syncdb does not work

2014-06-02 Thread Senthil
Hi All, I am in process of writing an application. While designing models, I have the database tables created first and tried using syncdb to create the models. When i try to access the models from view I get error. Upon searching in google, I found that only after designing models, the database

Re: [BangPypers] Who do I contact in regards to PyCon India sponsorship?

2014-05-16 Thread Senthil Kumaran
http://in.pycon.org/2014/ I looked at it and found Call for Sponsors Earn some brownie points by sponsoring PyCon! Here is the Sponsorship Prospectus . Need more information? *cont...@in.pycon.org * On Fri, May 16, 2014 at 3:35 PM, Daniel

Re: [BangPypers] https://github.com/pythonhacker/ladies.py

2013-09-07 Thread Senthil Kumaran
, language, learning and than others. First three guarantee me to be neutral on any topic. I hope, others in this list have that in that order too. So, sorry, I am bowing out of this discussion and I hope others would too. Thank you, Senthil On Sat, Sep 7, 2013 at 9:56 AM, Annapoornima Koppad wrote

Re: [BangPypers] back button issues with session handling in flask

2013-09-07 Thread Senthil Kumaran
handle that? Personally, I do now know the a web app we keep any track of browser states. The idea could be use of URLs and working with the session object based on the URL you are at in terms of webapp. -- Senthil ___ BangPypers mailing list BangPypers@pyth

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

2013-03-26 Thread Senthil Kumaran
, Senthil On Mon, Mar 25, 2013 at 7:22 AM, Anand Chitipothu wrote: > Hello everyone! > > I have written an interactive learning book for Python at > http://pythonmonk.com/learning/books/17. > > I would love it if you could go through the lessons and give feedback. This > is an alpha

Re: [BangPypers] Wake Up guys!

2012-12-24 Thread Senthil Kumaran
And the subject of your email is not helpful. I get grumpy if you wake me up in midst of my activity. :-) Welcome to the group! ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

[BangPypers] Fwd: Configuring web2py to run on apache with Centos5.8

2012-08-12 Thread Senthil Kumaran
I was going through my old emails and found this. This was perhaps the last email Kenneth interacted with us all. - Senthil -- Forwarded message -- From: Kenneth Gonsalves Date: Wed, Jul 25, 2012 at 4:21 AM Subject: Re: [BangPypers] Configuring web2py to run on apache with

Re: [BangPypers] How to fetch a file from url

2012-08-11 Thread Senthil Kumaran
Use the redirected URL directly ( if you trust it) with the Basic or Digest Auth support with urllib2. Redirecting with authentication is not a correct thing to do on the Server Part. urllib2 will not send the post headers in such cases. HTH, Senthil On Fri, Aug 10, 2012 at 11:19 PM, Nitin

Re: [BangPypers] Kenneth Gonsalvas a short bio

2012-08-06 Thread Senthil
I wish i could have known him more!! I pray the almighty for his family to overcome his loss! -Senthilkumaran Sundaramurthi. From: JAGANADH G To: ILUG-C ; chenna...@googlegroups.com; ilug...@googlegroups.com; Indian Python Software Society ; Bangalore Python

Re: [BangPypers] Sad demise of our dear KG (Keneth Gonsalvas)

2012-08-03 Thread Senthil Kumaran
Oh this is sad and unexpected :-( Will surely be missing him. He provided a unique shape to our community. Our prayers be with his family. -- Senthil On Fri, Aug 3, 2012 at 2:55 AM, JAGANADH G wrote: > Hi All, > > Just now I got a message that our dear KG (Kenneth Gonsalvas) pa

Re: [BangPypers] Configuring web2py to run on apache with Centos5.8

2012-07-26 Thread Senthil
: Wednesday, 25 July 2012 4:51 PM Subject: Re: [BangPypers] Configuring web2py to run on apache with Centos5.8 On Wed, 2012-07-25 at 16:10 +0530, Guruprasad wrote: > On Wed, Jul 25, 2012 at 3:55 PM, Senthil > wrote: > > Hi Kenneth, > > > > Really appreciate your help. I was a

Re: [BangPypers] Configuring web2py to run on apache with Centos5.8

2012-07-25 Thread Senthil
Hi Kenneth, Really appreciate your help. I was able to configure the web2py to run on apache successfully. Thanks to everyone for the support. Thanks again. Senthilkumaran Sundaramurthi. From: Kenneth Gonsalves To: Senthil Cc: bangpypers Sent: Tuesday

Re: [BangPypers] Configuring web2py to run on apache with Centos5.8

2012-07-20 Thread Senthil
Gora, After making those changes, am still facing the same issue. thanks. Senthilkumaran Sundaramurthi. From: Gora Mohanty To: Bangalore Python Users Group - India Sent: Friday, 20 July 2012 6:33 PM Subject: Re: [BangPypers] Configuring web2py to run on apa

Re: [BangPypers] Configuring web2py to run on apache with Centos5.8

2012-07-20 Thread Senthil
Hey Gora, Thanks for this piece of advice. Will try these out and will let you know. Senthilkumaran Sundaramurthi. From: Gora Mohanty To: Bangalore Python Users Group - India Sent: Friday, 20 July 2012 6:33 PM Subject: Re: [BangPypers] Configuring web2py to

Re: [BangPypers] Configuring web2py to run on apache with Centos5.8

2012-07-20 Thread Senthil
] [error] [client 10.16.14.254] (13)Permission denied: access to / denied [Fri Jul 20 18:02:39 2012] [error] [client 10.16.14.254] (13)Permission denied: access to / denied Thanks. Senthilkumaran Sundaramurthi. From: Kenneth Gonsalves To: Senthil Cc

Re: [BangPypers] Configuring web2py to run on apache with Centos5.8

2012-07-20 Thread Senthil
Hi Kenneth, I have changed the permissions to 755 and have disabled the selinux already Still no luck... Thanks. Senthilkumaran Sundaramurthi. From: Kenneth Gonsalves To: Senthil Cc: Bangalore Python Users Group - India Sent: Friday, 20 July 2012 4:14

Re: [BangPypers] Configuring web2py to run on apache with Centos5.8

2012-07-20 Thread Senthil
But i have already set that. The only difference is i have given all permissions to all, meaning chmod -R 777 /path_to_static/ Thanks. Senthilkumaran Sundaramurthi. From: Kenneth Gonsalves To: Senthil ; Bangalore Python Users Group - India Sent: Friday

[BangPypers] Configuring web2py to run on apache with Centos5.8

2012-07-19 Thread Senthil
Hi, I have setup web2py, mod_wsgi on a centos5.8 machine to run on apache. But i keep getting the 403 forbidden error. Am not sure what am doing wrong here . Pasting the file that i have included as additional conf, below. Please help me/ provide some pointers on the same\   ServerName web

Re: [BangPypers] Job list (was: [JOB] Aspirae Bangalore)

2012-07-02 Thread Senthil Kumaran
er, it does dilute the list a little. Sidu suggested a >>> separate bangalore-python-jobs (or something similar) list. >>> >>> What's the general opinion? >> >> -1 -1 I think, I can sense the group feeling and agree with it by saying -1. :D -- Senthil ___

Re: [BangPypers] Python/Perl Scripting resource

2012-05-25 Thread Senthil Kumaran
Hi Saager, On Fri, May 25, 2012 at 05:39:33PM +0530, Saager Mhatre wrote: > > Senthil Kumaran writes: > > > > Could someone just point the OP to the Posting guidelines for this list, > especially the ones around job postings? Yes, those are guidelines, not ru

Re: [BangPypers] Python/Perl Scripting resource

2012-05-24 Thread Senthil Kumaran
lled the "Human resource" department. Yeah!. That did not strike me at all! How interesting.. -- Senthil ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Python/Perl Scripting resource

2012-05-24 Thread Senthil Kumaran
Thanks Harpal. On Thu, May 24, 2012 at 11:50:18AM +, harpal.sin...@wipro.com wrote: > OK thanks. > > Thanks & Best Regards, > Harpal Singh > Mob: +91-81230-84445 > E-mail: harpal.sin...@wipro.com > > -Original Message- > From: Senthil Kumaran [mailto:

Re: [BangPypers] Python/Perl Scripting resource

2012-05-24 Thread Senthil Kumaran
Hello Harpal, When you said resource, I thought you were looking for a book. Looks like you are looking for a developer. May I suggest you use the proper terminology in emails? Thank you, Senthil On Wed, May 23, 2012 at 10:35:43AM +, harpal.sin...@wipro.com wrote: > Hello, > >

Re: [BangPypers] May Meetup

2012-05-21 Thread Senthil Kumaran
On Sun, May 20, 2012 at 11:06:12PM +0530, Baiju M wrote: > You can replace remote execution systems like Fabric & Capistrano with Salt. > Also you can replace configuration management systems like Puppet, > Chef & CFEngine. Wow! Just a pinch of "Salt" sounds i

[BangPypers] Fw: [Python-Dev] [RELEASED] Python 2.6.8, 2.7.3, 3.1.5, and 3.2.3

2012-04-12 Thread Senthil Kumaran
n.org/ > > Happy-to-put-hash-attack-issues-behind-them-ly yours, > The Python release team > Barry Warsaw (2.6), Georg Brandl (3.2), and Benjamin Peterson (2.7 and 3.1) > > [1] http://www.ocert.org/advisories/ocert-2011-003.html > [2] http://bugs.python.org/issue13703 > _

Re: [BangPypers] Help pyqt learning guide.

2012-03-30 Thread Senthil Kumaran
. You could share with the group once you have something to show! Thanks, Senthil On Fri, Mar 30, 2012 at 03:04:01PM +0530, Ganesh Kumar wrote: > Hi guys, > > I am new to pyqt. please suggest any good material to understand pyqt. > please guide me. > > -Ganesh. > Did I lear

Re: [BangPypers] JOB - Senior Web Developer - Talented Team!

2012-03-15 Thread Senthil Kumaran
On Fri, Mar 16, 2012 at 11:38:09AM +0530, Anand Balachandran Pillai wrote: > > Bad karma. I should set the return address for the group to the sender > perhaps :) > Now, that would result in bad karma not the previous email. :)

Re: [BangPypers] Https and http difference in behaviour urllib2

2012-03-03 Thread Senthil Kumaran
On Sat, Mar 03, 2012 at 09:41:57AM +0530, Baiju M wrote: > On Sat, Mar 3, 2012 at 9:32 AM, Senthil Kumaran wrote: > > On Wed, Feb 29, 2012 at 08:21:31PM +, Anand Chitipothu wrote: > [...snip...] > >> I disagree. People look for simplicity. > > > > Yes

Re: [BangPypers] Https and http difference in behaviour urllib2

2012-03-02 Thread Senthil Kumaran
On Wed, Feb 29, 2012 at 08:21:31PM +, Anand Chitipothu wrote: > 2012/2/29 Senthil Kumaran : > > On Tue, Feb 28, 2012 at 03:17:53PM +0530, Anand Balachandran Pillai wrote: > >> For any kind of client side HTTP coding, I suggest the new requests > >> library. >

Re: [BangPypers] Https and http difference in behaviour urllib2

2012-02-29 Thread Senthil Kumaran
are going to get > fixed soon. :-) It should be fixed soon. What I have realized is, people look for comforts than features. requests provides comfortable interfaces, building on top of urllib2. I think, those interfaces could find a way within the lib. Tha

Re: [BangPypers] Https and http difference in behaviour urllib2

2012-02-22 Thread Senthil Kumaran
On Wed, Feb 22, 2012 at 6:04 PM, Amit Sethi wrote: > When I pass encoded url using http it again encodes the parameters > whereas in case of https it does not urlencode again It should not happen this way. Both should behave the same for the url that you send.

Re: [BangPypers] Python private coach?

2012-02-08 Thread Senthil Kumaran
Hi Kenneth, On Wed, Feb 08, 2012 at 03:17:06PM +0530, Kenneth Gonsalves wrote: > I do private one-to-one coaching in python and django. I am based in Was the group response intentional? If so, appreciate that!. :-) Thanks, Senthil ___ BangPyp

Re: [BangPypers] turbogears to pyramid or django

2012-02-01 Thread Senthil Kumaran
Moving to Pyramid might be easier, because Pyramid is nothing but Pylons + TG + repoze.bfg etc. Pyramid is a unification and based upon some of the ealier framework. You could use sqlalchemy, controller and developmemnt.ini of your existing project out of box for Pyramid (but not for django). I am

Re: [BangPypers] checking return status of 'ping' in windows

2012-01-22 Thread Senthil Kumaran
non-english is a different beast altogether. If not, one should not find reasons to shy away from writing simple, useful and solving the purpose solutions. -- Senthil ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listi

Re: [BangPypers] checking return status of 'ping' in windows

2012-01-22 Thread Senthil Kumaran
lity for the next action that you wish to perform. HTH, Senthil ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Python 3 availability

2012-01-19 Thread Senthil Kumaran
It is currently available on Ubuntu, Fedora, Arch OS that I know off. You can install it using your OS package manager. -- Senthil On Thu, Jan 19, 2012 at 04:06:58PM +0530, Jins Thomas wrote: > Hi all, > > Would like to have some guesses on when Python 3 will be available with &

Re: [BangPypers] getpython3

2012-01-18 Thread Senthil Kumaran
ell between the cracks and never really took off. I see. That's pretty good and good that it is redirected to the active one now. thanks, Senthil ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] getpython3

2012-01-18 Thread Senthil Kumaran
it, I can give the domain and other details. > >> > >> May be you should just redirect getpython3.net to getpython3.com with a > >> 301. > > > > Done. > > Awesome! Cool. By the time I sent the draft email. -- Senthil ___

Re: [BangPypers] getpython3

2012-01-18 Thread Senthil Kumaran
and other details. > > May be you should just redirect getpython3.net to getpython3.com with a 301. Yeah. that would be good idea. I think the author of getpython3.comm could have contributed to original one, but yeah the purpose seems to be same. So,

[BangPypers] getpython3

2012-01-18 Thread Senthil Kumaran
Hi Baiju, Is getpython3.com the same site that you initiated here last year? Or has it gone any transformation? The content is ofcourse very interesting. -- Senthil ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman

Re: [BangPypers] Python ORM

2012-01-14 Thread Senthil Kumaran
On Sun, Jan 15, 2012 at 10:47:45AM +0530, kracekumar ramaraju wrote: > Yes. I started using SQLAlchemy, but need to spend some time other > than that I have no issue. I hope you enjoy spending time on it because, it is going to be fruitful at the end. Cheers, S

Re: [BangPypers] Python ORM

2012-01-14 Thread Senthil Kumaran
ave had no issues so far. May be you should do the same. Pick one and get going? -- Senthil ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Truth Tests (bool)

2012-01-13 Thread Senthil Kumaran
nto this a > little. Yeah, dict view or in general the concept of memoryview, but they do have len(). -- Senthil ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] I have solved some of the project euler problems in python

2012-01-13 Thread Senthil Kumaran
Very nice. I have found Euler' problems focusing on maths a lot. I could have only solve a couple of them, this thread kindles my interest to try more. :) Senthil On Thu, Jan 12, 2012 at 11:48:26PM +0530, Anand Balachandran Pillai wrote: > Hi Reddy, > > I had solved

Re: [BangPypers] Is there any relation between web2py and webpy

2012-01-11 Thread Senthil Kumaran
On Wed, Jan 11, 2012 at 08:43:07PM +0530, Gora Mohanty wrote: > > So is the distance between "Gora" and "Gori" (apply smileys > as needed). Wow! And I believe that would make a "dynamic programming" pair. (ditto) -- Senthil ___

Re: [BangPypers] Is there any relation between web2py and webpy

2012-01-11 Thread Senthil Kumaran
On Wed, Jan 11, 2012 at 06:34:14PM +0530, Anand Chitipothu wrote: > > No. Ok. It's good coincidence. -- Senthil ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Truth Tests (bool)

2012-01-11 Thread Senthil Kumaran
itively easier to remember in Python. -- Senthil ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Truth Tests (bool)

2012-01-11 Thread Senthil Kumaran
In practical cases for testing boolean in lists, just use the list as the test. Empty list is false. -- Senthil ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

[BangPypers] Is there any relation between web2py and webpy

2012-01-11 Thread Senthil Kumaran
Other than the fact that they are both web frameworks. Given their levenshtein distance being 1, I am really curious if there any social or historical relationship between then. -- Senthil ___ BangPypers mailing list BangPypers@python.org http

Re: [BangPypers] [X-POST] Selenium Simple Test

2012-01-11 Thread Senthil Kumaran
often when we have to determine the correct DOM for the elements in the path, anything browser based becomes more useful. -- Senthil ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Truth Tests (bool)

2012-01-10 Thread Senthil Kumaran
On Tue, Jan 10, 2012 at 10:55:58PM +0530, Gora Mohanty wrote: > To check if a list is empty, see if len( list ) is zero. I think, usually we just test the empty list for it's False-ness. Isn't it? -- Senthil ___ BangPypers mailing li

Re: [BangPypers] Truth Tests (bool)

2012-01-10 Thread Senthil Kumaran
They are called Python Logic Short Circuits. A good way to remember this is here http://uthcode.appspot.com/blog/2011/07/Python-Logic-short-circuits#comment-266357377 For your other question, an empty list is always fast. -- Senthil On Tue, Jan 10, 2012 at 10:28:43PM +0530, Ganesh Kumar

Re: [BangPypers] python framework for android

2012-01-09 Thread Senthil Kumaran
libraries. It is more for standard java (java SE) and I guess, similar arguments hold for android too and that is why a lot of projects are spawning trying to support jython on android. For mixing it pure java applications, Jython is fanastic. --

Re: [BangPypers] Alternate to XMLRPCServer

2012-01-06 Thread Senthil Kumaran
> On Fri, Jan 6, 2012 at 12:59 AM, Senthil wrote: > > I have an xmlRPC standalone server written wholly in python. Now am facing > > problems in scaling the services. The more we start adding features, the > > response gets slower. Is there any alternate server architectur

[BangPypers] Alternate to XMLRPCServer

2012-01-06 Thread Senthil
Hi All, I have an xmlRPC standalone server written wholly in python. Now am facing problems in scaling the services. The more we start adding features, the response gets slower. Is there any alternate server architectures i should start thinking of ? This server works on basis of threaded archi

Re: [BangPypers] python framework for android

2012-01-03 Thread Senthil Kumaran
On Wed, Jan 4, 2012 at 2:18 PM, Kenneth Gonsalves wrote: > > am looking at kivy right now Looks neat. I would like to try that one too. -- Senthil ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] python framework for android

2012-01-03 Thread Senthil Kumaran
using Android SDK itself. I have seen people going back to SDK after trying the scripting environment for a while. -- Senthil On Wed, Jan 4, 2012 at 2:07 PM, Kenneth Gonsalves wrote: > hi, > > can anyone recommend a python framework for android? > -- > regards >

Re: [BangPypers] colored o/p

2011-12-22 Thread Senthil Kumaran
> Nitin Kumar writes: > > > I am trying to format o/p (colored bold string) on console. say IDLE or > > python command prompt using python modules. urwid is a library which can handle those for you. Give a try! It is very close to what ncurses can be used

Re: [BangPypers] Python's stdin buffer size

2011-12-21 Thread Senthil Kumaran
ovided by Cpython, wherein you can give an argument to sys.stdin.buffer.read(20) which would read that many bytes. If you are not using 3.x, perhaps you may not care of about this. Senthil ___ BangPypers mailing list BangPypers@python.org http:

Re: [BangPypers] Selenium with python training

2011-11-22 Thread Senthil Kumaran
On Thu, Nov 17, 2011 at 12:43:27PM +0530, Kenneth Gonsalves wrote: > On Thu, 2011-11-17 at 15:07 +0800, Senthil Kumaran wrote: > > BTW, selenium is web functional testing, more like how user uses the > > web app. It provides hooks to variety of languages, python being one. > >

Re: [BangPypers] Selenium with python training

2011-11-16 Thread Senthil Kumaran
being one. Javascript knowledge would be more desirable for selenium than python. Thanks, Senthil On Thu, Nov 17, 2011 at 3:03 PM, Nirmal Kumar A S wrote: > Dear all, > Good morning. > > This is Nirmal from Aditi technologies, and looking after a training request > on Selenium with

Re: [BangPypers] seantis questionnaire - Django App

2011-11-14 Thread Senthil Kumaran
Right in this list, by asking. https://github.com/rmt/seantis-questionnaire/wiki :-) On Mon, Nov 14, 2011 at 01:52:37PM +, Asif Jamadar wrote: > Where i can get user manual or tutorial for seantis questionnaire django > application? > > ___ > B

Re: [BangPypers] [OT] Yahoo Big Thinkers talk

2011-11-09 Thread Senthil Kumaran
OMG. I was the one who was trying to suggest that we be lenient. But this looks that fodder for yet another discussion. :( On Wed, Nov 9, 2011 at 4:48 PM, Sanjay Padubidri wrote: > Off topic, but people on the list may be interested in this talk: > http://in.bigthinkers.yahoo.com/event.php?id=1

Re: [BangPypers] ubuntu fonts..

2011-11-08 Thread Senthil Kumaran
u font. I think, we have to learn the trick it seems, so that few ho are looking for python term do not get hurt. :) :) -- Senthil On Wed, Nov 9, 2011 at 2:11 PM, Gopalakrishnan Subramani wrote: > You could try using  inconsolata font ( > http://www.levien.com/type/myfonts/inconsola

Re: [BangPypers] [chennaipy 1126] [XPost][Slightly OT] Could you

2011-11-04 Thread Senthil Kumaran
t just don't think for Python in resume. I think, It is irrelevant. -- Senthil ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] [chennaipy 1126] [XPost][Slightly OT] Could you share your experiences about Python Freelance programming, from a programmer's perspective

2011-11-02 Thread Senthil Kumaran
heir resume, > what do you suggest we do? I can understand your situation. One possible suggestion is to pay well and hire smart students based upon their academic and project strengths and let them start new on whichever technologies you are using. -- Senthil _

Re: [BangPypers] Python OCR Reader

2011-11-01 Thread Senthil Kumaran
ot sure whether it is the best > library in python world for most of my cases. AFAIK, yes. tesseract is the same engine used for book scanning in google books and python apis would be using the same engine. --- Senthil ___ BangPypers mailing list Ban

Re: [BangPypers] Calling Python from JavaScript

2011-11-01 Thread Senthil Kumaran
python controller. Is it such a requirement or you have some other thing in your mind? -- Senthil ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] [XPost][Slightly OT] Could you share your experiences about Python Freelance programming, from a programmer's perspective

2011-10-31 Thread Senthil Kumaran
d. But, the brief time did give me some first hand experience. I feel, I am better equipped if I want to try that again. So, it would not be bad idea to try and learn for your friend. The best way to start would be get project from a known person who can trust you and deliver it. Good luck! S

Re: [BangPypers] Python OCR Reader

2011-10-31 Thread Senthil Kumaran
s binaries) is pretty well maintained and it works well on windows. I assume the python client to be good too. -- Senthil ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Reg. current work in pycrypto

2011-10-24 Thread Senthil Kumaran
check the PyCrypto website for all the information that you need. BTW, the last time I had an idea of using it, I felt it was not maintained properly, so I choose not to use it and instead build using the standard ssl support in the libraries/packages. --

Re: [BangPypers] Reportlab tool with SAP

2011-10-17 Thread Senthil Kumaran
an generate pdf or process text using Reportlab. I hope you can store those in SAPDB. -- Senthil ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Interesting library

2011-10-17 Thread Senthil Kumaran
found wrapping ssh (with it's zillion options) far more flexible than using the libraries for remote scripting. This is applicable to even multi-threaded servers. I for one, yet to stumble upon a case where the above wrapper would fail. Thanks. Senthil ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] + SSL Error , while making HTTPS server

2011-10-15 Thread Senthil Kumaran
p_dh method? Depending upon the requirement, you may choose to use it correctly or ignore it. > 2nd problem is I am getting SSL.error : unexpected eof error, If I comment > and proceed. You mean, if you ignore the set_tmp_dh method and then proceed? -- Senthil _

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

2011-10-15 Thread Senthil Kumaran
n assignment on linear regression due tomorrow :) > > > > ai-class.org > > I am doing this. Just completed the assignment as well. It is pretty good. -- Senthil ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

  1   2   3   4   >