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
1answer
854 views

IOError: [Errno 13] Permission denied. FEniCS JIT compiler

I keep getting the permission denial error: IOError: [Errno 13] Permission denied, when I try running making a function space. I think it it something to do with the JIT compiler. Somehow, all the ...
1
vote
0answers
134 views

Why am I unable to load python gedit plugins?

I am running Ubuntu 12.04.03 with 3.5.0-44-generic kernel. Python 2.7 and 3.2 are installed. However, whenever I try to enable gedit plugins (python ones, like Bracket completion or Code comment) I ...
1
vote
1answer
4k views

How to get a SSL certificate to be verified in Python?

I've got an inexpensive certificate from EssentialSSL (Comodo is the CA) and I was surprised to discover that Python didn't recognize it. requests.exceptions.SSLError: [Errno 1] _ssl.c:509: ...
-1
votes
1answer
33 views

how do I add to an already existing file?

I want to add to a file but when I do the file starts at the end of the last file.I need it to start at the next "new line"
0
votes
1answer
496 views

Making webpy framework accessible from outside the local network

I am using ubuntu 12.04.03. I have some basic experience with webpy and I had it working for my LAN just by following the tutorial. The framework needs to be able to be used from outside the local ...
1
vote
1answer
7k views

How to install the latest IPython notebook in Ubuntu 12.04?

The solution here asks to install the latest notebook, but I was unable to find how to do so. http://stackoverflow.com/questions/16496687/unable-to-open-an-existing-notebook-in-ipython-notebook
0
votes
1answer
1k views

I want to uninstall Python3 and just use 2.7

I typed in this to the terminal: sudo apt-get remove python3 And it gave me the following output: Reading package lists... Done Building dependency tree Reading state information... Done ...
1
vote
2answers
1k views

How we can change linux environment variable in python?

Let's say we are on a command line and we declare an environment variable: export x=100 When i go to python and type : os.environ['x'] = '100000' If I came back to command line x stays 100. Is ...
2
votes
1answer
709 views

IDLE 2.7.5+ doesn't work in Ubuntu 13.10

Recently, after upgrade from Ubuntu 13.04 to 13.10 I can open .py files in IDLE 2.7. When I doing click in "File - Rencet Files - file.py" I get a empty windows. In this windows the code is absent and ...
2
votes
1answer
151 views

Why do I have two versions of Python?

I am very new to Ubuntu. If I use IDLE I am using Python 3.3.2+, whereas if I go the terminal and type python --version it says I am using 2.7.5+. As these versions are not compatible with each ...
-1
votes
2answers
99 views

Numpy installation?

I used VIRTUALBOX to install Ubuntu 12.04 on my windows pc. I used apt-get to install Python 2.7 that shipped with 12.04. I followed the directives I saw on this site to install Numpy, Scipy, Matplot ...
0
votes
1answer
257 views

Running python3.3 using virtulenv

I am using Ubuntu server 12.04. The default python version is 2.7. I have installed python 3.3 in /opt directory. When I try to create a virtualenv to use python 3.3, I get the following error: ...
2
votes
1answer
1k views

Can't enable Google Music Plugin on Rhythmbox 3.00 ubuntu 13.10 - python error

I am having a problem enabling the gmusic plugin on Rythmbox 3.00 in ubuntu 13.10, it worked in Rythmbox 2.9 but now it stopped working, tryed with PPA and PIP installations and both fail. I ...
1
vote
1answer
95 views

AppIndicator documentation for Python

Where has the documentation for the Python bindings to AppIndicator gone? Visiting this official looking page, all the links are broken.
0
votes
1answer
590 views

gedit R plugin not working after upgrade to 13.10

I recently upgraded to 13.10, and my R plugin for gedit is no longer working. When I go to gedit->preferences->plugins and try to enable "R integration", I have little red error symbol and a message ...
1
vote
1answer
260 views

Suddenly All Video Players Relying on Python Do Not Work in Precise 12.04 amd64

Until several days ago everything was working fine. Last time I used VLC was may be a week or 2 ago. I first noticed the behaviour when trying to play a mp4 video I had played before without trouble ...
3
votes
1answer
91 views

