|
First
|
Prev |
Next
|
Last
Pages: 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359
Times where one would use new style classes vs classic classes Hi all, I'm really new to Python and I've been reading up some texts on older versions of Python (2.2 to be specific). The text briefly mentioned new style and classic classes. I'd really like to know in the current context of Python 2.5, besides in the cases of multi-inheritance, where would I use new style... 3 Jul 2008 14:34
wxPython: How can I get window's HANDLE in wxPython. I need a window's handle to be passed to external c++. Thanks in advance ... 16 Jul 2008 22:20
ANN: XML builder for Python Not sure if it's been done before, but still... from __future__ import with_statement from xmlbuilder import builder, element xml = builder(version="1.0", encoding="utf-8") with xml.feed(xmlns='http://www.w3.org/2005/Atom'): xml.title('Example Feed') xml.link(None, href='http://example.org/') ... 3 Jul 2008 22:46
Generating list of possible configurations Hello pythonistas. I'm a newbie to pretty much both programming and Python. I have a task that involves writing a test script for every possible combination of preference settings for a software I'm testing. I figured that this was something that a script could probably do pretty easily, given all the various po... 4 Jul 2008 11:01
Sorting two dimentional array by column? Imagine an excel spreadsheet. I can choose a column and sort the records based on the items in that column. I would like to do the same thing with a large two dimensional array. What would be the fastest way (in computation time) to accomplish this? This seems similar to a recent sorting thread, but with t... 2 Jul 2008 19:07
Run interpreter in emacs? Can I run the python interpreter from with in Emacs? Do i have to change anything then? or is it by default? it already syntax-highlights python-files. ... 2 Jul 2008 18:05
detection of unplugged cable Hi, I am tring to develeop a gui with pyqt. I need to detect whether the the cable to vga, dmi or s-video outputs are plugged or unplugged. After detection i need to run a process. How can i do this? -- Oðuz Yarýmtepe ... 4 Jul 2008 03:52
Most efficient way to get pixelcolors of an image? i want to process a large number of images and store their respective pixels in a matrix. what is the mostt efficient way of opening and checking them? i doubt pygame is made for this purpose :) i guess i could also use tkinter? and why cant i print out matrix after getting the pixels? do i have to deinit... 2 Jul 2008 17:03
Bloody signal handling (in embedded Python code) Hello everyone, And now for something completely different: signal handling sometimes works, sometimes it doesn't. When I embed following code, it works: count = 0 def test(): global count while True: count += 1 if (count % 100000 == 0): ... 2 Jul 2008 13:57
Importing modules in embedded Python Hello everyone, I can embed Python interpreter in C code now, but now there's another problem, importing modules in Python code doesn't work: Exception exceptions.ImportError: '/usr/lib/python2.4/lib-dynload/timemodule.so: undefined symbol: PyModule_AddObject' in 'garbage collection' ignored Fatal Python e... 2 Jul 2008 12:55 |