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: John H. <ec...@ya...> - 2007-06-23 06:18:03
|
Hi, Thanks for the response. But that would respond to "command" only - it doesn't respond to mouseClick and other events. --- Alex Tweedly <al...@tw...> wrote: > kc1...@ya... wrote: > > I've been searching the net for this topic and the > one > > thing that pops up is the addMethod routine. It > > sounds like something I can use. However, there > is no > > information that I can find on how to use it to > help > > me. > > > > Could somebody please help. > > > > When I create a button on the fly - with a name > > defined at run-time, how would I define a method > for > > it? > > > > > use the 'command' option in the button definition > > I *think* that should do it, but I'm not in a > position to try it out > right now, so I'm afraid it's an untested > suggestion. > > -- Alex > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 > express and take > control of your XML. No limits. Just data. Click to > get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Pythoncard-users mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pythoncard-users > -- John Henry |
From: Alex T. <al...@tw...> - 2007-06-22 23:08:38
|
kc1...@ya... wrote: > I've been searching the net for this topic and the one > thing that pops up is the addMethod routine. It > sounds like something I can use. However, there is no > information that I can find on how to use it to help > me. > > Could somebody please help. > > When I create a button on the fly - with a name > defined at run-time, how would I define a method for > it? > > use the 'command' option in the button definition I *think* that should do it, but I'm not in a position to try it out right now, so I'm afraid it's an untested suggestion. -- Alex |
From: John H. <ec...@ya...> - 2007-06-22 21:56:15
|
Thanks for the response. While waiting, I experimented and I came up with a Python way (as oppose to the PythonCard way) to do it. See attached file. When you run the attached program, each time a button is pushed, a new button is created. When that new button is pushed, yet another new button gets created...so on and so forth... Ain't Python fun? --- Kevin Altis <al...@se...> wrote: > > On Jun 22, 2007, at 9:56 AM, > kc1...@ya... wrote: > > > I've been searching the net for this topic and the > one > > thing that pops up is the addMethod routine. It > > sounds like something I can use. However, there > is no > > information that I can find on how to use it to > help > > me. > > > > Could somebody please help. > > > > When I create a button on the fly - with a name > > defined at run-time, how would I define a method > for > > it? > > > > Thanks, > > http://pythoncard.sourceforge.net/text/addmethod.txt > > addMethod was the way to do it in versions of > PythonCard prior to > release 0.8, but when I changed to event binding to > a more efficient > static system, rather than looking for event > handlers each time an > event fires, the old addMethod stopped working as > described. > > Now, for some reason I thought that I was going to > have to redo the > "magic" code in model.py for the addMethod method, > so I let this > issue hanging. However, I just did a little > experiment which seemed > to work fine, so let me know if this works for you. > Simply add your > event handlers to your code BEFORE you create the > components you want > the events to bind to: > > >>> def on_btn1_mouseClick(self, event): > ... self.components.field1.text = event.target.name > ... > >>> self.addMethod(on_btn1_mouseClick) > >>> comp['btn1'] = {'type':'Button', 'name':'btn1', > 'position':(0, > 30), 'label':'btn1 hello'} > > Other than the last two lines this is identical to > the way it used to > work, we're simply making sure the event handler > method is added to > our code before the component is created so its > event binding works > correctly. > > Now, assuming I didn't just get lucky, this is > pretty nice that it > works again, but this example is done totally in the > shell with the > minimal.py sample application. What I can't remember > offhand, is > which Python module and method you need to use to > pass in an > arbitrary string and get back a function that we can > do something > with. For example, compiling... > > c = someComboOfCompileAndEval('def > on_btn1_mouseClick(self, event): > \n self.components.field1.text = > event.target.name\n\n') > self.addMethod(c) > > Maybe it is a combination of compile and eval, but > the correct > globals and locals will have to be passed in order > for it to make > sense as a method. I could probably dig into the > Python interpreter > to see what it is doing with the text at the shell > prompt, but if you > know, please post to the list. > > Thanks, > > ka > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 > express and take > control of your XML. No limits. Just data. Click to > get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Pythoncard-users mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pythoncard-users > -- John Henry -- John Henry |
From: Kevin A. <al...@se...> - 2007-06-22 21:47:45
|
On Jun 22, 2007, at 9:56 AM, kc1...@ya... wrote: > I've been searching the net for this topic and the one > thing that pops up is the addMethod routine. It > sounds like something I can use. However, there is no > information that I can find on how to use it to help > me. > > Could somebody please help. > > When I create a button on the fly - with a name > defined at run-time, how would I define a method for > it? > > Thanks, http://pythoncard.sourceforge.net/text/addmethod.txt addMethod was the way to do it in versions of PythonCard prior to release 0.8, but when I changed to event binding to a more efficient static system, rather than looking for event handlers each time an event fires, the old addMethod stopped working as described. Now, for some reason I thought that I was going to have to redo the "magic" code in model.py for the addMethod method, so I let this issue hanging. However, I just did a little experiment which seemed to work fine, so let me know if this works for you. Simply add your event handlers to your code BEFORE you create the components you want the events to bind to: >>> def on_btn1_mouseClick(self, event): ... self.components.field1.text = event.target.name ... >>> self.addMethod(on_btn1_mouseClick) >>> comp['btn1'] = {'type':'Button', 'name':'btn1', 'position':(0, 30), 'label':'btn1 hello'} Other than the last two lines this is identical to the way it used to work, we're simply making sure the event handler method is added to our code before the component is created so its event binding works correctly. Now, assuming I didn't just get lucky, this is pretty nice that it works again, but this example is done totally in the shell with the minimal.py sample application. What I can't remember offhand, is which Python module and method you need to use to pass in an arbitrary string and get back a function that we can do something with. For example, compiling... c = someComboOfCompileAndEval('def on_btn1_mouseClick(self, event): \n self.components.field1.text = event.target.name\n\n') self.addMethod(c) Maybe it is a combination of compile and eval, but the correct globals and locals will have to be passed in order for it to make sense as a method. I could probably dig into the Python interpreter to see what it is doing with the text at the shell prompt, but if you know, please post to the list. Thanks, ka |
From: John H. <ec...@ya...> - 2007-06-22 17:07:45
|
Test. Please ignore. Kim Cheung Executive Director Power System Advisors Int'l Reply to ki...@Po... (remove the word NOSPAM) |
From: <kc1...@ya...> - 2007-06-22 16:56:38
|
I've been searching the net for this topic and the one thing that pops up is the addMethod routine. It sounds like something I can use. However, there is no information that I can find on how to use it to help me. Could somebody please help. When I create a button on the fly - with a name defined at run-time, how would I define a method for it? Thanks, > > > Okay, answering my own question: > > I discovered the noresource.py in the samples > directory and followed it to create a textfield at run > time. After that, I went a little further and setup a > button on the fly. In fact, I can have a function > on_Button1_mouseClick which in turn create another button so > that when I click on button1, it creates yet another button. > All works. See attached. > > However, how do I create the event handler on the fly? > In my sample, I pre-defined the routine > on_Button1_mouseClick but that's not going to work for > the general case. > > So, how can I define the event handler on the fly? > > > > --- kc1...@ya... wrote: > > > Hi list, > > > > I have a need to create an ap that changes at run > > time > > depends on what choices were selected. I have a > > tree > > control on the left, a static text area on the top > > right, and now I like to have other components on > > the > > lower right but it would depend on what the user > > clicked on the tree. > > > > The obvious way would be to design one dialog window > > for each of the tree branches, and then when > > selected, > > pop up the dialog window and off it goes. The > > problem > > is that not only would that be very boring, it is a > > *lot* of work because I have lots of branches - > > close > > to 100. > > > > What I am hoping is to simply have a template > > document > > that says when clicked on branch 1, I need a static > > text, followed by a button, a .... and so forth. I > > kind of have this document already. Now I need to > > figure out how to create these components on the > > fly. > > > > Does anybody has a simple example on how this can be > > done? I notice, for example, with the PythonCard > > layout Editor, the Property Editor in effect changes > > as a function of what the user clicks. So this is > > something doable. I did a brief look at the source > > code and its too big and complex program to chew on. > > > > I am hoping that somebody has a simpler example. > > > > Thanks, > > > > > > > > -- > > John Henry > > > > -- > John Henry > -- John Henry |
From: <kc1...@ya...> - 2007-06-21 21:29:23
|
Okay, answering my own question: I discovered the noresource.py in the samples directory and followed it to create a textfield at run time. After that, I went a little further and setup a button on the fly. In fact, I can have a function on_Button1_mouseClick which in turn create another button so that when I click on button1, it creates yet another button. All works. See attached. However, how do I create the event handler on the fly? In my sample, I pre-defined the routine on_Button1_mouseClick but that's not going to work for the general case. So, how can I define the event handler on the fly? --- kc1...@ya... wrote: > Hi list, > > I have a need to create an ap that changes at run > time > depends on what choices were selected. I have a > tree > control on the left, a static text area on the top > right, and now I like to have other components on > the > lower right but it would depend on what the user > clicked on the tree. > > The obvious way would be to design one dialog window > for each of the tree branches, and then when > selected, > pop up the dialog window and off it goes. The > problem > is that not only would that be very boring, it is a > *lot* of work because I have lots of branches - > close > to 100. > > What I am hoping is to simply have a template > document > that says when clicked on branch 1, I need a static > text, followed by a button, a .... and so forth. I > kind of have this document already. Now I need to > figure out how to create these components on the > fly. > > Does anybody has a simple example on how this can be > done? I notice, for example, with the PythonCard > layout Editor, the Property Editor in effect changes > as a function of what the user clicks. So this is > something doable. I did a brief look at the source > code and its too big and complex program to chew on. > > I am hoping that somebody has a simpler example. > > Thanks, > > > > -- > John Henry > -- John Henry -- John Henry |
From: KC <kim...@ya...> - 2007-06-21 21:28:04
|
Okay, answering my own question: I discovered the noresource.py in the samples directory and followed it to create a textfield at run time. After that, I went a little further and setup a button on the fly. In fact, I can have a function on_Button1_mouseClick which in turn create another button so that when I click on button1, it creates yet another button. All works. See attached. However, how do I create the event handler on the fly? In my sample, I pre-defined the routine on_Button1_mouseClick but that's not going to work for the general case. So, how can I define the event handler on the fly? --- kc1...@ya... wrote: > Hi list, > > I have a need to create an ap that changes at run > time > depends on what choices were selected. I have a > tree > control on the left, a static text area on the top > right, and now I like to have other components on > the > lower right but it would depend on what the user > clicked on the tree. > > The obvious way would be to design one dialog window > for each of the tree branches, and then when > selected, > pop up the dialog window and off it goes. The > problem > is that not only would that be very boring, it is a > *lot* of work because I have lots of branches - > close > to 100. > > What I am hoping is to simply have a template > document > that says when clicked on branch 1, I need a static > text, followed by a button, a .... and so forth. I > kind of have this document already. Now I need to > figure out how to create these components on the > fly. > > Does anybody has a simple example on how this can be > done? I notice, for example, with the PythonCard > layout Editor, the Property Editor in effect changes > as a function of what the user clicks. So this is > something doable. I did a brief look at the source > code and its too big and complex program to chew on. > > I am hoping that somebody has a simpler example. > > Thanks, > > > > -- > John Henry > -- John Henry |
From: <kc1...@ya...> - 2007-06-21 17:38:13
|
Hi list, I have a need to create an ap that changes at run time depends on what choices were selected. I have a tree control on the left, a static text area on the top right, and now I like to have other components on the lower right but it would depend on what the user clicked on the tree. The obvious way would be to design one dialog window for each of the tree branches, and then when selected, pop up the dialog window and off it goes. The problem is that not only would that be very boring, it is a *lot* of work because I have lots of branches - close to 100. What I am hoping is to simply have a template document that says when clicked on branch 1, I need a static text, followed by a button, a .... and so forth. I kind of have this document already. Now I need to figure out how to create these components on the fly. Does anybody has a simple example on how this can be done? I notice, for example, with the PythonCard layout Editor, the Property Editor in effect changes as a function of what the user clicks. So this is something doable. I did a brief look at the source code and its too big and complex program to chew on. I am hoping that somebody has a simpler example. Thanks, -- John Henry |
From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2007-06-20 11:45:13
|
On 19/06/2007 09:13, XXXXXXXXXXX wrote: > I'm using wxPython 2.8.x - could this be the reason? Er....it seems not. I have an XP laptop with wxPython 2.5.3 and the resource editor, etc. is OK on that too. The laptop had IE 6 upgraded to 7, while the desktop had IE7 when I got it. -- Neil |
From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2007-06-19 08:13:16
|
On 18/06/2007 20:51, Kevin Altis wrote: > Just an FYI for those that might be impacted by this. I don't think I > even have any systems with IE 7 and likely won't, so I'm not sure when > I'll get to look into what the issue is. Please provide any info you can > if you are using IE 7. I wouldn't be surprised if this is being covered > on the wxPython lists as well. No problems on this machine with Windows XP SP2 + IE 7, though I will admit that I don't run PythonCard a huge amount on it yet because most of those projects are still on my NT box that I'm (very) slowly decommissioning. The layouts all look OK for my apps and the editors. I presume the bug report is referring to the menu editor's "OK" and "Cancel" buttons? I can see both, no problem. I'm using wxPython 2.8.x - could this be the reason? -- Neil |
From: Labhard, M. E <mic...@in...> - 2007-06-14 16:51:13
|
Forgot to include: imagefile.DragAcceptFiles(True) dt =3D HHSResponseImageDropTarget(imagefile, self) imagefile.SetDropTarget(dt) -- Michael |
From: Labhard, M. E <mic...@in...> - 2007-06-14 16:40:08
|
This is how we do it: class HHSResponseImageDropTarget(wx.FileDropTarget): def __init__(self, window, responses): wx.FileDropTarget.__init__(self) self.window =3D window self.responses =3D responses =20 def OnDropFiles(self, x, y, filenames): global IMAGE_EXT, MEDIA_DIR assert(1=3D=3Dlen(filenames)) for file in filenames: if os.path.isfile(file): if _isFile(file, IMAGE_EXT): media_file =3D getImageFile(self.responses, file) self.window._setFile( media_file ) else: dialog.alertDialog(None, (FILE_ERROR % (str(IMAGE_EXT), file))) The class is initialized with an image viewer window. -- Michael |
From: Kevin A. <al...@se...> - 2007-06-14 14:38:26
|
On Jun 13, 2007, at 12:12 PM, fabio natali wrote: > hi guys, > > i have a htmlwindow component in my pythoncard script. i wish i could > modify htmlwindow code the way i read in [0]. > > unluckily it happens i'm not such a long time python programmer and > i'm not able to do it. i don't know where i'm supposed to write > def OnLinkClicked(self, link): > and the following lines. > > (well, actually i could do the job if i modified the main htmlwindow > file of my pythoncard bundle, but it sounds to be such a dirty way!) > > hope that someone will kindly help me. > > best regards, > fabio. > > [0] http://aspn.activestate.com/ASPN/Mail/Message/PythonCard/1556758 > > -- > fabio natali I'm not entirely sure why David McNab's suggestion wasn't adopted, though it appears it would need some tweaks to work with the various types of containers we support now. But in general I think the reason we never allowed for directly overriding the event is that OnLinkClicked just doesn't work like most wxWidgets events and we probably need to create our own wrapper event to do this properly. Anyway, the solution for you is to create an appcomponents directory where you have your main application files. Copy the components/ htmlwindow.py file to that directory and modify OnLinkClicked in that file to do what you want. Alternatively, create an htmlwindow.py file in the appcomponents directory and subclass the HtmlWindow component that only modifies the OnLinkClicked method. The appcomponents directory is checked for components before PythonCard looks at PythonCard/components so that allows you to add your own components as well as override any of the defaults. ka |
From: Madhubala <mad...@in...> - 2007-06-14 07:34:18
|
I am using py.shell as console in one of my gui applications. There are two option to execute a script in this console. One is shell.run("execfile(fileName)",False,False) . This displays output on console. But I want to display script also along with output. When I want to run a script with script displaying in the console of a shell , I am using shell.runfile(filename). But in this case, there is a problem. In certain cases the execution of this command displays indentation errors on the console. As the file is a mix of source + commands. If I eliminate the blank lines in source like class definition then if the script contains only that class and few commands then it is working fine. But this is not the case for all the scripts where in I can have classes and commands but as they are getting pushed to the console , if there is no blank line between class and command/another source(if/while loop) it is considering as continuos source and throwing indentation errors. Is any one having a solution or patch? Thanks, Madhubala Regards, Madhubala |
From: Russell E. <rus...@gm...> - 2007-06-14 03:43:49
|
Ever wondered how your windows-based web server, application server, and database server are performing but you can't see them all at once? The attached files contain a simple CPU monitoring program developed using PythonCard that displays the CPU utilisation of up to four systems. By design, the first system is the one from which the monitor is launched (for me that is my PC) and the other three (or less) are listed in the configuration file. You will need to edit the configuration file to record the names of the systems you wish to monitor and the application should work straight away. The development was in Python 2.5.1 and PythoCard 0.8.2 and the Inno Setup Compiler is version 5.1.11. If you want an associated icon, edit the SystemMonitor.rsrc.py file on line 10 to remove the leading ### and replace the *** YOUR ICON FILENAME *** with the name of your icon file. There is a setup.py file to create an executable and, as this is expecting the name of the icon file, it will require editing before setup can be run. When running the setup, I used the python setup.py py2exe --bundle=2 command. There is also an Inno Setup file SystemMonitor.iss that will require some heavy modification for your program location and the icon file name (again). I hope it works on your system and that you find it useful. I expect that it could be significantly improved, both in functionality and implementation. However, it works well for me... Russell |
From: fabio n. <na...@po...> - 2007-06-13 19:12:55
|
hi guys, i have a htmlwindow component in my pythoncard script. i wish i could modify htmlwindow code the way i read in [0]. unluckily it happens i'm not such a long time python programmer and i'm not able to do it. i don't know where i'm supposed to write def OnLinkClicked(self, link): and the following lines. (well, actually i could do the job if i modified the main htmlwindow file of my pythoncard bundle, but it sounds to be such a dirty way!) hope that someone will kindly help me. best regards, fabio. [0] http://aspn.activestate.com/ASPN/Mail/Message/PythonCard/1556758 -- fabio natali |
From: Julian B. <ben...@ll...> - 2007-06-08 14:58:17
|
Thank you for your kindness! At 01:08 AM 6/8/2007, Phil Edwards wrote: >Julian Bentayeb wrote: >>I got the PythonCard-0.8.2.tar,gz file. The resulting files are >>mostly .py and .txt files and I dont see any configure and make files. >>The readme file suggest putting the PythonCard dir in my Python path. >>As a novice, I am lost. >>Could you please help? >No problem - what you need to do is as follows: > >1. Open a shell session (xterm, konsole, gnome-terminal, whatever you prefer) >2. Type 'su -' and enter your root password >3. Type 'cd /home/julian/<blah>', replacing the '<blah>' part with >the directory where you've put all of the PythonCard files from the tarball >4. Type 'python ./setup.py install' > >If you get any error messages at step (4), you may need to type >'python ./setup.py build' followed by 'python ./setup.py install' - >it's been a while since I installed PythonCard from the source >tarball, and I can't remember whether the 'install' part is clever >enough to realize that the 'build' part needs to be done as well. > >This will put everything in the right places ad you ought to be able >to run the samples to prove that it all works. Good luck! > >-- >Regards > >Phil Edwards >Brighton, UK Julian Bentayeb Lawrence Livermore National Laboratory Information and Communications Services Information Technology Services 925-424-5702 ben...@ll... 4726/1025 MS L613 |
From: Phil E. <ph...@li...> - 2007-06-08 08:08:39
|
Julian Bentayeb wrote: > I got the PythonCard-0.8.2.tar,gz file. The resulting files are > mostly .py and .txt files and I dont see any configure and make files. > The readme file suggest putting the PythonCard dir in my Python path. > As a novice, I am lost. > Could you please help? No problem - what you need to do is as follows: 1. Open a shell session (xterm, konsole, gnome-terminal, whatever you prefer) 2. Type 'su -' and enter your root password 3. Type 'cd /home/julian/<blah>', replacing the '<blah>' part with the directory where you've put all of the PythonCard files from the tarball 4. Type 'python ./setup.py install' If you get any error messages at step (4), you may need to type 'python ./setup.py build' followed by 'python ./setup.py install' - it's been a while since I installed PythonCard from the source tarball, and I can't remember whether the 'install' part is clever enough to realize that the 'build' part needs to be done as well. This will put everything in the right places ad you ought to be able to run the samples to prove that it all works. Good luck! -- Regards Phil Edwards Brighton, UK |
From: Tjerk H. <tj...@br...> - 2007-06-07 18:32:05
|
1.. from Uwe Schmitt http://powertwenty.com/kpd/blog/index.php/python/wxpython/py2exe_changing= _wxpython_look_and_feel 1..=20 2.. there it reads: 3..=20 4..=20 5..=20 6..=20 7.. Martin Says: February 11th, 2007 at 8:22 am=20 Have you tried to copy the pythonw.exe.manifest file from the Python = directory to your application directory and rename it to = YourApplication.exe.manifest?=20 8.. kpd Says: February 11th, 2007 at 10:36 am=20 That was it. Thanks for your help. Specific instructions to solve the = problem are on the wxPython wiki page above.=20 I have added the manifest to the directory and now it works perfect ! Thanks Tjerk (I almost deleted all of the standalonebuilder because of = this gotcha) |
From: Uwe S. <usc...@mi...> - 2007-06-07 13:21:59
|
If you build a probgram XXX.exe you have to provide a xml-file =20 XXX.exe.manifest for configuring the look of the application. Look at http://powertwenty.com/kpd/blog/index.php/python/wxpython/=20 py2exe_changing_wxpython_look_and_feel especially at the responses. Greetings, Uwe Am 07.06.2007 um 14:07 schrieb Tjerk Hoekstra: > Hello group, > not being a professional programmer, I still think I=B4ve come a long > way to build a program to administrate a dairy operation. > Everythings works OK when using pythoncard editor etc. > But now I tried to build a distribution package, with =20 > standalonebuilder. > I succeeded to make it run. But the Forms, and widgets all of a sudden > look old fashioned not at all like XP. It is ugly ! > Any solution for this problem? > > additional information: > Python version 2.4.3 > Pythoncard 0.8.2 > Wx 2.6.1.0 > StandaloneBuilder v.0.2.0.1 > build tool used py2exe v.1.4 > > thanks once again for your attention Tjerk > ----------------------------------------------------------------------=20= > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/=20 > _______________________________________________ > Pythoncard-users mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pythoncard-users |
From: Tjerk H. <tj...@br...> - 2007-06-07 12:01:18
|
Hello group, not being a professional programmer, I still think I=B4ve come a long way to build a program to administrate a dairy operation. Everythings works OK when using pythoncard editor etc. But now I tried to build a distribution package, with standalonebuilder. I succeeded to make it run. But the Forms, and widgets all of a sudden look old fashioned not at all like XP. It is ugly ! Any solution for this problem? additional information: Python version 2.4.3 Pythoncard 0.8.2 Wx 2.6.1.0 StandaloneBuilder v.0.2.0.1 build tool used py2exe v.1.4 thanks once again for your attention Tjerk |
From: Phil E. <ph...@li...> - 2007-06-06 08:00:10
|
On Friday 01 June 2007 00:59, Julian Bentayeb wrote: > > I am running Linux RH 4 with the following packages: > > PythonCard-0.8.2-1mdk There's your problem - the PythonCard RPM on SourceForge (and on my web site) is built for Mandriva/Mandrake Linux, not RedHat. You'll need to uninstall the RPM and re-install from the tar.gz file instead. -- Regards Phil Edwards Brighton, UK |
From: Phil E. <ph...@li...> - 2007-06-06 07:57:37
|
On Tuesday 05 June 2007 15:03, Tjerk Hoekstra wrote: > I succeeded to make it run. But the Forms, and widgets all of a sudden > look old fashioned not at all like XP. It is ugly ! > Any solution for this problem? > Hi Tjerk: Can you tell us what versions of Python, wxPython and PythonCard you are using? Also are you using py2exe or pyInstaller as your build method and what version? -- Regards Phil Edwards Brighton, UK |
From: Tjerk H. <tj...@br...> - 2007-06-05 13:56:52
|
Hello group, not being a professional programmer, I still think I=B4ve come a long way to build a program to administrate a dairy operation. Everythings works OK when using pythoncard editor etc. But now I tried to build a distribution package, with standalonebuilder. I succeeded to make it run. But the Forms, and widgets all of a sudden look old fashioned not at all like XP. It is ugly ! Any solution for this problem? Thanks Tjerk |