For more information please see the official website.
0
votes
0answers
50 views
How can I configure programs to ask for password when open?
How can I configure programs to ask for a password when opened?
For example, if I'm using Akregator, Kmail, Skype or another program that could have personal information, how could I prompt for a ...
2
votes
1answer
59 views
How can I upgrade pip on Ubuntu 10.04?
On Ubuntu 10.04 I've used apt-get install pip which gives me
pip: error: No command by the name pip uninstall
From doing some research that is because I'm using an older version.
$pip --version
...
2
votes
1answer
35 views
Suddenly I have troubles plotting with python
I have a code that I used yesterday to generate plots. Today, when I tried to use it (with the same input as yesterday), I get an error:
QGtkStyle was unable to detect the current GTK+ theme.
...
0
votes
1answer
88 views
How to manually uninstall urllib, urllib2, requests python packages?
I'm having a problem with urllib, urllib2 and requests, three python libraries.
I use Ubuntu 10.04.4 LTS and python 2.6.5 (we can use with python) (but I had installed manually, after the problem, ...
2
votes
3answers
70 views
Why does installing python-minimal package also grab the python package on Debian?
From running:
apt-cache depends python2.6-minimal | grep Depends
and
apt-cache depends python2.6 | grep Depends
it looks like python2.6 depends on python2.6-minimal and a lot more.
However, ...
0
votes
1answer
30 views
Install new most recent python package in ubuntu?
I could really do with installing matplotlib 1.1.0 on my ubunutu 11.10 system.
The current ubuntu package is at 1.0.1, how do I use the new one?
0
votes
1answer
106 views
zlib support for PIL won't work
I'm trying to install PIL as per its instruction on debian but can't figure how to fix this bit:
I get --- ZLIB (PNG/ZIP) support available on build_ext
and * ZLIB (PNG/ZIP) support not installed on ...
0
votes
1answer
52 views
Python set up on mac
My /usr/bin contains the following installs of python
lrwxr-xr-x 1 root wheel 76 Nov 18 06:17 pythonw2.7 -> ../../System/Library/Frameworks/Python.framework/Versions/2.7/bin/pythonw2.7
...
1
vote
1answer
115 views
What does this python2 error mean, and what should I do about it?
Whenever I attempt to use an application relating to python2(gnome-tweak-tool, bzr, etc.) it fails to start and, when run from command-line, I get this error:
[username@host ~]$ gnome-tweak-tool
...
0
votes
2answers
105 views
What is the python equivalent of grep -v?
I like grep -v. I use it all the time. But I am also doing some text processing in python, and there is one crucial thing that I lack.
Usually, I use grep -v to take extraneous stuff out of text.
...
2
votes
1answer
47 views
Key-binding to open a terminal running python in ratpoison
In my .ratpoisonrc file I'm failing to write a key-binding to open a terminal running python. I'm running a minimal Debian setup on which I basically just run emacs. Sometimes I want to just get a ...
2
votes
0answers
140 views
“Operation not supported” for setfacl inside a python script [closed]
I've programmed a script using python which logs in as root on the host machine and executes some commands. Therefore it uses ssh. I want to setup acl. If I do following commands in the command line, ...
2
votes
0answers
144 views
MySQL socket and PHP (and other languages)
Background info
I'm currently running CentOS (or Red Hat?).
uname -a gives (I edited out my domain name)
Linux XXXXXXXXX.com 2.6.32-71.29.1.el6.x86_64 #1 SMP Mon Jun 27 19:49:27 BST 2011 x86_64 ...
7
votes
3answers
149 views
Is it possible to execute scripts in BIND based on lookup
Is it possible, to set up BIND as DNS server on my local network, and make execute scripts when it gets a lookup?
I would like to execute a Python or Bash script, based on the incoming DNS lookup, ...
0
votes
1answer
55 views
python regex equivalent of kwrite [ ]+ and [0-9]+
I've never been good at regular expressions. When ever I read about them, I sort of get a headache, get up from my desk, and forget what I'm doing. Attention difficulties.
But when I finally started ...