Python is a dynamically and strongly typed programming language that encourages readability.
Questions tagged [python]
1743 questions
0
votes
2 answers
Change python symlinks on Snow Leopard?
I have two python 2.5.4 installations on my Snow Leopard, don't ask why.
When I run just "python" from the cmdline, build 5363 is started. When I run /usr/bin/python2.5 then build 5646 (the one I need) is started. Before you ask, build number is not…
IgorJ
0
votes
1 answer
Rackspace for Django Hosting
I am working on a project right now and I am looking for hosting solutions that might fit for it.
The project is written in Django.
I was looking at rackspace and liked it a lot from its ideas and their "fanatical" support.
Does anyone have any…

cwoebker
- 121
- 6
0
votes
2 answers
ubuntu 11.04 install mysqldb for custom python2.5
ubuntu 11.04 has native python2.7 i build python2.5 from source to /usr/local/python2.5/bin, and try to install mysqldb for my custom python2.5 install. Also i use virtualenv. I switch to my env with python2.5
And do:
pip install MySQL-python
this…
Evg
0
votes
1 answer
Problem getting mod_wsgi running with apache
Not had any problems implementing this set up before, got a new server set up at home and wanted to work on some django projects.
Im using virtualenv with virtualenvwrapper, mod_wsgi module seems to be installed correctly. here is the vhost im…

Mike Waites
- 191
- 1
- 9
0
votes
1 answer
Problem building pyodbc on RHEL5
I'm trying to build the python module pyodbc on a RHEL5 server. I've downloaded the source directly from the pyodbc google code page. Whenever I run the
python setup.py build
command, I'm greeted with this:
building 'pyodbc' extension
gcc -pthread…

Omega192
- 125
- 1
- 1
- 8
0
votes
1 answer
mod_wsgi/3.2 mixing interpreters context with django on Apache2 using mod_rewrite .. why?
Long story
tl;dr:
With the configuration below Apache gets confused with Python interpreter context. I have three demo sites deployed using this setup and if you refresh them often a race condition occurs and some texts/images coming from the DB…

h3.
- 189
- 3
- 9
0
votes
2 answers
Crontab not running
I am using putty to login in webfaction server. I used crontab -e command and wrote this line over there and restarted apache. According to this line it would run every minute but even after restarting its not running. But why? I want to run python…
Madhur Rampal
0
votes
2 answers
How do you separate a wsgi django/python app server from the web server?
I've built a django / python application, running on apache with wsgi, and hosted on a single amazon AWS EC2 instance.
It a custom client application, so low traffic, but one part of my application generates reports, which take a requires more horse…

Adam Morris
- 145
- 8
0
votes
1 answer
How to install Python and PostgreSQL on CentOS
I have a dedicated server running centOS.
I want to install python 2.6 and postgreSQL on it so python users can host their web apps on my server. (Apache)
Can anyone give me a detailed tutorial for that ?
And is Django or something similar necessary…

Arshdeep Singh
- 31
- 2
0
votes
1 answer
sqlalchemy fails to connect to db after server is idle for a few hours
I have a fairly standard setup where the application server is separated by a firewall from the database server. The application is using sqlalchemy and the db is postgres.
The system works fine for a few hours, but once it remains idle for a long…

Dimitris
- 656
- 5
- 6
0
votes
1 answer
Distributing a Python/Django app and handling database replication
We have developed a Python/Django app which we would like to distribute to clients, so they can run it locally (on a VM). We are doing this so they can still use the app if their internet connection dies, and it will just 're-sync' to the master…

David
- 1
- 1
0
votes
2 answers
Installing mod_wsgi in addition to PHP
I would like to use some python scripts with my PHP-based application. I don't want to install Django; just mod_wsgi, so Apache can execute my python scripts as well as the rest of my PHP site. How do I configure Apache to do this?
A. Stanway
0
votes
2 answers
uWSGI Virtualhost mode with touch-reload
So far I have been experimenting with uWSGI to replace a lot of kludgy server code that builds and does setup for Python wsgi applications under supervise. I am running dozens of these small projects (Django, Flask, other) at once.
Currently I am…

Xealot
- 103
- 4
0
votes
1 answer
Zenoss - Performance issues with captured events
The problem
I'm manually inserting events into Zenoss through the zensendevent command line tool. The events are successfully inserted into Zenoss. The problem is that I can just insert about 8 events per second.
I have also experimented with…

Tiago Alves
- 101
- 2
0
votes
1 answer
Does anyone know a way to interact with HP OV(NNM) with python, perl or bash?
Do anyone know if there is out there any API/library to access NNM database from perl or python?
We have a NNM 7.53 which give us access to its data with its java based applet through http. And of course through the 'ovw' GUI interface.
I've tried…

Marc Riera
- 1,637
- 4
- 23
- 38