I am trying to run the script but It ends with the following error. I am also pasting the script. Thanks.
Checking for the existence of a NodeSync MBean on node xxxxNode1
Invoking synchr...
I'm trying to have python read in a file and put each line into a list, then print out each list, but stop at a command line argument supplied number
so file is 30 lines long, argument is 2...
Hello,
I need to find a way to move the mouse cursor even if my application isn't focused, and i need a crossplateform code, it must at least work under Windows and Linux (with the same bas...
I've got a loop where at the end of each loop i'd like python to wait for the user to hit the enter key and then it will continue with the next iteration of the loop
how would i do this?
Hi,
I am trying to convert a list of mac addresses:
001c26225b25
001b2f6398fa
000fb55f4492
0018f8c94a3a
0018f84a3de5
000f3d434936
001a7080b57e
0014a467ebac
00095bd8461a
00195b489c...
I want to install python 2.5.2 to run turbogears and bind to mysql and at the same time install plone in /opt using unified plone installer. The plone uses python 2.4.4 and is it possible to b...
I'm just starting out with Python but I'm stuck already and can't proceed unless I understand how this works. I'm trying to append the contents of two files to a new file. Each of the two so...
I'm trying to write a script that print first 50 numbers separated by , without any spaces, end of line characters between number. How can I do that?
I tried to use:
print ",",
however it g...
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...
Hi Experts,
I have a Python class called "KeywordTree(object)" already. Now I want to create another Python class "KeywordMember" to contain some extra data.
The "KeywordTree" class s...
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...
The python readlines() function gives me a list, output[], from file and I want to delete any line from output[] that is short the required number of list elements (14). I can print the index...
Hello, I have many hundred .kmz files all named consecutively file001.kmz, file002.kmz etc. I need a python script that can do the following:
- rename each of the .kmz files to .zip files
...
I am learning about Python and I was wondering, what IDE or GUI Builders are available for Python? I am trying to create a web application in python. Any suggestions or references are gladly...
Hello everyone,
I'm currently developing a tool in Python using wxPython for my GUI.
Now I'm using wx.Shell() to execute commands to the command prompt.
Now this all works fine, but the c...
I am new to Python,
Please can someone convert the below mentioned perl code to Python.
Thanks,
Suhas
I'm Trying to use toggle buttons as radio buttons and have been unable to get the other buttons to
be de-selected.
There are 3 buttons each has a selected icon and unselected icon.
When...
Hi,
My goal is to output data to an XML file and then parse the resulting XML file with python to generate plots.
The problem is that I have no experience with python or XML. :) Basical...
I got the error message: "NameError: global name 'do_traceroute' is not defined". Can anyone help me find what is wrong with my python code below?
-----------------------------------------...
I'm very new to scripting languages but I need to start seriously learning one. I had been wavering between PHP and ASP.NET (favoring PHP) when I received a SitePoint email with an article en...
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 ...
I have been tring out some api to turn off effects and screensaver.
but none of theme work. I have sucessfully used similar api to change wallpaper and set screensaver timout.
here is one ...
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 Im using Python from .NET and am getting a bit confused by the path variable.
Ideally I want to have my relevant .py files in a separate subfolder and be able to set that to wherever I ...
I'm trying to read and parse the ip and port from a file. I'm pretty close to getting it, but
somethings not right.
The file is data.txt has the contents
IP_ADDRESS=127.0.0.1
PORT=3031
...