Python is an interpreted programming language that is often, but not solely, used as a scripting language. A version of Python is included by default on all Ubuntu distributions.

learn more… | top users | synonyms

0
votes
0answers
13 views

How to install gnopfract4d on Ubuntu 13.04 64 bit

How to install gnofract4d.deb file on 13.04 64bit. Here is error messages: sudo dpkg -i gnofract4d_3.14.1_amd64.deb Selecting previously unselected package gnofract4d. (Reading database ... 234826 ...
0
votes
0answers
13 views

unmet dependencies 12.04LTS [duplicate]

i tended to install radiotray on my ubuntu 12.04. sudo apt-get install radiotray but failed, Reading package lists... Done Building dependency tree Reading state information... Done Some ...
0
votes
0answers
21 views

run a program in python interpreter is ok, but receive syntax error when run script

Just a very simple python program # test.py import matplotlib.pyplot as plt plt.plot(1,2) plt.show() Once I type $python and type the program code line by line, everything is perfect. But when I ...
2
votes
1answer
30 views

How to get a list of installed programmes with python?

I'd like to make a programme, which would allow a user to choose, which application to run. I understand, it is possible to just run a command, which user specifies, but it would be much nicer, if it ...
2
votes
0answers
20 views

Are there PHP bindings for indicators and notifications?

Are there already some projects/extensions or wrappers to allow easy creation of ubuntu unity indicators with PHP before I try and 'reinvent the wheel'. A basic Python template that would interface ...
0
votes
0answers
42 views

Kubuntu 12.04 Desktop freezes when running too long

I have a python script that runs in a terminal window, when I leave this script running for six or 10 hours straight, it has no problem as long as I come back and turn on the monitor and move the ...
2
votes
0answers
38 views

Convertion of tiff image in Python script - OCR using tesseract

I want to convert a tiff image file to text document. My code perfectly as I expected to convert tiff images with usual font but its not working for french script font . My tiff image file contains ...
0
votes
1answer
27 views

convertion of tiff image file to text

I'm getting error while converting tiff image to text. here is my code import Image import subprocess import util import errors tesseract_exe_name = 'tesseract' # Name of executable to be called at ...
4
votes
2answers
67 views

Keyboard shortcut to toggle auto-hide unity launcher

I would like to create a keyboard shortcut to toggle the auto-hide option for the unit launcher. Based on the answer on How to programmatically change the launcher's hide behaviour I tried to make a ...
1
vote
2answers
19 views

Numdisplay download

I am first year Physics undergrad. I am trying to follow a tutorial on simulations using Python. However, a requirement is the download of Numdisplay package. As I am a new user of Ubuntu, I was ...
1
vote
0answers
26 views

Error using “make” when installing xapian-bindings

I'm following this tuto http://django-haystack.readthedocs.org/en/latest/installing_search_engines.html because I want to implement Haystack+Xapian on a proyect. The thing is, it was all going ok ...
2
votes
1answer
17 views

How can I get diffuse to play well with a Python virtualenv?

Diffuse is installed on my workstation and plays well with Mercurial so I often use it for diff'ing. However, I also am using a Python virtualenv to use some different modules in a more controlled ...
1
vote
2answers
120 views

How to install python 3.2 in ubuntu 13.04

I need python 3.2 for development purposes, but new ubuntu 13.04 comes with python 3.3. is there any best practice for installing older python version into ubuntu? Thanks
0
votes
0answers
17 views

unable to install Rabbitvcs on ubntu 12.1, python dependencies error

My OS is ubuntu 12.1 and from last 2 days i am trying to install Rabbitvcs (svn client) on it. when ever i run command to install pre-requisite of Rabbitvcs, i got python dependicies error, like:- ...
0
votes
0answers
20 views

Relating a bug id to its date of creation ubuntu

I am writing a python script to pick up bugs of ubuntu using the lauchpadlib. I want to know all the bugs reported between a certain time period. Now there are a few question that I have in mind. Are ...
0
votes
1answer
36 views

How do I recompile Python 2.7 on Ubuntu 12.04?

I am struggling to get the Python module sqlite3 to work. I found this, and am following it, since Python can't seem to find the modules even after installation of the packages. I tried following ...
3
votes
2answers
236 views

Is django installed by default?

I installed Ubuntu 12.10. Is django installed by default on my Ubuntu? If not, how can I install it?
0
votes
1answer
53 views

Can I create an app for the Ubuntu Touch platform using PyQt?

Will I be able to create an app for the Ubuntu Touch platform targeted at phones and tablets using PyQt? What are the options for writing apps for Ubuntu Touch using Python? Thanks.
0
votes
0answers
11 views

Python for point&click interactive story

I'm a digital painter - and I was thinking about making a interactive graphic story. Let me explain (a scene will be best example): There is a room - a character (independent element) stands in the ...
2
votes
1answer
57 views

Easiest way to add a GUI to a Python code?

I'm planning out a Raspberry Pi project, and I want to make it very easy to use. My dad will be using it, and I'd like for it to be usable without having to interact with the terminal. I just want a ...
0
votes
0answers
25 views

Terminal Vim no longer starts after upgrading from 12.04 -> 12.10 -> 13.04: undefined symbol: init_hashlib

When I attempt to run Vim from a terminal, I get the following error: vim: symbol lookup error: vim: undefined symbol: init_hashlib I did some searching and the general consensus is that this is ...
0
votes
1answer
30 views

Installing Python 3.2.x on 12.04

I'm completely new to Ubuntu (and any OS outside of Windows). I would like to use my newly formatted and installed Ubuntu desktop to code in Python. The problem is, I don't know how to install the ...
6
votes
5answers
4k views

How do I install Python Pandas?

I'm trying to install Pandas (python package) on Ubuntu. I can't find it in the repos. Is there a package repo for this or do I have to install from source?
3
votes
2answers
53 views

How can I run a python script with out the prompt “Run in terminal, Display, cancel, Run”

I added #!/usr/bin/env python to the script and chmod +x in terminal, but on double clicking it still asks for these 4 options. I want it to automatically open in terminal. Is it possible? I'm using ...
0
votes
1answer
40 views

How to set quickly to use python3 when creating new applications in Ubuntu 12.04

I'm just starting to learn python and use the standard set of tools in ubuntu 12.04 (quickly, glade, gedit). When I do quickly create ubuntu-application foo the application uses python 2.7 by ...
0
votes
0answers
11 views

Spin button General properties in Glade arranged in a weird manner

Can you see in the properties you have to scroll all the way to the right to see whats on the buttons. Is this a bug or can I edit this from somewhere, this only happens in spinbuttons and their ...
1
vote
2answers
124 views

Problems related with spin buttons

So, I have an important problem related with spin buttons in Python/GTK3. I'm trying to create a spin button in my project, Virtuam, and it seems to work... but with a bug which blocks the +/- ...
0
votes
1answer
64 views

ComboBoxText in Glade / GTK+3 / Python - disappears when displayed 2nd time

I'm trying to implement a drop down list in an Ubuntu app using Glade (GTK+3) and Python. I can get the ComboBoxText to display, populated with strings. However when I close the window it is contained ...
0
votes
0answers
20 views

How to return elements of a list that are a certain amount of characters? [closed]

#Parameters: L=a list of strings, N=an integer def select_names(L, N): count = 0 #creating a new list L2 L2 = [] for i in range(len(L)): if len(L[i]) == N: ...
0
votes
0answers
33 views

12.04: I installed python 3.3 and now I can install or remove anything

I downloaded the lastest python 3 source, built it and installed it along side 2.7. These are the commands I used to build and install it: ./configure make make test sudo checkinstall -D make ...
0
votes
0answers
21 views

Python setuptools configure error

In a moment of stupidity I deleted my python directory from my raring ringtail installation. Now, after trying to reinstall things apt-get is not working at all and I'm going round and round in ...
0
votes
1answer
33 views

How can I add a pip based dependency to a Quickly project?

There is a great topic here about dependencies from ubuntu repositories. But my app depends on python package, which has to be install with sudo pip install package. Can I add this kind of dependency ...
8
votes
5answers
6k views

How to remove a deb without removing its dependencies

I would like to install the most recent version of boto, which I do via python setup.py install Yet when I try to remove the old version the following packages also get removed: apt-get remove ...
0
votes
1answer
27 views

AttributeError: 'tuple' object has no attribute 'translate'

I am developing this program and for some reason, I keep getting this error. Is this an Ubuntu caused error, or something in my code that it crashing my program? I am accessing a database and trying ...
1
vote
4answers
1k views

Perform multiple statements in one line in Python 3.2.3

Is there a way to execute multiple statemens while performing them in one line, like this: import time print ("Ok, I know how to write programs in Python now.") time.sleep(0.5) print (".") # This ...
0
votes
1answer
35 views

Quickly can't package, but raises no errors

I am trying to make a .deb package for my project in quickly. This is what I get: ilya@ilya-laptop:~/Projects/online-translator$ quickly package ...........Ubuntu packaging created in debian/ ...
0
votes
0answers
12 views

configuration error while creating instance for a project

I just created one new product named netfor.job and also created browser folder under src/netfor.job/src/netfor/job/browser.. And then i confiqured the browser in ...
0
votes
0answers
15 views

python gqis error

please help me, give me solution, Couldn't load PyQGIS. Python support will be disabled. Traceback (most recent call last): File "", line 1, in RuntimeError: the sip module implements API v9.0 ...
1
vote
0answers
23 views

Turn screen off when no motion in front of webcamera

Is it possible to automatic turn screen off when there is no motion detected in front of webcamera for X minutes ? Can i use sudo service motion start and xset dpms force on/off somehow ...
0
votes
0answers
44 views

VLC player fails with python errors

Unable to import files and play any audio video file also unable to install VLC player. Showing following error: Required plugin could not be found. Python (v2.7) requires to install plugins to ...
5
votes
1answer
88 views

Can I use pkexec in a python script or a .desktop file?

From the following questions Why is gksu no longer installed by default in 13.04? When to use pkexec vs. gksu/gksudo? we see that gksu will no longer be supported in the long term, and it will not ...
1
vote
0answers
57 views

gcalcli throwing ssl errors in 13.04

I'm using Ubuntu 13.04. I was using gcalcli (from source) previously on Ubuntu 12.04 and it was working fine. But on 13.04, it fails to authenticate google with an ssl error. It opens a new bowser ...
0
votes
1answer
132 views

A problem with youtube-dl

I am trying to use the youtube video downloader youtube-dl but when trying to use for downloading videos I get Traceback (most recent call last): File "/usr/bin/youtube-dl", line 29, in ...
-1
votes
2answers
42 views

How do I install Python2.7 in Ubuntu 12.10?

I am trying to install Python2.7 for educational purposes in Ubuntu 12.10. Any help would be most appreciated.
-2
votes
1answer
32 views

python idle offline installer

Ubuntu 12.04 LTS. Surprisingly, IDLE is not included by default. Python is there. I prefer to download tar.gz or .deb installer for IDLE. Googled to look for it, but could not find. Where can I get ...
-1
votes
1answer
157 views

Python script to change the jack from input to output does not work in 13.04 [closed]

To change the jack from input to output for any computer or laptop I followed this question: How do I change which audio jacks are used for input and output? But the Python script does not work. ...
0
votes
1answer
84 views

How to run a shell script without terminal

I have a shell command that executes a command and sends it through pipe to a python file. The python file does various checks on it and then starts processes with parameters using subprocess.Popen. ...
0
votes
1answer
40 views

Python - NameError: global name 'plus' is not defined

So I am creating a program using shelve and I keep getting this error message. I can not for the life of me figure it out and google hasn't been much help. Is this a problem with Ubuntu/Python working ...
0
votes
3answers
63 views

python 3.3 not showing in /usr/bin

I run linux mint I downloaded python 3.3.1 and ran: ./configure make make test sudo make altinstall However python3.3 did not show up in /usr/bin, but there is a python3.3 folder in ...
0
votes
1answer
53 views

How to change menu entries in AppIndicator, when it is running?

There is a similar question at StackOverflow, but it didn't help me: Changing items while running. I tried asking at StackOverflow, but people there where not too active: How to change GTK menu in ...

1 2 3 4 5 18