Re: [BangPypers] Imaging Library: Pillow vs PIL, any insights?

2014-04-17 Thread Gopalakrishnan Subramani
that hits me is you want to generate test images for some application. Could you elaborate on it? To understand some filters you do need to read up the basics On Apr 17, 2014 11:03 AM, Gopalakrishnan Subramani gopalakrishnan.subram...@gmail.com wrote: I heard about opencv, never thought

Re: [BangPypers] Imaging Library: Pillow vs PIL, any insights?

2014-04-17 Thread Gopalakrishnan Subramani
. With Best Regards, Radhakrishna Rao L On Thu, Apr 17, 2014 at 11:44 AM, Gopalakrishnan Subramani gopalakrishnan.subram...@gmail.com wrote: OK, we have product attributes like title, brand, (deep micro data like memory, CPU power, voltage, frequency, flow etc) offers and discount details

Re: [BangPypers] [JOB]: Software Engineer

2014-04-16 Thread Gopalakrishnan Subramani
At least mention the company name website [or show us the screen shots of bank balance and VC fund (just kidding)] On Wed, Apr 16, 2014 at 7:58 PM, Santhosh Edukulla santhosh.eduku...@gmail.com wrote: Team, We have an opening for a programmer with the below skill set. Its a start up,

[BangPypers] Imaging Library: Pillow vs PIL, any insights?

2014-04-16 Thread Gopalakrishnan Subramani
Any notable differences between Pillow vs PIL? We need to create images dynamically from text images, not looking for command line apps/features. ___ BangPypers mailing list BangPypers@python.org https://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Imaging Library: Pillow vs PIL, any insights?

2014-04-16 Thread Gopalakrishnan Subramani
are not considering opencv. If not, check out opencv. On Apr 17, 2014 9:47 AM, Gopalakrishnan Subramani gopalakrishnan.subram...@gmail.com wrote: Any notable differences between Pillow vs PIL? We need to create images dynamically from text images, not looking for command line apps/features

Re: [BangPypers] Imaging Library: Pillow vs PIL, any insights?

2014-04-16 Thread Gopalakrishnan Subramani
Just gone thorough opencv, smart choice for Computer vision application. Now narrowing down to Pillow. Can Pillow to be used along with pngquant, optipng sort of image size reduction without loosing alpha transparency? On Thu, Apr 17, 2014 at 11:03 AM, Gopalakrishnan Subramani

Re: [BangPypers] What are you using for developing desktop GUIs?

