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.
0
votes
3answers
467 views
Python: module not found after manual install
I've recently updated to the current version of Ubuntu, 13.04 and Python 2.7.4. Since then I have problems importing the gobject module and dunno what to do to fix it. I'd like to use dreampie which ...
0
votes
3answers
52 views
A good tutorial on making a Python program?
I was looking to see if anybody had any good tutorials or downloads on a python program to take http://textnow.com and make it into a desktop application for Ubuntu.
I would like to make it so that ...
5
votes
2answers
76 views
System locks up, but accessible by SSH
I have been running a Python script for extended amounts of time that relies on the pyCUDA module.
On two occasions, the desktop has become locked up and totally unresponsive, except, oddly, ...
2
votes
2answers
104 views
python2.7: not found: Unable to install or remove any packages
I am currently unable to install any packages. At first it started with complaints that it couldn't find /usr/bin/python (not 100% sure of the path here) so I tried to re-install python using ...
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
2answers
113 views
Opening a Gtk.Window that covers Launcher and Panel
I am trying to create a GtkWindow that would be on top of all the windows. This includes Unity's Launcher and Panel. I am working on Kazam screen recorder and one of the options of the program is ...
1
vote
2answers
304 views
How do I change GTK theme of my app in run time?
I recently noticed that monodevelop, can change GTK theme in runtime . How do I add it in my quickly app?
1
vote
2answers
185 views
Quit application on Ctrl+C in Quickly framework
I found that when I run my application using "quickly run" and press Ctrl+c to kill it, the application does not quit. I am using Quickly 12.04.
For GTK2 applications, I used
def ...
0
votes
2answers
57 views
python-scipy test freeze in ubuntu 12.04
I have a new installation of Ubuntu Server 12.04 LTS. Running the test of python-scipy failed to go through and stopped as the display below.
scipy.test()
Running unit tests for scipy
NumPy version ...
0
votes
2answers
105 views
Broken python (2.7) after manually building and installing python 2.6
running Ubuntu 12.04, I had the usual python 2.7 in place .
I needed python 2.6 , so I downloaded the source and did
./configure
make
sudo make install
A mistake, as I did not want to replace my ...
0
votes
2answers
60 views
Sample Application built with Quickly can't access Web
I am running Tutorial application example for Quickly ( I named App Smallbrowser). This is code from SmallbrowserWindow.py :
import gettext
from gettext import gettext as _
...
0
votes
2answers
51 views
12.04-my default python version changed to 2.5
long ago I downloaded and installed python2.5 ( ./configure , make and make install ) in my system.....
now every time I type the command
python --version
I get
Python 2.5.4
Is there any way I ...
0
votes
2answers
449 views
Python corrupted: how do I clean a failed install or reinstall a fresh instance?
I was given wrong advice to install DEEPIN SOFTWARE CENTER on Ubuntu 10.04.3. I learned later that this app was not built for Ubuntu 10.x, but for 11.x. The developer has not helped at all with any ...
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 ...
0
votes
1answer
36 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
1answer
87 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
35 views
Create Native Gnome Menus
How does one use gnome native elements? For example empathy can:
Create pop-ups with text-boxes and pictures.
Right clicking on the top-left icon produces a menu.
The system tray
The system tray ...
0
votes
1answer
16 views
from quickly.widgets import url_fetch_progressbar can not be found?
at the moment im creating a web browser using a mix of python and quickly(glade)
im trying to get the progress bar at the bottom of the page to work properly (with no luck atm)
i have inserted this ...
0
votes
1answer
66 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
1answer
46 views
Local cgi server
I'm doing some python cgi programming and was wondering if there was a script for running cgi instead of having to install an entire LAMP server for doing it. I've been using CGIHTTPServer but it ...
0
votes
1answer
19 views
Export Package [Eclipse]
I am just wondering how do I export a .deb package for Ubuntu Software Centre in Eclipse? I have created an application that runs Python and Webkit now I wish to submit to the Software centre. How do ...
0
votes
1answer
77 views
python venv not working
I am running Ubuntu 12.10 that has python 2.7 as its default.
I have installed python 3.3 in /opt/python3.3 (using ./configure --prefix=/opt/python3.3). My problem is with the virtual environment. ...
0
votes
1answer
37 views
Can I set up a symbolic link-esque alias from (e.g.) “mybinary dothing” to “dothing”?
I have a script that takes some gene data and runs it through dozens of programs to try to tease out as much information as possible and make me some pretty reports. However, while it seems to work ...
0
votes
1answer
56 views
Python runs way faster while the machine is shutting down?
This morning when I was shutting my machine down from an overnight test of running openCV to display a data stream from one of my cameras, I noticed that my frame rates nearly doubled in the video ...
0
votes
1answer
136 views
Django installed, but can't import django in python
I've installed Django multiple ways, via apt-get and pip install. They all say I have the most recent version of Django. Now whenever I run python in Terminal and type in import django, I receive
...
0
votes
1answer
75 views
How to use fixed width font in python indicator in Unity's top panel?
I have a python script of network bandwidth indicator that I have downloaded from here : https://launchpad.net/nettraffic
I would like to make the indicator use a fixed font so that the indicator's ...
0
votes
1answer
81 views
Drawing tool in Python
I am trying to implement drawing concept like line,rectangle,pencil and brush tool in Gtk.Textview . Is it possible to draw into Gtk.textview?
Thanks in Advance...
0
votes
1answer
209 views
Python 2.4 on Ubuntu 12.04
I want to develop a Python application on Ubuntu 12.04 using python 2.4, but since the default version of python on ubuntu is 2.7. I cannot get the libraries and packages to work for python 2.4. I ...
0
votes
1answer
133 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 ...
0
votes
1answer
289 views
Cannot run program - 'org.gnome.desktop.interface' is not installed
I am trying to make a python app that basically views a web page with QUICKLY on Ubuntu 12.04.
When I do sudo quickly run in terminal, I always get this error:
(saikoroubuntu:5283): GLib-GIO-ERROR ...
0
votes
1answer
273 views
Using Quickly to develop apps for Raspberry Pi?
Can Raspberry Pi apps be developed with Quickly on Ubuntu? I know there isn't Ubuntu for the Pi yet but what I want to do is develop the app on my Ubuntu machine, compile it and copy the deb file to ...
0
votes
1answer
92 views
Glade radio buttons save state
I'm writing small application where I have preferences and in preferences I have radio buttons... I managed to get signals out from them but the only problem I got is saving state of them. As this is ...
0
votes
1answer
160 views
Python Popen Image Viewer
Using a Python script, I want to be able to open an image and close it on ubuntu.
Looking at the answer here:
...
0
votes
1answer
282 views
Pydev not found in ubuntu Software center
I installed eclipse and then wanted to install pydev plugin to execute python programs.
But it gives an error "pydev not found at https://pydev.org/updates" .
How can I overcome this? And is there ...
0
votes
1answer
92 views
How to use inputted text with quickly
I just need the code necessary to have my application assign the input from a text box to a variable after 'Enter' is pushed, and then use it to change a label.
This is what I have for this problem:
...
0
votes
1answer
930 views
How do I remove the Python 2.7 I installed and roll back to 2.6?
by a series of errors, Python 2.7 was installed over 2.6 within Ubuntu 10.04. Both appear to be working, however many things are not (yolk, freenx, easy_install, pip, etc).
I believe the issue is ...
0
votes
1answer
96 views
Opening 2 top level windows (quickly/pygtk)
Is there a way using quickly to have an appliaction have two completly seperate windows (not a window with a dialog) And be able to open each of the windows from each other and maybe even also from ...
0
votes
1answer
84 views
How to add multiple pages which can be switched on press of a button in pyGTK using quickly?
I am building my first app using quickly, pyGTK and python. I am confused how to add multiple pages to the same window and how to switch between multiple windows on click of button ?
In visual studio ...
0
votes
1answer
83 views
problem in app-simple player
File "/home/rohit/rohit-player/rohit_player/RohitPlayerWindow.py", line 54, in on_open_clicked
media_files.append({"File":f, "uri":file_uri, "format":format})
NameError: global name 'media_files' ...
0
votes
1answer
62 views
Path to gettext locales directory
I want add locales support to my python app, but I have problem with path to directory with translates. Defualt is /usr/share/locale, but what is recommended method to define it?
Writing path in ...
0
votes
1answer
131 views
python-tk package is not recognized?
I've got a small program I've written in python (2.7.3) that I'm moving over to another box.
However, when executing this line:
from Tkinter import *
I get this error;
Traceback (most recent call ...
0
votes
1answer
232 views
Installing the Numenta Platform
I want to install the Numenta Platform in Ubuntu12.4.
It created by python 2.5 and for Ubuntu 9.4.
You can see the installing step and requerment in the below link
The Numenta installing help
But ...
0
votes
1answer
234 views
WxPython 2.8 Offline Installation on Ubuntu 9.10 with 2 version of Python
How do you do an offline installation of wx 2.8.12 for python2.7 on Ubuntu with python 2.6 as default Python? Tried searching on google but can't found anything specific. I'm a noob with Linux.
...
-1
votes
1answer
561 views
How to fix error after a release-update to Ubuntu 12.10?
I have freshly reinstalled 12.10 and have NOT updated.
After the last update on about March 26th I started getting usr/share/apport/apport-gpu-error-intel.py errors.
Reinstalled and updated same ...
-2
votes
1answer
36 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 ...

