Tagged Questions
0
votes
1answer
43 views
Python 2.6 : How to pass variable to mysql query if it must be placed above application(environ?
The only way to get a variable from the URL is via
under the
def application(environ, start_response):
but the mysql code must be placed on top of this line.
what are the known options ?
extra ...
0
votes
2answers
118 views
Python - Visibility of global variables from imported modules
I've run into a bit of a wall importing modules in a Python script. I'll do my best to describe the error, why I run into it, and why I'm tying this particular approach to solve my problem (which I ...
4
votes
3answers
7k views
How to install python2.6-devel package under CentOs 5
I need to install mysql-python under python2.6.
mysql-python package needs python2.6-devel package that depends on the libpython2.6.so.1.0(64bit)
I found on the net some python2.6-devel packages, but ...
4
votes
1answer
2k views
Installing MySQLdb for Django on Mac OS X 10.6 Snow Leopard with MAMP
So I know this is not a new topic, but its one that nobody has seemed to be able to solve, at least not for Python 2.6 / Snow Leopard. (The Leopard fixes I've found aren't applicable to Snow ...
0
votes
0answers
23 views
create a single connection with database
I want to create a script which make a connection with database and return the DB connection. On second time it will use the same connection and execute the another query. In such a way i will use the ...
-1
votes
1answer
153 views
Python 2.6.6, MYSQLdb wont insert/update
Hello i have wierd problem
Im using Python version 2.6.6 and MYSQLdb API version (1, 2, 3, 'gamma', 1) on CentOS
When i want to update/insert some data to one table python return me 1 (true) but there ...