Uderc programming article aggregator sites
Index -> curses in python

curses in python

Advertisement

Launching programs from python and ncurses

I've made a little menu launcher with python and ncurses. It works most of the time, but occationally it does nothing when I select a program to launch. This is how it works: 1. A keyboard shortcut launches an xterm window that runs the program. 2. I

[Solved] No module named parse- python errors as own user

A number of applications on my system (wicd and turpial, among others) return python errors when I run them as my own user. I can run these applications as root with no errors, so I'm not missing any packages. The most common of these errors, appeari

[Solved] wicd-curses and -client: access denied???

>> Reboot fixed it, problem resolved. ================================== after last wicd upgrade, getting these errors trying to start the respective wicd clients: 09:39 PM:~ $ wicd-curses ERROR:dbus.proxies:Introspect error on :1.7:/org/wicd/daemon

Python question

I am trying to write my own rss-reader using feedparser and curses. It's very simple and i use it to learn python, because i know the java stuff i learn at school already:lol:. I get this error: UnicodeEncodeError: 'ascii' codec can't encode characte

Unable to capture stdout, stderr from python.

I am trying to read the stdout and stderr of a python program. When I invoke anything else apart from python my class works fine. The python program takes ca 1 sec to start. It then prints one line of text, then it prints a promt and waits for input

Calling a .py script inside a .VI, using anaconda's Libraries or specific python version (SystemExec.vi(?), MAC OSX)

Hi, I'm new to both mac and LabView, so it may well be something obvious I'm missing. I'm trying to use System Exec (http://zone.ni.com/reference/en-XX/help/371361L-01/glang/system_exec/ with LabVIEW 2014 on Mac OS X Mavericks) to call a python scrip

USB 6009 Python Control

 Hello,  I am attempting to use python (with ctypes) to control my USB-6009.  The goal is to write out an analog voltage and then read in the voltage through an analog input with ability to change the number of points averaged and the number of times

USB-6009, mac OS 10.6.8 and python

Hello! I am using USB-6009 under mac OS 10.6.8 and python. I am trying to run the following commmand: analogOutputTask = nidaqmx.AnalogOutputTask(name='MyAOTask') I get the following message File "/Applications/PsychoPy2.app/Contents/Resources/lib/py

My curser keeps on vanishing, when I don't move it for a second (vanishing not flashing)it only seems to happen in Firefox, I've tried pressing f7 to no avail

My curser/ pointer keeps on vanishing, when I don't move or touch my mouse for a second, it's vanishing not flashing it only seems to happen in Firefox, I've tried pressing f7 but it makes no difference. Please help it's driving me nutsStart Firefox

[SOLVED] tv_grab_nl_py works with python 2.6.5, fails on 3.1.2

Hi All, I have updated my mediacenter. Now tv_grab_nl_py does not work anymore: [[email protected] ~]$ tv_grab_nl_py --output ~/listings.xml --fast File "/usr/bin/tv_grab_nl_py", line 341 print 'tv_grab_nl_py: A grabber that grabs tvguide data from tvgi

I have 'not enough space' cursed Pages; even though I have plenty of room it refuses to let me download and install it.

Common problem, except all trouble shooting leads to the suicide of the question asker because it yields only claims that no matter what you say, you need to make MORE space. It's a 30 meg file, I have 500 meg free. I have deleted and redownloaded an

Having a problem with the curser on MacBook Pro in Mavericks. Erratic activation and control.

I have little or no control of the curser. It cuts in and out without any command or direction from the pad or trackpad.i meant the bar from where i can go to file , options, edit. it depends on the program am using for example for itune Follow these

Compability problem with Java and Python  RSA algorithm implementation

I have client server application. Server is writtein in python, client in java. Client receives messages from server encrypted with RSA (http://stuvel.eu/rsa), and I'm unable to decrypt it. It seems that this is RSA algorithm compatibility problem. I

When I move my curser over certain things I get this Message in a window that pops up and says "We noticed you may have signed in or signed out in another window click ok to reload your page." How do I get this to stop.

When I move my curser over certain things I get this Message in a window that pops up and says "We noticed you may have signed in or signed out in another window click ok to reload your page." How do I get this to stop.Clear the cache and the co

Python openbox pipe menu

I somewhat hijacked a different thread and my question is more suited here. I'm using a python script to check gmail in a pipe menu. At first it was creating problems because it would create a cache but would then not load until the file was removed.

Can't run helloworld of Google App Engine (python 2.7)

I looked and searched for the bug and found the post. -> See comment 29 But, it seems that it's still not fixed in google-appengine 1.6.4 for python 2.7. The exact error is: (Trying to run the helloworld given in docs) WARNING 2012-04-06 23:26:00,928

Teaching Myself Python. How Can I Stop The Program From Closing :)

I wrote a program today that will log into a router here at work and check if the line protocols are up and if i can see thir mac address.  If i run it from the IDLE program it works fine.  When i run it as just crosnet.py it runs fine but closes bef

How do I stop the Curser from constantly highlighting with menu popping up

Something has happened.  Very lately, the curser is very very sensitive. Just holding it over something, it pulls it up without me clicking it.  Moving curser over a page, it highlights everything, and then I can't click out of it. Sometimes I go to

Not able to run python programs on OSx maverics

I bought Mac book pro 1.5 yrs back, and it came with OSx 10.6 now few months back I upgraded to OSx maverics and since then I am not able to run python tools properly. Just importing something in the python commandline i get segmentation fault 11. no

I have a spinning wheel in Mail - stuck on trying to load a new message. I've force quit both Mail and my whole computer, but when I open mail again, it brings up the same new message - and the side bar curser is stuck in Drafts. What can I try to cancel

I have a spinning wheel in Mail - stuck on trying to load a new message. I've force quit both Mail and my whole computer, but when I open mail again, it brings up the same new message - and the side bar curser is stuck in Drafts. What else can I try