hello,
I want to create a (local) database viewer for all databases,
it's working now for sqlite3 (python 2.5),
and I now want to get it working through odbc,
so I can manage most other databases.
In sqlite I can get the metadata (tables, stored views, procedures, etc)
through pragma statements
On Jul 5, 7:01 am, Peter Otten <[EMAIL PROTECTED]> wrote:
> Paddy wrote:
> > It is not a smarter algorithm that is used in grep. Python RE's have
> > more capabilities than grep RE's which need a slower, more complex
> > algorithm.
>
> So you're saying the Python algo is alternatively gifted...
>
>
Hi,
this is to inform all of you about the immediate availability of eric
4.1.5.
It is a bug fix release. As usual, it is available via
http://www.die-offenbachs.de/eric/index.html.
Eric4 is a Python IDE written using PyQt4 and QScintilla2. It comes with
batteries included. For more details see
I fiddled a little with pyGTK and was quite happy to discover
gtkMozEmbed because I want to write an application for Linux and
Windows with a powerful browser widget. Unfortunatly I couldnt find a
way to make gtkMozEmbed work on Windows. Are there alternatives? I'm
lazy so I prefer to download bina
H!
I using a script that opens a internet page in a small window (what I
can control)
In XP everything was working fine, but now I'm using Vista with IE7
and this is what happends now:
First a small window opens at the postion x0 y0 (like I want) but then
IE thinks "Hey lets open a other main win
Paddy <[EMAIL PROTECTED]>:
> On Jul 4, 1:36 pm, Peter Otten <[EMAIL PROTECTED]> wrote:
>> Henning_Thornblad wrote:
>> > What can be the cause of the large difference between re.search and
>> > grep?
>>
>> grep uses a smarter algorithm ;)
>>
>>
>>
>> > This script takes about 5 min to run on my com
Hey guys. I am having trouble understanding the get() method from the
Tkinter Text() widget. It isn't like the entry.get() one I am used to.
I know you have to put tags in, or at least I read. I tried this but
it didn't work. I think I was putting the tags in wrong but I am not
sure. I just
On Jul 5, 4:12 am, "Sebastian \"lunar\" Wiesner"
<[EMAIL PROTECTED]> wrote:
> Paddy <[EMAIL PROTECTED]>:
>
>
>
> > On Jul 4, 1:36 pm, Peter Otten <[EMAIL PROTECTED]> wrote:
> >> Henning_Thornblad wrote:
> >> > What can be the cause of the large difference between re.search and
> >> > grep?
>
> >> g
Hi
Does anyone here have a good recommendation for an open source crawler
that I could get my hands on? It doesn't have to be python based. I am
interested in learning how crawling works. I think python based
crawlers will ensure a high degree of flexibility but at the same time
I am also torn betw
> Hey guys. I am having trouble understanding the get() method from
> the Tkinter Text() widget. It isn't like the entry.get() one I am
> used to. I know you have to put tags in, or at least I read. I
> tried this but it didn't work. I think I was putting the tags in
> wrong but I am not su
just crawling is supereasy. its how to index and search that is hard.
just start at yahoo.com, scrape out all the links and then for every
site visit every link.
i wrote a crawler in 15 lines of code. but then it all it did was
visit the sites, not indexing them or anything.
you could write a fast
Ron Garret wrote:
In article <[EMAIL PROTECTED]>,
Ron Garret <[EMAIL PROTECTED]> wrote:
In article <[EMAIL PROTECTED]>,
Michael Ströder <[EMAIL PROTECTED]> wrote:
Ron Garret wrote:
I'm writing a little HTTP server and need to parse request content that
is mime-encoded. All the MIME routin
akineko schrieb:
Hello everyone,
I have used Python SimpleXMLRPCServer to expose several methods to be
used.
My Python script creates a free-standing server and not a CGI script.
I have tested its exposed methods using the following Python script:
import xmlrpclib
s = xmlrpclib.ServerProxy('htt
Carl Banks <[EMAIL PROTECTED]>:
> On Jul 5, 4:12 am, "Sebastian \"lunar\" Wiesner"
> <[EMAIL PROTECTED]> wrote:
>> Paddy <[EMAIL PROTECTED]>:
>>
>>
>>
>> > On Jul 4, 1:36 pm, Peter Otten <[EMAIL PROTECTED]> wrote:
>> >> Henning_Thornblad wrote:
>> >> > What can be the cause of the large difference
Okay, so i am trying to have some sort of formatting going on in a
textbox, and I need left margins. I see that there are two, one for
the first line and th other for every line but that line. My program
gives a word and a list of definitions for the word. So my question is
how can I make t
Andrew Fong wrote:
Newbie question:
Let's say I open a new file for writing in a certain path. How do I
get that path back?
Example:
f = open('/some/path/file.ext')
some_function(f)
'/some/path/file.ext'
Does some_function(f) already exist? And if not, how would I define
it?
-- Andrew
Rea
Hi Ross,
Usually that happens when some module contains too much runtime information
and the static analysis cannot get it... You can probably fix that by adding
'psycopg2' to the list of builtin modules... See
http://fabioz.com/pydev/manual_101_interpreter.html for information on how
to configure
Hello Paul,
Thank you very much for your prompt and clear answer.
I didn't know the "same origin" javascript security policy (as I'm not
familiar with javascript).
After reading the description of the "same origin" javascript policy,
I think you are absolutely correct.
The security policy does mak
On Jul 5, 6:44 am, "Sebastian \"lunar\" Wiesner"
<[EMAIL PROTECTED]> wrote:
> Carl Banks <[EMAIL PROTECTED]>:
>
>
>
> > On Jul 5, 4:12 am, "Sebastian \"lunar\" Wiesner"
> > <[EMAIL PROTECTED]> wrote:
> >> Paddy <[EMAIL PROTECTED]>:
>
> >> > On Jul 4, 1:36 pm, Peter Otten <[EMAIL PROTECTED]> wrote:
Hello,
for my Python application (Windows platform) to be standards
compliant, I need to embbed Ecmascript(Javascript) interpreter - I
need to execute plugins written in this language. Which engine is
suitable for Python, I have found bunch of them. Any recomendations
are welcome.
To be more spec
Paddy:
> You could argue that if the costly RE features are not used then maybe
> simpler, faster algorithms should be automatically swapped in but
Many Python implementations contains a TCL interpreter. TCL REs may be
better than Python ones, so it can be interesting to benchmark the
same RE
On Jul 5, 1:54 pm, Carl Banks <[EMAIL PROTECTED]> wrote:
> I don't think you've illustrated that at all. What you've illustrated
> is that one implementation of regexp optimizes something that another
> doesn't. It might be due to differences in complexity; it might not.
> (Maybe there's somethin
On Sat, 5 Jul 2008 06:28:42 -0700 (PDT), "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hello,
>
> for my Python application (Windows platform) to be standards
> compliant, I need to embbed Ecmascript(Javascript) interpreter - I
> need to execute plugins written in this language. Which engine is
On Jul 5, 4:13 pm, Mark Dickinson <[EMAIL PROTECTED]> wrote:
> It seems like an appropriate moment to point out *this* paper:
>
> http://swtch.com/~rsc/regexp/regexp1.html
>
That's the one!
Thanks Mark.
- Paddy.
--
http://mail.python.org/mailman/listinfo/python-list
You learn something new every day:
On my ubuntu, update-manager is supposed to use the python2.5
installed on /usr/bin. Well, I had subsequently installed a whole
bunch of stuff in /usr/local (/usr/local/bin/python and /usr/local/lib/
python2.5 etc), which I have happily been using for development
On Jul 5, 11:09 am, david <[EMAIL PROTECTED]> wrote:
> You learn something new every day:
>
> On my ubuntu, update-manager is supposed to use the python2.5
> installed on /usr/bin. Well, I had subsequently installed a whole
> bunch of stuff in /usr/local (/usr/local/bin/python and /usr/local/lib/
>
Hi!
Ecmascript (Jscript) is Active-Scripting compliant.
With PyWin32, you can :
- call JScript functions (with parameters)
- define pieces of code (& run it)
Another way, is to drive Internet-Explorer (via COM). You can set the
IE-Windows as invisible, and connect the motor of execution (
Hi!
Your code run OK for me (Vista Ultimate).
This other version run also OK :
def webbrowser(url=None):
import win32com.client, time
ie=win32com.client.Dispatch('InternetExplorer.Application')
while ie.Busy==True:
time.sleep(0.125)
ie.Top = 0
ie.Left = 0
ie.Hei
Great! Thanks everyone for so many references and comments. Lots of
doubts have been solved.
On Fri, Jul 4, 2008 at 10:33 AM, Peter Otten <[EMAIL PROTECTED]> wrote:
> Ben Finney wrote:
>
>> Peter Otten <[EMAIL PROTECTED]> writes:
>>
>>> The problem is the structure of your program. The myset modul
> Ecmascript (Jscript) is Active-Scripting compliant.
> With PyWin32, you can :
> - call JScript functions (with parameters)
> - define pieces of code (& run it)
>
> Another way, is to drive Internet-Explorer (via COM). You can set the
> IE-Windows as invisible, and connect the motor of exe
On Tue, 01 Jul 2008 12:02:24 +, Ben Bullock wrote:
> I'm a big fan of code samples - most of my code starts as other people's
> code samples.
What I think is missing, Xah, is that the actual result. I.e, showing that
"you can do this" only covers less than half of the tutorial, showing what
Mark Dickinson wrote:
On Jul 5, 1:54 pm, Carl Banks <[EMAIL PROTECTED]> wrote:
Part of the problem is a lack of agreement on what
'regular expression' means.
Twenty years ago, there was. Calling a extended re-derived grammar
expression like Perl's a 'regular-expression' is a bit like cal
[EMAIL PROTECTED] wrote:
H!
I using a script that opens a internet page in a small window (what I
can control)
In XP everything was working fine, but now I'm using Vista with IE7
and this is what happends now:
First a small window opens at the postion x0 y0 (like I want) but then
IE thinks "H
Terry Reedy <[EMAIL PROTECTED]>:
> Mark Dickinson wrote:
>> On Jul 5, 1:54 pm, Carl Banks <[EMAIL PROTECTED]> wrote:
>
>> Part of the problem is a lack of agreement on what
>> 'regular expression' means.
>
> Twenty years ago, there was. Calling a extended re-derived grammar
> expression like Pe
In Python, I retrive an Entity from the EntityList:
elist = EntityList()
elist.append(Entity())
elist.append(Entity())
entity = elist.get_at(0)
entity.foo()
But it crashes inside foo() as the private static data is empty; or
rather the string array is empty. I know before that point that the
"Bill Davy" <[EMAIL PROTECTED]> wrote:
>
>I am trying to edit Contacts in Outlook. This is so I can transfer numbers
>from my address book which is an Excel spreadsheet to my mobile phone.
Are you actually running Outlook? Your news posting was made from Outlook
Express, and Outlook Express can
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
>for my Python application (Windows platform) to be standards
>compliant, I need to embbed Ecmascript(Javascript) interpreter - I
>need to execute plugins written in this language.
What standard are you hoping to comply with? I mean, what kind of a
Hi!
Is there a way to do similar things on linux?
I think no. Because these tech use COM. And COM don't exist under xxnux.
But:
- look if XPCOM, or dBus) can help you
- search with the word "MOZLAB", who work a solution (plugin) for
drive Firefox, from an external software.
Good luck!
--
38 matches
Mail list logo