> Well I have a folder with some sub folders that have a combo of xps and gif
> files I want to be able to point the program to it and have it print the
> contents of each sub folder.
In that case I'd use os.walk to traverse
the folders and find the files.
I'd then use os.system() (or the sub
Norman Khine wrote:
hello,
import re
line = "ALSACE 67000 Strasbourg 24 rue de la Division Leclerc 03 88 23 05 66
strasbo...@artisansdumonde.org"
m = re.search('[\w\-][\w\-\...@[\w\-][\w\-\.]+[a-za-z]{1,4}', line)
emailAddress .search(r"(\d+)", line)
phoneNumber = re.compile(r'(\d{2}) (\d{2
"Rayon" wrote
Can I use python to print xps or gif.
Yes.
But how you do it depends on the context of what you are doing.
Care to expound?
Alan G.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail
What's wrong with the phone number?
>>> phoneNumber.search(line).groups()
('03', '88', '23', '05', '66')
This looks fine to me.
Here is a regex that splits the line into several named groups. Test it with
other strings, though
>>> line = "ALSACE 67000 Strasbourg 24 rue de la Division Leclerc 03
On Tue, Dec 29, 2009 at 2:33 AM, Shashwat Anand
wrote:
> I need to make a database from some PDFs. I need to extract logos as well as
> the information (i.e. name,address) beneath the logo and fill it up in
> database.
Here is a commercial solution:
http://www.addtoit.com
Kent
__
Alan,
Thanks for the reply. I was hoping there might be a quick fix, and it is
really a wx.Frame, that contains the wx.gauge.
Here's the story. I'm using SPSS. I have written this program to create
a list of doctors from medical claims data to be used in another module
where I have set up check b
spir wrote:
Lie Ryan dixit:
class Error(Exception):
def __init__(self, value):
self.value = value
def printer(self, value):
print self.value
You can also use __str__ instead of printer. This will give a standard output
form for your error automatically use
hello,
>>> import re
>>> line = "ALSACE 67000 Strasbourg 24 rue de la Division Leclerc 03 88 23 05
>>> 66 strasbo...@artisansdumonde.org"
>>> m = re.search('[\w\-][\w\-\...@[\w\-][\w\-\.]+[a-za-z]{1,4}', line)
>>> emailAddress .search(r"(\d+)", line)
>>> phoneNumber = re.compile(r'(\d{2}) (\d{2})
Can I use python to print xps or gif.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
"Pirritano, Matthew" wrote
I have got a wx.gauge running and I cannot get it to go away!
Any quick and dirty ideas or do you need my ugly syntax. I'm a newbie!
I've no idea what you've done but guages don't normally go away.
The window/dialog they are in sometimes goes away, but without k
10 matches
Mail list logo