Re: [BangPypers] How to Distribute Commercial Python Applications

2014-08-04 Thread B.Nanda Kishore
We use bdist_egg always to ship python packages. It ships just pyc files. https://pythonhosted.org/an_example_pypi_project/setuptools.html On Mon, Aug 4, 2014 at 10:27 AM, Deepak Tripathi apenguinli...@gmail.com wrote: How to distribute commercial python application without giving source code

[BangPypers] Mailing list etiquette

2014-08-04 Thread Kushal Das
Good old presentation [1] from mbuf. Please take time to read and understand. [1] http://www.shakthimaan.com/downloads/glv/presentations/mailing-list-etiquette.pdf Kushal -- CPython Core Developer http://fedoraproject.org http://kushaldas.in ___

Re: [BangPypers] Mailing list etiquette

2014-08-04 Thread Jeffrey Jose
I agree with almost all of it, except for these 2. 1. No HTML emails 2. No attachments. These are surely relics from the past. I dont see any reason why these need to be valid anymore. If your answer to this is my favorite ncurses client cant read it it doesnt count. -jeff On Mon, Aug 4, 2014

[BangPypers] Mobile App Development using Python

2014-08-04 Thread Jins Thomas
Hi I quickly checked archive, Couldn't find much... Humble request to some experts to throw some lights on Mobile App Development using Python Thanks Jins Thomas ___ BangPypers mailing list BangPypers@python.org

Re: [BangPypers] Mailing list etiquette

2014-08-04 Thread Noufal Ibrahim KV
On Mon, Aug 04 2014, Jeffrey Jose wrote: I agree with almost all of it, except for these 2. 1. No HTML emails I don't like HTML emails because usual textual matter doesn't need it. It simply bloats things and if the renderer your client is using doesn't have some feature that the sender uses,

[BangPypers] how to override sys.stdin

2014-08-04 Thread Nitin Kumar
Hi All, is there a way i can override raw_input or input function. I tried with below code but getting error import sys class xyz(object): def readline(self): print 'from fn readline',var sys.stdin = xyz raw_input('hi:') hi: Traceback (most recent call last): File pyshell#12,

Re: [BangPypers] how to override sys.stdin

2014-08-04 Thread Dhruv Baldawa
On Mon, Aug 4, 2014 at 2:38 PM, Nitin Kumar nitin.n...@gmail.com wrote: def readline(self): print 'from fn readline',var Where are you getting 'var' from? Shouldn't the method read as def readline(self, var)? -- Dhruv Baldawa (http://www.dhruvb.com)

Re: [BangPypers] Mobile App Development using Python

2014-08-04 Thread Saurabh Minni
You should have a look at Kivy [http://kivy.org/] A lot of things are detailed in there. Thanks, Saurabh On Mon, Aug 4, 2014 at 1:55 PM, Jins Thomas jinstho...@gmail.com wrote: Hi I quickly checked archive, Couldn't find much... Humble request to some experts to throw some lights on

Re: [BangPypers] Mailing list etiquette

2014-08-04 Thread Kushal Das
On Mon, Aug 4, 2014 at 1:29 PM, Jeffrey Jose jeffjosej...@gmail.com wrote: I agree with almost all of it, except for these 2. 1. No HTML emails 2. No attachments. Most of the FOSS project mailing lists follow these simple rules. These are surely relics from the past. I dont see any reason

Re: [BangPypers] how to override sys.stdin

2014-08-04 Thread Nitin Kumar
thats a typo error. in simple term my question would be: How to override sys.stdin. Nitin K On Mon, Aug 4, 2014 at 2:44 PM, Dhruv Baldawa dhruvbald...@gmail.com wrote: On Mon, Aug 4, 2014 at 2:38 PM, Nitin Kumar nitin.n...@gmail.com wrote: def readline(self): print 'from fn

Re: [BangPypers] how to override sys.stdin

2014-08-04 Thread Noufal Ibrahim KV
On Mon, Aug 04 2014, Nitin Kumar wrote: thats a typo error. in simple term my question would be: How to override sys.stdin. [...] The StringIO module gives you file like objects into which you can put data. They might work as substitues for sys.std* -- Cordially, Noufal

Re: [BangPypers] how to override sys.stdin

2014-08-04 Thread Rohit Chormale
Hi Nitin, Do u mean redirecting Standard IO streams? On Mon, Aug 4, 2014 at 3:08 PM, Noufal Ibrahim KV nou...@nibrahim.net.in wrote: On Mon, Aug 04 2014, Nitin Kumar wrote: thats a typo error. in simple term my question would be: How to override sys.stdin. [...] The StringIO module

[BangPypers] Creating a Password protected Excel sheet

2014-08-04 Thread Anil Tammineni
Hi All, I want to write data into an excel file and make this excel file password protected. I am able to read/write data in to this excel file (.xlsx) using openpyxl. How can we make this document password protected using openpyxl or any other library? Any pointer would be helpful.

Re: [BangPypers] how to override sys.stdin

2014-08-04 Thread Rohit Chormale
It might work, sys.stdin = open(sys.stdin.fileno(), 'r', Data descriptors) or Simply for replacing iostream, sys.stdin = open(filepath ,'r') On Mon, Aug 4, 2014 at 3:48 PM, Rohit Chormale rohitchorm...@gmail.com wrote: Hi Nitin, Do u mean redirecting Standard IO streams? On Mon, Aug

Re: [BangPypers] Mobile App Development using Python

2014-08-04 Thread Gora Mohanty
On 4 August 2014 14:45, Saurabh Minni saurabh.mi...@gmail.com wrote: You should have a look at Kivy [http://kivy.org/] A lot of things are detailed in there. Seconded. Incidentally, one of the core Kivy developers is from Delhi, and frequents the Delhi/NCR Python group. Regards, Gora

Re: [BangPypers] Mailing list etiquette

2014-08-04 Thread Anand Chitipothu
On Mon, Aug 4, 2014 at 2:23 PM, Noufal Ibrahim KV nou...@nibrahim.net.in wrote: On Mon, Aug 04 2014, Jeffrey Jose wrote: I agree with almost all of it, except for these 2. 1. No HTML emails I don't like HTML emails because usual textual matter doesn't need it. It simply bloats things

Re: [BangPypers] Mailing list etiquette

2014-08-04 Thread Jeffrey Jose
On Mon, Aug 4, 2014 at 8:13 PM, Anand Chitipothu anandol...@gmail.com wrote: On Mon, Aug 4, 2014 at 2:23 PM, Noufal Ibrahim KV nou...@nibrahim.net.in wrote: On Mon, Aug 04 2014, Jeffrey Jose wrote: I agree with almost all of it, except for these 2. 1. No HTML emails I don't like

Re: [BangPypers] Mailing list etiquette

2014-08-04 Thread Jeffrey Jose
On Mon, Aug 4, 2014 at 2:23 PM, Noufal Ibrahim KV nou...@nibrahim.net.in wrote: On Mon, Aug 04 2014, Jeffrey Jose wrote: I agree with almost all of it, except for these 2. 1. No HTML emails I don't like HTML emails because usual textual matter doesn't need it. It simply bloats things

Re: [BangPypers] Mailing list etiquette

2014-08-04 Thread Jeffrey Jose
On Mon, Aug 4, 2014 at 8:13 PM, Anand Chitipothu anandol...@gmail.com wrote: On Mon, Aug 4, 2014 at 2:23 PM, Noufal Ibrahim KV nou...@nibrahim.net.in wrote: On Mon, Aug 04 2014, Jeffrey Jose wrote: I agree with almost all of it, except for these 2. 1. No HTML emails I don't like

Re: [BangPypers] Mailing list etiquette

2014-08-04 Thread Anand Chitipothu
Not only that, it is a pain to download something and open it in some application just to know what is inside. It is a lot better to send a link instead of sending attachments. ​Anand, how do you consume your emails? I get my emails on my phones as well, in gmail, which has a preview

Re: [BangPypers] Mailing list etiquette

2014-08-04 Thread Saager Mhatre
On Mon, Aug 4, 2014 at 9:06 PM, Anand Chitipothu anandol...@gmail.com wrote: Not only that, it is a pain to download something and open it in some application just to know what is inside. It is a lot better to send a link instead of sending attachments. ​Anand, how do you consume

Re: [BangPypers] how to override sys.stdin

2014-08-04 Thread Saager Mhatre
On Mon, Aug 4, 2014 at 2:38 PM, Nitin Kumar nitin.n...@gmail.com wrote: Hi All, is there a way i can override raw_input or input function. This sooo smells of the XY Problem http://bitly.com/XyProblem. What are you really trying to do here? - d

Re: [BangPypers] Mailing list etiquette

2014-08-04 Thread Balachandran Sivakumar
Hi Jeff, On Mon, Aug 4, 2014 at 1:29 PM, Jeffrey Jose jeffjosej...@gmail.com wrote: I agree with almost all of it, except for these 2. 1. No HTML emails I generally look at it from this perspective - Do we really need HTML to convey something ? Are plain words not sufficient enough to