You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(116) |
Sep
(146) |
Oct
(78) |
Nov
(69) |
Dec
(70) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(188) |
Feb
(142) |
Mar
(143) |
Apr
(131) |
May
(97) |
Jun
(221) |
Jul
(127) |
Aug
(89) |
Sep
(83) |
Oct
(66) |
Nov
(47) |
Dec
(70) |
2003 |
Jan
(77) |
Feb
(91) |
Mar
(103) |
Apr
(98) |
May
(134) |
Jun
(47) |
Jul
(74) |
Aug
(71) |
Sep
(48) |
Oct
(23) |
Nov
(37) |
Dec
(13) |
2004 |
Jan
(24) |
Feb
(15) |
Mar
(52) |
Apr
(119) |
May
(49) |
Jun
(41) |
Jul
(34) |
Aug
(91) |
Sep
(169) |
Oct
(38) |
Nov
(32) |
Dec
(47) |
2005 |
Jan
(61) |
Feb
(47) |
Mar
(101) |
Apr
(130) |
May
(51) |
Jun
(65) |
Jul
(71) |
Aug
(96) |
Sep
(28) |
Oct
(20) |
Nov
(39) |
Dec
(62) |
2006 |
Jan
(13) |
Feb
(19) |
Mar
(18) |
Apr
(34) |
May
(39) |
Jun
(50) |
Jul
(63) |
Aug
(18) |
Sep
(37) |
Oct
(14) |
Nov
(56) |
Dec
(32) |
2007 |
Jan
(30) |
Feb
(13) |
Mar
(25) |
Apr
(3) |
May
(15) |
Jun
(42) |
Jul
(5) |
Aug
(17) |
Sep
(6) |
Oct
(25) |
Nov
(49) |
Dec
(10) |
2008 |
Jan
(12) |
Feb
|
Mar
(17) |
Apr
(18) |
May
(12) |
Jun
(2) |
Jul
(2) |
Aug
(6) |
Sep
(4) |
Oct
(15) |
Nov
(45) |
Dec
(9) |
2009 |
Jan
(1) |
Feb
(3) |
Mar
(18) |
Apr
(8) |
May
(3) |
Jun
|
Jul
(13) |
Aug
(2) |
Sep
(1) |
Oct
(9) |
Nov
(13) |
Dec
|
2010 |
Jan
(2) |
Feb
(3) |
Mar
(9) |
Apr
(10) |
May
|
Jun
(1) |
Jul
|
Aug
(3) |
Sep
|
Oct
|
Nov
(1) |
Dec
(4) |
2011 |
Jan
|
Feb
|
Mar
(10) |
Apr
(44) |
May
(9) |
Jun
(22) |
Jul
(2) |
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2012 |
Jan
|
Feb
(1) |
Mar
(2) |
Apr
(2) |
May
|
Jun
(5) |
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
(2) |
Apr
(1) |
May
(1) |
Jun
|
Jul
(3) |
Aug
(8) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
(4) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <pie...@ba...> - 2005-02-23 11:18:23
|
Hello, I was wondering if it is possible to create a hierarchical menu structure in PythonCard? For example a menu structure like this: file-| |-new--| | |- New item 1 | |- New item 2 | |-save- I'm using PythonCardPrototype 0.7.3.1 Any help would be appreciated... Regards, Pieter "The information contained in this e-mail and any attachment thereto is confidential and may contain information which is protected by intellectual property rights. This information is intended for the exclusive use of the recipient(s) named above. This e-mail does not constitute any binding relationship or offer toward any of the addressees. If you are not one of the addressees , one of their employees or a proxy holder entitled to hand over this message to the addressee(s), any use of the information contained herein (e.g. reproduction, divulgation, communication or distribution,...) is prohibited. If you have received this message in error, please notify the sender and destroy it immediately after. The integrity and security of this message cannot be guaranteed and it may be subject to data corruption, interception and unauthorized amendment, for which we accept no liability." |
From: Andy T. <an...@ha...> - 2005-02-21 06:27:10
|
XXXXXXXXXXX wrote: > On Sat, 19 Feb 2005 11:15:49 +1100, Andy Todd wrote: > > >>However, the FileExit_select problem is real. Try adding a line to your >>method above self.Close() which does something. Anything really. I tried ; >> print "Exiting application ..." >> >>and saw no output on the command line. Trying a variety of other things >>and none of them got executed. Which leads me to believe that the >>binding isn't quite right on Mac OSX. I still haven't been able to >>verify if this is a problem on other platforms but will try and have a >>go this weekend. > > > Ah! You're right....I added the print statement and it never got called. > > I just tried it on Windows XP, Python 2.3.4, PythonCard 0.81 - same result. > > Neil > I get the same behaviour on my Linux box, so this is definitely a bug. I'll try and see what I can find in the wx documentation and mailing list. Regards, Andy -- -------------------------------------------------------------------------------- From the desk of Andrew J Todd esq - http://www.halfcooked.com/ |
From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2005-02-20 18:53:37
|
On Sat, 19 Feb 2005 11:15:49 +1100, Andy Todd wrote: >However, the FileExit_select problem is real. Try adding a line to your >method above self.Close() which does something. Anything really. I tried ; > print "Exiting application ..." > >and saw no output on the command line. Trying a variety of other things >and none of them got executed. Which leads me to believe that the >binding isn't quite right on Mac OSX. I still haven't been able to >verify if this is a problem on other platforms but will try and have a >go this weekend. Ah! You're right....I added the print statement and it never got called. I just tried it on Windows XP, Python 2.3.4, PythonCard 0.81 - same result. Neil |
From: Andy T. <an...@ha...> - 2005-02-19 00:16:16
|
XXXXXXXXXXX wrote: > On Wed, 9 Feb 2005 19:25:15 +1100, Andy Todd wrote: > > >>As an aside, I had to change the event handler because >>on_menuFileExit_select doesn't seem to work on OSX. I suspect it's >>something to do with the way wxWidgets binds to the native menus. >> >>For starters the menu option appears as 'Quit' rather than 'Exit'. The >>message watcher doesn't show any events when the exit option is selected >>either. >> >>I added an 'About' menu item and the handler is invoked when this is >>selected, as expected. I noticed that I get a free 'help' menu on OSX as >>well, which I don't seem to be able to add items to with the resource file. >> >>I'm presuming this is known behaviour with wx, but would appreciate >>someone else confirming it for me. > > > Sorry Andy, were you just asking for somebody with Python 2.4 to test > this? I'm still on Python 2.3.x/PythonCard 0.81/OSX Panther and the usual: > > def on_menuFileExit_select(self, event): > self.Close() > > works fine. With the resource editor I can add a 'help' menu with an > 'about' item and it replaces the system-wide help menu. > > Neil > Indeed, it appears I had a subtle bug in my help menu, serves me right for adding it manually rather than through the resource editor. However, the FileExit_select problem is real. Try adding a line to your method above self.Close() which does something. Anything really. I tried ; print "Exiting application ..." and saw no output on the command line. Trying a variety of other things and none of them got executed. Which leads me to believe that the binding isn't quite right on Mac OSX. I still haven't been able to verify if this is a problem on other platforms but will try and have a go this weekend. Regards, Andy -- -------------------------------------------------------------------------------- From the desk of Andrew J Todd esq - http://www.halfcooked.com/ |
From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2005-02-16 08:42:54
|
Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.30) id 1D1Klq-0001vp-Mo for pyt...@li...; Wed, 16 Feb 2005 00:42:54 -0800 Received: from ptb-relay01.plus.net ([212.159.14.212]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1D1Klp-0007dw-1e for pyt...@li...; Wed, 16 Feb 2005 00:42:54 -0800 Received: from [80.229.32.187] (helo=[10.0.0.4]) by ptb-relay01.plus.net with esmtp (Exim) id 1D1Klf-000Edh-2s for pyt...@li...; Wed, 16 Feb 2005 08:42:44 +0000 From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX To: "Pythoncard Users" <pyt...@li...> Subject: Re: [Pythoncard-users] Install problem with python 2.4 Message-Id: <200...@re...> In-Reply-To: <420...@ha...> References: <420...@ha...> X-Mailer: CTM PowerMail 4.2.1 us Carbon <http://www.ctmdev.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Sender: pyt...@li... Errors-To: pyt...@li... X-BeenThere: pyt...@li... X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/pythoncard-users>, <mailto:pyt...@li...?subject=unsubscribe> List-Id: <pythoncard-users.lists.sourceforge.net> List-Post: <mailto:pyt...@li...> List-Help: <mailto:pyt...@li...?subject=help> List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/pythoncard-users>, <mailto:pyt...@li...?subject=subscribe> List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum=pythoncard-users> Date: Wed Feb 16 00:43:18 2005 X-Original-Date: Wed, 16 Feb 2005 08:46:17 +0000 |
From: Andrei <pro...@re...> - 2005-02-14 18:07:06
|
Stas Newdel wrote on Mon, 14 Feb 2005 11:23:40 -0500: > I suffered a data loss - no back up, but I have a compiled version of > the app. I could probably rewrite it from memory, but is there a way > to retrieve the code from the compiled exe? Thanks... and subversion > is next on my list of things to learn. You could have a look at decompyle.py (http://users.cs.cf.ac.uk/J.P.Giddy/python/decompiler/decompile.py). There might be a newer version somewhere, use Google. -- Yours, Andrei ===== Real contact info (decode with rot13): cebwrpg5@jnanqbb.ay. Fcnz-serr! Cyrnfr qb abg hfr va choyvp cbfgf. V ernq gur yvfg, fb gurer'f ab arrq gb PP. |
From: Stas N. <sta...@gm...> - 2005-02-14 16:23:49
|
Hello, I am a new PythonCard user - it is a great tool and I was able to quickly write a useful program with just a few hours of work. I suffered a data loss - no back up, but I have a compiled version of the app. I could probably rewrite it from memory, but is there a way to retrieve the code from the compiled exe? Thanks... and subversion is next on my list of things to learn. Stas |
From: Kevin A. <al...@se...> - 2005-02-10 03:14:36
|
On Feb 9, 2005, at 6:12 PM, Ken Sale wrote: > I'm using: > > PythonCard version: 0.8.1 > wxPython version: 2.5.3.1 > Python version: 2.3 (#1, Sep 13 2003, 00:49:11) > [GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] > Platform: darwin > > and the code from Alex definitely doesn't work here. > > Any suggestions for Mac OS X? > > This could be a Mac OS X bug or missing feature in wxWidgets/wxPython, so you should bring it up on the wxPython-users or wxPython-mac mailing lists. I don't think this has anything to do with the PythonCard layer. http://www.wxpython.org/maillist.php ka |
From: Ken S. <k....@co...> - 2005-02-10 02:13:03
|
I'm using: PythonCard version: 0.8.1 wxPython version: 2.5.3.1 Python version: 2.3 (#1, Sep 13 2003, 00:49:11) [GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] Platform: darwin and the code from Alex definitely doesn't work here. Any suggestions for Mac OS X? On Feb 9, 2005, at 7:36 AM, Alex Tweedly wrote: > Ken Sale wrote: > >> When I try the solution proposed below nothing moves, neither the >> slider of the content and clicking doesn't change anything. > > Just in case I've accidentally changed something else (I did play > around a bit with it), here are the complete source and resource files > - definitely works for me with > >> PythonCard version: 0.8.1 >> wxPython version: 2.5.3.1 >> Python version: 2.3.4 (#53, May 25 2004, 21:17:02) [MSC v.1200 32 bit >> (Intel)] >> Platform: win32 > > > > #!/usr/bin/python > > """ > __version__ = "$Revision: 1.5 $" > __date__ = "$Date: 2004/04/30 16:26:12 $" > """ > > from PythonCard import model > from wxPython import wx > > class MyBackground(model.Background): > > def on_initialize(self, event): > self.w = self.components.HtmlWindow1 > htext = '<html><body>' > for i in range(50): > htext = htext + "<br> line " + str(i) > htext = htext + "</body></html>" > self.components.HtmlWindow1.text = htext > def on_upButton_mouseClick(self, event): > w = self.w > curPos = w.GetScrollPos(wx.wxVERTICAL) > w.ScrollLines(-13) > def on_downButton_mouseClick(self, event): > w = self.w > curPos = w.GetScrollPos(wx.wxVERTICAL) > w.ScrollLines(13) > if __name__ == '__main__': > app = model.Application(MyBackground) > app.MainLoop() > > > > > {'application':{'type':'Application', > 'name':'Template', > 'backgrounds': [ > {'type':'Background', > 'name':'bgTemplate', > 'title':'Standard Template with File->Exit menu', > 'size':(400, 300), > 'style':['resizeable'], > > 'menubar': {'type':'MenuBar', > 'menus': [ > {'type':'Menu', > 'name':'menuFile', > 'label':'&File', > 'items': [ > {'type':'MenuItem', > 'name':'menuFileExit', > 'label':'E&xit', > 'command':'exit', > }, > ] > }, > ] > }, > 'components': [ > > {'type':'HtmlWindow', > 'name':'HtmlWindow1', > 'position':(10, 10), > 'size':(261, 222), > 'backgroundColor':(255, 255, 255), > }, > > {'type':'Button', > 'name':'downButton', > 'position':(283, 68), > 'label':'Down', > }, > > {'type':'Button', > 'name':'upButton', > 'position':(283, 15), > 'label':'Up', > }, > > ] # end components > } # end background > ] # end backgrounds > } } > > > -- > Alex Tweedly http://www.tweedly.net > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.6 - Release Date: 07/02/2005 > |
From: Alex T. <al...@tw...> - 2005-02-09 15:36:56
|
Ken Sale wrote: > When I try the solution proposed below nothing moves, neither the > slider of the content and clicking doesn't change anything. Just in case I've accidentally changed something else (I did play around a bit with it), here are the complete source and resource files - definitely works for me with > PythonCard version: 0.8.1 > wxPython version: 2.5.3.1 > Python version: 2.3.4 (#53, May 25 2004, 21:17:02) [MSC v.1200 32 bit > (Intel)] > Platform: win32 #!/usr/bin/python """ __version__ = "$Revision: 1.5 $" __date__ = "$Date: 2004/04/30 16:26:12 $" """ from PythonCard import model from wxPython import wx class MyBackground(model.Background): def on_initialize(self, event): self.w = self.components.HtmlWindow1 htext = '<html><body>' for i in range(50): htext = htext + "<br> line " + str(i) htext = htext + "</body></html>" self.components.HtmlWindow1.text = htext def on_upButton_mouseClick(self, event): w = self.w curPos = w.GetScrollPos(wx.wxVERTICAL) w.ScrollLines(-13) def on_downButton_mouseClick(self, event): w = self.w curPos = w.GetScrollPos(wx.wxVERTICAL) w.ScrollLines(13) if __name__ == '__main__': app = model.Application(MyBackground) app.MainLoop() {'application':{'type':'Application', 'name':'Template', 'backgrounds': [ {'type':'Background', 'name':'bgTemplate', 'title':'Standard Template with File->Exit menu', 'size':(400, 300), 'style':['resizeable'], 'menubar': {'type':'MenuBar', 'menus': [ {'type':'Menu', 'name':'menuFile', 'label':'&File', 'items': [ {'type':'MenuItem', 'name':'menuFileExit', 'label':'E&xit', 'command':'exit', }, ] }, ] }, 'components': [ {'type':'HtmlWindow', 'name':'HtmlWindow1', 'position':(10, 10), 'size':(261, 222), 'backgroundColor':(255, 255, 255), }, {'type':'Button', 'name':'downButton', 'position':(283, 68), 'label':'Down', }, {'type':'Button', 'name':'upButton', 'position':(283, 15), 'label':'Up', }, ] # end components } # end background ] # end backgrounds } } -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.6 - Release Date: 07/02/2005 |
From: Ken S. <k....@co...> - 2005-02-09 15:24:46
|
When I try the solution proposed below nothing moves, neither the slider of the content and clicking doesn't change anything. Still frustrated, Ken On Feb 9, 2005, at 6:56 AM, Alex Tweedly wrote: > Ken Sale wrote: > >> Hi folks, >> >> In an app that intercepts key presses I want to control the scrolling >> of an HtmlWindow. The tester below moves the slider in the scroll >> bar but the window content doesn't move unless I click on the slider. >> Any hints would be appreciated. >> >> I'm running Python 2.3 on Mac OS X > > Not directly an answer to why that doesn't work - but here's an > alternative that does .... > > Instead of > >> w.SetScrollPos(wx.wxVERTICAL, curPos-13) > > do > w.ScrollLines(-13) > and > w.ScrollLines(13) > > -- > Alex Tweedly http://www.tweedly.net > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.6 - Release Date: 07/02/2005 > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real > users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Pythoncard-users mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pythoncard-users > |
From: Alex T. <al...@tw...> - 2005-02-09 14:56:54
|
Ken Sale wrote: > Hi folks, > > In an app that intercepts key presses I want to control the scrolling > of an HtmlWindow. The tester below moves the slider in the scroll bar > but the window content doesn't move unless I click on the slider. Any > hints would be appreciated. > > I'm running Python 2.3 on Mac OS X Not directly an answer to why that doesn't work - but here's an alternative that does .... Instead of > w.SetScrollPos(wx.wxVERTICAL, curPos-13) do w.ScrollLines(-13) and w.ScrollLines(13) -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.6 - Release Date: 07/02/2005 |
From: Andy T. <an...@ha...> - 2005-02-09 08:25:50
|
Andy Todd wrote: > Simon, > > There are a number of issues here, I'll try to deal with them in turn; > > Simon Hibbs wrote: > >> I'm getting a similar problem to Dan. The Windows >> installer bombed out about 80% of the way through. > > > The .exe installer was built with Python 2.3 and this may be why it > bombs out when installing with version 2.4. According to my not very > extensive testing the error occurs when we try and create the start menu > program group and icons. As far as I can tell PythonCard installs properly. > > It's not very good though. For the next release we probably need to > build two versions of the .exe, one for Python 2.3 and another for > Python 2.4. If anyone would like to investigate and explain why this is > a problem it would be more than welcome. > >> >> However Pythoncard does seem to be installed and the >> sample apps seem to work ok. >> > > Yup, you just probably won't have a 'PythonCard' program group in your > start menu. > >> However I've been workig through the first two tutorials, >> and neither work. The sample apps aren't as described. > > > Err, correct. The documentation and supporting materials are a bit out > of date. Sorry. > >> >> The function you're told to modify in the first tutorial isn't >> in the script, and I've modified the Minimal app as described >> in the second tutorial (the Counter app) but it doesn't work. > > > I'll update the first tutorial and sample script a.s.a.p. > [snip] I've updated the sample application and walkthrough documentation. These are in CVS now for anyone who wants to verify my changes and will appear in the next release. As an aside, I had to change the event handler because on_menuFileExit_select doesn't seem to work on OSX. I suspect it's something to do with the way wxWidgets binds to the native menus. For starters the menu option appears as 'Quit' rather than 'Exit'. The message watcher doesn't show any events when the exit option is selected either. I added an 'About' menu item and the handler is invoked when this is selected, as expected. I noticed that I get a free 'help' menu on OSX as well, which I don't seem to be able to add items to with the resource file. I'm presuming this is known behaviour with wx, but would appreciate someone else confirming it for me. I can't verify if this behaviour is platform specific as my Windows/Linux machine currently has a rather poorly screen. Can someone please run the 'starter1' application in the docs/GettingStarted folder from CVS and let me know if the FileExit event handler is working or not, and whether a 'help' menu is created. Thanks in advance, Andy -- -------------------------------------------------------------------------------- From the desk of Andrew J Todd esq - http://www.halfcooked.com/ |
From: Ken S. <k....@co...> - 2005-02-09 03:28:52
|
Hi folks, In an app that intercepts key presses I want to control the scrolling of an HtmlWindow. The tester below moves the slider in the scroll bar but the window content doesn't move unless I click on the slider. Any hints would be appreciated. I'm running Python 2.3 on Mac OS X Thanks, Ken #!/usr/bin/python """ __version__ = "$Revision: 1.5 $" __date__ = "$Date: 2004/04/30 16:26:12 $" """ from PythonCard import model from wxPython import wx class MyBackground(model.Background): def on_initialize(self, event): self.w = self.components.HtmlWindow1 htext = '<html><body>' for i in range(50): htext = htext + "<br> line " + str(i) htext = htext + "</body></html>" self.components.HtmlWindow1.text = htext def on_UpButton_mouseClick(self, event): w = self.w curPos = w.GetScrollPos(wx.wxVERTICAL) w.SetScrollPos(wx.wxVERTICAL, curPos-13) def on_DownButton_mouseClick(self, event): w = self.w curPos = w.GetScrollPos(wx.wxVERTICAL) w.SetScrollPos(wx.wxVERTICAL, curPos+13) if __name__ == '__main__': app = model.Application(MyBackground) app.MainLoop() |
From: Andy T. <an...@ha...> - 2005-02-08 10:24:48
|
Tony Maniaci wrote: > Is there a way in Pythoncard to specify a frame/panel instead of an > independent window? > > > PythonCard currently implements a single panel per window. If you want more than one frame or panel in your window you will have to code it in wxPython. Sorry for the delay in replying, I'm still catching up on my email backlog. Regards, Andy -- -------------------------------------------------------------------------------- From the desk of Andrew J Todd esq - http://www.halfcooked.com/ |
From: Peter C. N. <spa...@le...> - 2005-02-04 16:48:27
|
You should be able to use the pythoncard .debs available on a modified knoppix cd. -Peter On Fri, Feb 04, 2005 at 05:21:53PM +0100, mo...@my... wrote: > Anybody knows for Linux standalone CD-ROM distribution with PythonCard, please ? > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Pythoncard-users mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pythoncard-users -- The 5 year plan: In five years we'll make up another plan. Or just re-use this one. |
From: <mo...@my...> - 2005-02-04 16:22:12
|
Anybody knows for Linux standalone CD-ROM distribution with PythonCard, = please ? |
From: Aaron H. <arc...@gm...> - 2005-02-03 22:04:58
|
I have created a mult-column listbox on a background that works fine in Linux, but when I try running the same code in Windows 98, I get bizarre results. Specifically, I have five columns (Line, Item, Cat, Mfg, Desc, Qty) and whenever I load more than one line into this box, the last column grows very large and no matter how many .SetColumnWidth(5, 50) calls I make, it won't change and I end up having to scroll far off to the right to see the qty for each line. Has anybody experienced anything similar? Also, I want the QTY column to be right justified so I'm doing it like this: def on_initialize(self, event): col =3D self.components.LineItemList.GetColumn(5) col.SetAlign(wx.LIST_FORMAT_RIGHT) self.components.LineItemList.SetColumn(5, col) This does as it should, but again, on Windows 98, the value I had in the column header ("QTY") goes away. On Linux it does not. Oh, when I say Linux, I mean my laptop running Fedora Core 3. Both platforms are running Python 2.3.4 but the FC3 box is using wxPython 2.5.2.8 and the Win98 machine is using wxPython 2.5.3.1. Both platforms are using PythonCard 0.81. Any ideas? Oh, and is it possible for me to specify column widths and/or alignments in the resource? I notice I can specify column headings. Any help is appreciated... -Aaron |
From: Andy T. <an...@ha...> - 2005-01-25 09:36:07
|
Peter C. Norton wrote: > On Mon, Jan 24, 2005 at 09:47:47PM +1100, Andy Todd wrote: > >>Which installer are you referring to? As mentioned earlier there *is* a >>problem installing PythonCard on Windows using the .exe if you have >>Python 2.4 >> >>Is this the case or are you experiencing another problem? >> >>Regards, >>Andy > > > Andy, > > I didn't see in the archives that the 2.4 installer had a confirmed > problem. That is indeed what I am using. > > Excuse me for asking if this has already been posted, but is there an > expected fix coming down for this? If you just tell me what to google > for for the answer, I'll stop bothering you about this. > > Thanks, > > -Peter > It's only just hit the mailing list. I tested the .exe installer with Python 2.3 and 2.4 yesterday. As Kevin mentioned in his post to the list you can *always* use the .zip distribution. Just download the file, expand it into a directory of your choice and at the command prompt type; python setup.py install And Bob will be your Aunty's live in lover. As I said in response to the other post raising this issue the error message you see happens *after* the installation of PythonCard has finished and so shouldn't affect your enjoyment of the toolkit. It just isn't a great idea to have error messages routinely appear as part of an automated installation. The problem has been noted though, and will no doubt be addressed in the next release of PythonCard. Regards, Andy -- -------------------------------------------------------------------------------- From the desk of Andrew J Todd esq - http://www.halfcooked.com/ |
From: Kevin A. <al...@se...> - 2005-01-24 20:16:54
|
Okay, apologies for taking a long break from PythonCard and not dealing with the mailing list and such. I'll start going through the backlog sometime this week. I still haven't installed Python 2.4 on any of my machines, so I'll have to look into that once the other stuff is out of the way. In the meantime, I'm guessing that if you are using Python 2.4 and download the zip, then you can install by unzipping, opening a command console window, switching to the zip directory, and typing python setup.py install As for all the other issues, it make take a while to go through them all. On the conference front, I've had PythonCard presentations accepted for both Pycon and Python UK, so I'll be attending both as well as OSCON like usual. I don't expect I'll attend Europython at this time. http://wiki.wxpython.org/index.cgi/PythonCardConferences Thanks to everyone that answered questions while I took a sabbatical :) ka |
From: Peter C. N. <spa...@le...> - 2005-01-24 12:27:41
|
On Mon, Jan 24, 2005 at 09:47:47PM +1100, Andy Todd wrote: > Which installer are you referring to? As mentioned earlier there *is* a > problem installing PythonCard on Windows using the .exe if you have > Python 2.4 > > Is this the case or are you experiencing another problem? > > Regards, > Andy Andy, I didn't see in the archives that the 2.4 installer had a confirmed problem. That is indeed what I am using. Excuse me for asking if this has already been posted, but is there an expected fix coming down for this? If you just tell me what to google for for the answer, I'll stop bothering you about this. Thanks, -Peter -- The 5 year plan: In five years we'll make up another plan. Or just re-use this one. |
From: Andy T. <an...@ha...> - 2005-01-24 10:47:56
|
Peter C. Norton wrote: > I am evaluating pythoncard for use in a book focused on new users who > will be learning how to program, and program in python. > > Under debian linux, pythoncard installs and runs fine, but under > windows (w2k pro) the installer is failing. > > I see that others have run into this problem. Is this isolated or are > other windows users running into this as well? > > -Peter > Which installer are you referring to? As mentioned earlier there *is* a problem installing PythonCard on Windows using the .exe if you have Python 2.4 Is this the case or are you experiencing another problem? Regards, Andy -- -------------------------------------------------------------------------------- From the desk of Andrew J Todd esq - http://www.halfcooked.com/ |
From: Andy T. <an...@ha...> - 2005-01-24 10:29:25
|
Simon Hibbs wrote: > The deleteRecord method in the Document class doesn't > update self.documentChanged. If you open a database > and only delete records, the file won't be updated, > even if you do an explicit save, because the save > method checks self.documentChanged and does nothing if > it's set to zero. > > If you delete some records, but also add some new records, > adding the new records causes sel.documentChanged to be > updated and the deletions 'stick'. > > Only one line of code needs to be added. Here's the fixed > method, up to the new line: > > def deleteRecord(self): > # should probably do a dialog here to give the user > # a chance to cancel > if self.current != -1: > del self.records[self.current] > self.documentChanged = 1 # Bug fix > ..... > > Is this the right list for bug reports? If not, where do I > take this? > > > Simon > Fixed in CVS, thanks for the notification. Yes this is the right place to report bugs, even more so when you provide a solution ;-) Regards, Andy -- -------------------------------------------------------------------------------- From the desk of Andrew J Todd esq - http://www.halfcooked.com/ |
From: Andy T. <an...@ha...> - 2005-01-24 10:20:19
|
Dr. Brooks wrote: > Mr. Todd > Thank you for your interest . > While preparing an email in reply to your request for more information > I launched the PythonCard script from the Pythonwin 2.3.2 interface > and the PythonVideo image window opened. I have since changed my > default python launching program to Pythonw (from python 2.3.4) and > all works well. > > However I do have another question. > What I am trying to do is have a user interface to a modified > Evolutions ER1 robot. This interface accepts voice input from Dragon > Speak NatLink and opens a TCP IP socket and RS232 Com port to my > robot. It also allows to user to issue commands to the robot's > Behavior program (a python script). I would like to have the robot's > behavior program run and send and receive input from the user > interface. Unfortunately I do not understand the method by which the > PythonCard GUI communications with other modules. Can I have my my > behavior program run and communicate with the TextArea of the GUI? > Can the Behavior Module Call elements of the GUI ? > It seems that the GUI runs in a loop and thus prevents the Behavior > Module from executing in parallel. A pointer to an example or > tutorial would be greatly appreciated. > > Again Thank for Your Interest > > On Mon, 03 Jan 2005 11:06:35 +1100, Andy Todd <an...@ha...> wrote: [snip] >> The answer is a qualified 'depends'. Yes, PythonCard (well, actually wxPython) executes in a loop and is essentially the controlling process whenever it runs. What you can do, though is import your behaviour program and call it from your PythonCard application, e.g. import myProgram class MyApp(model.background): def on_<component>_<event name>(self, event): myProgram.do_something() etc ... Where it may be troublesome is if your application is asynchronous. This means that you ask it to do something and then have to keep checking if it has finished. If that is the case then the documentation on Timers and Threads may be useful to you; http://pythoncard.sourceforge.net/timers-threads.html If any of your calls are synchronous (i.e. return control to PythonCard when they have finished) then writing the program is easier. Just included in your PythonCard program anything that you would normally type at the Python prompt. I've cc'ed this message to the PythonCard users list as you will always get good feedback from the good people there. They will generally be more prompt in answering your questions, as you can see I get round to my email in fits and starts and your chances of a useful and timely reply increase with the number of people who see it. Regards, Andy -- -------------------------------------------------------------------------------- From the desk of Andrew J Todd esq - http://www.halfcooked.com/ |
From: Andy T. <an...@ha...> - 2005-01-24 08:23:59
|
Simon, There are a number of issues here, I'll try to deal with them in turn; Simon Hibbs wrote: > I'm getting a similar problem to Dan. The Windows > installer bombed out about 80% of the way through. The .exe installer was built with Python 2.3 and this may be why it bombs out when installing with version 2.4. According to my not very extensive testing the error occurs when we try and create the start menu program group and icons. As far as I can tell PythonCard installs properly. It's not very good though. For the next release we probably need to build two versions of the .exe, one for Python 2.3 and another for Python 2.4. If anyone would like to investigate and explain why this is a problem it would be more than welcome. > > However Pythoncard does seem to be installed and the > sample apps seem to work ok. > Yup, you just probably won't have a 'PythonCard' program group in your start menu. > However I've been workig through the first two tutorials, > and neither work. The sample apps aren't as described. Err, correct. The documentation and supporting materials are a bit out of date. Sorry. > > The function you're told to modify in the first tutorial isn't > in the script, and I've modified the Minimal app as described > in the second tutorial (the Counter app) but it doesn't work. I'll update the first tutorial and sample script a.s.a.p. I ran through the second tutorial and everything *seemed* to work (under both Python 2.3 and 2.4). Can you give a bit more detail, did the scripts for both of the buttons not work? What happens when you put some simple print statements in the methods? For instance, try adding a line to the provided incrBtn method, changing it from; def on_incrBtn_mouseClick(self, event): startValue = int(self.components.field1.text) endValue = startValue + 1 self.components.field1.text = str(endValue) To def on_incrBtn_mouseClick(self, event): print "I am in the incrBtn handler" startValue = int(self.components.field1.text) endValue = startValue + 1 self.components.field1.text = str(endValue) And then running your application from the command line. Report any errors, warnings or output to the command line that you see. > > Yet as I said, the sample apps all seem to run ok, very > odd. > > Simon > _____________________________ > Simon Hibbs > Senior Support Engineer (Marconi) > Indeed they do for me too. But if you find any more problems please report them to the list. Regards, Andy -- -------------------------------------------------------------------------------- From the desk of Andrew J Todd esq - http://www.halfcooked.com/ |