Hello,
I am new to Python scripting and want to know the best way to check a script to see what, if anything, is wrong with it. Sometimes when I execute a script (e.g. script.py) by just dou...
I'm new to Python and am learning how to make a GUI using boa constructor and I'm using a vertical slider widget.
The default range has the max value at the bottom and the minimum value at th...
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?
-----------------------------------------...
How to change the little red icon in the top-left corner of tk windows?
>>> import MySQLdb
>>> db=MySQLdb.connect(passwd="xxx",db="yyy")
Traceback (most recent call last):
File "<interactive input>", line 1, in ?
File "J:\Python24\Lib\site-packages\MySQLdb...
Dear Experts:
I need to use Python to connect to an Oracle9i database and run PL/SQL command. The reason I did this is that I need to run this command to get a password protected role, ...
I have the following code fragment:
def database(self):
databasename=""
host=""
user=""
password=""
try:
self.fp=file("detailing.dat","rb")
except IOError:
self.f...
this sounds like a cool application, but it looks like it is built for linux and it has python
stuff. i think i really need to learn how to install python stuff on my freeBSD.. here is
my ...
If I ssh into that remote server, I can run a script that uses mysqldb and which successfully interrogates the database.
I cannot do it from my local workstation though. I imagine that ssh ...
hi experts
completely new to python, so excuse my ignorance.
trying to get python and mysql set up on windows xp. installed mysql (distrib 5.0.51a) and installed python (ver 2.5.1). bot...
I would like to keep a script running in the background that allows me to launch a subprocess at the press of a hot key combo (i.e. Ctrl+F5). Is this possible with Python?
Hello,
Here is the problem I am having with some wxPython development. I wish to have a frame that pops up when the user presses a button/selects a menu item (which I have successfully done...
Hello,
The attached image has the error message and I am using the script below. However, this error is not endemic to this script. I am assuming its because the execution of the script (and ...
Greetings. We've had Trac up and running for a while on our Linux server, but just started running into problems. Specifically, when you click on Active Tickets or Active Tickets by Mileston...
Hi All,
What I am trying to do is to combine two existing python scripts/reports into one. The first is set up to run WEEKLY, and filters correctly for a value called campaign_no. The sec...
I am a new systems administrator (new to my company and new to the field) trying to get some Python code to work- that the previous systems administrator had written. He used Linux with Pytho...
Would it be possible to write a DHCP server for Windows using just Python? Or would this be better left to a language like C\C++?
Also, any reasons why this might end up being particular...
is python included with xcode?
i need this script which was developed by others, to look for 1 day old not todays date..
i include a snippet of the code which is calling the date
hope you guys can help
I am new to Python.
I modified a Python script written by others, say, with name "a.py". I worked on Linux. "a.py" is executable, begins with:
#!/usr/bin/env python
....................
what is best way to exports from python to ms word ?
Hi,
I have a list h, like the following:
a1.
a1.a2
a1.c2
a1.b2
a1.b2.c3
a1.b2.c1
a1.b2.c2
a1.d2.
The delimiter between columns is '.'
Now basically I want to sort by the fir...
I have a command :
ifconfig | head-1 | cut -c39-55
it gets the mac address and writes it to console.
I want to be able to run this from within a python application and have a string v...
I have a commandline process
and use that to write in a directory I just created using mkdir()
Nothing appears
If I copy the code of the command line call
and run it in a batch file
The f...
Python gurus, please help modify a function to make it do a better job of breaking a string into components of words, spaces, and punction into an array.
Currently it seems to ignore ce...