python-idle
Cannot Import GTK in Ubuntu Python 2.7
I\'m trying to import GTK in Ubuntu Python 2.7, and I get the following error. PyGTK imports just fine. When I import gtk, I get the following error:[详细]
2023-03-27 18:47 分类:问答Why do I get a recursion error with BeautifulSoup and IDLE?
I am following a tutorial to try to learn how to use BeautifulSoup. I am trying to remove names from the urls on a html page I downloaded. I have it working great to this point.[详细]
2023-03-27 17:56 分类:问答Python AttributeError: 'module' object has no attribute 'init'
I w开发者_如何学Pythonas running a simple python file: from livewires import games games.init(screen_width = 640, screen_height = 480, fps = 50)[详细]
2023-03-27 07:07 分类:问答SWIG: 'module' object has no attribute 'Decklist'
I\'m having one hell of a time with SWIG, due in part to the lack of good C++ examples to learn from.I finally got my first program to compile with SWIG, but am having troubles running it.Let me just[详细]
2023-03-26 09:46 分类:问答How to remove lines from stdout in Python - in SciTe, Idle, Eclipse or other editor with console
For a standard Python Console window, you can remove the last line with for example sys.stdout.write(\'\\r\'+\' \'*len(line)) as I explained here.[详细]
2023-03-22 23:55 分类:问答Change printed text color in Idle?
Is there a way to specify the color a text is printed within Idle for Python 3.2? I\'m looking for 开发者_开发技巧something like:[详细]
2023-03-22 13:34 分类:问答Why does Idle keep crashing? (Mac)
I just installed python 2.6 on Mac OS X (Snow Leopard) and when I start IDLE it keeps开发者_运维知识库 quitting![详细]
2023-03-21 21:47 分类:问答python win32api.LoadKeyboardLayout(), doesnt change language in IDLE shell?
Can someone help me out please...I\'m trying to start my first programming project. It will be implemented in python.[详细]
2023-03-20 17:44 分类:问答Continuously updating an OpenTK GLControl in WindowsFormsHost in WPF - How?
I have开发者_JAVA技巧 an OpenTK GLControl embedden in a WindowsFormsHost in my WPF application. I want to continuously update and render it.[详细]
2023-03-18 17:45 分类:问答Python Idle and KeyboardInterrupts
KeyboardInterrupts in Idle work for me 90% of the time, but I was wondering why they don\'t always work. In Idle, if I do[详细]
2023-03-18 16:31 分类:问答