Application integration with Unity launcher

I like to integrate a application (a digital shredder, a interface for shred command) to allow drag-and-drop files from Nautilus to launcher icon and then open the program and fill the file path ...
2
votes
2answers
45 views

Scripting bzr commands

Can someone push me in the right direction to either use a shell script or Python to make a script to simplify pushing a bzr branch to launchpad? The script process would be simple: cd ...
-1
votes
2answers
248 views

Camdesk doesn't work

I'm trying to use camdesk following this OMG article, but camdesk isn't working and not sending any error messages. I open it in terminal using: ./camdesk.py A white square appears in the middle ...
2
votes
1answer
392 views

Can't find Spyder or Ipython Notebook applications after Anaconda install (xubuntu 13.10)

I installed Anaconda 2.7. I can run spyder and ipython notebook from the terminal but I can't find the applications at all from the desktop. Is there a specific place I should look? Should I just ...
0
votes
1answer
310 views

How do I enable CGI execution in the root directory of Apache

I have built an Ubuntu server and need to execute CGI scripts in the root directory. I keep finding tutorials on how to execute them from cgi-bin but that isn't desired in my situation. I've installed ...
2
votes
4answers
617 views

Ubuntu Software Center, terminal and other applications don't work after uninstalling Python 3

I am a new Ubuntu user running Ubuntu 13.04. I've been trying to install and use a DeDRM tool, but I've been having problems doing so. I was following some directions that said I needed a version of ...
2
votes
2answers
418 views

libreoffice Python Uno support for Python 2.7 on Ubuntu Saucy 13.10

I recently upgraded to Ubuntu 13.10 and discovered that the python-uno package is no longer available. Instead I find a python3-uno package. Unfortunately I need Python uno libreoffice support for ...
1
vote
1answer
392 views

Can't install Python2.7 on Ubuntu 13.04

I'm trying to install Python 2.7 on my Ubuntu 13.04 VPS. I'm issuing; sudo apt-get install python=2.7.4-0ubuntu1 and getting this in return Reading package lists... Done Building dependency tree ...
0
votes
1answer
75 views

Are there any security problems to running an http server using Python's built in module?

I have a presentation to make to a few people. It's interactive with python CGI scripts. Are there any security problems with using python3 -m http.server --cgi 8000? Each person will be using their ...
3
votes
2answers
5k views

Python 3.3 installation ubuntu 13.10

I have just installed ubuntu 3.10 and, although this version is still reliant on python 2 as the default, the python 3.3 interpreter is listed as installed in the software centre. Does this mean that ...
3
votes
1answer
233 views

Gtk3+ keyboard shortcuts without signal matching

