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: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2005-01-10 08:10:44
|
On Thu, 6 Jan 2005 10:12:09 +0530, Luanne Coutinho wrote: >I do have the button imported- this is my setup.py <snip> >from distutils.core import setup >from PythonCard.components import textfield,statictext,button >import py2exe In which case, my brief attempt at helping has come to a grinding halt :-( I was going to try out py2exe this weekend on one of my PythonCard projects to see if I could replicate your problem here, but for some reason the py2exe installer falls over on my XP machine (double-clicking the self-installing exe brings up an illegal instruction in the 16-bit DOS subsystem!). Neil |
From: Simon H. <Sim...@ma...> - 2005-01-07 11:38:01
|
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 |
From: Chad C. <fla...@ya...> - 2005-01-06 23:08:07
|
Have anchors been/started on implemnted? I'm just curious becuase I think that is something that I can contribute. __________________________________ Do you Yahoo!? Yahoo! Mail - Find what you need with new enhanced search. http://info.mail.yahoo.com/mail_250 |
From: Brian D. <deb...@ho...> - 2005-01-06 17:05:16
|
Hi everyone, I have a problem, well my app has child windows and each one has the validation on closing like this: def on_close(self, event): self.Show(0) but when I close any child window by clicking on the close window [X] icon all the app shuts down. I dont know why this happens, and I dont this this happened before to me. Thanks in advance, Brian PD: I am using PythonCard 0.8 and Python 2.3 on windows. _________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ |
From: Brian D. <deb...@ho...> - 2005-01-06 13:39:53
|
Hi everyone, I would like some ideas about setting or controling the length of the text of a widget like a textfield. Maybe if I do something like this: def on_widgetName_keyPress(self, event): if len(self.components.widgetName.text) == 10: return else: event.pass I havent tried this yet, but this shows pretty much what I need to do. Another thing that I wonder is how to show the list of options of a combobox or make this visible all the time. Thanks in advance, Brian _________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.com/ |
From: Simon H. <Sim...@ma...> - 2005-01-06 13:18:28
|
Ok, I found the problem with the tutotrial, the indentation shown is wrong. The function: def on_incrBtn_mouseClick(self, event): should be indented to put it into the application's class definition. It's shown correctly indented in a screenshot later in the tutorial, but the first screenshot of the code you're shown is incorrectly indented. Simon _____________________________ Simon Hibbs Senior Support Engineer (Marconi) |
From: Simon H. <Sim...@ma...> - 2005-01-06 13:10:16
|
I'm getting a similar problem to Dan. The Windows installer bombed out about 80% of the way through. However Pythoncard does seem to be installed and the sample apps seem to work ok. However I've been workig through the first two tutorials, and neither work. The sample apps aren't as described. 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. Yet as I said, the sample apps all seem to run ok, very odd. Simon _____________________________ Simon Hibbs Senior Support Engineer (Marconi) |
From: Luanne C. <lua...@gm...> - 2005-01-06 04:42:16
|
I do have the button imported- this is my setup.py #!/usr/bin/python """ __version__ = "$Revision: 1.10 $" __date__ = "$Date: 2004/04/24 22:13:31 $" """ from distutils.core import setup from PythonCard.components import textfield,statictext,button import py2exe setup(name="AutoPhoto", console=["AutoPhoto.py"], data_files=[(".",["AutoPhoto.rsrc.py"])] ) Thanks, Luanne On Wed, 5 Jan 2005 15:10:21 +0000, XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX wrote: > On Mon, 3 Jan 2005 11:36:01 +0530, Luanne Coutinho wrote: > > >However, the dist directory does get created and I can see the exe. > >When I try to run the exe, this is the output I get: > > > >Traceback (most recent call last): > > File "AutoPhoto.py", line 181, in ? > > File "PythonCard\model.pyc", line 337, in __init__ > > File "PythonCard\resource.pyc", line 48, in getResource > > File "PythonCard\resource.pyc", line 86, in __init__ > > File "PythonCard\resource.pyc", line 91, in __init__ > > File "PythonCard\resource.pyc", line 91, in __init__ > > File "PythonCard\resource.pyc", line 96, in __init__ > > File "PythonCard\resource.pyc", line 139, in enforceSpec > > File "PythonCard\resource.pyc", line 30, in loadComponentModule > >ImportError: cannot import module 'button > > > >What am I doing wrong? > > It looks like you're missing "button" from the list of imported > PythonCard components: > > from PythonCard.Components import button > > I forgot to include the staticline component a couple of days ago when > using the McMillan Installer and got a virtually identical traceback when > running the app. > > Neil > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Pythoncard-users mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pythoncard-users > -- http://ladyluanne.blogspot.com |
From: Dan P. <da...@ma...> - 2005-01-06 00:06:58
|
I am getting an error when installing PythonCard 0.8.1 with python 2.4 = and wxPython 2.5.3.1. This is an error that I do not get when = installing with python 2.3. I am running on Windows XP and I have tried = to install with both the installer .exe and the setup.py. The install done through the .exe fails with a Windows error in = ntdll.dll during the post-install step, right when or after running = Python24\Scripts\install-pythoncard.py. The install through the = setup.py runs without any complaints but I don't get any of the = Pythoncard apps installed in my Start menu and I cannot recognize any of = the PythonCard apps in the site-packages\PythonCard. All I can see from = the setup.py messages is that it has created the desired directories and = it has copied files to them. Python24\Scripts\install-pythoncard.py is = till there and running it by hand gives me the following error: Traceback (most recent call last): File "C:\Python24\Scripts\install-pythoncard.py", line 22, in ? prg =3D get_special_folder_path("CSIDL_COMMON_PROGRAMS") NameError: name 'get_special_folder_path' is not defined Any help would be appreciated. Dan |
From: Dan P. <da...@ro...> - 2005-01-05 23:07:51
|
I am getting an error when installing PythonCard 0.8.1 with python 2.4 = and wxPython 2.5.3.1. This is an error that I do not get when = installing with python 2.3. I am running on Windows XP and I have tried = to install with both the installer .exe and the setup.py. The install done through the .exe fails with a Windows error in = ntdll.dll during the post-install step, right when or after running = Python24\Scripts\install-pythoncard.py. The install through the = setup.py runs without any complaints but I don't get any of the = Pythoncard apps installed in my Start menu and I cannot recognize any of = the PythonCard apps in the site-packages\PythonCard. All I can see from = the setup.py messages is that it has created the desired directories and = it has copied files to them. Python24\Scripts\install-pythoncard.py is = till there and running it by hand gives me the following error: Traceback (most recent call last): File "C:\Python24\Scripts\install-pythoncard.py", line 22, in ? prg =3D get_special_folder_path("CSIDL_COMMON_PROGRAMS") NameError: name 'get_special_folder_path' is not defined Any help would be appreciated. Dan |
From: Kenneth P. <pro...@sk...> - 2005-01-05 18:46:56
|
On Wed, Jan 05, 2005 at 01:29:34PM -0500, John wrote: > On Thu, 30 Dec 2004, Kenneth Pronovici wrote: > > > > I'm getting a dependency on wxPython2.4 that I should not be seeing. If I > > > install 2.4 I get that I am not using 2.5.3 which is also installed. > > > > Did you read README.Debian or NEWS? You have to set $PYTHONPATH to get > > the correct version of wxPython. I also mentioned this in my original > > note to the list. I wish there was another way, but there isn't, > > because the 2.5.3 version of wxPython is installed in a non-standard > > location. > > > Oops. No I didn't and should have. Thanks. Things seem to be working now. Ok, good. I'm glad to hear that. Now that it's generally working, let me know if you see anything else strange. Thanks, KEN |
From: Brian D. <deb...@ho...> - 2005-01-05 18:44:12
|
Hi everyone, I recieved a very usefull reply about changing the format of hotmail outgoing messages, so please reply this message y the text format is ok to the list. Thanks, Brian _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ |
From: John <joh...@jo...> - 2005-01-05 18:29:51
|
On Thu, 30 Dec 2004, Kenneth Pronovici wrote: > > I'm getting a dependency on wxPython2.4 that I should not be seeing. If I > > install 2.4 I get that I am not using 2.5.3 which is also installed. > > Did you read README.Debian or NEWS? You have to set $PYTHONPATH to get > the correct version of wxPython. I also mentioned this in my original > note to the list. I wish there was another way, but there isn't, > because the 2.5.3 version of wxPython is installed in a non-standard > location. > > KEN > > -- > Kenneth J. Pronovici <pro...@ie...> > Personal Homepage: http://www.skyjammer.com/~pronovic/ > "They that can give up essential liberty to obtain a little > temporary safety deserve neither liberty nor safety." > - Benjamin Franklin, Historical Review of Pennsylvania, 1759 Oops. No I didn't and should have. Thanks. Things seem to be working now. -john --------------------------------------------------------- I must not fear. Fear is the mind-killer. Fear is the little-death that brings total obliteration. I will face my fear. I will permit it to pass over me and through me. And when it has gone past I will turn the inner eye to see its path. Where the fear has gone there will be nothing. Only I will remain. Frank Herbert, Bene Gesserit Litany Against Fear, "Dune" |
From: Kenneth P. <pro...@sk...> - 2005-01-05 18:19:31
|
There's no need to apologize, and I'm glad you think the list is useful. To learn how to turn off HTML mail in Hotmail, Google for: hotmail plaintext or look at these links: http://www.oregonfast.net/steen/hotmail.htm http://mailformat.dan.info/config/hotmail.html KEN -- Kenneth J. Pronovici <pro...@ie...> Personal Homepage: http://www.skyjammer.com/~pronovic/ "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin, Historical Review of Pennsylvania, 1759 |
From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2005-01-05 15:09:00
|
On Mon, 3 Jan 2005 11:36:01 +0530, Luanne Coutinho wrote: >However, the dist directory does get created and I can see the exe. >When I try to run the exe, this is the output I get: > >Traceback (most recent call last): > File "AutoPhoto.py", line 181, in ? > File "PythonCard\model.pyc", line 337, in __init__ > File "PythonCard\resource.pyc", line 48, in getResource > File "PythonCard\resource.pyc", line 86, in __init__ > File "PythonCard\resource.pyc", line 91, in __init__ > File "PythonCard\resource.pyc", line 91, in __init__ > File "PythonCard\resource.pyc", line 96, in __init__ > File "PythonCard\resource.pyc", line 139, in enforceSpec > File "PythonCard\resource.pyc", line 30, in loadComponentModule >ImportError: cannot import module 'button > >What am I doing wrong? It looks like you're missing "button" from the list of imported PythonCard components: from PythonCard.Components import button I forgot to include the staticline component a couple of days ago when using the McMillan Installer and got a virtually identical traceback when running the app. Neil |
From: Stefan K. <pon...@ya...> - 2005-01-04 20:51:00
|
Just some notes for those trying to build stand alone apps. I was able to build a complete stand alone executable using the McMillan installer, thanks to Phil Edwards for the invaluable documentation! It is possible to use the McMillan installer to build a single executable ( using its 'onefile' option ) with the rsrc files included, the Inno tool is not required. Also this works on unix as well as Windows. The trick is to add the rsrc files to the EXE 'TOC' class in the installer .spec file. If you give the rsrc files in the spec file a typecode of 'BINARY' ( rather than 'DATA' ) then they are bundled in the .exe. The exe is really a self extracting archive, all the dependent dlls ( and now the rsrc files as well ) get unzipped into a tmp dir when you run the .exe. The location of this tmp directory is available in os.environ['_MEIPASS2'], weird I know, but it works. You need then to pass that filename ( with the full path to the 'tmp' copy of the rsrc ) to the Application() constructor. Here is some sample code.. from the Installer '.spec' file.. p = path_to_your_app ... exe = EXE( pyz, a.scripts, a.binaries + [('YourFile.rsrc.py', p + 'YourFile.rsrc.py', 'BINARY' )], name='YourName.exe', debug=0, strip=0, upx=0, console=0, icon=p + 'yourfile.ico') and then in your application code... installer_dir = './' if os.environ.has_key( '_MEIPASS2' ): installer_dir = os.environ['_MEIPASS2'] if __name__ == '__main__': app = model.Application(YourFile, installer_dir + 'YourFile.rsrc.py') app.MainLoop() Also you have to have Mark Hammond's win2all extensions installed for the icon assignment to work on windows. The McMillian installer can be found here.. http://paulbaranowski.org/modules.php?name=Downloads&d_op=MostPopular hope this helps someone out there.. S __________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo |
From: Brian D. <deb...@ho...> - 2005-01-04 17:38:13
|
<html><div style='background-color:'><DIV class=RTE> <P><BR>Hi everyone,</P> <P>I want to apologize to the list because I am not able to send plain text mail, I cant do this trough hotmail and I really need this account and your support with PythonCard.</P> <P>Hope your comprenhension.</P> <P>Regards,</P> <P>Brian</P> <P> </P> <P> </P> <P> </P> <P><BR> </P></DIV></div><br clear=all><hr>Don't just search. Find. <a href="http://g.msn.com/8HMBEN/2749??PS=47575" target="_top">MSN Search</a> Check out the new MSN Search!</html> |
From: Brian D. <deb...@ho...> - 2005-01-04 14:30:02
|
<html><div style='background-color:'><DIV class=RTE>Hi everyone,</DIV> <DIV class=RTE> </DIV> <DIV class=RTE>I wonder how can I set the length of the text of a widget (e.g. textfield or combobox, etc).</DIV> <DIV class=RTE> </DIV> <DIV class=RTE>I tried this catching every keyPress event. but the result is not very efficient.</DIV> <DIV class=RTE> </DIV> <DIV class=RTE>Thanks a lot for any ideas.</DIV> <DIV class=RTE> </DIV> <DIV class=RTE>Regards,</DIV> <DIV class=RTE> </DIV> <DIV class=RTE>Brian</DIV></div><br clear=all><hr>Don't just search. Find. <a href="http://g.msn.com/8HMAEN/2749??PS=47575" target="_top">MSN Search</a> Check out the new MSN Search!</html> |
From: <Adr...@so...> - 2005-01-04 14:26:31
|
Hello, This is from Sk...@bl... on the list. I have been using wonderful PythonCard for a long time without much problem but I have encountered something while trying to install and use it on Windows 2003 server. I built an application at home over Christmas on python 2.3.3 wxpython2.5.3.1 ansi and pywin32-203 for python 2.3 and pythoncard 0.8.1 on an XP pro machine works fine. I took the python script and rsrc to work where I used Active-States 2.3 and loaded pythonCard 0.8.1 ( I also put the mfc71.exe file in the system32 directory. Cant remember why at the moment). When I ran it on the win 2003 server on the work machine, the first time it ran fine except the components did not have their default values, then the second run the combo box was not populated and then the .updatetext function of a textfield was not working. If I killed PythonWin and re-ran it ,it was again fine for 1 run of the app. I decided to uninstall everything and use python 2.3.4, wxpython 2.5.3.1 ansi, win32python 203 for 2.3 and pythoncard 0.8.1. When I came to install PythonCard i got 2 dialogue boxes at the end with the captions 'freopen stderr' and then 'freopen stout' This brings me back to the point where the combo box is not filled after any but the first run of the app for a given run of pythonwin IDE. No errors are produced In the python code I generate a list and then assign it to the combobox component. If I populate the combo box manually - by putting the items in the resource editor then they remain populated but the .updateText function no longer works and in all cases the defaults are not present for all the components. I hope this is enough information and that there is something stupidly simple that I am missing. Thanks in advance Adrian Smith please send no attachments to this email address and just use plain text - Ta. -- Adrian Smith Test Engineer, Sophos Tel: 01235 559933 Web: www.sophos.com Sophos - protecting businesses against viruses and spam |
From: Andy T. <an...@ha...> - 2005-01-04 02:33:41
|
Kubias wrote: > Hello, > I have Windows XP Home and Python23 installed. Following instruction= s=20 > "How To Install PythonCard on Windows" I=B4ve just installed wxPython a= nd=20 > PythonCard.to C:/Python23 directory. > When trying to confirm installation (...open the "minimal.py" in=20 > Python23/Lib/site-packages/PythonCard/samples/minimal/ ) I am getting=20 > this rude answer: "...not valid Win 32 application! " > When I open "minimal.py" by IDLE, I can read this note: #=20 > !/usr/bin/python ... > When I open "minimal.py" in .../PythonCard/samples/minimal/ > or "starter1.py" in .../PythonCard/docs/Getting star= ted/ > by double-click, I get the same nice result: there opens a low black=20 > window "Python23/python.exe" and there pops up the small frame "Minimal= =20 > Pytho..." with File button and text field "Hello Python Card" - the sam= e=20 > as viewed in the web page. > My question is: Why am I getting the "...not valid Win 32=20 > application" response? > I am afraid my question is a little silly, but I cant=B4help. Any ideas= ?=20 > Thanks. > = =20 > Tovim > =20 It looks like you don't have .py files associated with the Python=20 interpreter on your computer. Have you installed the optional Python for=20 Windows Extensions [1] ? I believe it is this package which does the=20 association which will then allow you to double click a Python script in=20 Windows Explorer and get it to run correctly. Alternatively, you can always run Python scripts from within a command=20 window. I don't have an XP machine handy but from the Start menu you=20 should be able to select 'Run ...' and type either 'cmd.exe' or=20 'command.com' to get a command window. Then simply change to the correct=20 directory with something like; C:\> cd c:\Python23\Lib\site-packages\PythonCard\samples\minimal and run the sample application by typing; c:\ ... > python minimal.py [1] http://starship.python.net/crew/mhammond/win32/ Regards, Andy --=20 ----------------------------------------------------------------------- From the desk of Andrew J Todd esq. "So I curtailed my Walpoling activities, sallied forth and infiltrated your place of purveyance to negotiate the vending of some cheesy comestibles." - Monty Python. --=20 No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.298 / Virus Database: 265.6.7 - Release Date: 30/12/04 |
From: Brian D. <deb...@ho...> - 2005-01-03 14:08:12
|
<html><div style='background-color:'><DIV class=RTE> <P>Hi there,</P> <P>I am aware of this 'bug', but the important thing is how do I do the typing and option displaying ???</P> <P>How do I keep the options visible with the comboBox???? also how do I set the max length of the string on the comboBox???</P> <P>So much to ask, sorry...</P> <P>Regards,</P> <P>Brian</P> <P><BR><BR></P></DIV></div><br clear=all><hr>FREE pop-up blocking with the new MSN Toolbar <a href="http://g.msn.com/8HMAEN/2755??PS=47575" target="_top">MSN Toolbar</a> Get it now!</html> |
From: Ed L. <ed...@le...> - 2005-01-03 13:56:47
|
On Jan 3, 2005, at 8:46 AM, Brian Debuire wrote: > - My=A0app=A0manipulates data from a database (MySQL) > - I need a widget that when I type the primary key or I start typing,=20= > if there is it on the DB, it autocompletes and / or shows a list of=20 > options on the combobox with the PK that starts with the code I am=20 > typing. You would have to query the database for all the possible values=20= before you could do this. Otherwise, you'll be making a full round-trip=20= to the database with every keystroke. Then compare the typed text with=20= the sorted results of your query, and then update the control as=20 needed. How many values are you going to be searching on? Needless to = say,=20 this won't work all that well with a table with several million=20 records. ___/ / __/ / ____/ Ed Leafe http://leafe.com/ http://dabodev.com/ |
From: Brian D. <deb...@ho...> - 2005-01-03 13:47:10
|
<html><div style='background-color:'><DIV class=RTE>Hi everyone and a Happy New Year!! ;)</DIV> <DIV class=RTE> </DIV> <DIV class=RTE>I am still lost trying to implement usefull typing on a comboBox, I dont find a way but I have found more questions. :(</DIV> <DIV class=RTE> </DIV> <DIV class=RTE>Being more specific this is what I am trying to do:</DIV> <DIV class=RTE> </DIV> <DIV class=RTE>- My app manipulates data from a database (MySQL)</DIV> <DIV class=RTE>- I need a widget that when I type the primary key or I start typing, if there is it on the DB, it autocompletes and / or shows a list of options on the combobox with the PK that starts with the code I am typing.</DIV> <DIV class=RTE> </DIV> <DIV class=RTE>- Also I would like to limit the string I can type on the comboBox (e.g. if the PK is a 10 digit number i have to limit that on the widget).</DIV> <DIV class=RTE> </DIV> <DIV class=RTE>Any help or guidence here will be more than welcome.</DIV> <DIV class=RTE> </DIV> <DIV class=RTE>Regards,</DIV> <DIV class=RTE> </DIV> <DIV class=RTE>Brian</DIV> <DIV class=RTE> </DIV> <DIV class=RTE> </DIV></div><br clear=all><hr>Express yourself instantly with MSN Messenger! <a href="http://g.msn.com/8HMAEN/2734??PS=47575" target="_top">MSN Messenger</a> Download today it's FREE!</html> |
From: Andy T. <an...@ha...> - 2005-01-03 07:16:15
|
Michael Redmond wrote: > Can anyone tell me if there are any plans for integrating database aware widgets into pythoncard? (Along the lines of PyQt, etc.) > > Thanks, > > Michael > Not currently. PythonCard is concentrating on simpler building blocks at the moment. Before we implement a database aware widget we would first have to wrap an implementation of a wxGrid object. This is actually a lot harder than it looks because wxGrid objects are complex beasties. To remain true to PythonCard's mission "Simple things should be simple and complex things should be possible" we should probably produce a number of different widgets that use a wxGrid rather than simply wrapping it. For instance we could have one component for read-only viewing of data that allows the presentation (fonts, colours, etc.) to be changed, another which allows changing, adding or removing data but in a fixed layout, etc. It should then be possible to take one of these components and either make it data aware within your application or produce a new data bound component. I have done a little dabbling in this area but as yet haven't got anything workable. If anyone else has a patch it will, as ever, be more than welcome. Regards, Andy -- ----------------------------------------------------------------------- From the desk of Andrew J Todd esq. "So I curtailed my Walpoling activities, sallied forth and infiltrated your place of purveyance to negotiate the vending of some cheesy comestibles." - Monty Python. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.298 / Virus Database: 265.6.7 - Release Date: 30/12/04 |
From: Luanne C. <lua...@gm...> - 2005-01-03 06:06:18
|
Hi, I too am trying to use py2exe for a simple PythonCard application. I followed the guidelines in this thread, but am stuck with a couple of issues. The first is, when I use py2exe, I get the following message at the end of a huge stream of output: The following modules appear to be missing ['Image', 'win32evtlog', 'win32evtlogutil'] However, the dist directory does get created and I can see the exe. When I try to run the exe, this is the output I get: Traceback (most recent call last): File "AutoPhoto.py", line 181, in ? File "PythonCard\model.pyc", line 337, in __init__ File "PythonCard\resource.pyc", line 48, in getResource File "PythonCard\resource.pyc", line 86, in __init__ File "PythonCard\resource.pyc", line 91, in __init__ File "PythonCard\resource.pyc", line 91, in __init__ File "PythonCard\resource.pyc", line 96, in __init__ File "PythonCard\resource.pyc", line 139, in enforceSpec File "PythonCard\resource.pyc", line 30, in loadComponentModule ImportError: cannot import module 'button What am I doing wrong? Thanks very much, Luanne On Fri, 3 Dec 2004 11:33:02 -0500, jon...@wa... <jon...@wa...> wrote: > > > I found a script that will out-put the PythonCard components of a resourc= e > file. > I did not write it, so I can't take credit for it. I only updated it for > the 0.8 release. > > Usage: resource.py yourresourcefile.rsrc.py > > #!/usr/bin/python2.3 > > import sys > #from PythonCardPrototype import res > from PythonCard import resource > > def GetResourceImports(rsrcFileName): > rsrcImports =3D [] > builtinimport =3D __builtins__.__dict__['__import__'] > def wrapimport(name, globals, locals, fromlist): > rsrcImports.append((name, fromlist)) > return apply(builtinimport, (name, globals, locals, fromlist)) > __builtins__.__dict__['__import__'] =3D wrapimport > rsrcFile =3D resource.ResourceFile(rsrcFileName) > rsrc =3D rsrcFile.getResource() > # revert to old import > __builtins__.__dict__['__import__'] =3D builtinimport > return rsrcImports > > def importcommand(name, fromlist): > # """returns a string containing a command to import the module referre= d > to by name, fromlist""" > # either it's a tuple: import stuff from a module > if type(fromlist) =3D=3D tuple: > return "from "+name+" import "+",".join(fromlist) > # or it's a import from a package > elif type(fromlist) =3D=3D list: > namelist =3D name.split('.') > prefixlen =3D len(fromlist) > for n in range(prefixlen): > if fromlist[n] !=3D namelist[n]: > prefixlen =3D n > break > if prefixlen =3D=3D 0: > return "import "+name > else: > # if prefixlen>1, we have a problem... > return "from "+".".join(namelist[:prefixlen])+" import > "+".".join(namelist[prefixlen:]) > # or it's just a simple import > else: > return "import "+name > > def tryimports(imports): > print "import traceback" # for handling errors > for name, fromlist in imports: > # print name, fromlist > print "try:" > print " ",importcommand(name, fromlist) > print "except ImportError:" > print " traceback.print_exc()" > > if __name__ =3D=3D '__main__': > rsrcFileName =3D sys.argv[1] > imports =3D GetResourceImports(rsrcFileName) > if '--allcomponents' in sys.argv: > tryimports(imports) > else: > # by default, handle PythonCard component imports > print "#!/usr/bin/python2.2" > print ''' > """This file was autogenerated by resimports.py to import all the > PythonCard components referred to by %s > > This is useful in generating dependencies for an installer > """ > ''' % rsrcFileName > for name, fromlist in imports: > if fromlist =3D=3D ['components']: > print importcommand("PythonCardPrototype."+name, > ['PythonCardPrototype']+fromlist) > > Jonathan Papageorgiou > > |---------+--------------------------------------------> > | | Gregory Pi=F1ero | > | | <gre...@gm...> | > | | Sent by: | > | | pyt...@li...ur| > | | ceforge.net | > | | | > | | | > | | 12/01/2004 04:11 PM | > | | Please respond to Gregory Pi=F1ero | > | | | > |---------+--------------------------------------------> > >-----------------------------------------------------------------------= -------------------------------------------------------| > | = | > | To: Ruben Marquez <rmc...@ya...> = | > | cc: pyt...@li... = | > | Subject: Re: [Pythoncard-users] Using py2exe with pythoncard = | > >-----------------------------------------------------------------------= -------------------------------------------------------| > > > Wow it finally worked! Thanks! > > I just had to add: > from PythonCard.components import > button,image,staticbox,statictext,textarea,textfield > > Though I'm slightly dissapointed it didn't make just one big exe file, > but rather a whole folder of junk. Do I need to bring that whole > folder to another computer in order to run my program? > > Wish me luck on my presentation tonight on a computer that I'm not > allowed to install python on ;-) > > -Greg > > On Wed, 1 Dec 2004 12:35:18 -0800 (PST), Ruben Marquez > <rmc...@ya...> wrote: > > Gregory, > > > > I know, there is a lot to take in when you are getting > > started. Note that Kevin said: > > > > "You need to specifically import the component modules > > that you use in your resource file" > > > > What that means is that, when using py2exe, you have > > to explicitly import each component that you use in > > your app individually. In other words, it is not > > enough to do: > > > > from PythonCard import model, dialog, etc... > > > > In addition to that, you need to do: > > > > from PythonCard.components import button, radiogroup, > > etc... > > > > -Ruben > > > > > > __________________________________ > > Do you Yahoo!? > > Read only the mail you want - Yahoo! Mail SpamGuard. > > http://promotions.yahoo.com/new_mail > > > > ------------------------------------------------------- > 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://productguide.itmanagersjournal.com/ > _______________________________________________ > Pythoncard-users mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pythoncard-users > > ------------------------------------------------------- > 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://productguide.itmanagersjournal.com/ > _______________________________________________ > Pythoncard-users mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pythoncard-users > -- http://ladyluanne.blogspot.com --=20 http://ladyluanne.blogspot.com |