|
First
|
Prev |
Next
|
Last
Pages: 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434
Tkinter pack Problem Hi, I am struggling to get the pack method to do what I intend. I am trying to display user input in a seperate window, along with a little description of the field, something like this: Current entry Company : entered co. name First entry : entered stuff The second e... 27 Jul 2006 04:43
Python and C++ What ways can I call my C++ classes from within Python. I've looked at boost but it would appear that there is little support or knowledge on boost in the python community. ... 25 Jul 2006 15:38
Python and Boost. Hi, I'm trying to call a C++ class from python. I've looked around and the solution would appear to be boost. I'm not sure but maybe I've downloaded and installed the entire boost library, when there is probably a separate tar ball for python / C++ integration. Can someone please point me to a tar ball for mac os... 25 Jul 2006 14:33
class instance scope Hi, I have a class defined in a file called foo.py In bar.py I've imported foo.py In bar.py's main function, I instantiate the class as follows: log = foo.log(x, y, z) Now in main I'm able to use log.view(), log.error() et cetera. But when I call the same method from some functions which are in bar.py,... 24 Jul 2006 08:13
random shuffles does x.sort(cmp = lambda x,y : cmp(random.random(),0.5)) pick a random shuffle of x with uniform distribution ? Intuitively, assuming list.sort() does a minimal number of comparisons to achieve the sort, I'd say the answer is yes. But I don't feel quite confortable with the intuition... can anyone think of... 26 Jul 2006 04:47
Number combinations Hi all, Just wondering if there is a better way of generating a 4 digit number (that gets converted to a string), ive got the following code which generates strings between 0000-9999. <code> for a in range(0,10): for b in range(0,10): for c in range(0,10): for d in range(0,10): ... 20 Jul 2006 02:26
No need to close file? Do I need to close the file in this case? Why or why not? for line in file('foo', 'r'): print line ... 19 Jul 2006 04:48
Embedding exe file hi how i can Embed an exe file in python program ? i want read an exe file then convert it to base64 and store in a string format and Embedd in python code such this : Exe='''R0lGODdhFQAVAPMAAAQ2PESapISCBASCBMTCxPxmNCQiJJya/ISChGRmzPz+/PxmzDQyZ DQyZDQyZDQyZCwAAAAAFQAVAAAElJDISau9Vh2WMD0gqHHelJwnsXVloqDd2hrMm8pYY... 17 Jul 2006 09:55
WMI Help Hello, When I run the following at an interactive interpreter on Windows XP, I get the expected results. But if I save it to a file and run it, it generates the following error. (And it generates the same error either way on Windows 2000) import wmi c=wmi.WMI() for item in c.win32_PhysicalMedia(): print i... 13 Jul 2006 18:10
Python for modem App hi i want to write a program with python that can listen to modem and accept a dial in connection then i can play a sound or send voice to caller & can assess user enterd keys .... how i can send a voice format via modem that caller can hear it .. !? ... 11 Jul 2006 03:55 |