SourceForge logo
SourceForge logo
Menu

pythoncard-users — PythonCard Users and Developers

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

Showing results of 5121

1 2 3 .. 205 > >> (Page 1 of 205)
From: tony <to...@in...> - 2017年05月26日 21:41:44
Wow, blast from the past..
On 05/26/2017 08:18 AM, pyt...@li... 
wrote:
> Send Pythoncard-users mailing list submissions to
> 	pyt...@li...
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://lists.sourceforge.net/lists/listinfo/pythoncard-users
> or, via email, send a message with subject or body 'help' to
> 	pyt...@li...
>
> You can reach the person managing the list at
> 	pyt...@li...
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Pythoncard-users digest..."
>
>
> Today's Topics:
>
> 1. Re: Installing wxPython, PythonCard (BBands)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: 2014年2月24日 08:23:30 -0800
> From: BBands <bb...@gm...>
> To: PyScripter Group <PyS...@go...>
> Cc: "pyt...@li..."
> 	<pyt...@li...>
> Subject: Re: [Pythoncard-users] Installing wxPython, PythonCard
> Message-ID:
> 	<CAGS5yBXFQ8__b6kxFpAMe2tfTCcfUU+q_QnhZ_=sqa...@ma...>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Oh, that looks very interesting. I'll be digging in when I get some time.
>
> Thanks,
>
> John
>
> On Sun, Feb 23, 2014 at 6:38 PM, Mariano Reingart <rei...@gm...> wrote:
>> Hi Brendan:
>>
>> I've been developing gui2py, a PythonCard fork to update and modernize it:
>>
>> https://code.google.com/p/gui2py/
>
>
> ------------------------------
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Pythoncard-users mailing list
> Pyt...@li...
> https://lists.sourceforge.net/lists/listinfo/pythoncard-users
>
>
> ------------------------------
>
> End of Pythoncard-users Digest, Vol 49, Issue 1
> ***********************************************
From: BBands <bb...@gm...> - 2014年02月24日 16:23:39
Oh, that looks very interesting. I'll be digging in when I get some time.
Thanks,
 John
On Sun, Feb 23, 2014 at 6:38 PM, Mariano Reingart <rei...@gm...> wrote:
> Hi Brendan:
>
> I've been developing gui2py, a PythonCard fork to update and modernize it:
>
> https://code.google.com/p/gui2py/
From: Mariano R. <rei...@gm...> - 2014年02月24日 02:38:49
Hi Brendan:
I've been developing gui2py, a PythonCard fork to update and modernize it:
https://code.google.com/p/gui2py/
The project is reaching a beta status and it already works with wxPython
2.8 to 3.0 and even with Python 3.0, either on MacOS X (carbon/cocoa),
Windows XP to 8.1 and Ubuntu.
If you have a application that uses pythoncard, you could migrate it in few
steps, as there is a migrate.py tool for the resources and some helper
classes to assist you in the transition of the code.
As an example, you can see a non-trivial app migrated (electronic invoicing
for argentina):
https://code.google.com/p/pyafipws/source/browse/pyrece.py
https://code.google.com/p/pyafipws/source/browse/pyrece.rsrc.py
If you're interested, there is a google group for users and developers:
https://groups.google.com/forum/#!forum/gui2py
Let me know if I can be of any further help,
Best regards
Mariano Reingart
http://www.sistemasagiles.com.ar
http://reingart.blogspot.com
On Mon, Feb 10, 2014 at 5:29 PM, Brendan Chan <bs...@ro...>wrote:
> I just tried to install wxPython 3.0 for Python 2.7 and PythonCard 0.8.2,
> but I haven't been able to get minimal to open. What am I missing?
>
>
> ------------------------------------------------------------------------------
> Android apps run on BlackBerry 10
> Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
> Now with support for Jelly Bean, Bluetooth, Mapview and more.
> Get your Android app in front of a whole new audience. Start now.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
> _______________________________________________
> Pythoncard-users mailing list
> Pyt...@li...
> https://lists.sourceforge.net/lists/listinfo/pythoncard-users
>
>
From: Alec B. <wry...@gm...> - 2014年02月21日 00:17:48
I'm trying to use Pythoncard with wxPython 2.9.5 and getting an error with
all my menu items. You can see it in the Doodle.py sample, for example,
when you click File -> Save (or any menu item):
File "C:\Python27\lib\site-packages\PythonCard\menu.py", line 204, in
_dispatch
 handler(background, aWxEvent)
