| |
thread by: John Fitzsimons |
last post Jul 18 '05 by: John Fitzsimons
Hi,
I want to search an ordered text file and list web links such as :
Input like ;
A
Folder
Freeware
ftp://ftp.eunet.bg/pub/simtelnet
|
thread by: Anand Pillai |
last post Jul 18 '05 by: Bengt Richter
Hi
I am quite familiar with normal python errors which can
be caught by using the try... except... finally clause. But
very often I find other kinds of exceptions raised in my programs.
Here is an example.
<TRACEBACK>
Traceback (most recent call last):
|
thread by: erez |
last post Jul 18 '05 by: erez
Hi,
When i try to run python script that uses com object from dll (was
registered already) i got the next error message
the script already was run on some other computer (win2k, xp) but in
this specific device it refused.
The Message:
dispatch, userName =
dynamic._GetGoodDispatchAndUserName(dispatch,userName,clsctx)
File...
|
thread by: RJS |
last post Jul 18 '05 by: RJS
Hi all,
I can't get a py2exe compiled app to run with numarray (numarray-0.5.win32-
py2.2).
Also wxPythonWIN32-2.3.3.1-Py22 and ActivePython-2.2.1-222.
In the sample below, commenting out "import numarray" allows the exe to
run. Left in, I get "4.exe has generated errors" etc.
I'm going around and around and there isn't much on Google....
|
thread by: Gina Schuffenhauer |
last post Jul 18 '05 by: Gina Schuffenhauer
Hallo newsgroup,
I have some questions concerning Python 2.2.
First question:
I try to port source code from Python 2.0 to Python 2.2.The following source
code works with Python 2.0. If I compile it with Python 2.2, the modul "tci"
is not imported. "tci" is a python module written by us. How can I change
the source code to get it working...
|
thread by: Mike Medland |
last post Jul 18 '05 by: Mike Medland
Hi, I am currently using Python 2.2.3, apache 1.3.27 and mod_python
2.7.8. Under Solaris 8 on a sun.
The configuration appears to be working fine but, the problem that i am
having is in parsing xml files, when i do for example:
xmlfile = minidom.parse(file)
root = xmlfile.childNodes
It creates a dom instance but it contains nothing at...
|
thread by: Damir Hakimov |
last post Jul 18 '05 by: Damir Hakimov
GROUP comp.lang.python
ART 269009 0.9K agg@astranet.ru I have a list...
ART 269010 1.1K hat@se-46.wpa.wtb.tue.nl Re: I have a list...
ART 269011 1.4K dialtone@despammed.com Re: I have a list...
|
| |
thread by: Leo |
last post Jul 18 '05 by: Thomas Heller
hi all
i'm new to python and new to the group and i want to develop python with
emacs :-) i try to use python-mode.el version 4.6.
does somebody else uses this? or what is your recommendation for editing
python code in emacs?
btw: i have a little customisation problem with python mode:
|
thread by: Charles Handy |
last post Jul 18 '05 by: Charlton Wilbur
How does FastCGI compare against java Apps running in java app servers
like TomCat, Sun One, WebLogic and WebSphere? Is there a business case
for switching from CGI to Java? Performance? Productivity? Features?
Object orientation? Code Reuse?
Any opinions?
|
thread by: Shi Sherebrin |
last post Jul 18 '05 by: News M Claveau /Hamster-P
A colleague wants some functionality that I've built in a Python class
available to 'drop' into her Visual C++ project. Some time ago she
gave up on trying to use 'regular' COM servers, since ActiveX controls
integrate so much more easily. So if I can't wrap the Python class
into an ActiveX object, I'll have to port it.
I've been...
|
thread by: Todd Jenista |
last post Jul 18 '05 by: Thomas Güttler
I have a parser I am building with python and, unfortunately, people
have decided to put unicode characters in the files I am parsing.
The parser seems to have a fit when I search for one \uXXXX symbol,
and there is another unicode symbol in the file. In this case, a
search and replace for İ with a µ in the file causes the infamous
ordinal...
|
thread by: hitectahir |
last post Jul 18 '05 by: hitectahir
Hi,
I have been using a remote data server named Clarens which runs on top
of the Apache web server and communicates through xmlrpc on Redhat
Linux 7.3. It has been working fine for about a month, but today it
has started giving some error in httplib.py. The complete traceback is
given below:
Traceback (most recent call last):
File...
|
thread by: Ram |
last post Jul 18 '05 by: Ram
Hi,
The following small script has a child thread which restart the network on a
Linux system. The problem is it never seems to return from the os.spawnlp.
It executes some portions of the network script and then hangs.
If the os.spawnlp is executed in the main thread, it works fine and there is
no problem at all.
os.system also has...
|
thread by: MK |
last post Jul 18 '05 by: Skip Montanaro
Can anybody recommend a good hosting package
for Python? Must be cheap, that is max. $5 per month.
If the solution offers Java+MySQL as well, that would
be great!
|
thread by: Alessio Pace |
last post Jul 18 '05 by: F. GEIGER
Hi, I need to get a sort of DOM from an HTML page that is declared as XHTML
but unfortunately is *not* xhtml valid.. If I try to parse it with
xml.dom.minidom I get error with expat (as I supposed), so I was told to
try in this way, with a "forgiving" html parser:
from xml.dom.ext.reader import HtmlLib
reader = HtmlLib.Reader()
dom =...
|
| |
thread by: Radovan Garabik |
last post Jul 18 '05 by: Steven Taschuk
I am developing and application that makesheavy use of (my own)
codecs not distributed with python (i.e. unicode(text, 'kamenicky'))
I put the codec into file kamenicky.py, placed the file into
/usr/lib/python/encodings,
but now I want to distribute my application, and I assume that
users won't always have the possibility of copying files...
|
thread by: bart |
last post Jul 18 '05 by: Irmen de Jong
I'm trying to place text at a certain point on the console. But I can't
figure out any way to do this. For instance place a '@' at point 6,8.
Any hints?
(I'm trying to display a 'map'. Think nethack)
Thanks,
Bart
|
thread by: c42 |
last post Jul 18 '05 by: c42
Can anyone explain how to use exchange.HrFindExchangeGlobalAddressList,
perhaps give an example?
Thanks!
c42
|
thread by: Mail Delivery Subsystem |
last post Jul 18 '05 by: Mail Delivery Subsystem
|
thread by: Petri Savolainen |
last post Jul 18 '05 by: Petri Savolainen
After reading the manuals and googling around a bit, I thought I'd use
the 'compile' built-in to create a code object. Then, using either
new.function() or types.FunctionType(), create a function object out of
the code object. The function object can then be turned into a method
for example using types.MethodType(). Right? Well, on Windows 98,...
|
thread by: Neil Padgen |
last post Jul 18 '05 by: Neil Padgen
I'm trying to forward a TCP port on localhost to a TCP port on a
remote machine, but to do that I have to go through a telnet gateway.
This involves a little chat script:
expect "tn-gw-> "
send "c %s %s\n" % (remotehost, remoteport)
expect "Connected to %s." % (remotehost)
Next line might begin with \r\n - if so this needs stripping...
|
thread by: Damir Hakimov |
last post Jul 18 '05 by: Bengt Richter
Hi, All!
say, i have a function:
def f(*b):
print b
return
then i do:
f(3,4,5)
|
thread by: djw |
last post Jul 18 '05 by: Andrew Bennetts
Greetings-
I was looking at the ASPN recipe for async I/O and Tkinter:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/82965
I am interested in using the recipe that is provided in the comments section
for PyQt courtesy of Laura Creighton.
I have a question though....
|
| |
thread by: Greg Brunet |
last post Jul 18 '05 by: Greg Brunet
I'm writing some routines for handling dBASE files. I've got a table
(DBF file) object & field object already defined, and after opening the
file, I can get the field info like this:
>>> tbl.Fields()
What I would like to do is be able to extract the field names into a
single, separate list. It should look like:
|
thread by: Steve Holden |
last post Jul 18 '05 by: Steve Holden
For quite a while now I've been filling part of the navigation-bar on my
home page with Python-related news extracted from O'Reilly's meerkat
service.
I've been experiencing intermittent problems for the past few days, and now
suddenly the crontab-triggered script has stopped working completely,
apparently due to a change in what Meerkat...
|