Re: GUIs - A Modest Proposal

2010-06-07 Thread Simon Hibbs
by 2x or more just isn't supportable. Tkinter is perfectly adequate for basic GUIs. If you want something more sophisticated there are plently of high quality, well documented alternatives to match your platform or functionality requirements. Simon Hibbs -- http://mail.python.org/mailman/listinfo

Re: Generic spreadsheet interface

2010-02-12 Thread Simon Hibbs
as it sounds and could be developed incrementaly. Alternatively you just write your code against one spreadsheet module, and then write a wrapper module for the other spreadsheet API so it looks the same. Simon Hibbs -- http://mail.python.org/mailman/listinfo/python-list

Re: Problem with win32ui

2009-12-23 Thread Simon Hibbs
missing here. thank you in advance for your help. You could try and find out what the __load statement in line 10 in win32ui.py does. Simon Hibbs -- http://mail.python.org/mailman/listinfo/python-list

Re: python gui builders

2009-11-20 Thread Simon Hibbs
On 18 Nov, 22:11, Stef Mientki stef.mien...@gmail.com wrote: Simon Hibbs wrote: On 18 Nov, 07:51, sturlamolden sturlamol...@yahoo.no wrote: GPL PyQT is GPL for now, but Qt itself is available under the LGPL as is PySide. Eventualy PySide, which tracks the PyQT API, will supplant

Re: is there any FIX message handle modules in Python?

2009-11-19 Thread Simon Hibbs
information exchange'? http://www.quickfixengine.org/ There are no prebuilt Python modules available based on quickfix, at least that I'm aware of. It has Python bindings available, but you have to complie it with them yourself from the C++ source. Simon Hibbs -- http://mail.python.org/mailman

Re: python gui builders

2009-11-18 Thread Simon Hibbs
others are measured, and generaly found wanting. Simon Hibbs -- http://mail.python.org/mailman/listinfo/python-list

Re: python gui builders

2009-11-18 Thread Simon Hibbs
with a platform with the potential to rival the iPhone dev environment. Of course to take full advantage of it you need to invest in learning it all, which is non-trivial. It comes at a cost in time and potential lock-in. But the point is you can't just say Qt is just like Wx. Simon Hibbs -- http

Re: python gui builders

2009-11-17 Thread Simon Hibbs
wouldn't completely dismiss Tkinter. It's too simple for complex GUIs but I still think it has it's place for basic utilities. Simon Hibbs -- http://mail.python.org/mailman/listinfo/python-list

Re: Choosing GUI Module for Python

2009-11-10 Thread Simon Hibbs
to know that there is so much work being put in to make sure it has a great future. Simon Hibbs -- http://mail.python.org/mailman/listinfo/python-list

Re: Choosing GUI Module for Python

2009-11-09 Thread Simon Hibbs
projects). That's rapidly becoming a non-issue as the core QT framework is now LGPL and Nokia have a project underway to produce PyQT compatible LGPL python bindings under the PySide project. Simon Hibbs -- http://mail.python.org/mailman/listinfo/python-list

Re: how to modify row content of file in python?

2009-10-27 Thread Simon Hibbs
*). One thing to look out for is that 'columns' is being created each time through the loop, which works fine. If you modified the code to append to it instead, you would need to create it before entering the loop as you can't append to something that doesn't exist. Simon Hibbs -- http

Re: Converting a PIL image object to a buffer

2009-04-02 Thread Simon Hibbs
On 2 Apr, 08:28, Diez B. Roggisch de...@nospam.web.de wrote: Simon Hibbs schrieb: On 1 Apr, 21:43, Gary Herron gher...@islandtraining.com wrote: Simon Hibbs wrote: I'm trying to dump a snapshot of my application window to the clipboard. I can use ImageGrab in PIL to get the screen data

Converting a PIL image object to a buffer

2009-04-01 Thread Simon Hibbs
(win32clipboard.CF_BITMAP, img) It fails, telling be that The object must support the buffer interface. How can I convert a PIL image into a buffer object? I can't find any clues. Help appreciated, Simon Hibbs -- http://mail.python.org/mailman/listinfo/python-list

Re: Converting a PIL image object to a buffer

