On Feb 11, 10:26 am, Geoff Hill [EMAIL PROTECTED] wrote:
What's the way to go about learning Python's regular expressions? I feel
like such an idiot - being so strong in a programming language but knowing
nothing about RE.
I suggest that you work through the re HOWTO
The word hack can be known as a smart/quick fix to a problem.
--
http://mail.python.org/mailman/listinfo/python-list
John Machin [EMAIL PROTECTED] writes:
What's the way to go about learning Python's regular expressions? I feel
like such an idiot - being so strong in a programming language but knowing
nothing about RE.
I suggest that you work through the re HOWTO
http://www.amk.ca/python/howto/regex/
En Sat, 10 Feb 2007 21:20:43 -0300, W. Watson [EMAIL PROTECTED]
escribió:
Gabriel Genellina wrote:
En Sat, 10 Feb 2007 16:45:08 -0300, W. Watson [EMAIL PROTECTED]
escribió:
I was able to download the 2.5 tutorial, but think I may need the 2.4
tutorial (Guido van Rossum) if it exists.
Gabriel Genellina wrote:
En Sat, 10 Feb 2007 21:20:43 -0300, W. Watson [EMAIL PROTECTED]
escribió:
Gabriel Genellina wrote:
En Sat, 10 Feb 2007 16:45:08 -0300, W. Watson [EMAIL PROTECTED]
escribió:
I was able to download the 2.5 tutorial, but think I may need the 2.4
tutorial (Guido van
On Feb 10, 6:26 pm, Geoff Hill [EMAIL PROTECTED] wrote:
What's the way to go about learning Python's regular expressions? I feel
like such an idiot - being so strong in a programming language but knowing
nothing about RE.
I highly recommend reading the book Mastering Regular Expressions,
which
Hello
I have a program that can telnet to a host.
But I cannot understand from [for c in data] part, can anyone explain
it to me?
Thank you very much.
[CODE]
import sys, posix, time
from socket import *
BUFSIZE = 1024
# Telnet protocol characters
IAC = chr(255) # Interpret as command
On 10 Feb 2007 18:58:51 -0800, gregarican [EMAIL PROTECTED] wrote:
On Feb 10, 6:26 pm, Geoff Hill [EMAIL PROTECTED] wrote:
What's the way to go about learning Python's regular expressions? I feel
like such an idiot - being so strong in a programming language but knowing
nothing about RE.
Thanks. O'Reilly is the way I learned Python, and I'm suprised that I didn't
think of a book by them earlier.
--
http://mail.python.org/mailman/listinfo/python-list
no heart feelings. i was just throwing ideas. no time to testing it.
On Feb 9, 3:55 pm, Tekkaman [EMAIL PROTECTED] wrote:
Thanks everybody!Azrael: your suggestions involve python-level membership
testing and
dummy list construction just like my uniter3 example, so I'm afraid
they would not
In article [EMAIL PROTECTED],
Stef Mientki [EMAIL PROTECTED] wrote:
Which brings me to some other questions on waste:
- isn't it a pitty so many people are involved in writing another editor /
IDE ?
I don't know about that. Most of the new editor development appears
to involve one of the
On Feb 10, 4:07?pm, Ben Sizer [EMAIL PROTECTED] wrote:
On Feb 10, 6:31 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
On Feb 9, 11:39?am, Ben Sizer [EMAIL PROTECTED] wrote:
Hopefully in the future, some of those convoluted steps will be fixed,
but that requires someone putting in the
Since i'm new on this forum, and first time meeting a python comunity,
i wanted to ask you for your python editors.
Im looking for some good python editor, with integrated run function,
without having to set it up manualy like komodo.
I found the pyscripter, and it has all i need, but it's
Hi,
Here's what's happening:
Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit
(Intel)] on win32
Type help, copyright, credits or license for more information.
| import os
| os.tmpfile()
Traceback (most recent call last):
File stdin, line 1, in module
OSError: [Errno 13]
However, the difference between the open-source people and Microsoft
is the the open-source people aren't being paid by you for the use of
their product, so they're not obligated in any way to help you.
mensanator This argument has become tiresome. The Python community
En Sun, 11 Feb 2007 00:48:57 -0300, Jia Lu [EMAIL PROTECTED] escribió:
I have a program that can telnet to a host.
But I cannot understand from [for c in data] part, can anyone explain
it to me?
data is the received string.
The for statement is used to iterate over a sequence; a string is
En Sun, 11 Feb 2007 01:57:52 -0300, John Machin [EMAIL PROTECTED]
escribió:
| os.tmpfile()
Traceback (most recent call last):
File stdin, line 1, in module
OSError: [Errno 13] Permission denied
1. Before I start checking what permissions who has to do what to
which, what directory is
On Feb 11, 4:15 pm, Gabriel Genellina [EMAIL PROTECTED] wrote:
En Sun, 11 Feb 2007 01:57:52 -0300, John Machin [EMAIL PROTECTED]
escribió:
| os.tmpfile()
Traceback (most recent call last):
File stdin, line 1, in module
OSError: [Errno 13] Permission denied
1. Before I start
On Feb 10, 11:03�pm, [EMAIL PROTECTED] wrote:
� � However, the difference between the open-source people and Microsoft
� � is the the open-source people aren't being paid by you for the use of
� � their product, so they're not obligated in any way to help you.
� � mensanator This argument
Steven W. Orr wrote:
I'm writing a program that needs to process options. Due to the nature
of the program with its large number of commandline options, I would
like to write a callback to be set inside add_option.
Something like this:
parser.add_option(-b, action=callback,
Steve Holden [EMAIL PROTECTED]
Hendrik van Rooyen wrote:
[EMAIL PROTECTED] wrote:
Ben Sizer [EMAIL PROTECTED] wrote:
Ben Python extensions written in C require recompilation for each new
Ben version of Python, due to Python limitations.
Can you propose a means to
On Feb 11, 4:33 pm, John Machin [EMAIL PROTECTED] wrote:
On Feb 11, 4:15 pm, Gabriel Genellina [EMAIL PROTECTED] wrote:
En Sun, 11 Feb 2007 01:57:52 -0300, John Machin [EMAIL PROTECTED]
escribió:
| os.tmpfile()
Traceback (most recent call last):
File stdin, line 1, in module
http://www.tyrell-innovations-usa.com/shack3d/productinfo/jpsBrown/jpsBrownInfo.htm
http://tyrell-innovations-usa.com/shack3d/
--
http://mail.python.org/mailman/listinfo/python-list
hello all,
I am stuck with a strange requirement.
I need a library that can help me display a pdf file as a report and
also want a way to print the same pdf file in a platform independent
way.
if that's not possible then I at least need the code for useing some
library for connecting to acrobat
Use Report Lab...
Cheers,
Vishal
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
krishnakant Mane
Sent: Saturday, February 10, 2007 10:46 PM
To: python-list@python.org
Subject: can't find a way to display and print pdf through python.
hello all,
I am
On 11/02/07, Vishal Bhargava [EMAIL PROTECTED] wrote:
Use Report Lab...
I mentioned in my first email that I am already using reportlab.
but I can only generate pdf out of that.
I want to display it on screen and I also will be giving a print
button which should do the printing job.
by the way I
hg wrote:
hg wrote:
[EMAIL PROTECTED] wrote:
On Feb 10, 1:07 pm, hg [EMAIL PROTECTED] wrote:
By default, you need to have wx installed in the python site-package
path / under Mandriva, I have wx 2.8 installed
here: /usr/lib/python2.4/site-packages/wx-2.8-gtk2-ansi/
hg
Ah, now I see.
Geoff Hill wrote:
What's the way to go about learning Python's regular expressions? I feel
like such an idiot - being so strong in a programming language but knowing
nothing about RE.
In fact that's a pretty smart stance. A quote attributed variously to
Tim Peters and Jamie Zawinski
Are you trying to do real time or post real time.
-Vishal
-Original Message-
From: krishnakant Mane [mailto:[EMAIL PROTECTED]
Sent: Saturday, February 10, 2007 10:50 PM
To: Vishal Bhargava
Cc: python-list@python.org
Subject: Re: can't find a way to display and print pdf through python.
mtuller typed:
I have also tried Beautiful Soup, but had trouble understanding the
documentation
As Gabriel has suggested, spend a little more time going through the
documentation of BeautifulSoup. It is pretty easy to grasp.
I'll give you an example: I want to extract the text between the
Ben Sizer wrote:
On Feb 10, 8:42 am, Steve Holden [EMAIL PROTECTED] wrote:
Hendrik van Rooyen wrote:
[EMAIL PROTECTED] wrote:
Ben Sizer [EMAIL PROTECTED] wrote:
Ben Python extensions written in C require recompilation for each new
Ben version of Python, due to Python limitations.
On 11/02/07, Vishal Bhargava [EMAIL PROTECTED] wrote:
Are you trying to do real time or post real time.
-Vishal
post real time.
I want to first display the report on screen by default and the user
at his choice will click the print button and the report will be
printed.
regards.
Krishnakant.
--
[EMAIL PROTECTED] wrote:
On Feb 10, 4:07?pm, Ben Sizer [EMAIL PROTECTED] wrote:
On Feb 10, 6:31 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
On Feb 9, 11:39?am, Ben Sizer [EMAIL PROTECTED] wrote:
Hopefully in the future, some of those convoluted steps will be fixed,
but that requires
Are you trying to:
a) Make the PDF file open in it's default application?
b) Create a PDF-reader in Python?
...because your question is somewhat unclear. Report Lab has no PDF viewer.
You would need a PDF/PostScript parser to do that and that's more of a job
than I think you're looking
Ben Sizer [EMAIL PROTECTED] wrote:
On Feb 10, 8:42 am, Steve Holden [EMAIL PROTECTED] wrote:
Hendrik van Rooyen wrote:
[EMAIL PROTECTED] wrote:
Ben Sizer [EMAIL PROTECTED] wrote:
Ben Python extensions written in C require recompilation for each
new
Ben version of Python,
Feature Requests item #1656675, was opened at 2007-02-10 12:36
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=355470aid=1656675group_id=5470
Please note that this message will contain a
Bugs item #1653416, was opened at 2007-02-06 17:23
Message generated for change (Comment added) made by eolebigot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1653416group_id=5470
Please note that this message will contain a full copy of the comment
Feature Requests item #1656675, was opened at 2007-02-10 11:36
Message generated for change (Settings changed) made by gbrandl
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=355470aid=1656675group_id=5470
Please note that this message will contain a full copy of
Bugs item #1656559, was opened at 2007-02-10 03:41
Message generated for change (Comment added) made by gbrandl
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1656559group_id=5470
Please note that this message will contain a full copy of the comment
Feature Requests item #1654367, was opened at 2007-02-07 17:12
Message generated for change (Comment added) made by arigo
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=355470aid=1654367group_id=5470
Please note that this message will contain a full copy of the
Bugs item #1657034, was opened at 2007-02-11 01:35
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1657034group_id=5470
Please note that this message will contain a full copy of
Bugs item #1656581, was opened at 2007-02-10 00:45
Message generated for change (Comment added) made by herrwitten
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1656581group_id=5470
Please note that this message will contain a full copy of the comment
101 - 142 of 142 matches
Mail list logo