Python is an interpreted, general-purpose high-level programming language whose design philosophy emphasizes code readability.
0
votes
1answer
18 views
Using Atlas from scipy
I installed Ubuntu 12.04 64 bit. I need to work with python and scipy, I installed them and when I run the test:
python -c "import scipy; scipy.test()"
I get the message:
ImportError: ...
3
votes
0answers
14 views
Using OGG/Vorbis, is there a way to continue to record to an existing audio file?
I am using Vorbis/ogg to record audio (using arecord and then pipping to oggenc). I have downloaded oggvideotools, which gave me oggCat, which will let me join two previously recorded audio files into ...
2
votes
3answers
62 views
Is there an equivalent of calling the built-in python function help('topics') but in bash?
I would like to explore man pages in bash using something similar to the python help('topics') function. Does this exist in bash?
I know the bash equivalent of python's help('modules') would look ...
2
votes
1answer
63 views
Installing trac - “Trac requires Python 2.5 or later”
I am having a little trouble getting trac 1.0 installed via easy_install:
[box]# easy_install Trac==1.0
Downloading ...
0
votes
1answer
36 views
Simple python web server doesn't execute CGI scripts
I set up a simple python web server by opening a terminal in a directory and doing
python -m CGIHTTPServer
There is a CGI script in the directory but when I type into the browser
...
2
votes
0answers
34 views
How can I debug POST requests with python's BaseHTTPServer / SimpleHTTPServer? [migrated]
I found a script on this site for running a simple server via the command line with python.
I added some print lines in because I'd like to print out the GET and POST parameters via the command line ...
2
votes
1answer
30 views
Replace python built with UCS4 with UCS2
I've got fedora fc15 installed with python 2.7.1-7.fc15. It is built with ucs4 and I've got some packages here at work that are built with ucs2. I now cannot build other packages that use these ucs2 ...
0
votes
0answers
34 views
mod_python won't “./configure” because it can't determine httpd version
I'm trying to install mod_python 3.3.1 on Apache 2.4.3 and whenever I try to run ./configure (with apxs etc) and instead of configuring correctly, it says that Apache 2.x is required and my current ...
4
votes
6answers
143 views
What is the easiest way to check if column A and B values goes both ways with AWK? [closed]
What is the easiest way to check if column A and B values goes both ways?
Output to check:
Mike John
John Mike
Pamela Barbara
Barbara Pamela
Mike Paul
Roger Paul
Desired output
Mike <-> ...
1
vote
2answers
122 views
What scripting language or platform to use for web page downloads and screen interaction? [closed]
Possible Duplicate:
Does anybody here have experience in automating some tasks in web applications using curl?
Here is what I need to do? Wondering what platform is most suited - easy to ...
2
votes
3answers
120 views
How do I make python programs behave like proper unix tools?
I have a few Python scripts laying around, and I'm working on rewriting them. I have the same problem with all of them.
It's not obvious to me how to write the programs so that they behave like ...
2
votes
1answer
60 views
Subprocess.call() and gunzip error
I'm trying to use Python's package subprocess to gunzip and gzip files.
I'm using the following command:
subprocess.call(['gunzip', a_path+myfile_gz], shell=True)
Then I get the error message:
...
3
votes
1answer
101 views
Can I upgrade to a new version of Python on an old version of Ubuntu?
I have Ubuntu 8.04.3 LTS and ran this:
$ sudo apt-get install python2.7
I got this:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find ...
1
vote
0answers
47 views
Enable sqlite FTS Enhanced Query Syntax in python in RHEL6?
SQLite's full text search engine offers a simple query syntax (with AND and OR operators and -term for negation), as well as an enhanced query syntax which also allows parenthesis and NEAR — as well ...
1
vote
2answers
62 views
loading python when the linux kernel boots
I was reading This and I was wondering if I could write an API in python or have python load in an init script. If this were to be possible would I need to edit the kernel's makefile?