wxPython - very small frame

2006-09-20 Thread Francach
Hi, I'd like to create a very small Frame without the usual minimise and maximise icons on the top. Does anyone know how to do this with wxPython? I've tried creating a Frame with the style wx.DOUBLE_BORDER, which gives me a nice small window. But I can't move it around the screen. Thanks, Marti

Re: Using Beautiful Soup to entangle bookmarks.html

2006-09-09 Thread Francach
Hallo George, thanks a lot! This is exactly the direction I had in mind. Your script demonstrates nicely how Beautiful Soup works. Regards, Martin. George Sakkis wrote: > Francach wrote: > > Hi George, > > > > Firefox lets you group the bookmarks along with o

Re: Using Beautiful Soup to entangle bookmarks.html

2006-09-08 Thread Francach
Hi George, Firefox lets you group the bookmarks along with other information into directories and sub-directories. Firefox uses header tags for this purpose. I'd like to get this grouping information out aswell. Regards, Martin. the idea is to extract. George Sakkis wrote: > Franca

Re: Using Beautiful Soup to entangle bookmarks.html

2006-09-08 Thread Francach
then contain a tags where the href attributes are. What I don't understand is how to create objects which can then be used to return the information in the next level of the tree. Thanks again, Martin. George Sakkis wrote: > Francach wrote: > > Hi, > > > > I'm t

Using Beautiful Soup to entangle bookmarks.html

2006-09-07 Thread Francach
Hi, I'm trying to use the Beautiful Soup package to parse through the "bookmarks.html" file which Firefox exports all your bookmarks into. I've been struggling with the documentation trying to figure out how to extract all the urls. Has anybody got a couple of longer examples using Beautiful Soup

UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in position 99: ordinal not in range(128)

2005-11-06 Thread Francach
Hi, I don't know what I'm doing wrong here. I''m using Python 2.4 and py2exe. I get he following error: Traceback (most recent call last): File "notegui.pyc", line 34, in OnClose File "brain.pyc", line 61, in setNote File "points.pyc", line 151, in setNote File "point.pyc", line 100, in w

Problem with exe from py2exe

2005-10-30 Thread Francach
Hi, I'm using python 2.4.1, wxPython 2.6.1.0 and py2exe 1.6.3 on Windows XP. My script runs fine with python, but the .exe produced with py2exe crashes out with: Traceback (most recent call last): File "App1.py", line 4, in ? File "wx\__init__.pyc", line 42, in ? File "wx\_core.pyc", line