I'm wondering if there is a way to create a tabbed interface with either PythonCard or wxPython. Basically, I'm just wanting a simple preferences look like Internet Explorer uses within its "...
Hi, I am confused on how to get the ping.py module working.
Could someone write me a simple script that will ping a host, let's say www.yahoo.com and return the result to the command line u...
Hi, Experts.
I've read through the Dive into Python book in the section about SOAP and Web Services but I can't find what I am looking for in there. What I want to do is this:
1. dynamica...
I wrote some code to parse a plain text file and find all IP addresses in the file.
When I wrote:
it outputs:
one line is 2 kc1-teng1-2.net.ohio-state.edu (164.107.2.149) 0.770...
I'm so new at this...
I am using XmlHTTP to communicate with a python program under apache2triad. Right now I have the program in a subfolder under htdocs.
import cgi fails
What is t...
1. What is the difference between a Sorted List and an Ordered List?
2. What kind of practical application would you use an Ordered list and a Sorted list?
I will be copying a folder from my PC to multiple remote PC on my network via a Python script. This folder contains an application and a shortcut to the application. Is it possible to copy t...
I have recently began rewritting a complex website (previously written in PHP) in python (using mod_python.publisher) for obvious reasons (more powerful, scalable, faster). Development has be...
I would like to be able to compare two xml files from python. This is being used to ensure that an answer received from a web service (SOAP call) matches predefined expected output. Currently...
In python is it possible to print your programs output on the same line?
So you have one output string that is printed, then another, but the second one overwrites the first one instead of ...
Hi -
My computer pretty much ground to a halt and I noticed in Task Mgr that almost the entire CPU and a good chunk of RAM was being used by python.exe. I killed it, but don't know what it...
Hi all,
I have created a python script which looks in a directory and returns the filename of the latest file to be downloaded there. Typically something like this gets returned "C:\tmp\tes...
I have several long text files that are something like this:
1
2
3
4
5
6
6
7
8
etc
-break-
1
2
3
4
5
5
6
7
etc
-break-
Basically each file consists of a different num...
I am trying to write a python script in Linux that will execute a series of shell commands when run by a user. I am running os.system to do this but I noticed one problem. I need to pickup a...
Hi. I am writing a simple web page. I have a static page which uses Javascript to validate a registration form. I then call a Python script to access a gadfly DB which checks if whether the us...
Is there anyone that has worked with the Paramiko package for python?
I'm trying to implement a nice abort function in my program that I'm creating for both uploading and downloading.
I ...
hello
i got date time object ..
how do i add days in date time object.
I have a php script with the same file name located in 24 different subdirectories of a parent directory. Due to changes in the path structure, I need to modify a path on line 7 of each file....
Hi All,
I have having some difficulties with a piece of sciprt in paython trying to read rows from a database. the lines of my code are as below:
def searchRecord(userid):
cursor.exe...
In an effort to increase my proficiency I've been going through the Microsoft Scripting Games events in Python. I was doing fine until I hit this one:
http://www.microsoft.com/technet/script...
hi all,
assuming this directory structure
- x1
-x1_file1_date1.txt
-x1_file2_date1.txt
- anytext.txt
-x2
-x2_file1_date1.txt
-x2_file2_date1.txt
-x2 file3...
the following code prepares the window in forground (on windows xp) into a screenshot and then ready it to be examined by reading it pixel by pixel in 3 values of RGB
is it possible to use ...
Hello,
I have about 300 binary raster files (value 1 or 2) and I would to know the number of cells in each class for each raster easily. Ideally I would like output these values to a text fil...
Hi. I am trying to learn to use Python. I just ran a command from the command line
From recommendations import critics
That worked.
Then a line or two later I wrote:
reload(recommendatio...
how would I know that a .py is in infinite loop?