I am in the process of creating my first Gtk3+ application using python, and I am quite frustrated with the lack of documentation :( Well, what I'm trying to do is to configure the Delete button to ...
1
vote
1answer
149 views

How can I use pygi Webkit on a headless server install?

I have a set of scripts that works on my laptop that works fine as long as I'm booted in to an X session, but if I'm running on a headless server install I get loads of critical fails from Gtk. I'm ...
0
votes
2answers
562 views

How to change environmental variable permanently?

I am trying to use third party packages in Python. To import all the modules I need to update PYTHONPATH. I read several blogs on it but still I have following questions unanswered. Is sys.path ...
1
vote
0answers
719 views

Python CGI cannot execute in Ubuntu 13.10

Today I just updated my ubuntu from 12.04 to 13.10 . And then some thing happened really bad. I cannot execute Python CGI in ubuntu 13.10 apache 2.4 even through I already config everything in ...
0
votes
1answer
159 views

Using Quickly to build a web browser

I've taken my first crack at building apps for Ubuntu. I created a simple web browser using a video made by Jono Bacon. I was wondering if there is a list that I can download that has all of the ...
3
votes
1answer
64 views

How to write a 'hotcorners' script in Python?

I'm using Lubuntu 13.04, and a feature that I miss from Compiz is the hot-corners: it simply runs some command when the mouse cursor reaches a corner of the screen. So, I was thinking about writing a ...
0
votes
1answer
650 views

Set Window Icon to Gtk Stock Icon in PyGtk

I am trying to add a Gtk stock icon to my window. Here is the code: #! /usr/bin/python from gi.repository import Gtk class MyWindow(Gtk.Window): def __init__(self): ...
1
vote
3answers
2k views

How to install python-qt3?

I'm new in Linux environment and I need to install python-qt3 on Ubuntu 13.10. How can I install it?
0
votes
1answer
465 views

pygame installation for ubuntu 12.04 LTS

Can anyone suggest me how to install the pygame for use in the construction of the graphics games using the python?
1
vote
0answers
303 views

ImportError: No module named mechanize

I am having an issue where I have definitely installed mechanize both on my machine and in various virtual environments. When i running the program got error message ImportError: No module named ...
3
votes
1answer
453 views

Stop .py opening in gedit?

I have been trying to get a .py file to open in the interpreter instead of in gedit and feel like i'm banging my head off a wall. I have selected "Allow executing file as program" in Permission (it ...
3
votes
2answers
6k views

PyDev not found in Eclipse Kepler Eclipse says it's correctly installed

I suppose it's a similar problem as this question, but I was asked to file a separate question, because my problem is Python-3-related. Situation: Ubuntu 12.04 64bit, Python 3.2.3, installing Eclipse ...
0
votes
1answer
417 views

Error using fluidsynth

I installed fluidsynth following the instructions here: http://sourceforge.net/apps/trac/fluidsynth/wiki/Download ...which were just sudo apt-get install fluidsynth But get the following error when ...
0
votes
1answer
256 views

python install.py -i not working

I recently tried to instal subterfuge but one of the steps included entering python install.py -i in my terminal, how ever when I did this it showed me this! [errno 2] no such file or directory ...
33
votes
5answers
9k views

How to easily start a webserver in any folder?

I'm looking for a relatively painless way to launch a web server with document root in any folder I specify (or better yet, where I'm launching). I often try out new things like JS frameworks or so ...
1
vote
2answers
1k views

How to see if wxpython is installed?

I would like to know how can i determine if wxpython is installed on ubuntu 12.04? And i would like to know as well if ubuntu 12.04 already has wxpython installed by default?
3
votes
1answer
245 views

Has the support for the Python language been removed from the SDK?

Has the support for the Python language been removed from the SDK in Ubuntu 13.10? I can't find any tutorial for the Unity scope and for Python.
-1
votes
1answer
966 views

Can't run python program in terminal

(I am using ubuntu 12.04) I made this python program: #!/bin/sh # -*- coding: utf-8 -*- #Created on Tue Nov 12 19:44:50 2013 #@author: matthew import os print "Multiple Command Runner" print ...
2
votes
2answers
605 views

Any software that converts text to speech and sends speech via a microphone?

I'm in a strange predicament right now. I'm taking a virtual class through work and at work in my cubicle. I'd like to be able to quietly do this but sometimes I have to speak into the microphone ...
1
vote
1answer
1k views

ubuntu 12.04 python problem or?

Hi i am trying to fix this for a long time but without success. When i open my zsh terminal i get this error: (terminal is working but error appear) Welcome to the world of tomorrow! ...
1
vote
0answers
244 views

Can't Start Carbon - 12.04 - Python Error

I am really hoping someone can help me as I have spent at-least 15 hours trying to fix this problem. I have been given a task by a potential employer and my solution is to use ...
1
vote
1answer
2k views

How to install Visual Python?

I'm a Linux newbie but I'm determined to get my favorite applications on my laptop running Ubuntu 12.04. I just installed Cinnamon. I'm trying to install Visual Python and it requires Python 2.7. I ...
2
votes
1answer
406 views

Wrong package for Idle-python2.7?

I'm running python 2.7 in Ubuntu 13.10, and idle (idle-python2.7) has stopped working. Whenever I try to open a file in a editor window, it is blank, though the file does exist and is not empty/blank. ...
0
votes
1answer
232 views

Installing both lxml 3.1.2 and lxml2 on ubuntu 12.04

I asked this on SO: http://stackoverflow.com/questions/19852911/lxml-3-1-2-and-lxml2-both-on-ubuntu/19856674#19856674 But it is perhaps more appropriate for AskUbuntu. So here it is again, ...