2009-04-01 Thread Simon Hibbs
On 1 Apr, 21:43, Gary Herron gher...@islandtraining.com wrote: Simon Hibbs wrote: I'm trying to dump a snapshot of my application window to the clipboard. I can use ImageGrab in PIL to get the screen data into a PIL image object, which i have converted to a bitmap using ImageWin, but when

Re: A little bit else I would like to discuss

2009-02-13 Thread Simon Hibbs
, Linux and Windows. The only fly in the ointment in licensing. The QT toolkit will be fully GPL and LGPL from version 4.4, but PyQT itself has a dual GPL/ commercial licensing structure. Still, it's relatively cheap and well worth it if you're goingt to do commercial development. Simon Hibbs

Python OOP advice

2008-09-17 Thread Simon Hibbs
between objects that gives child objects limited access to members of the parent? Simon Hibbs -- http://mail.python.org/mailman/listinfo/python-list

Re: Python OOP advice

2008-09-17 Thread Simon Hibbs
Great contributions, thanks both of you. I'm self-tought when it comes to Python and OOP and I haven't yet grown an intuitive feel for how to do things sensibly. Simon -- http://mail.python.org/mailman/listinfo/python-list

Re: creating color gradients using PIL

2007-11-23 Thread Simon Hibbs
= numpy2pil(myarray) im.putpalette(palette_list) im.save('myimage.png') You'll need to import numpy and Image. You'll need to generate the palette (juust a list) and image array (a numpy array) of course. Simon Hibbs -- http://mail.python.org/mailman/listinfo/python-list

Re: python safe scripting

2007-11-23 Thread Simon Hibbs
easy though. import datetime, os filename = 'myfile.log' if (datetime.date.today().weekday() == 0) or (os.stat(filename)[6] 200): do.whatever() The individual tests would be better wrapped in utility functions of course. Simon Hibbs -- http://mail.python.org/mailman/listinfo/python-list

Re: Using python to create windows apps that everyone can use?

2007-09-19 Thread Simon Hibbs
, to create the GUI in VB or C# and from that call Python code that does all the heavy lifting. I'd second the recommendation for QtDesigner if you want cross- platform capability. Simon Hibbs -- http://mail.python.org/mailman/listinfo/python-list

Re: Can a low-level programmer learn OOP?

2007-07-13 Thread Simon Hibbs
is easy and painless, and what you learn about the theory and principles of OOP in Python will be transferable to C++ if you end up going in that direction. I hope this was helpful. Simon Hibbs -- http://mail.python.org/mailman/listinfo/python-list

Re: Can a low-level programmer learn OOP?

2007-07-13 Thread Simon Hibbs
Sorry, here's the tutorial link: http://hetland.org/writing/instant-python.html Simon Hibbs -- http://mail.python.org/mailman/listinfo/python-list

Re: Creating a distro of python... What would you include in it?

2007-05-30 Thread Simon Hibbs
of it's own. It also acts as an add-on to the standard distro rather than an alternative and I recommend you consider that strategy. Simon Hibbs -- http://mail.python.org/mailman/listinfo/python-list

Re: I need some tips to begin a simple project

2006-09-19 Thread Simon Hibbs
programing even easier. Having said all that, Python isn't magic. I'd recommend doing something simple first, such as a calculator or a text editor. These are very easy to do, but will cover the basics of creating a user interface, manipulating data and accessing files. Simon Hibbs -- http

Re: python vs java

2006-09-06 Thread Simon Hibbs
is easier to learn and more productive as a language, but Java has a much larger selection of add-ons and libraries available. I can't give you much more help without knowing what the app will do, and therefore what language features or library/framework support would be helpful. Simon Hibbs -- http

Re: Make Object Oriented?

2006-08-10 Thread Simon Hibbs
be useful or appropriate? Simon Hibbs -- http://mail.python.org/mailman/listinfo/python-list

Re: Pickle vs XML for file I/O

2006-08-01 Thread Simon Hibbs
such as SQLObject and SQL Alchemy that can automate this as well. Best regards, Simon Hibbs -- http://mail.python.org/mailman/listinfo/python-list

Re: Borg vs. Module

2006-08-01 Thread Simon Hibbs
it. Simon Hibbs -- http://mail.python.org/mailman/listinfo/python-list

