Not intalling

2016-02-16 Thread SoNu KuMaR
I'm trying to install the latest version of python . First time it didn't install successfully ,i tried again now it have installed but not working. I'm sending screenshot and log file. I tried reinstallation again and again but result is same. -- https://mail.python.org/mailman/listinfo/python-li

how to run os.execv() to run command pslq dbname < gen.command

2007-08-04 Thread Sonu
hello all , i need to run psql from my py file,, for that i am using : os.execv(path for psql ,['psql dbname < gen.command']) but its not working .. the command wht i want to run from this py file is :>>>psql dbname < gen.command where gen.command file contain some command to create csv

How to create python script which can create csv we file with relationship

2007-08-03 Thread Sonu
hello, i need to create script that can create a csv file as i want for example i have two table in database that are person ,country if i want to create csv file to person,then wht to do ,, how to connect database,how to create csv of interrelated field eg :in person table :country_id (which is pr