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: 176 - 200 of 317
 
I have a simple python script used to query/update an MS-SQL database. SQL SELECT works fine. SQL UPDATE appears to work (no error), but the database is not updated. I have the same result...
Hi Experts, I have a certain set of floating values to be written to a text file that has to be properly alligned This is the String i need to write to a text file float1 =  -0.037467...
I need help polishing a complicated html Diff script in Python. An expert already helped me with it a lot, and I hope we can get it enhanced to the best possible condition here in this questio...
I am trying to find help with using Python for some tasks with ESRI ARCGIS, however, I haven't had much luck here.  So I was offered some help elsewhere, but given that I don't really know wha...
Hello, We have a little python application that deals with UDP packets coming in our server it does various thing with the information carried by those packets. For some reason once in a whil...
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 ...
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...
Does anyone know of a good module to connect to SQL server 2005 from python? a free module would be ideal. Thanks John
My server keeps shutting down. Im running centos with plesk 8.1 Ive looked a the logs and get this error. [Mon Aug 27 11:36:21 2007] [notice] caught SIGTERM, shutting down [Mon Aug 2...
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 ...
Hello, I was seeking help on a GIS forum on the get following response: --- Below is the algorithm. It begins with a stack P of your 412 points in priority order and an empty stack S. Whe...
I want to use use GUI (forms, text fields, buttons, menus,..) in my programs in Python , but problem is, as I presume, there are only external libraries, whose  expanded standard Python to wor...
how to calculate esitmated time for a python program. .. how can i do that like cpu speed or something else i don't have any idea please help me out
Dear All, In my battle with python, I am trying to insert into a table created using pysqlite  in the structure below: def createMessage():     cursor.execute('CREATE TABLE Message(Messag...
Hi all, I am developing a GUI interface using python and Tkinter. I dynamically generate buttons and text boxes and the user would be able to move them around. My requirement is, when th...
How important are things like 'tabs', 'indents' and 'spacings' when creating/using a python script? When I ask for help elsewhere on GIS topics, I am often asked about my spacing conventions, ...
Let's say that I have a list that looks like this: stuff = ["70", "seventy", "80", "eighty", "90", "ninety"] How do I convert this into one dictionary in the form of: dictionarystuff ...
I have a script that grabs lines from a raw data (csv) file and copies the lines associated with 1-minute intervals to one file, those associated with 60-minute intervals to another, and clean...
Hi, Within a python script I'd like to find files based on an inputted search pattern (e.g test.py 'test*.txt') and place the files into an array, for subsequent processing. Any thought...
I am new to Python. Now I am working on a legacy Python program with > 20 .py files. I want to find out the function call chain, in other words, I want to know when the program starts, whi...
hello i want to create a custom progress bar. not for file uploading but show the actual progress of my program. i m using python as back end and in front end javascript , jquery..and i ...
what should be a file permission inside the cgi-bin folder? what the experts suggest for this. I used to use chmod +x while using home. but for server there must have some special thing. I wan...
I'm trying to pass a variable (snametxt)in the binding of buttons made in a for loop to the button OnClick function.
Is it possible to directly  open a COM port with PYTHON and push a string through it ? I try directly in command line MyConnection = open("COM1") MyConnection.write("string") and I g...
Dear experts, In windows I can do a direct printing using win32api.ShellExecute (0, "print", filename, None, ".", 0) Now, how can I achieve the same feature in Linux Please tell me...