We have an application written purely in Python (using ctypes, PIL, pycurl, and calling the win32 api directly). We currently compile with py2exe and use NSIS for the installer. It is a deskto...
Hello
i have two question
1. i have to learn python and start job in 7 days.. i don't know anything about python. what book is good to learn from start to advanced.
2. there is s...
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
...
I need a cgi script that reads an html file that i already wrote and replaces the word #ME# with my name, the word #DATE# with today's date, and the word #quote# with a random quote from a tex...
Good morning,
I would like to copy a folder & all contents of it (FOLDER) from a host machine (HOST) to multiple computers on a network. If I have, say, 6 computers (COMPUTER1, COMPUTER2, ...
Hi I am using code like in the snippet. I am trying to crawl google groups. I get the error below. Anyway to solve this?
>>> from searchengineWithoutTry import *
>>> pagelist=['http://grou...
Hi Experts,
I am writing a Python code (http://www.experts-exchange.com/Programming/Languages/Scripting/Python/Q_23281421.html#a21243422, but I have met the following error indication.
...
I'm trying to display a string in the format 000.000 which will represent a calculated number
in my program. The calculated numbers will not always have 3 digits on each side of the decimal p...
Hello experts,
I'm creating a zip archive using Python's zipfile module. I can add individual files with no problem, but I want to add an entire directory (and sub-directories) at once. Is ...
I'm a java guy doing my second Python 'hello world' application. I'm doing this for GAE, but that probably isn't relevant to this problem.
I'm trying to build an object and dump objec...
Are there any mature frameworks for distributed computing in Python? If so, how do they compare to the facilities of J2EE and .Net?
Thanks!
I have some code. In the code on line 408 words is defined:
words=self.separatewords(text)
later on line 418 words seems to referenced as a list
for i in range(len(words)):
wo...
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...
Hi
How do I format a float with thousands seperators ie 1,000,000.00 the decimal part is easy but is there an easy way of adding the commers.
I have a script where i need to take the inputs from user. So i need to write a code in python to parse the command line inputs, how do i do that in Python?
In this MySQL query, I want to use a variable for the DocNumber, instead of the hardcoded '99':
cursor.execute("SELECT DocText FROM compare WHERE DocNumber = '99' ORDER BY Posted ASC li...
Hi,
I have used Python here and there. I am trying to get this script to open a connection to a URL while passing it parameters. i.e.
http://server.domain.com/Path/to/script.ext?DataFe...
Hi Experts,
I have two classes as follows.
=============
class Keyword:
def __init__(self, keyword, serialno, tokensno, position):
self.keyword = keyword
...
I need to compare a list of strings from a csv file to see if one of the strings contains more elements than another (each string should contain the same number of comma-separated elements)
...
Hello,
I am trying to use the code I got from here:
http://www.experts-exchange.com/Q_23068228.html
I have changed directory locations and the lines:
expTemplate = 'CON(ISNULL(%s), %...
I'm trying to find a way to convert a plain text password into something that can be directly inserted in to the mysql.user table.
Example:
blah -> *0380BEA27363E56C37F0BFDA438F42908084805...
Hello Pythoners,
I am quite new to Python (but already love it :-) so this might be a stupid one:
I need to connect to the Lotus Notes an do some operation on a database. But I am not ab...
Hi there
I'm working on a pygtk application with a SWIG / C++ underbelly. I want to implement some kind of user preferences system, and I want the data to be stored in an ini file like ~/....
I need a couple lines of code to replace all non-alphanumeric characters from a python string with spaces. So, given the string "automobile sales & repair" I'd like it to return "automobile sa...
Hi. I have the following three questions:
Question 1)
I have a file called recommendations.py in my the C:\Python25\Lib folder.
I also edited my environment path variable to include C:...