On 8/14/07, Gerdus van Zyl <[EMAIL PROTECTED]> wrote:
> Does anyone have a relatively fast gaussian blur implemented in pure
> python? Below is my attempt but it takes 2.9 seconds for a 320x240
> image. Image comes from byte string: self.array =
> array.array('B',srcstring). Would some sort of matr
On 8/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi,
> I'm looking for the best way to check if regular expression return
> true (it's mean - there is a match). for example, i want "if" that
> check if this regular expression: .*born.*to.* has a match.
>
> What's the way to do that simply?
On 7 Aug 2007 13:54:21 GMT, Duncan Booth <[EMAIL PROTECTED]> wrote:
> "Patrick Doyle" <[EMAIL PROTECTED]> wrote:
>
> > Why does Python include the submodules that were explicitly loaded by
> > previous imports? Does it go out of it's way to do so? If
> There's no reliable way to differentiate between names which you defined
> using something other than an import statement, names you defined with an
> import statement with the intent of publishing them as part of your external
> API, and names you defined with an import statement which you only
Reading through the Python tutorial, I got to section 6.4.1,
"Importing * From a Package", which states:
"If __all__ is not defined, the statement from Sound.Effects import *
does not import all submodules from the package Sound.Effects into the
current namespace; ..."
It then goes on to state: