Python in web development

2013-03-03 Thread Sarbjit singh
Hello All, I have been using Python as a scripting language for my office tasks. Now I have been thinking of using (and learning as well) for web development. For my tasks, I need to perform some tasks and report on the web. Now I have no experience of web development with Python. So, I want to

Re: How to install development package on linux?

2013-03-02 Thread Sarbjit singh
On Sunday, March 3, 2013 12:09:46 PM UTC+5:30, Sarbjit singh wrote: > On Sunday, March 3, 2013 11:53:50 AM UTC+5:30, Benjamin Kaplan wrote: > > > On Sat, Mar 2, 2013 at 10:14 PM, Sarbjit singh > > wrote: > > > > > > > > > > > > > &

Re: How to install development package on linux?

2013-03-02 Thread Sarbjit singh
On Sunday, March 3, 2013 11:53:50 AM UTC+5:30, Benjamin Kaplan wrote: > On Sat, Mar 2, 2013 at 10:14 PM, Sarbjit singh wrote: > > > > > > I searched on google and found these errors could be due to missing python > > header files which would be avail

Re: How to install development package on linux?

2013-03-02 Thread Sarbjit singh
On Sunday, March 3, 2013 1:22:50 AM UTC+5:30, Kwpolska wrote: > On Sat, Mar 2, 2013 at 7:00 PM, Sarbjit singh wrote: > > > On Saturday, March 2, 2013 2:15:08 PM UTC+5:30, Kwpolska wrote: > > >> On Sat, Mar 2, 2013 at 7:24 AM, Sarbjit singh > >> wrote: >

Re: How to install development package on linux?

2013-03-02 Thread Sarbjit singh
On Saturday, March 2, 2013 2:15:08 PM UTC+5:30, Kwpolska wrote: > On Sat, Mar 2, 2013 at 7:24 AM, Sarbjit singh wrote: > > > Sorry for this basic question but I am having problem compiling mod_wsgi on > > Linux. As per mod_wsgi package site, user must have python develo

How to install development package on linux?

2013-03-01 Thread Sarbjit singh
Sorry for this basic question but I am having problem compiling mod_wsgi on Linux. As per mod_wsgi package site, user must have python development package installed on system. I had installed Python2.7 on my Linux system from source code, using the following configuration few months back :- ./

How to print stdout before writing stdin using subprocess module in Python?

2012-07-23 Thread Sarbjit singh
I am writing a script in which in the external system command may sometimes require user input. I am not able to handle that properly. I have tried using os.popen4 and subprocess module but could not achieve the desired behavior. Below mentioned example would show this problem using "cp" command

How to configure Tkinter Listbox to disable state keeping selected item highlighted

2012-07-17 Thread Sarbjit singh
I am having a problem configuring a listbox widget such that the selection remains highlighted even while it is set (programmatically) to the DISABLED state. Below code shows the problem: from Tkinter import * master = Tk() listbox = Listbox(master) listbox.pack() listbox.insert(END, "Text1")