Python is a dynamically and strongly typed programming language that encourages readability.
Questions tagged [python]
1743 questions
0
votes
2 answers
ssh - execute script in background if not already running?
How do I execute a python script in the background if it is not already running? An example use for this is on the cron.
user56572
0
votes
2 answers
Why does every Python app on Apache need new processes whereas PHP apps don't?
I use webfaction's shared hosting services for my python/php apps. There is one thing I don't understand.
Every time, I install a new PHP app, no new processes are created. But installing a new Python app creates at least 3 new processes on the…

Mert Nuhoglu
- 207
- 1
- 3
- 9
0
votes
1 answer
OSError: [Errno 122] Disk quota exceeded
hey guys, im using django 1.2.1 , and python 2.4, also i have django cms 2.1.3 beta, im using virtual hosts in my apache conf, for some reason everytime i add a new content, like text, or pictures, i get a OSError: [Errno 122] Disk quota exceeded,…

Paulo
- 103
- 1
- 5
0
votes
1 answer
Cannot install pyenchant on OSX
I am trying to install pyenchant on OSX snow Leopard.
I have installed enchant via macports and it produced no errors, but when I try to install pyEnchant via setup.py it gives me this error:
OSError: [Errno 2] No such file or directory:…

Mathias Nielsen
- 111
- 1
- 2
- 7
0
votes
1 answer
Will killing Python made problems for Apache?
If I kill Python on my server, will it made problems for Apache?

user48058
- 863
- 3
- 12
- 20
0
votes
1 answer
Unable to get my subdomain working
My main website is working correctly but I'm trying to setup a subdomain, but it always shows the main website instead, i've copied the main section of my apache2.conf below
# Include the virtual host configurations:
Listen 80
# This is the "main"…
user51906
0
votes
1 answer
Limit on WMIC requests from a Windows Service
Does anyone know if there is limit on how many wmic requests Windows can handle simultaneously if they are originating from a Windows service? The reason I'm asking is because my application fails when too many simultaneous requests have been…

Anders
- 283
- 1
- 4
- 12
0
votes
1 answer
Installing packages with an alt-installed Python 2.6 on CentOS 5
Alt-installed python 2.6 (from source using make altinstall)along side 2.4 on a CentOS machine (so as to not break anything), but I am a bit baffled about how to install python packages to the 2.6 directory tree rather than the stock 2.4 tree CentOS…

Nathan Milford
- 792
- 2
- 10
- 21
0
votes
1 answer
Setting up CGIHTTPServer on OSX
I'm not at all knowledgeable about this, so please bear with me.
I'm trying to set up python's CGIHTTPServer on OSX to be able to serve cgi-scripts locally, but I seem to be unable to do this.
I've got a simple test script:
#!/usr/bin/env…

thepandaatemyface
- 103
- 1
0
votes
2 answers
Loading a python web by Apache in Ubuntu
Currently I've been trying to run a website on Ubuntu using Apache2, but I've encountered a problem. The website is named Indivo, and has Python files.
I've set up system according to instructions, but when running Apache:
$ sudo service apache2…

Ehsan
- 103
- 2
0
votes
2 answers
How to correctly launch a python application in the Mac OS X dock?
I need to install a python application (python + wxWidgets GUI) to end users computers. I need an application to be in the Dock and start like any other application - with light "started" indicator, click-is-focus etc. However OS X prevents me from…

grigoryvp
- 3,655
- 11
- 39
- 59
0
votes
1 answer
mysql config, mysql5, macports, python, django
This is the settings.py file for python. I set mysql up via macports (mysql5 & mysqldb)
The problem is that I am unsure if I have the configuration correct before I sync the db. The user name to connect mysql is different than the user with…

demet8
- 113
- 4
0
votes
2 answers
Recommended setup to serve both HTTPS & HTTP connections to a pylons web-application
I'm looking for a simple way to serve my pylons application in both HTTP & HTTPS (for the administration section). I had come across some tutorials on serving pylons applications through an Apache web-server but I don't need that kind of overhead…
user6623
0
votes
1 answer
how to install python-lxml 2.1 on ubuntu 7.10 gusty?
I treid with easy_install lxml==2.1 and got following error
src/lxml/lxml.etree.c:120447: erreur: «XML_XPATH_UNDEF_PREFIX_ERROR" undeclared (first use in this function)
src/lxml/lxml.etree.c:120456: erreur: «XML_XPATH_UNKNOWN_FUNC_ERROR" undeclared…

shahjapan
- 141
- 1
- 13
0
votes
3 answers
Getting a list of patches in an HPSA patch policy
I'm trying to get a list of patches contained in a Patch Policy in HPSA -- I can get what I need via the Twister web interface (under PatchPolicy.getPatches(), give it an ID, and it happily returns a list of patches contained.) -- I'm having a hard…
asm