doubt in curses module

2006-12-11 Thread pradeep kumar

hii,
iam new to python. i want to use function keys in my program, so i went
through the curses module, but in that module it shows a different window
object and after pressing the our desired function key in it, that will
return the ascii value of that key to the command prompt.
so, i want to hide or dissable the window object, can anyone tell me how it
will be possible...
it is very urgent
-- 
http://mail.python.org/mailman/listinfo/python-list

connecting webservers through HTTP port using python

2006-12-18 Thread pradeep kumar

hii iam working on socket programming,
i've to connect webservers through HTTP port and send/receive data..
so currently i'm installed apache server and trying to connect that server
using python.
so any tell me how to connect the apache server by python code.
give suggestions..
-- 
http://mail.python.org/mailman/listinfo/python-list

How to convert None to null value

2007-09-07 Thread pradeep kumar
Hi ,

i am trying to insert records from one table to another table in postgres
sql using the the following code

posConn.query("insert into
usr(usr_id,usr_name,usr_passwd,grp_cde,usr_type,usr_chk_till_val, \

usr_active,usr_daily_auth,usr_lst_login,usr_lst_logout,usr_shift_id,usr_role_level)
values \
 ('%s','%s','%s',%s,%i,%d,'%s',%i,%i,%i,%i,%i)"
%(row[0],row[1],row[2],row[3],row[4],row[5], \
  row[7],row[8],row[10],row[11],row[12],row[14]) )

here row[4] column is having null value so python consides it as None but
will insert into the table it inserts as None not null value

please help how to convert None to null value
-- 
http://mail.python.org/mailman/listinfo/python-list

Required help on python-time module

2008-08-20 Thread Pradeep Kumar
I am a newbie to python even mobile side also. 

I am using openmoko device, there I installed stripped down python from feed 
path's and I need tzset() of time module for my application but when running my 
application.

 time.tzset()
at above line getting "no  attribute tzset()  for module" . So  tzset()  is  
not  implemented in time module that I installed. To copy separately time 
module from  desktop system to device it is shared library time.so , it's not 
worked. 

any suggetion or help highly appreciated.

Thanks,
opendeep.



  Unlimited freedom, unlimited storage. Get it now, on 
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/--
http://mail.python.org/mailman/listinfo/python-list