2013-09-27 Thread Gopalakrishnan Subramani
I have spent 10+ years of Desktop app development using VC++/.NET, mostly on Windows. After Windows XP SP 3 onwards, Microsoft changed the application installation and execution architecture, specifically the socket servers, firewall, administrator rights etc. We have WCF Web Service (part of MS

Re: [BangPypers] What are you using for developing desktop GUIs?

2013-09-27 Thread Gopalakrishnan Subramani
We needed Desktop apps as our apps are based on Hardware interfacing, ie Density, Pressure, Flow etc measuring transmitters and control devices. Those devices use the special industrial protocols and each protocols has its own advantages, need specific device drivers based on vendors. Desktop

Re: [BangPypers] virtualenvs [was] Online Python workshop

2013-09-16 Thread Gopalakrishnan Subramani
I was not aware that --no-site-packages is default now. Thanks for info. On Mon, Sep 16, 2013 at 10:45 AM, Balachandran Sivakumar benignb...@gmail.com wrote: Hi, On Mon, Sep 16, 2013 at 8:02 AM, svaksha ॥ स्वक्ष svak...@gmail.com wrote: specific python version (ex. /usr/bin/python3.3)

Re: [BangPypers] NLTK

2013-09-15 Thread Gopalakrishnan Subramani
, harish badrinath harishbadrin...@gmail.com wrote: Hello, On Sun, Sep 8, 2013 at 2:34 AM, Gopalakrishnan Subramani gopalakrishnan.subram...@gmail.com wrote: Dear All, I want to build a simple automatic text based chat bot for mobile, tablet specs for proof

Re: [BangPypers] Favorite tips/techniques

2013-09-10 Thread Gopalakrishnan Subramani
Not all keys in the dictionary can be expressed as attributes. Attributes has to follow the naming conventions. I had problems with user generated 'keys', JSON supported keys. On Tue, Sep 10, 2013 at 2:41 PM, Mandar Vaze / मंदार वझे mandarv...@gmail.com wrote: Both Shabda and Nouful

Re: [BangPypers] Favorite tips/techniques

2013-09-10 Thread Gopalakrishnan Subramani
Attributes are stylish, readable, feel native as object compared to dictionary. Sometimes I use setter methods to override the default assignments, modify getter to format the values and getter for virtual attributes for DSL stuffs. class DictObj(dict): def __getattr__(self, key): if

Re: [BangPypers] Python Wats

2013-09-10 Thread Gopalakrishnan Subramani
We must be thankful for the people who invented the keyboard and stopped with single SPACE and TAB keys for column indentation. Every time you edit, mind compile the Python code on production critical time, there could be a landmine hidden in the white space on nano or remote vi. On Tue, Sep

Re: [BangPypers] NLTK

2013-09-08 Thread Gopalakrishnan Subramani
, Sep 8, 2013 at 2:34 AM, Gopalakrishnan Subramani gopalakrishnan.subram...@gmail.com wrote: Dear All, I want to build a simple automatic text based chat bot for mobile, tablet specs for proof of concept. How do you plan to preseed the knowledge for the application (manually

[BangPypers] NLTK

2013-09-07 Thread Gopalakrishnan Subramani
Dear All, I want to build a simple automatic text based chat bot for mobile, tablet specs for proof of concept. Some Ref to talk now: http://www.gsmarena.com/samsung_i9300_galaxy_s_iii-4238.php User: Galaxy SIII Weight Chat Bot: 133 g - User: Galaxy SSPACEIII Weight (space between

Re: [BangPypers] flask application issues

2013-08-30 Thread Gopalakrishnan Subramani
Check the static IP binding and post the exception here. If you host in on Linux, there could be issue with ip binding and port if you don't have permissions. On Fri, Aug 30, 2013 at 7:23 PM, Adivandhya adivand...@yahoo.co.in wrote: hi everyone, i am writing a basic flask application

Re: [BangPypers] help to understand this code

2013-02-25 Thread Gopalakrishnan Subramani
I still recommend you go through the fundamentals of Python, I don't see any hurry in learning something new. Starts with printing hello world, then conditions, loops, functions, Class, Objects. You don't need more than 2 weeks for this homework. Couple of late nights and weekends help you, It is

Re: [BangPypers] Death of Aaron Swartz

2013-01-14 Thread Gopalakrishnan Subramani
Markdown is nice, I read a little about him in his infogami and reddit merge and html2text project and web.py. He was a great hacker, was able to move reddit from lisp to python (pylons) in short time (http://www.aaronsw.com/weblog/rewritingreddit) After he was fired by Wired, things didn't go

Re: [BangPypers] [OT] Introducing myself

2013-01-07 Thread Gopalakrishnan Subramani
I agree with Jaaga comments. Jaaga is little noisy due to near by busy road, I would prefer that place if you don't get another place. You also find co-working spaces in many places as Bangalore runs a lot of startups and early stage companies ready to share per seat basis. I love the Jaaga idea

Re: [BangPypers] Sqlalchemy Schema migration

2012-12-03 Thread Gopalakrishnan Subramani
really like it. Approaches are similar to git. In case you have any issues hangout in #sqlalchemy in irc.freenode.net . On Sun, Dec 2, 2012 at 6:31 PM, Gopalakrishnan Subramani gopalakrishnan.subram...@gmail.com wrote: Do you recommend a good sqlalchemy migration tools? I am no-sql guy

[BangPypers] Sqlalchemy Schema migration

2012-12-02 Thread Gopalakrishnan Subramani
Do you recommend a good sqlalchemy migration tools? I am no-sql guy (used redis and mongo db), I was not worried about revisions and adding and removing attributes. I used to have a script that add or remove the required attributes on redis(pickled) and mongodb. When it comes to SQL, it needs

Re: [BangPypers] Pony mode

2011-11-10 Thread Gopalakrishnan Subramani
thank you. I will play around. On Thu, Nov 10, 2011 at 8:15 PM, Noufal Ibrahim nou...@gmail.com wrote: If you're using Emacs and work with Django, you might find Pony mode[1] useful. It seems to be quite feature rich. Footnotes: [1] https://github.com/davidmiller/pony-mode -- ~noufal

Re: [BangPypers] Python OCR Reader

2011-11-02 Thread Gopalakrishnan Subramani
: On Wed, Nov 2, 2011 at 8:47 AM, Gopalakrishnan Subramani gopalakrishnan.subram...@gmail.com wrote: Well, I would not touch any core implementation of tesseract client or the core binaries of tesseract. I am trying to build a simple voice based advisory system for a simple Window game

Re: [BangPypers] Python OCR Reader

2011-11-01 Thread Gopalakrishnan Subramani
. I did small experiments with tesseract. But not sure whether it is the best library in python world for most of my cases. Thanks, Gopal On Mon, Oct 31, 2011 at 10:27 PM, Senthil Kumaran sent...@uthcode.comwrote: On Mon, Oct 31, 2011 at 11:30:21AM +0530, Gopalakrishnan Subramani wrote

[BangPypers] Python OCR Reader

2011-10-31 Thread Gopalakrishnan Subramani
Dear Group, Anyone can give good advises on OCR tools in Python? Not necessarily native python tools even with python wrapper will be good. I would never tweak or change the source code or learn deep into OCR technology. I just want a lib sort of things and Python wrapper to know. I found

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

2011-10-31 Thread Gopalakrishnan Subramani
I have a friend, who's finished his education and looking for work. freelancing is stressful during startup days. It needs more discipline and skill than someone works in a corporate team. Until or unless he is extraordinary in taking business situation and executing them, don't recommend any

Re: [BangPypers] Parsing data

2011-09-18 Thread Gopalakrishnan Subramani
mahendra0...@gmail.com Have you thought of using regular expressions?. It might make ur job easier. Checkout this link good explaination of reg exps. Thanks and Regards, Mahendra Naik 2011/9/18 Gopalakrishnan Subramani gopalakrishnan.subram...@gmail.com Senthil and Gora

Re: [BangPypers] Embedded python mail server

2011-08-24 Thread Gopalakrishnan Subramani
Use the http://hg.python.org/cpython/file/2.7/Lib/smtpd.py server. smtpd is a proxy so only look at the client interface level, you may not need to push to local server, no need to store to DB etc. you copy the file and modify and wrap to meet your automation needs and to get the response

Re: [BangPypers] Language Parsing and output generation

2011-08-24 Thread Gopalakrishnan Subramani
abpil...@gmail.com wrote: On Tue, Aug 23, 2011 at 11:15 AM, Gopalakrishnan Subramani gopalakrishnan.subram...@gmail.com wrote: I could make a grammar compiled myself. I will look into SPARK.. Anybody has experience in pyparsing http://pyparsing.wikispaces.com/ ? Under Examples http

Re: [BangPypers] setuptools and distutils confusion

2011-08-24 Thread Gopalakrishnan Subramani
setuptools is for the users who use a package produced by someone. disutils is for users who produce the package. On Wed, Aug 24, 2011 at 12:35 AM, Amit Sethi amit.pureene...@gmail.comwrote: Hi all, I am really confused as to how setuptools and distutils work. Basically what i want to

Re: [BangPypers] Embedded python mail server

2011-08-24 Thread Gopalakrishnan Subramani
at 12:03 PM, Gopalakrishnan Subramani gopalakrishnan.subram...@gmail.com wrote: Use the http://hg.python.org/cpython/file/2.7/Lib/smtpd.py server. smtpd is a proxy so only look at the client interface level, you may not need to push to local server, no need to store to DB etc. you copy

Re: [BangPypers] setuptools and distutils confusion

2011-08-24 Thread Gopalakrishnan Subramani
Thanks Noufal. I misunderstood. I was using disutils for to create a package for my app. -- Gopal On Wed, Aug 24, 2011 at 12:53 AM, Noufal Ibrahim nou...@gmail.com wrote: Gopalakrishnan Subramani gopalakrishnan.subram...@gmail.com writes: setuptools is for the users who use a package

Re: [BangPypers] Embedded python mail server

2011-08-24 Thread Gopalakrishnan Subramani
, Aug 24, 2011 at 12:34 PM, Dhananjay Nene dhananjay.n...@gmail.com wrote: On Wed, Aug 24, 2011 at 12:25 PM, Gopalakrishnan Subramani gopalakrishnan.subram...@gmail.com wrote: So you basically look for SMTP and also a POP3 access to the server? With that you could send a mail using SMTP

[BangPypers] Language Parsing and output generation

2011-08-22 Thread Gopalakrishnan Subramani
I have interesting problem to solve. We have a language called Description Language less widely known outside but used very much in automation domain. The examples are given below. By definition, language is readable and I could could not provide the language spec due to restriction (really close

Re: [BangPypers] Language Parsing and output generation

2011-08-22 Thread Gopalakrishnan Subramani
, Gopalakrishnan Subramani wrote: I prefer Python for this conversion. Any idea is appreciated. In your source language, do you have tools to create AST? If not, then it would be the first thing to aim for. Then you need a mechanism to translate that AST to the target language specs. There is a lot

Re: [BangPypers] Language Parsing and output generation

2011-08-22 Thread Gopalakrishnan Subramani
nou...@gmail.com wrote: Gopalakrishnan Subramani gopalakrishnan.subram...@gmail.com writes: Source language IO is very limited and it has functions to map to IO and UI. As a total, they have around 100+ function. Those can be easily done in Lua. [...] For a project in one of my

Re: [BangPypers] how to write Operating System in python

2011-08-11 Thread Gopalakrishnan Subramani
Look at the Lua attempt to create OS. http://luaos.net/ Lua script is more readable. Personally, I would never prefer to create an OS in Python. If you get minimal open sourced RTOS source code (many found in sourge forge), you could start with basic and see the similar approach in Python. If

Re: [BangPypers] PyPy outperforms C in microbenchmark

2011-08-04 Thread Gopalakrishnan Subramani
I want to tryout Tornado with MongoDB (AsyncMongo).. I would try pypy as a runtime. Thanks for explanation!! Thanks Regards, Gopal On Thu, Aug 4, 2011 at 6:57 AM, Senthil Kumaran sent...@uthcode.com wrote: On Thu, Aug 04, 2011 at 06:12:37PM +0530, Noufal Ibrahim wrote: Senthil Kumaran

Re: [BangPypers] PyPy outperforms C in microbenchmark

2011-08-03 Thread Gopalakrishnan Subramani
I could not understand the PyPy intention in having another run-time. Can we see having PyPy running Python programs, 1. As a challenge? (A language can have its own runtime with little improved performance) or 2. Potential for future to replace/co-exists CPython forever with strong community

Re: [BangPypers] PyPy outperforms C in microbenchmark

2011-08-03 Thread Gopalakrishnan Subramani
at 11:10 AM, Dhananjay Nene dhananjay.n...@gmail.comwrote: On Wed, Aug 3, 2011 at 9:58 PM, Gopalakrishnan Subramani gopalakrishnan.subram...@gmail.com wrote: I could not understand the PyPy intention in having another run-time. Can we see having PyPy running Python programs, 1

Re: [BangPypers] [pythonpune] need for Python based CRM/ERP system...extensible

2011-07-25 Thread Gopalakrishnan Subramani
to stick to design philosophy of Trac ever. If you ever choose Trac then creating a CRM is not time consuming if you use Django or Pyramid. Regards, Gopal On Sun, Jul 24, 2011 at 11:41 PM, Ramdas S ram...@gmail.com wrote: I would also On Mon, Jul 25, 2011 at 11:01 AM, Gopalakrishnan Subramani

Re: [BangPypers] [pythonpune] need for Python based CRM/ERP system...extensible

2011-07-24 Thread Gopalakrishnan Subramani
Sorry, I missed few mail chain.. I apologies if someone/you pointed out OpenERP. Did you ever try OpenERP? http://en.wikipedia.org/wiki/OpenERP http://www.openerp.com/ I go through the Open ERP UI and it was amazing. It is driven through xml. Thanks Regards, Gopal On Sun, Jul 24, 2011 at

Re: [BangPypers] looking for python developers

2011-06-17 Thread Gopalakrishnan Subramani
Prem, Mentioning [Job] in title is more appropriate. Is your company name is that secret? I don't think, you get fantastic coder program for without knowing company.. All the best, Gopal On Fri, Jun 17, 2011 at 1:18 PM, prem prem...@yahoo.co.in wrote: Hi everyone, our company is looking

[BangPypers] How to compare the relevancy between news headlines?

2011-06-14 Thread Gopalakrishnan Subramani
All, While looking into news.google.co.in site, they find the similar news by grouping them.. For example, The following news headlines from different online portal are grouped together. Jayalalithaa meets PM, DMK watches closely Jaya to meet PM today in New Delhi Jaya-PM meet, 'jittery' DMK

Re: [BangPypers] How to compare the relevancy between news headlines?

2011-06-14 Thread Gopalakrishnan Subramani
Thanks for suggestion. Can you give me a specific NLT toolset/approach with example if you have experience already? On Tue, Jun 14, 2011 at 12:57 PM, Venkatraman S venka...@gmail.com wrote: On Tue, Jun 14, 2011 at 12:07 PM, Gopalakrishnan Subramani gopalakrishnan.subram...@gmail.com wrote

Re: [BangPypers] How to compare the relevancy between news headlines?

2011-06-14 Thread Gopalakrishnan Subramani
Dear All, Thanks for very informative answers. I would follow NLT also try out Patra's advice as well. Post you my updates. -- Gopal On Tue, Jun 14, 2011 at 4:55 PM, Gora Mohanty g...@mimirtech.com wrote: On Tue, Jun 14, 2011 at 1:28 PM, Gopalakrishnan Subramani gopalakrishnan.subram

Re: [BangPypers] Scratch Python

2011-05-23 Thread Gopalakrishnan Subramani
http://diveintopython.org/ nice book as well.. -- Gopalakrishnan Subramani On Mon, May 23, 2011 at 9:05 PM, Rajkannan Rajan rajkannan.ra...@gmail.comwrote: On Mon, May 23, 2011 at 8:56 PM, Ananya Sharma as1...@msstate.edu wrote: try youtube tutorials along with the online documentation

Re: [BangPypers] Web Application Development

2011-05-19 Thread Gopalakrishnan Subramani
/helps/blogs available 3. There are many open-source applications to learn from 4. There are forum/blog/cms systems Django is self contained solution, where it has ORM/Templates/Views/Routing tightly couples, IMHO. Where as in Pyramid, you have Options.. Regards, Gopalakrishnan Subramani On Thu

Re: [BangPypers] The myth of free software

2011-05-17 Thread Gopalakrishnan Subramani
'idiot' or 'ignorant' you have mentioned.. I would advise them to learn first than discussing in this forum.. PS: OP should calm down and mind his words!! Regards, Gopalakrishnan Subramani On Tue, May 17, 2011 at 11:41 AM, Santosh Rajan santra...@gmail.com wrote: Ya okay, so I agree

Re: [BangPypers] Pyramid and open-id

2011-05-17 Thread Gopalakrishnan Subramani
I don't know what you mean by automatic.. The thread local helps to have global variables per thread so that it preserves the changes made in one thread should not affect another global variable in another thread.. In Pylons, request context (may be many other stuffs) are treated as a global

Re: [BangPypers] Web Application Development

2011-05-05 Thread Gopalakrishnan Subramani
are not suite your need, Django would be ideal choice for average web developer. I personally prefer Pyramid.. Regards, Gopalakrishnan Subramani On Thu, May 5, 2011 at 6:39 PM, Noufal Ibrahim nou...@gmail.com wrote: Senthil Kumaran sent...@uthcode.com writes: On Thu, May 05, 2011 at 06:06

Re: [BangPypers] editor for restructured text

2011-05-02 Thread Gopalakrishnan Subramani
) or they make emacs to fit into their way(customize). -- Gopalakrishnan Subramani * On Fri, Apr 29, 2011 at 12:36 PM, Kenneth Gonsalves law...@gmail.comwrote: On Fri, 2011-04-29 at 12:29 +0530, Noufal Ibrahim wrote: in fedora the ReSt thingie is there by default Opening files with a .rst

[BangPypers] Pyramid and open-id

2011-05-02 Thread Gopalakrishnan Subramani
Anybody works here on Pyramid web framework? I have an aggregation portal, I am planing to migrate to Pyramid in a month time. I am looking for open-id authentication to use with Pyramid. Google search shows me https://github.com/ralphbean/pyramid_openid Any other framework do you use for open-id

Re: [BangPypers] Access xml file form python script

2010-11-02 Thread Gopalakrishnan Subramani
lxml also can be used along with the elementtree. Personally I liked the element tree APIs and elegance. On Tue, Nov 2, 2010 at 1:47 PM, Shashidhar P shashidha...@gmail.com wrote: Hi Avinash, There is simple python library for parsing the XML file, accessing data, adding, editing. It is

Re: [BangPypers] When *not* to use Python

2010-10-20 Thread Gopalakrishnan Subramani
I won't develop DESKTOP based application in Python. Desktop means non-browser based application but like MFC/VC++ stuffs. On Wed, Oct 20, 2010 at 5:28 PM, Senthil Kumaran orsent...@gmail.comwrote: On Wed, Oct 20, 2010 at 04:57:52PM +0530, Noufal Ibrahim wrote: learners, I'm wondering when

Re: [BangPypers] Python coaching classes

2010-10-14 Thread Gopalakrishnan Subramani
I would be interested as trainee for advanced python courses. On Thu, Oct 14, 2010 at 10:25 AM, Kenneth Gonsalves law...@au-kbc.orgwrote: On Wed, 2010-10-13 at 19:02 +0530, Gopalakrishnan Subramani wrote: I will be interested in advanced python session anywhere in Bangalore. as a trainer

Re: [BangPypers] Python coaching classes

2010-10-14 Thread Gopalakrishnan Subramani
iPython shell 5. Debugging python applications 6. Python meta class features 7. Boost.Python (Boost Python C++ interface) Regards, Krish 4. On Thu, Oct 14, 2010 at 2:46 PM, Kenneth Gonsalves law...@au-kbc.orgwrote: On Thu, 2010-10-14 at 14:43 +0530, Gopalakrishnan Subramani wrote: I would

Re: [BangPypers] Beginner help

2010-10-02 Thread Gopalakrishnan Subramani
If you want to be too smart, Emacs is the best one for all your typing need. It works well on Windows/Macs/Linux/Unix operating system. pymacs enable you to detect the basic python related error in emacs. On Sat, Oct 2, 2010 at 9:34 AM, Vishal vsapr...@gmail.com wrote: if you are on Windows,

[BangPypers] Need Python websites and blogs within India

2010-07-23 Thread Gopalakrishnan Subramani
Hi All, I am collecting information for python related websites and blogs. I am primarily looking for the sites already offer RSS 1.0/2.0 or ATOM feeds with clear separation for python related information. A generic python related info like CPython, IronPython, Jython etc shall be mentioned here

Re: [BangPypers] python program to fetch input data in complete bit format

2010-07-07 Thread Gopalakrishnan Subramani
If I remember, Python 3.0 gas byte as a data type where you can play with bytes. Otherwise you can open file with read and binary mode rf = open(README.txt, rb) bytes = f.read(n) # n bytes or simply read() but it returns string wf = open(README.txt, wb) wf.write(bytes) #technically string OR

[BangPypers] Review of PyCon 2010 Invitation

2010-07-02 Thread Gopalakrishnan Subramani
Hi Pypers, I had great Python meet up in June at IIMB and met *Noufal Ibrahim and other python guys.* *Noufal Ibrahim asked us to spread the word.. Here is message I have written for our developers (40+) and I will be sending this to 100s of my other friends and ask them to forward to many