Time for your 3rd Quarter Update! Are you in the running for the 6th Annual Expert Awards? Click the link to find out.

Third Quarter Hot Shots
 

Having problems asking a question? Have a general question about Experts Exchange? Let us know!

 
Top Python Solutions: 1 - 25 of 69
 
Hi everybody, I'm trying to get a python script to run that is supposed to connect to a wii remote: I'm trying to use the first example from: http://www.wiili.org/index.php/Wiiewer w...
I have successfully installed PyQt4 and PyDev. When I try and run code that uses PyQt I get unresolved import errors on the PyWt stuff. The code works fine if I run it with Idle, so I guess th...
Hi. I need a regular expression for finding relatives paths e.g. ../img/xxx.gif or ./img/xxx.gif or img/xxx.gif  in general ../path/to/file/xxx.gif I am using python2.5. Please p...
HELLO   I would like to run a C++ program that can call a python code which is stored as  a *.py.  so that if I make any changes inside *.py, my C++ program can get the results. In my code, ...
Hi, I have this list: list = ['hellolotomao', 4] want to change list[0][-1] (which now equals 'o')  to 'Z' if i do, list[0][-1] = 'Z' 'str' object does not support assignment??? ...
The script below uploads files to a directory. If a file exists with the same name then I would like to rename the old/existing file to something else. I'm not sure if renaming to something li...
I'm a newb to the Python world and am having the dangest time with getting sessions to work in my web frameworks.   I've tried getting Beaker sessions to work with the webpy framework and the ...
I have a string like this : 'ATCTDDGAUV' I want to find the second occurrence of 'T' in this string using string method like find, not count the number of occurrence. Do you have anyway to do...
You should augment both functions to count the number of comparisons each makes. To test your work, create a sorted list containing the 1000 elements 1..1000. Write code that searches the l...
I have to generate an XML file for a client that does not understand utf-8. They have indicated they want to receive decimal character entities. This means that a character such as ΓΌ will be r...
Is there any fast way to take a long list and write into a file in csv format? i.e., list = [1,2,3,9,12,'hola','3'] f.write(something) and will write 1,2,3,9,12,hola,3\n....
What is wrong with my code? All I want to do is to break from the loop once it reaches the 25th word
Looking for a code snipit to change the IP Address of a Windows XP Sp2 box using a python script. And I would like to stay away from netsh.    
Hi I have a function in Python like: def Test(input var1, input var2) return output1, outpu2 I want to run this thread with multi-threading option and get return value. Could some on...
I have a directory with a series of station folders, each with a graphs folder containing png files.  I want to remove the png files without removing the graphs directories but I can't find a ...
Is it possible to create a variable in python to act like a C signed long without writing special functions? If increased after the maximal value (2^64/2) it should become the minimal (-2^64/...
Hi Experts, This is continuing from http://www.experts-exchange.com/Programming/Languages/Scripting/Python/Q_24609340.html This is printing the failed eids. I want to print time-process...
I have few queries regarding Python programming language: (1) Is it used for web development? (2) What type of applications can be developed using it? (3) Name few good IDEs for Pytho...
I want to write some python code that takes a string in the form  "00 F1 A3 56 89", and can be of any length up to 255 characters long, and parse it into an array or list of integers correspon...
Hi Experts, This is continuation of http://www.experts-exchange.com/Programming/Languages/Scripting/Python/Q_24690172.html I would like to see output in following format. 2009-08-05T18:33...
Hello, Can this visual basic code be converted to python? If so,  how? Thanks, MJ
Hi, I want to replace a string in an html file in real time but I cant.  Think its an encoding problem. e.g. I tried html = html.replace('2008/images/whyOver.jpg','http://test.com/2008/i...
Hello, I have about a hundred .dbf files that I would like to extract  two columns from and save the data from each file to the same new excel file Is this possible? I'd appreciate annot...
I want to write a simple function to close the current window. There is one button on at window, when we click to that button, the window will close automatically. Which command I need to use?...
I have copied a few directories from another computer to my dev system. I'm trying to execute a python script according to instructions I've been given, but the script fails to import a modul...