I am new to Python and am trying to write a GUI wrapper script in python
2.5 to get username and passwords from Linux users to send as options to
run an app on a 2X terminal server. I came across the easygui module and
its multpasswordbox function, which made popping a dialog box and storing
th
Great, thank you very much.
On May 13, 1:38 pm, Tim Harig wrote:
> On 2009-05-13, Tim Harig wrote:
>
> > host = "http://localhost";
> > request = r"""/common/foxisapi.dll/tmsmail.x2.isapi? > schema='' class='replicateApplication.getChanges' /"""
> > url = host + urllib.quote(request)
> > content
I have a program that is generated from a generic process. It's job is to
check to see whether records (replicated from another system) exist in a
local table, and if it doesn't, to add them. I have 1 of these programs for
every table in the database. Everything works well until I do the postcod
Thanks for the replies. I got my program working but the memory problem
remains. When the program finishes and I am brought back to the PythonWin
the memory is still tied up until I run gc.collect(). While my choice of
platform for XML processing may not be the best one (I will change it later)
Thanks yes that did it.
"Peter Otten" <__pete...@web.de> wrote in message
news:gspmrf$qlq$0...@news.t-online.com...
> Carbon Man wrote:
>
>> Py 2.5
>> Trying to write a string to a file.
>> self.dataUpdate.write(u"\nentry."+node.tagName+ u&quo
Thanks for the help.
I converted everything into the StringIO() format. Memory is still getting
chewed up. I will look at ElementTree later but for now I believe the speed
issue must be related to the amount of memory that is getting used. It is
causing all of windows to slow to a crawl. gc.coll
Py 2.5
Trying to write a string to a file.
self.dataUpdate.write(u"\nentry."+node.tagName+ u" = " + cValue)
cValue contains a unicode character. node.tagName is also a unicode string
though it has no special characters in it.
Getting the error:
UnicodeEncodeError: 'ascii' codec can't encode charac
Very new to Python, running 2.5 on windows.
I am processing an XML file (7.2MB). Using the standard library I am
recursively processing each node and parsing it. The branches don't go
particularly deep. What is happening is that the program is running really
really slowly, so slow that even runn
#Python 2.5
# from Dive Into Python 11.5
import httplib
httplib.HTTPConnection.debuglevel = 1
import urllib2
request = urllib2.Request('http://localhost/test/atom.xml')
opener = urllib2.build_opener()
feeddata = opener.open(request).read()
It doesn't show the debug output, any ideas?
--
http:/
Hi,
I need to embed a web browser into a python page. I am coming from the MS
world where I created an app that all of it's interfaces were actually web
pages rendered in an Internet Explorer activex control. There was a object
hook that allowed you to call into the host environment from javascr
10 matches
Mail list logo