Re: dicts vs classes

2006-07-25 Thread Simon Hibbs
to express yourself. Any objctions to this, or pitfalls? Simon Hibbs -- http://mail.python.org/mailman/listinfo/python-list

Re: About Embedding PyWin or wxPython

2006-07-25 Thread Simon Hibbs
would need to distribute the .NET and IronPython runtimes. Multiple-language and library integration is after all what .NET is all about. Simon Hibbs -- http://mail.python.org/mailman/listinfo/python-list

Re: Paste text across multiple text boxes

2006-07-25 Thread Simon Hibbs
This link seems to have some relevent code. http://lists.wxwidgets.org/archive/wxPython-users/msg07340.html Simon Hibbs -- http://mail.python.org/mailman/listinfo/python-list

Re: New SourceForge project: Diet Python!!!

2006-07-19 Thread Simon Hibbs
, would be a Very Good Thing. They're planning on manufacturing 100 million of these things! Simon Hibbs -- http://mail.python.org/mailman/listinfo/python-list

TextCtrl focus events in wxWidgets

2006-07-19 Thread Simon Hibbs
this, or a similarly user friendly behaviour? Best regards, Simon Hibbs -- http://mail.python.org/mailman/listinfo/python-list

Re: TextCtrl focus events in wxWidgets

2006-07-19 Thread Simon Hibbs
elsewhere using similar code. Simon Hibbs . -- http://mail.python.org/mailman/listinfo/python-list

Re: TextCtrl focus events in wxWidgets

2006-07-19 Thread Simon Hibbs
rony steelandt wrote: Since the event handler of a textctrl inherits from wxCommandEvent, I would guess that the binding should be to EVT_COMMAND_KILL_FOCUS Still not working :( Simon -- http://mail.python.org/mailman/listinfo/python-list

Re: TextCtrl focus events in wxWidgets

2006-07-19 Thread Simon Hibbs
Simon Hibbs wrote: rony steelandt wrote: Since the event handler of a textctrl inherits from wxCommandEvent, I would guess that the binding should be to EVT_COMMAND_KILL_FOCUS Still not working :( I can trap EVT_TEXT_ENTER events successfuly, without using EVT_COMMAND_ENTER. This almost

Re: TextCtrl focus events in wxWidgets

2006-07-19 Thread Simon Hibbs
Frank Millman wrote: Try self.PlantCtrl.Bind(wx.EVT_KILL_FOCUS, self.OnUpdatePlantCtrl) And Voila! It works. Many, many thanks. Any idea what is going on? Simon -- http://mail.python.org/mailman/listinfo/python-list

Re: Project organisation

2006-07-19 Thread Simon Hibbs
. Simon Hibbs -- http://mail.python.org/mailman/listinfo/python-list

Re: Data access from multiple code modules

2006-07-13 Thread simon . hibbs
to be the superior approach. Are there any other architectural options that anyone could suggest? Simon Hibbs -- http://mail.python.org/mailman/listinfo/python-list

Re: Data access from multiple code modules

2006-07-13 Thread simon . hibbs
the transformations I want to perform on the data. Simon Hibbs -- http://mail.python.org/mailman/listinfo/python-list

Re: Newbie

2006-07-13 Thread simon . hibbs
using Python, SQLite and wxPython. It's easily my most ambitious project so far. Simon Hibbs -- http://mail.python.org/mailman/listinfo/python-list

Data access from multiple code modules

2006-07-12 Thread simon . hibbs
, and panels defined as seperate objects in seperate files. Various panels will contain controlls for manipulating data in the DataObject, or wherever data storage end up. Best regards, Simon Hibbs (who strugles to get his head round this OOP stuff sometimes). -- http://mail.python.org/mailman

Re: Data access from multiple code modules

2006-07-12 Thread simon . hibbs
, Simon Hibbs P.S. Regular reader of your blog on Oreillynet. -- http://mail.python.org/mailman/listinfo/python-list

Re: listener program in Python

2006-05-12 Thread simon . hibbs
and do basic networking. This article explains one way: http://tinyurl.com/ezjx7 Simon Hibbs -- http://mail.python.org/mailman/listinfo/python-list