TypeError: unbound method on_menuFileOpen_select() must be called with
Doodle in
stance as first argument (got Menu instance instead)
Does anyone have any idea how to fix?
From: Brendan C. <bs...@ro...> - 2014年02月10日 20:39:51
I just tried to install wxPython 3.0 for Python 2.7 and PythonCard 0.8.2, but I haven't been able to get minimal to open. What am I missing?
From: Azam, N. <na...@wr...> - 2013年09月19日 00:30:27
Thank you Steven - that worked perfectly! That was exactly the solution for my problem.
Thanks also for the explanation of why I was seeing that behavior.
Regards,
Naweed.
-----Original Message-----
From: Steven D'Aprano [mailto:st...@pe...] 
Sent: Wednesday, September 18, 2013 12:33 AM
To: pyt...@li...
Subject: Re: [Pythoncard-users] List components
On Wed, Sep 18, 2013 at 03:42:46AM +0000, Azam, Naweed wrote:
> Hello,
> 
> I have a question about list components. When I try to specify text 
> to appear in a List box, each character appears on a line alone and 
> nothing shows up in the stringSelection drop down box.
I'm not an expert on Pythoncard, but given the description of the error, I would try passing the list of movie titles directly rather than a single string. E.g. instead of:
# clips is a list of movie titles
self.components.List1.items = str(clips) 
I would use this:
self.components.List1.items = clips 
This assumes that each movie title is a string.
Calling str() on a list of strings gives you a single string:
py> clips = ['Warm Bodies', 'Gone With The Wind', 'Alien']
py> str(clips)
"['Warm Bodies', 'Gone With The Wind', 'Alien']"
and then iterating over that string gives you individual characters, including those from the list itself:
py> for element in str(clips):
... print element
... 
[
'
W
a
r
m
[... snip long output ...]
Does this help?
--
Steven
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just 49ドル.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Pythoncard-users mailing list
Pyt...@li...
https://lists.sourceforge.net/lists/listinfo/pythoncard-users
From: Steven D'A. <st...@pe...> - 2013年09月18日 04:48:57
On Wed, Sep 18, 2013 at 03:42:46AM +0000, Azam, Naweed wrote:
> Hello,
> 
> I have a question about list components. When I try to specify text 
> to appear in a List box, each character appears on a line alone and 
> nothing shows up in the stringSelection drop down box.
I'm not an expert on Pythoncard, but given the description of the error, 
I would try passing the list of movie titles directly rather than a 
single string. E.g. instead of:
# clips is a list of movie titles
self.components.List1.items = str(clips) 
I would use this:
self.components.List1.items = clips 
This assumes that each movie title is a string.
Calling str() on a list of strings gives you a single string:
py> clips = ['Warm Bodies', 'Gone With The Wind', 'Alien']
py> str(clips)
"['Warm Bodies', 'Gone With The Wind', 'Alien']"
and then iterating over that string gives you individual characters, 
including those from the list itself:
py> for element in str(clips):
... print element
... 
[
'
W
a
r
m
[... snip long output ...]
Does this help?
-- 
Steven
From: Azam, N. <na...@wr...> - 2013年09月18日 03:46:24
Hello,
I have a question about list components. When I try to specify text to appear in a List box, each character appears on a line alone and nothing shows up in the stringSelection drop down box.
How do I get the full text of each item (not individual characters) to appear in the List box as well as in the stringSelection drop down box?
This command lists everything in a static text box:
self.components.ClipList.text = str(clips)
This command lists everything with a single character on each line in the List box:
self.components.List1.items = str(clips)
I thought this command would work, but the List box appears empty:
self.components.List1.stringSelection = str(clips)
Note that "clips" is a list of movie titles.
Thanks for any help and guidance.
Regards,
Naweed.
From: Mariano R. <rei...@gm...> - 2013年08月30日 19:11:22
Kevin:
About mobile, other python frameworks are already packaging apps for
iOS and Android, so I don't see a blocking issue there.
In fact, there are test apps made with wxIOS, some advances in
wxAndroid, and even I'm doing my firsts steps to help with the wxQT
port...
The best thing is that actually you can make applications for mobile
with gui2py, using GTK3 + Broadway backend (HTML5 + websockets), you
can see some screenshot in firefox and cellphone android emulator:
https://gui2py.googlecode.com/hg/screenshots/ubuntu/sample_phoenix_gtk3_broadway_firefox.png
https://twitter.com/reingart/status/356893430066065409/photo/1
I work developing commercial applications (ERP-like style), so I'll
have to deal with Windows, MacOSX and Ubuntu for a long time.
Also, I would like to have a easy but powerfull library to teach GUI
concepts in the classroom and to help newcomers used to VB and similar
languages.
I think PythonCard/gui2py still has a place there, as others libraries
like Kivi or Dabo are cumbersome, more complex, don't have the needed
easy-to-use tools or have a different philoshopy / goal.
gui2py should fulfill your needs for PythonCard, it was updated,
cleaned-up and enhanced aiming multiversion compatibility with Python
(2.5, 2.7, 3.2, etc. ) and wxPython (2.8, 2.9 and upcoming 3.0 a.k.a.
Project Phoenix)
As with most major upgrades, application written for PythonCard 0.8.2
will need to be updated to run with gui2py (you could consider it
"PythonCard" 0.9.3).
The changes needed would be similar as the last migration
(PythonCardPrototype release 0.7.3.1 to release 0.8):
http://pythoncard.sourceforge.net/migration_guide.html
The migration tool for resources is ready, and if you approve this
proposal, I'll start working in a tool like 2to3 to migrate the code
automatically.
Also, I'm planning to enhance the integration with a code editor and
debugger, you can see some work here:
https://code.google.com/p/rad2py/
That new editor, debugger and console currently uses wxPython
directly, but I think I'll convert them to gui2py controls like the
shell, to enable use them in any pythoncard/gui2py application and
replace the current pythoncard tools.
With this approach, PythonCard will become a transitional package,
using internally gui2py to take advantage of new features but doing
the best effort to be backward compatible.
So, in brief, I'll be glad to maintain Pythoncard and use/merge back
the gui2py fork, if approved, we could discuss the roadmap and the
technical details in the pythoncard-devel mailing list.
Just in case, you can see references about me in my blog:
http://reingart.blogspot.com.ar/p/resume.html
I have already an account in SourceForge, username reingart (755704),
but I'm prefer googlecode and recently github (using mercurial with
hg-git extension).
Best regards and thanks everyone for this great project!
Mariano Reingart
http://www.sistemasagiles.com.ar
http://reingart.blogspot.com
On Thu, Aug 29, 2013 at 11:40 PM, Kevin Altis <al...@se...> wrote:
> At this point, I'm happy to turn over lead development for PythonCard.
>
> There are a number of reasons I stopped working on the project, not least of which were some family issues six years ago, but I've also moved onto other things. I thought I was going to get back into it, but frankly mobile computing is much more interesting and relevant these days. I don't really use any operating systems except Mac OS X and iOS (where Python doesn't work for app development due to distribution restrictions by Apple AFAIK), so the cross-platform goals for PythonCard would be very difficult for me to work on, let alone test, since I don't use Windows (bye bye MS) or Linux at all anymore.
>
> I would at least like to see PythonCard updated enough to work with the current versions of Python 2.7.x or Python 3.3.x dependent on what will work with wxPython. gui2py might fulfill that need? The startup problem that began this thread is certainly easily fixable. If someone wants to post the fix to the list that would be most welcome.
>
> I'm sure gui2py, dabo, and other Python GUI builders out there will work great for people even if PythonCard doesn't. For developers that are interested in taking over PythonCard, we can have a separate discussion here or on the developer mailing list (https://lists.sourceforge.net/lists/listinfo/pythoncard-devel).
>
> Thanks,
>
> ka
> ---
>
> On Aug 28, 2013, at 7:13 AM, Mariano Reingart <rei...@gm...> wrote:
>
> Hi Alec:
>
> I think that's the beauty of free / open software, PythonCard will be
> alive in part inside gui2py, as it not only keeps the project
> structure and vision, also there are a lot of source code used as a
> base.
> You can see the readme and the comments in the __init__.py files and commits:
>
> https://code.google.com/p/gui2py/source/browse/readme.txt
>
> It's true that some issues like the one reported could be fixeable,
> but in the long run there are a lot of thing to take into
> consideration, for example component model modernization using new
> Python features like meta-clasesses (django's style), python 3 and
> wxPython Phoenix compatibility, advanced Model-View-Controller
> widgets, etc.
>
> Also, IMHO the PythonCard tools are a bit outdated, you can compare
> them with the visual designer and propery editor of gui2py, sometimes
> a restart on some parts could be desriable to take advantage of new
> Python / wxPython features:
>
> https://code.google.com/p/gui2py/wiki/ToolsScreenshots
>
> It was a lot of work to update and fix PythonCard, in my case the
> outcome is gui2py, anyone is welcome to collaborate and/or send
> suggestions ;-)
>
> Best regards,
>
> Mariano Reingart
> http://www.sistemasagiles.com.ar
> http://reingart.blogspot.com
>
>
> On Tue, Aug 27, 2013 at 2:51 PM, Alec Bennett <wry...@gm...> wrote:
>> Sad to see everyone declaring PythonCard dead. For my part I'd say that even though there hasn't been a new version in awhile, it still works fine. The error you're having is certainly fixable.
>>
>>
>> ------
>> Sent from my gizmo.
>>
>> On Aug 26, 2013, at 11:33 PM, Mariano Reingart <rei...@gm...> wrote:
>>
>>> Hi saharsh:
>>>
>>> You can try gui2py, a fork of PythonCard more updated and currently
>>> being developed (both with py2.7 and py3k, win7 & win8):
>>>
>>> https://code.google.com/p/gui2py/
>>>
>>> The third alpha release (0.9.3) supports migration of basic PythonCard
>>> programs, for example see starter.py:
>>>
>>> https://code.google.com/p/gui2py/source/browse/starter.py
>>>
>>> and the resource file:
>>>
>>> https://code.google.com/p/gui2py/source/browse/starter.rsrc.py
>>>
>>> I'm working in a migration tool (migrate.py), that would convert
>>> automatically the PythonCard resources to gui2py.
>>>
>>> I'll send the full announce ASAP, including an updated installation
>>> and migration guide
>>>
>>> I'll be glad to answer any doubts about gui2py, we have a separate
>>> mailing list / forum on GoogleGroups to not interfere too much with
>>> this list:
>>>
>>> https://groups.google.com/forum/#!forum/gui2py
>>>
>>> Best regards,
>>>
>>> Mariano Reingart
>>> http://www.sistemasagiles.com.ar
>>> http://reingart.blogspot.com
>>>
>>>
>>> On Fri, Aug 23, 2013 at 12:44 PM, saharsh jain <sah...@ya...> wrote:
>>>> I am a windows 7 ultimate user and really a beginner and a die hard fan of
>>>> python
>>>> and i wanted to install python in my pc so first i downloaded python 2.7.5
>>>> then wxpython then python card and installed them respectively.
>>>> During the whole installation there was not a single problem and eve the
>>>> minimal was working fine but when i try to open python card editor for
>>>> python files it gives a error of
>>>>
>>>>
>>>> "..\..\src\common\stdpbase.cpp(49): assert "traits" failed in
>>>> wxStandardPathBase::Get():create wxAppbefore calling this.
>>>> Do you want to stop the program?
>>>> You can also choose[Cancel] to suppress futher warnings.
>>>> then three options yes,no and cancel.
>>>> if i press yes then it stops ,
>>>> if i press no then it opens but nothing can be done on window all button
>>>> (file,edit etc)work but the option inside the do not function.
>>>>
>>>> Please help me guys really in a mess........
>>>>
>
From: Brian D. <deb...@ho...> - 2013年08月30日 14:54:58
So sad to hear these words from Kevin, but in the other hand I am really pleased to see (at least) some PythonCArd core code inside another promising UI lib.
Thank you very much Kevin for the hard work and cheers to Mariano, keep moving forward :)
Best regards!
Brian Debuire
Linux Registered User #456401
> From: al...@se...
> Date: 2013年8月29日 19:40:39 -0700
> To: rei...@gm...
> CC: pyt...@li...; sah...@ya...
> Subject: Re: [Pythoncard-users] Python card installation problem windows 7
> 
> At this point, I'm happy to turn over lead development for PythonCard.
> 
> There are a number of reasons I stopped working on the project, not least of which were some family issues six years ago, but I've also moved onto other things. I thought I was going to get back into it, but frankly mobile computing is much more interesting and relevant these days. I don't really use any operating systems except Mac OS X and iOS (where Python doesn't work for app development due to distribution restrictions by Apple AFAIK), so the cross-platform goals for PythonCard would be very difficult for me to work on, let alone test, since I don't use Windows (bye bye MS) or Linux at all anymore.
> 
> I would at least like to see PythonCard updated enough to work with the current versions of Python 2.7.x or Python 3.3.x dependent on what will work with wxPython. gui2py might fulfill that need? The startup problem that began this thread is certainly easily fixable. If someone wants to post the fix to the list that would be most welcome.
> 
> I'm sure gui2py, dabo, and other Python GUI builders out there will work great for people even if PythonCard doesn't. For developers that are interested in taking over PythonCard, we can have a separate discussion here or on the developer mailing list (https://lists.sourceforge.net/lists/listinfo/pythoncard-devel).
> 
> Thanks,
> 
> ka
> ---
> 
> On Aug 28, 2013, at 7:13 AM, Mariano Reingart <rei...@gm...> wrote:
> 
> Hi Alec:
> 
> I think that's the beauty of free / open software, PythonCard will be
> alive in part inside gui2py, as it not only keeps the project
> structure and vision, also there are a lot of source code used as a
> base.
> You can see the readme and the comments in the __init__.py files and commits:
> 
> https://code.google.com/p/gui2py/source/browse/readme.txt
> 
> It's true that some issues like the one reported could be fixeable,
> but in the long run there are a lot of thing to take into
> consideration, for example component model modernization using new
> Python features like meta-clasesses (django's style), python 3 and
> wxPython Phoenix compatibility, advanced Model-View-Controller
> widgets, etc.
> 
> Also, IMHO the PythonCard tools are a bit outdated, you can compare
> them with the visual designer and propery editor of gui2py, sometimes
> a restart on some parts could be desriable to take advantage of new
> Python / wxPython features:
> 
> https://code.google.com/p/gui2py/wiki/ToolsScreenshots
> 
> It was a lot of work to update and fix PythonCard, in my case the
> outcome is gui2py, anyone is welcome to collaborate and/or send
> suggestions ;-)
> 
> Best regards,
> 
> Mariano Reingart
> http://www.sistemasagiles.com.ar
> http://reingart.blogspot.com
> 
> 
> On Tue, Aug 27, 2013 at 2:51 PM, Alec Bennett <wry...@gm...> wrote:
> > Sad to see everyone declaring PythonCard dead. For my part I'd say that even though there hasn't been a new version in awhile, it still works fine. The error you're having is certainly fixable.
> > 
> > 
> > ------
> > Sent from my gizmo.
> > 
> > On Aug 26, 2013, at 11:33 PM, Mariano Reingart <rei...@gm...> wrote:
> > 
> >> Hi saharsh:
> >> 
> >> You can try gui2py, a fork of PythonCard more updated and currently
> >> being developed (both with py2.7 and py3k, win7 & win8):
> >> 
> >> https://code.google.com/p/gui2py/
> >> 
> >> The third alpha release (0.9.3) supports migration of basic PythonCard
> >> programs, for example see starter.py:
> >> 
> >> https://code.google.com/p/gui2py/source/browse/starter.py
> >> 
> >> and the resource file:
> >> 
> >> https://code.google.com/p/gui2py/source/browse/starter.rsrc.py
> >> 
> >> I'm working in a migration tool (migrate.py), that would convert
> >> automatically the PythonCard resources to gui2py.
> >> 
> >> I'll send the full announce ASAP, including an updated installation
> >> and migration guide
> >> 
> >> I'll be glad to answer any doubts about gui2py, we have a separate
> >> mailing list / forum on GoogleGroups to not interfere too much with
> >> this list:
> >> 
> >> https://groups.google.com/forum/#!forum/gui2py
> >> 
> >> Best regards,
> >> 
> >> Mariano Reingart
> >> http://www.sistemasagiles.com.ar
> >> http://reingart.blogspot.com
> >> 
> >> 
> >> On Fri, Aug 23, 2013 at 12:44 PM, saharsh jain <sah...@ya...> wrote:
> >>> I am a windows 7 ultimate user and really a beginner and a die hard fan of
> >>> python
> >>> and i wanted to install python in my pc so first i downloaded python 2.7.5
> >>> then wxpython then python card and installed them respectively.
> >>> During the whole installation there was not a single problem and eve the
> >>> minimal was working fine but when i try to open python card editor for
> >>> python files it gives a error of
> >>> 
> >>> 
> >>> "..\..\src\common\stdpbase.cpp(49): assert "traits" failed in
> >>> wxStandardPathBase::Get():create wxAppbefore calling this.
> >>> Do you want to stop the program?
> >>> You can also choose[Cancel] to suppress futher warnings.
> >>> then three options yes,no and cancel.
> >>> if i press yes then it stops ,
> >>> if i press no then it opens but nothing can be done on window all button
> >>> (file,edit etc)work but the option inside the do not function.
> >>> 
> >>> Please help me guys really in a mess........
> >>> 
> 
> 
> ------------------------------------------------------------------------------
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
> _______________________________________________
> Pythoncard-users mailing list
> Pyt...@li...
> https://lists.sourceforge.net/lists/listinfo/pythoncard-users
 		 	 		 
From: Kevin A. <al...@se...> - 2013年08月30日 03:05:33
At this point, I'm happy to turn over lead development for PythonCard.
There are a number of reasons I stopped working on the project, not least of which were some family issues six years ago, but I've also moved onto other things. I thought I was going to get back into it, but frankly mobile computing is much more interesting and relevant these days. I don't really use any operating systems except Mac OS X and iOS (where Python doesn't work for app development due to distribution restrictions by Apple AFAIK), so the cross-platform goals for PythonCard would be very difficult for me to work on, let alone test, since I don't use Windows (bye bye MS) or Linux at all anymore.
I would at least like to see PythonCard updated enough to work with the current versions of Python 2.7.x or Python 3.3.x dependent on what will work with wxPython. gui2py might fulfill that need? The startup problem that began this thread is certainly easily fixable. If someone wants to post the fix to the list that would be most welcome.
I'm sure gui2py, dabo, and other Python GUI builders out there will work great for people even if PythonCard doesn't. For developers that are interested in taking over PythonCard, we can have a separate discussion here or on the developer mailing list (https://lists.sourceforge.net/lists/listinfo/pythoncard-devel).
Thanks,
ka
---
On Aug 28, 2013, at 7:13 AM, Mariano Reingart <rei...@gm...> wrote:
Hi Alec:
I think that's the beauty of free / open software, PythonCard will be
alive in part inside gui2py, as it not only keeps the project
structure and vision, also there are a lot of source code used as a
base.
You can see the readme and the comments in the __init__.py files and commits:
https://code.google.com/p/gui2py/source/browse/readme.txt
It's true that some issues like the one reported could be fixeable,
but in the long run there are a lot of thing to take into
consideration, for example component model modernization using new
Python features like meta-clasesses (django's style), python 3 and
wxPython Phoenix compatibility, advanced Model-View-Controller
widgets, etc.
Also, IMHO the PythonCard tools are a bit outdated, you can compare
them with the visual designer and propery editor of gui2py, sometimes
a restart on some parts could be desriable to take advantage of new
Python / wxPython features:
https://code.google.com/p/gui2py/wiki/ToolsScreenshots
It was a lot of work to update and fix PythonCard, in my case the
outcome is gui2py, anyone is welcome to collaborate and/or send
suggestions ;-)
Best regards,
Mariano Reingart
http://www.sistemasagiles.com.ar
http://reingart.blogspot.com
On Tue, Aug 27, 2013 at 2:51 PM, Alec Bennett <wry...@gm...> wrote:
> Sad to see everyone declaring PythonCard dead. For my part I'd say that even though there hasn't been a new version in awhile, it still works fine. The error you're having is certainly fixable.
> 
> 
> ------
> Sent from my gizmo.
> 
> On Aug 26, 2013, at 11:33 PM, Mariano Reingart <rei...@gm...> wrote:
> 
>> Hi saharsh:
>> 
>> You can try gui2py, a fork of PythonCard more updated and currently
>> being developed (both with py2.7 and py3k, win7 & win8):
>> 
>> https://code.google.com/p/gui2py/
>> 
>> The third alpha release (0.9.3) supports migration of basic PythonCard
>> programs, for example see starter.py:
>> 
>> https://code.google.com/p/gui2py/source/browse/starter.py
>> 
>> and the resource file:
>> 
>> https://code.google.com/p/gui2py/source/browse/starter.rsrc.py
>> 
>> I'm working in a migration tool (migrate.py), that would convert
>> automatically the PythonCard resources to gui2py.
>> 
>> I'll send the full announce ASAP, including an updated installation
>> and migration guide
>> 
>> I'll be glad to answer any doubts about gui2py, we have a separate
>> mailing list / forum on GoogleGroups to not interfere too much with
>> this list:
>> 
>> https://groups.google.com/forum/#!forum/gui2py
>> 
>> Best regards,
>> 
>> Mariano Reingart
>> http://www.sistemasagiles.com.ar
>> http://reingart.blogspot.com
>> 
>> 
>> On Fri, Aug 23, 2013 at 12:44 PM, saharsh jain <sah...@ya...> wrote:
>>> I am a windows 7 ultimate user and really a beginner and a die hard fan of
>>> python
>>> and i wanted to install python in my pc so first i downloaded python 2.7.5
>>> then wxpython then python card and installed them respectively.
>>> During the whole installation there was not a single problem and eve the
>>> minimal was working fine but when i try to open python card editor for
>>> python files it gives a error of
>>> 
>>> 
>>> "..\..\src\common\stdpbase.cpp(49): assert "traits" failed in
>>> wxStandardPathBase::Get():create wxAppbefore calling this.
>>> Do you want to stop the program?
>>> You can also choose[Cancel] to suppress futher warnings.
>>> then three options yes,no and cancel.
>>> if i press yes then it stops ,
>>> if i press no then it opens but nothing can be done on window all button
>>> (file,edit etc)work but the option inside the do not function.
>>> 
>>> Please help me guys really in a mess........
>>> 
From: Mariano R. <rei...@gm...> - 2013年08月28日 14:14:12
Hi Alec:
I think that's the beauty of free / open software, PythonCard will be
alive in part inside gui2py, as it not only keeps the project
structure and vision, also there are a lot of source code used as a
base.
You can see the readme and the comments in the __init__.py files and commits:
https://code.google.com/p/gui2py/source/browse/readme.txt
It's true that some issues like the one reported could be fixeable,
but in the long run there are a lot of thing to take into
consideration, for example component model modernization using new
Python features like meta-clasesses (django's style), python 3 and
wxPython Phoenix compatibility, advanced Model-View-Controller
widgets, etc.
Also, IMHO the PythonCard tools are a bit outdated, you can compare
them with the visual designer and propery editor of gui2py, sometimes
a restart on some parts could be desriable to take advantage of new
Python / wxPython features:
https://code.google.com/p/gui2py/wiki/ToolsScreenshots
It was a lot of work to update and fix PythonCard, in my case the
outcome is gui2py, anyone is welcome to collaborate and/or send
suggestions ;-)
Best regards,
Mariano Reingart
http://www.sistemasagiles.com.ar
http://reingart.blogspot.com
On Tue, Aug 27, 2013 at 2:51 PM, Alec Bennett <wry...@gm...> wrote:
> Sad to see everyone declaring PythonCard dead. For my part I'd say that even though there hasn't been a new version in awhile, it still works fine. The error you're having is certainly fixable.
>
>
> ------
> Sent from my gizmo.
>
> On Aug 26, 2013, at 11:33 PM, Mariano Reingart <rei...@gm...> wrote:
>
>> Hi saharsh:
>>
>> You can try gui2py, a fork of PythonCard more updated and currently
>> being developed (both with py2.7 and py3k, win7 & win8):
>>
>> https://code.google.com/p/gui2py/
>>
>> The third alpha release (0.9.3) supports migration of basic PythonCard
>> programs, for example see starter.py:
>>
>> https://code.google.com/p/gui2py/source/browse/starter.py
>>
>> and the resource file:
>>
>> https://code.google.com/p/gui2py/source/browse/starter.rsrc.py
>>
>> I'm working in a migration tool (migrate.py), that would convert
>> automatically the PythonCard resources to gui2py.
>>
>> I'll send the full announce ASAP, including an updated installation
>> and migration guide
>>
>> I'll be glad to answer any doubts about gui2py, we have a separate
>> mailing list / forum on GoogleGroups to not interfere too much with
>> this list:
>>
>> https://groups.google.com/forum/#!forum/gui2py
>>
>> Best regards,
>>
>> Mariano Reingart
>> http://www.sistemasagiles.com.ar
>> http://reingart.blogspot.com
>>
>>
>> On Fri, Aug 23, 2013 at 12:44 PM, saharsh jain <sah...@ya...> wrote:
>>> I am a windows 7 ultimate user and really a beginner and a die hard fan of
>>> python
>>> and i wanted to install python in my pc so first i downloaded python 2.7.5
>>> then wxpython then python card and installed them respectively.
>>> During the whole installation there was not a single problem and eve the
>>> minimal was working fine but when i try to open python card editor for
>>> python files it gives a error of
>>>
>>>
>>> "..\..\src\common\stdpbase.cpp(49): assert "traits" failed in
>>> wxStandardPathBase::Get():create wxAppbefore calling this.
>>> Do you want to stop the program?
>>> You can also choose[Cancel] to suppress futher warnings.
>>> then three options yes,no and cancel.
>>> if i press yes then it stops ,
>>> if i press no then it opens but nothing can be done on window all button
>>> (file,edit etc)work but the option inside the do not function.
>>>
>>> Please help me guys really in a mess........
>>>
>>> ------------------------------------------------------------------------------
>>> Introducing Performance Central, a new site from SourceForge and
>>> AppDynamics. Performance Central is your source for news, insights,
>>> analysis and resources for efficient Application Performance Management.
>>> Visit us today!
>>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Pythoncard-users mailing list
>>> Pyt...@li...
>>> https://lists.sourceforge.net/lists/listinfo/pythoncard-users
>>
>> ------------------------------------------------------------------------------
>> Introducing Performance Central, a new site from SourceForge and
>> AppDynamics. Performance Central is your source for news, insights,
>> analysis and resources for efficient Application Performance Management.
>> Visit us today!
>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Pythoncard-users mailing list
>> Pyt...@li...
>> https://lists.sourceforge.net/lists/listinfo/pythoncard-users
From: Alec B. <wry...@gm...> - 2013年08月27日 17:51:39
Sad to see everyone declaring PythonCard dead. For my part I'd say that even though there hasn't been a new version in awhile, it still works fine. The error you're having is certainly fixable. 
------
Sent from my gizmo. 
On Aug 26, 2013, at 11:33 PM, Mariano Reingart <rei...@gm...> wrote:
> Hi saharsh:
> 
> You can try gui2py, a fork of PythonCard more updated and currently
> being developed (both with py2.7 and py3k, win7 & win8):
> 
> https://code.google.com/p/gui2py/
> 
> The third alpha release (0.9.3) supports migration of basic PythonCard
> programs, for example see starter.py:
> 
> https://code.google.com/p/gui2py/source/browse/starter.py
> 
> and the resource file:
> 
> https://code.google.com/p/gui2py/source/browse/starter.rsrc.py
> 
> I'm working in a migration tool (migrate.py), that would convert
> automatically the PythonCard resources to gui2py.
> 
> I'll send the full announce ASAP, including an updated installation
> and migration guide
> 
> I'll be glad to answer any doubts about gui2py, we have a separate
> mailing list / forum on GoogleGroups to not interfere too much with
> this list:
> 
> https://groups.google.com/forum/#!forum/gui2py
> 
> Best regards,
> 
> Mariano Reingart
> http://www.sistemasagiles.com.ar
> http://reingart.blogspot.com
> 
> 
> On Fri, Aug 23, 2013 at 12:44 PM, saharsh jain <sah...@ya...> wrote:
>> I am a windows 7 ultimate user and really a beginner and a die hard fan of
>> python
>> and i wanted to install python in my pc so first i downloaded python 2.7.5
>> then wxpython then python card and installed them respectively.
>> During the whole installation there was not a single problem and eve the
>> minimal was working fine but when i try to open python card editor for
>> python files it gives a error of
>> 
>> 
>> "..\..\src\common\stdpbase.cpp(49): assert "traits" failed in
>> wxStandardPathBase::Get():create wxAppbefore calling this.
>> Do you want to stop the program?
>> You can also choose[Cancel] to suppress futher warnings.
>> then three options yes,no and cancel.
>> if i press yes then it stops ,
>> if i press no then it opens but nothing can be done on window all button
>> (file,edit etc)work but the option inside the do not function.
>> 
>> Please help me guys really in a mess........
>> 
>> ------------------------------------------------------------------------------
>> Introducing Performance Central, a new site from SourceForge and
>> AppDynamics. Performance Central is your source for news, insights,
>> analysis and resources for efficient Application Performance Management.
>> Visit us today!
>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Pythoncard-users mailing list
>> Pyt...@li...
>> https://lists.sourceforge.net/lists/listinfo/pythoncard-users
> 
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and 
> AppDynamics. Performance Central is your source for news, insights, 
> analysis and resources for efficient Application Performance Management. 
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> Pythoncard-users mailing list
> Pyt...@li...
> https://lists.sourceforge.net/lists/listinfo/pythoncard-users
From: Mariano R. <rei...@gm...> - 2013年08月27日 06:33:53
Hi saharsh:
You can try gui2py, a fork of PythonCard more updated and currently
being developed (both with py2.7 and py3k, win7 & win8):
https://code.google.com/p/gui2py/
The third alpha release (0.9.3) supports migration of basic PythonCard
programs, for example see starter.py:
https://code.google.com/p/gui2py/source/browse/starter.py
and the resource file:
https://code.google.com/p/gui2py/source/browse/starter.rsrc.py
I'm working in a migration tool (migrate.py), that would convert
automatically the PythonCard resources to gui2py.
I'll send the full announce ASAP, including an updated installation
and migration guide
I'll be glad to answer any doubts about gui2py, we have a separate
mailing list / forum on GoogleGroups to not interfere too much with
this list:
https://groups.google.com/forum/#!forum/gui2py
Best regards,
Mariano Reingart
http://www.sistemasagiles.com.ar
http://reingart.blogspot.com
On Fri, Aug 23, 2013 at 12:44 PM, saharsh jain <sah...@ya...> wrote:
> I am a windows 7 ultimate user and really a beginner and a die hard fan of
> python
> and i wanted to install python in my pc so first i downloaded python 2.7.5
> then wxpython then python card and installed them respectively.
> During the whole installation there was not a single problem and eve the
> minimal was working fine but when i try to open python card editor for
> python files it gives a error of
>
>
> "..\..\src\common\stdpbase.cpp(49): assert "traits" failed in
> wxStandardPathBase::Get():create wxAppbefore calling this.
> Do you want to stop the program?
> You can also choose[Cancel] to suppress futher warnings.
> then three options yes,no and cancel.
> if i press yes then it stops ,
> if i press no then it opens but nothing can be done on window all button
> (file,edit etc)work but the option inside the do not function.
>
> Please help me guys really in a mess........
>
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> Pythoncard-users mailing list
> Pyt...@li...
> https://lists.sourceforge.net/lists/listinfo/pythoncard-users
>
From: Bruce B. <bru...@rr...> - 2013年08月23日 22:34:35
That error message arises from trying to use wx.StandardPaths before the
App object has been
created, which is no longer allowed since version 2.8. I fear that
pythoncard has not been updated to reflect that change since there have
been no releases since 2006.
For my development on windows I've switched over to Ironpython and build my
user interfaces with XAML.
If you are looking for basic GUI stuff, there is EasyGUI but that project
is frozen as of March 2013.
You can check out http://wiki.python.org/moin/GuiProgramming for more
possibilities.
You might also want to check out Tidesdk.org. It allows you to build your
user interface in HTML5/javascript but run with a python backend and wrap
everything up into an installer and exe.
On Fri, Aug 23, 2013 at 10:44 AM, saharsh jain <sah...@ya...> wrote:
> I am a windows 7 ultimate user and really a beginner and a die hard fan of
> python
> and i wanted to install python in my pc so first i downloaded python 2.7.5
> then wxpython then python card and installed them respectively.
> During the whole installation there was not a single problem and eve the
> minimal was working fine but when i try to open python card editor for
> python files it gives a error of
>
>
> "..\..\src\common\stdpbase.cpp(49): assert "traits" failed in wxStandardPathBase::Get():create
> wxAppbefore calling this.
> Do you want to stop the program?
> You can also choose[Cancel] to suppress futher warnings.
> then three options yes,no and cancel.
> if i press yes then it stops ,
> if i press no then it opens but nothing can be done on window all button
> (file,edit etc)work but the option inside the do not function.
>
> Please help me guys really in a mess........
>
>
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> Pythoncard-users mailing list
> Pyt...@li...
> https://lists.sourceforge.net/lists/listinfo/pythoncard-users
>
>
-- 
Bruce Bromberek
Manager, Operations Strategy and Integration
GV: 815.290.9478
Cell: 630.229.1582
Office: 630.378.2865
RR Donnelley Logistics | 1000 Windham Parkway | Bolingbrook IL 60490
From: saharsh j. <sah...@ya...> - 2013年08月23日 15:44:26
I am a windows 7 ultimate user and really a beginner and a die hard fan of python 
and i wanted to install python in my pc so first i downloaded python 2.7.5 then wxpython then python card and installed them respectively.
During the whole installation there was not a single problem and eve the minimal was working fine but when i try to open python card editor for python files it gives a error of 
"..\..\src\common\stdpbase.cpp(49): assert "traits" failed inwxStandardPathBase::Get():create wxAppbefore calling this.
Do you want to stop the program?
You can also choose[Cancel] to suppress futher warnings.
then three options yes,no and cancel.
if i press yes then it stops ,
if i press no then it opens but nothing can be done on window all button (file,edit etc)work but the option inside the do not function.
Please help me guys really in a mess........
From: Alec B. <wry...@gm...> - 2013年07月03日 01:45:04
I've used both PythonCard (which I love), and PyGame (also love).
PythonCard is great for making simple program interfaces, but for more
complicated tasks like a game, I'd say you could conceivably do it, but it
would take a lot of extra effort.
PyGame, on the other hand, is built for the purpose, and very easy to use
once you get the hang of it. And their email list is very active and
supportive.
http://www.pygame.org
On Tue, Jul 2, 2013 at 6:20 PM, <art...@ao...> wrote:
> art...@ao...
> -----Original Message-----
> From: artitis12 <art...@ao...>
> To: pythoncard-users <pyt...@li...>
> Sent: Tue, Jul 2, 2013 8:18 pm
> Subject: Making games using PythonCard
>
> art...@ao...
> -----Original Message-----
> From: artitis12 <art...@ao...>
> To: pythoncard-users-request <
> pyt...@li...>
> Sent: Tue, Jul 2, 2013 8:16 pm
> Subject: Making games using PythonCard
>
> Hey, I'm was wondering if other pythonCard users make simple games
> using PythonCard. I'm new to Python and I'm very interested into making
> games using PythonCard. If there are any tips to doing it, please... I
> would want to know.
>
>
> Thanks for your time,
>
> The NewbieGuy
>
> God Bless
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Pythoncard-users mailing list
> Pyt...@li...
> https://lists.sourceforge.net/lists/listinfo/pythoncard-users
>
>
From: <art...@ao...> - 2013年07月03日 01:20:32
art...@ao...
-----Original Message-----
From: artitis12 <art...@ao...>
To: pythoncard-users <pyt...@li...>
Sent: Tue, Jul 2, 2013 8:18 pm
Subject: Making games using PythonCard
art...@ao...
-----Original Message-----
From: artitis12 <art...@ao...>
To: pythoncard-users-request <pyt...@li...>
Sent: Tue, Jul 2, 2013 8:16 pm
Subject: Making games using PythonCard
Hey, I'm was wondering if other pythonCard users make simple games using PythonCard. I'm new to Python and I'm very interested into making games using PythonCard. If there are any tips to doing it, please... I would want to know.
 
 
Thanks for your time,
 
The NewbieGuy
 
God Bless
From: <art...@ao...> - 2013年07月03日 01:18:17
art...@ao...
-----Original Message-----
From: artitis12 <art...@ao...>
To: pythoncard-users-request <pyt...@li...>
Sent: Tue, Jul 2, 2013 8:16 pm
Subject: Making games using PythonCard
Hey, I'm was wondering if other pythonCard users make simple games using PythonCard. I'm new to Python and I'm very interested into making games using PythonCard. If there are any tips to doing it, please... I would want to know.
 
 
Thanks for your time,
 
The NewbieGuy
 
God Bless
FYI
I'm glad to announce the second alpha release of gui2py, a simple &
powerful GUI framework (derivated from PythonCard) for agile
development of modern cross-platform "visual" desktop applications on
Windows, Mac OS X, and Linux, using the Python language and the
wxPython toolkit.
https://code.google.com/p/gui2py/
The focus of this release was to add support for Python 3 and the
Phoenix project (the upcoming wxPython version 3.0), but it also looks
for compatibility between multiple python and wxPython versions, from
py2.5 to py3.3, and wx2.8 (stable) to wx2.9 (classic & phoenix).
Changelog 0.9a -> 0.9b:
 * fixed support for py2.5 wx2.8 ("stable")
 * added support for py3k & wx2.9.5.81 phoenix
 * minor fixes
 * conversion / setup / build scripts
Installers and source archive can be downloaded from:
https://code.google.com/p/gui2py/downloads/list
Installation guide and screenshots were also updated (including py3k
and phoenix):
https://code.google.com/p/gui2py/wiki/QuickStart
https://code.google.com/p/gui2py/wiki/SampleScreenshots
Comments are welcome, and of course, if you are interested, there is a
google group for discussions and announces, where anyone can
participate:
http://groups.google.com/group/gui2py
Best regards,
Mariano Reingart
http://www.sistemasagiles.com.ar
http://reingart.blogspot.com
From: Mariano R. <rei...@gm...> - 2013年04月01日 01:01:36
Dear PythonCard users:
I'm working on a PythonCard "fork", trying to enhance it with a more
modern look & feel (improved visual designer, property grid, drag &
drop toolbox, etc.) but keeping it simple and powerful (i.e. adding
MVC List, Tree, Grid, Notebook, Sizers, etc.):
https://code.google.com/p/gui2py/
It was based initially on PythonCard, but also includes a lot of my
experience and personal needs (I'm planning to write a simple ERP-like
system with gui2py).
It is also aimed for teaching in introductory and intermediate
programming courses (prior web development assignments), so it was
simplified even further and adopted some HTML/Javascript features.
As it is not backwards compatible with PythonCard, a lot of code was
changed or removed), I decided to fork it in a new project to not
cause any confusions.
Comments are welcome, and of course, if you are interested, I've
created a separate mailing list where anyone can participate:
http://groups.google.com/group/gui2py
Special thanks to all of the PythonCard's developers
Best regards
Mariano Reingart
http://www.sistemasagiles.com.ar
http://reingart.blogspot.com
From: John H. <ec...@ya...> - 2013年03月21日 05:01:02
Haven't done this for a while. It's basically something like this (untested):
import wx
import new
from PythonCard import log
from PythonCard import model, dialog
"""
This is how to invoke:
Control_factory(self, attribute={"type":"Button", "name":"Button1", 
"label":"Button1","position":(5,35)}, 
eventHandlers={"mouseClick":on_Button_mouseClick})
def on_Button_mouseClick(self, event):
 return
"""
class Control_factory():
 def addHandler(self, aMethod):
 # Add the Handler to our Handler list.
 try:
 _handlers=self._handlers
 except:
 self._handlers={}
 if aMethod.name not in self._handlers:
 log.debug("addHandler: " + aMethod.name)
 #self._handlers[aMethod.name] = event.Handler(aMethod)
 self._handlers[aMethod.name] = aMethod
 def delHandler(self, aMethod):
 # Add the Handler to our Handler list.
 if aMethod.name in self._handlers:
 log.debug("delHandler: " + aMethod.name)
 del self._handlers[aMethod.name]
 del aMethod
 def __init__(self, parent, attribute, eventHandlers):
 name=attribute['name']
 self.methods=[]
 for eventName in eventHandlers.keys():
 eventFct=eventHandlers[eventName]
 def function(parent, background, event):
 if eventFct==None:
 return None
 return eventFct(event)
 function.name = "on_%s_%s" % (name,eventName)
 method = new.instancemethod(function, parent, parent.__class__)
 setattr(parent, function.name, method)
 self.addHandler(method)
 self.methods.append(method)
 parent.components[name] = attribute
 return
 
 def getMethods(self):
 return self.methods
Control_factory(self, attribute={"type":"ImageButton", "name":"stop", 
"position":(10,10), 'border':'transparent', 'command':u'stop','file':'', 
'visible':False, }, eventHandlers={"mouseClick":on_stop_mouseClick})
On 9/27/2012 11:35 PM, Alec Bennett wrote:
Hello very quiet Pythoncard email list! 
>
>
>I'm trying to add an ImageButton dynamically to a resource file, and can't 
>figure out how to do so.
>
>
>Suppose the ImageButton looked like this:
>
>
>{'type':'ImageButton', 
> 'name':'stop', 
> 'position':(10, 10), 
> 'border':'transparent', 
> 'command':u'stop', 
> 'file':'', 
> 'visible':False, 
> },
>
>
>And I refer to the components in this resource file like this:
>
>
>self.childWindow.components.whateverButton.visible = False (etc.)
>
>
>Any idea how I would add this ImageButton component, short of writing to the 
>actual resource file?
>
>
>Thanks for any help.
>
>
>
>
>
>
>
>
>
>
>
>
>------------------------------------------------------------------------------ 
>Got visibility? Most devs has no idea what their production app looks like. Find 
>out how fast your code is with AppDynamics Lite. 
>http://ad.doubleclick.net/clk;262219671;13503038;y? 
>http://info.appdynamics.com/FreeJavaPerformanceDownload.html
>
>
>_______________________________________________ Pythoncard-users mailing list 
>Pyt...@li... 
>https://lists.sourceforge.net/lists/listinfo/pythoncard-users 
>
 --
John Henry
From: Tony C. <acl...@ya...> - 2013年03月07日 01:30:18
From: Alec B. <wry...@gm...> - 2012年09月28日 06:35:46
Hello very quiet Pythoncard email list!
I'm trying to add an ImageButton dynamically to a resource file, and can't
figure out how to do so.
Suppose the ImageButton looked like this:
{'type':'ImageButton',
 'name':'stop',
 'position':(10, 10),
 'border':'transparent',
 'command':u'stop',
 'file':'',
 'visible':False,
 },
And I refer to the components in this resource file like this:
self.childWindow.components.whateverButton.visible = False (etc.)
Any idea how I would add this ImageButton component, short of writing to
the actual resource file?
Thanks for any help.
From: Kevin A. <al...@se...> - 2012年06月09日 19:28:57
Make sure that the line
 return not (sys.executable.endswith('Resources/Python.app/Contents/MacOS/Python'))
does not contain any spaces, etc. in the string
'Resources/Python.app/Contents/MacOS/Python'
I just realized that somewhere in the process of posting to the list the code got corrupted.
ka
On Jun 2, 2012, at 2:52 PM, Kevin Altis wrote:
def main_is_frozen():
 if sys.platform == 'darwin':
 # this is a temporary hack for bundlebuilder
 return not (sys.executable.endswith('Resources/Python.app/Contents/MacOS/Python'))
 else:
 return (hasattr(sys, "frozen") or # new py2exe, McMillan
 hasattr(sys, "importers") # old py2exe
 or imp.is_frozen("__main__")) # tools/freeze, cx_freeze
61 messages has been excluded from this view by a project administrator.

Showing results of 5121

1 2 3 .. 205 > >> (Page 1 of 205)
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /