| |
thread by: Doug Farrell |
last post Jul 18 '05 by: Doug Farrell
Hi all,
I'm trying to do the following from within a code module:
import re
# text to match
text = "Good morning x something /x, how are you today x something
else /x"
|
thread by: Mail Delivery Subsystem |
last post Jul 18 '05 by: Mail Delivery Subsystem
|
thread by: Florian Konnertz |
last post Jul 18 '05 by: Ulrich Petri
Hi,
I have to do a little script for an old zope website running on
python1.5.2 and have a regexp problem.
(for those who know zope: I have to change all stx links in a dtml doc
to html which is not done for any reason. It's an old zope (2.3.2) :(
python is 1.5.2 I tried with string.find, but i get a "string object
has no atribute...
|
thread by: James Tan |
last post Jul 18 '05 by: James Tan
dear all,
We are looking for a wxpython programmer in building up a software for us.
Preferably in the valley of kl, malaysia.
We would like to know:
1. How do you charge?
2. How much will you charge for a software that takes in the duration of
1month?
H
|
thread by: Joe Francia |
last post Jul 18 '05 by: Joe Francia
In case any of you missed it, there is a very favorable review of "Text
Processing in Python" over on Slashdot:
http://books.slashdot.org/article.pl?sid=03/07/06/2253222&mode=nested&tid=126&tid=156
|
thread by: Aki Niimura |
last post Jul 18 '05 by: Aki Niimura
Hello everyone,
I have been trying to write a Python script to access a Web site.
I'm currently having a problem completing my script because the contents
I would like to access in the Web site is a dynamic content and it is
generated based on the Cookie contents which are set in another page.
url-a (setting Cookies)
url-b (dynamic...
|
thread by: Steffen Brodowski |
last post Jul 18 '05 by: Steffen Brodowski
Hello everyone,
since one week, I'm programming with python. Its a realy interesting
tool. I wrote a script for generating barcodes in jpg-format.
Everything is ok, but my function "CreateBarcode" should write the jpg
data into an outstream. All barcodes will be generate online, without
saving the jpgs on harddisk.
Can you give me a tip...
|
| |
thread by: Claus D |
last post Jul 18 '05 by: Erik Max Francis
Did anyone record the europython sessions? Apparently, Hunter hasn't
recieved a single reply from his effords to coordinate this...
/cd
|
thread by: Ian Bicking |
last post Jul 18 '05 by: Hallvard B Furuseth
I think Jason Orendorff's path module is really nice:
http://www.jorendorff.com/articles/python/path/
Beats the hell out of os.path, which is an ugly thing indeed. The OO
interface means you could use the interface nicely to implement other
things, like URLs. The problem? It's just some module. The various os
functions (of which path...
|
thread by: Tom |
last post Jul 18 '05 by: Ben Finney
Hi,
I have a problem because I don't know how to start my script
automatically after a special event happens.
In detail: I store data from a PLC. Every 30 seconds the data is stored
in a new file. After the file is stored I would like to start my script
that analyzes the data right away. Any help how to do this is deeply
appreciated.
|
thread by: TB |
last post Jul 18 '05 by: Rene Pijlman
Hi,
I am writing a COM object (in Delphi) to be accessed from an
application using Python, this application is using 1.5.2, does this
support the same COM functions as 2.2.3 that I have been testing with
until now? are there any known issues?
Also has anybody got any references to more info about Python using
COM?
Thanks
Tom
|
thread by: Kylotan |
last post Jul 18 '05 by: Jeremy Hylton
The documentation on this module doesn't seem very clear to me...
there's an 'HTTPSHandler' object documented, but it just lists the
"https_open" function without giving an example of its use. And the
urllib2 examples page shows a totally different way to create an HTTPS
connection (just by making a Request object). There is a lot of talk...
|
thread by: Arnaud Delobelle |
last post Jun 24 '06 by: medi
Hi all,
I have written a little while ago in Python a game whose aim is to
program a (or several) robots so that they move around in a maze and
collect some flags. They only have a limited amount of instructions at
their disposal (depending on the level). It is meant to be an
introduction to two things:
- programming
|
thread by: Christos TZOTZIOY Georgiou |
last post Jul 18 '05 by: Daniel Dittmar
Last night I was compiling the latest python snapshot at my home Linux
system (a K6-III @420 --the extra 20 Hz is overclocking :); then I tried
building a shared version of the interpreter. I did some speed
comparisons, and pystone reported ~6090 pystones for the shared and
~7680 pystones for the (default) static build.
This is quite a...
|
thread by: Kim Petersen |
last post Jul 18 '05 by: Kim Petersen
Regarding ODBC usage in Python...
it seems to me that there is a couple of ways to use odbc from python,
one of these is the MX version - now that one has a pretty steep licence
cost (imho). So now comes my question (from reading this group quite a bit):
- what is the basic reason for using MX versus the others?
- why do you (newsgroup)...
|
| |
thread by: Darrell |
last post Jul 18 '05 by: John Abel
On windows 2000 I tried to use winprocess.py with the login option.
In an effort to run as a diffrent user.
It didn't work and lots of searching didn't help.
This was my best hit.
http://www.faqts.com/knowledge_base/view.phtml/aid/4466
Worked around the problem using runas.exe
This is as far as I got.
The following code tries to give me...
|
thread by: Bob |
last post Jul 18 '05 by: Bob
I am trying to get the latest file from an ftp site that matches a
pattern and is the latest one. I have it in Perl and would like to see
the Python version for comparison.
Perl version:
# this matches the name only by looking at files
# that start with 8 numbers (i.e. 20021203)
foreach(@list) {
if(m/\d{8}.*x86.exe/) {
|
thread by: Mark Wright |
last post Jul 18 '05 by: Mark Wright
I have a script that I use to control our build process. It is a
general purpose script that exec's other scripts that contain project
specific python code. In one of those other, project-specific,
scripts I exec a third script. That third script is failing because
it can't seem to 'import' successfully. It seems that if one 'exec's
a...
|
thread by: Luca Calderano |
last post Jul 18 '05 by: John J. Lee
Hi people!
Does anyone know how-to automatically print an html doc using Internet
Explorer ???
I've tried these ways:
1) wxHtmlEasyPrinting
2) win32api.ShellExecute
|
thread by: Mail Delivery Subsystem |
last post Jul 18 '05 by: Mail Delivery Subsystem
|
thread by: Justin Johnson |
last post Jul 18 '05 by: Justin Johnson
Hello,
I was wondering if anyone has seen this behavior before for the
process.py
module available at http://starship.python.net/crew/tmick/. I've been
using it quite well on windows 2000 servers, but when I try to use it on
a window nt 4.0 box I get the results posted below. I have both
process.py and which.py installed.
Any help you...
|
thread by: Shane Hathaway |
last post Jul 18 '05 by: Shane Hathaway
I was surprised by the following behavior. Apparently, the "!="
operator does not fall back to using "not __eq__()". I tested this with
Python 2.1, 2.2, and 2.2 with new-style classes and got the same results
in every case.
>>> class foo:
.... def __eq__(self, other):
.... return (other.__class__ is self.__class__
.... ...
|
thread by: Faust, Chris |
last post Jul 18 '05 by: Faust, Chris
-----Original Message-----
From: python-list-request@python.org
Sent: Tuesday, July 08, 2003 9:46 AM
To: python-list@python.org
Subject: Python-list digest, Vol 1 #16415 - 14 msgs
Send Python-list mailing list submissions to
python-list@python.org
|
| |
thread by: .d.hos |
last post Jul 18 '05 by: .d.hos
ok, fairly new to python, relatively familiar w/ ms-sql. here's my
issue:
my .py script parses the contents of a (tab delim.) flat file, then
attempts to insert the information into the db. I've been fighting
this for a day or so, and i'm stuck on the db insertion...
basically the script uses .readlines() to capture the flat file...
|
thread by: Luiz Siqueira Neto |
last post Jul 18 '05 by: Luiz Siqueira Neto
id -1 for some object mean that this object have a default id, but how I
can work with this kind of id?
|