Advertisement

635 organizations, including eBay, Ericsson and Lockheed Martin, now work smarter with Corporate Accounts. Save up to 42%

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Time Tested Python Solutions: 151 - 175 of 317
 
Hi, I am writing python code to do traceroute to a list of addresses, and process their results. I am using thread.start_new_thread() method to launch traceroute. How can I save the tracero...
OS X cmd line I am using the following script to iterate through subdirectories and get the name of each subdirectory.  I need to change the owner to the name of the directory.  Using ListD...
How do I run an external program from a Python script?  I would like to run SQL*Plus...
This is a next step question based on a post a few days back. I am trying to learn to use Python with GTK. I am using the tutorial   found at   http://www.pygtk.org/pygtk2tutorial/sec-TextEntr...
Error: C:\Documents and Settings\u4cncmgj>c:\python24\python "C:\Documents and Setting \u4cncmgj\My Documents\code\mosaic_to_new.py"   File "C:\Documents and Settings\u4cncmgj\My Document...
How do you add text to the end of a file witout reading off the filecontent.
Dear python experts ,                               I am trying to do the following exrcise .. and am very new to python. Can somebody help me. I have a Dictionary: dictionary object like...
Hi Experts: I am trying to write an ftp client to download large files.  I want to implement auto-resume, multi-part downloads. Can anybody show me the right way to do it? Regards, ...
Hi,   I'd like to what is the difference between twisted and socket, and like to know suggestion which one to choose if the GUI is involved in the local area network system. Thanks in advance...
Does anyone know of a Python script, package, tool or something to convert UTM or TCC coordinates to Long/Lat and vice versa? Bonus points if it does GCC as well.
For starters, I am not a Python programmer.  I have devoted the last 3 years working with VB.NET so I am coming to you wonderful experts that have helped me dramatically with this one.   Th...
I want to capture a http audio stream (say from a internet radio station) and save to a file. I wanted to know what Python or Java libraries are available to do this ... and if possible some ...
Building a simple django app using GAE.   I have a form.  I simply want to take the form data and post it back to the web page as a string. The problem is that the form doesn't seem to ackn...
I'd like to match a string with multiple lines like this: s="<html> the first line \n the second line </html>" note that the \n in the string makes it in multiple lines I tried followin...
hello, im building a small python app, what im trying to do is direct my app to a web page, then the page's content is being stored in a variable, but then what i want to do is go through t...
Hi - I am starting to work on a Python project using GTK and I am looking for GUI design tool for it similar to what Active State's "GUI Builder" does for TKinter. Are there any such tools ...
Hello, The code below takes file(s) and clips them by another file.  I would like it to take files and clip them by one file.  I think this will work if I switch these lines of code around. S...
Hi, Is there an easy way to convert timedelta to milliseconds? Do I have to calculate this using the milliseconds, seconds, hour, days? Thanks Jamie
I am writing a simple email program in Python that will send out emails containing Chinese characters in the message subject and body.  I am not having any trouble getting the email body displ...
I try to create a Python Script who will send a MSMQ message, aknolege the return etc I'm not able to acces the Queue. It's the first time I use MSMQ. This is a extrac of the script I made....
While trying to install the cx_Oracle Python>Oracle utility, I encounter the following error due to a missing xa.h file: ----------------- sh-2.05b# python setup.py build running build ...
I need to call Oracle Sql*Plus from a python script.  If I put the call to sql*plus like this: os.system('sqlplus /NOLOG @my_script') Then the @my_script will never get passed. Even if I put...
I have files in a folder that that all end with a 2 digit number xxxx_01 to xxxx_71 and they are extension .rst  Is there a way I can automate separating them into different folders based on t...
Hello, I have several folders that I would to change the name of using some code. Can someone tell me how to do this? Currently I have several folders containing folders that are named r1, r2,...
I asked a similar question previously, and got some answers from Mish. I got to implement code as suggested in the link Mish provided, but I found it is very inefficient. My code is attached. ...