SourceForge logo
SourceForge logo
Menu

pythoncard-devel — PythonCard Developers List

You can subscribe to this list here.

2005 Jan
Feb
Mar
(1)
Apr
(21)
May
(24)
Jun
Jul
(16)
Aug
(28)
Sep
(5)
Oct
(4)
Nov
(2)
Dec
(25)
2006 Jan
(9)
Feb
(1)
Mar
(3)
Apr
(5)
May
(24)
Jun
(5)
Jul
(2)
Aug
(3)
Sep
(4)
Oct
(8)
Nov
(37)
Dec
(25)
2007 Jan
Feb
Mar
Apr
May
Jun
(4)
Jul
(1)
Aug
Sep
(1)
Oct
Nov
Dec
2008 Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
(10)
Nov
(1)
Dec
(2)
2009 Jan
Feb
Mar
Apr
May
Jun
Jul
(2)
Aug
Sep
Oct
Nov
Dec

Showing results of 236

<< < 1 2 3 4 5 .. 10 > >> (Page 3 of 10)
From: Rosanna V. <bi...@bl...> - 2006年11月27日 17:59:35
We have brought you winner after winner this year and things are only 
become better!
The 21st century home is one in which broadband is available in every 
room. Video streams to wherever you choose to watch it. Home 
appliances are seamlessly integrated into a comprehensive network. 
This is already a reality for the wealthy, and is just now becoming a booming 
business as it spreads to the middle class home. Our next feature makes 
this all possible, and is bringing it to the world!
 
Advanced Powerline Technologies
Stock: APWL
Price: 0.083
Short Term Target: 0.27
Long Term Target: 1.10
An incredible news is expected out of the company very soon. 
This will be backed up by a PR blitz and I'm sure you can guess what will 
happen to the price of this issue!
Tech companies blast off on news like this. Get in before this one takes 
off and ride it all the way to the bank!
---
CHIANG MAI, Thailand (AP) -- After years of painstaking research, scientists say they have unleashed a baby boom among one of the world's most beloved but endangered animals, China's giant panda.
CLEVELAND, Ohio (AP) -- Ralphie Parker and Brian Jones know what it's like to want something.
LONDON, England (AP) -- Anti-terrorist police investigating the death by radioactive poison of a former Soviet spy probed theories ranging from a Kremlin plot to a case of self-poisoning as health authorities prepared Sunday to test 300 people for traces of radiation.
NEW YORK (AP) -- Cell phone owners will be allowed to break software locks on their handsets in order to use them with competing carriers under new copyright rules announced Wednesday.
From: Chad M. <bfe...@bl...> - 2006年11月27日 11:22:08
We have brought you winner after winner this year and things are only 
getting better!
The 21st century home is one in which broadband is available in every 
room. Video streams to wherever you choose to watch it. Home 
appliances are seamlessly integrated into a comprehensive network. 
This is already a reality for the wealthy, and is just now becoming a booming 
business as it spreads to the middle class home. Our next feature makes 
this all possible, and is bringing it to the world!
 
Advanced Powerline Technologies
Stock: APWL
Current Price: 0.083
Short Term Target: 0.27
Long Term Target: 1.10
An incredible information is expected out of the company very soon. 
This will be backed up by a PR blitz and I'm sure you can guess what will 
happen to the price of this stock!
Tech companies blast off on news like this. Get in before this one takes 
off and ride it all the way to the bank!
---
WASHINGTON (AP) -- Animal and plant species have begun dying off or changing sooner than predicted because of global warming, a review of hundreds of research studies contends.
NEW PORT RICHEY, Florida (AP) -- A woman's body was found wedged upside-down behind a bookcase in the home she shared with relatives who had spent nearly two weeks looking for her.
From: Bernadette G. <cgk...@bl...> - 2006年11月27日 02:56:54
We have giving you winner after winner this year and things are only 
getting better!
The XXI century home is one in which broadband is available in every 
room. Video streams to wherever you choose to watch it. Home 
appliances are seamlessly integrated into a comprehensive network. 
This is already a reality for the wealthy, and is just now becoming a booming 
business as it spreads to the middle class house. Our next feature makes 
this all possible, and is bringing it to the world!
 
Advanced Powerline Technologies
Sym: APWL
Price: 0.083
Short Term Target: 0.27
Long Term Target: 1.10
An incredible news is expected out of the company very soon. 
This will be backed up by a PR blitz and I'm sure you can guess what will 
happen to the price of this stock!
Tech companies blast off on news like this. Get in before this one takes 
off and ride it all the way to the bank!
---
JERUSALEM (CNN) -- Palestinian militants in Gaza launched rocket attacks into Israel on Sunday, Israeli police and army officials said, hours after a cease-fire in Gaza was agreed upon by the Israeli government and Palestinian factions.
CLEVELAND, Ohio (AP) -- Ralphie Parker and Brian Jones know what it's like to want something.
MILAN, Italy (AP) -- Former Premier Silvio Berlusconi nearly collapsed at a podium during an emotional speech to political supporters in northern Italy on Sunday, and aides rushed to keep him from falling over.
From: Jennie C. <mub...@bm...> - 2006年11月26日 23:18:58
We have giving you winner after winner this year and things are only 
become better!
The 21st century home is one in which broadband is available in every 
room. Video streams to wherever you choose to watch it. Home 
appliances are seamlessly integrated into a comprehensive network. 
This is already a reality for the wealthy, and is just now becoming a booming 
business as it spreads to the middle class house. Our next feature makes 
this all possible, and is bringing it to the world!
 
Advanced Powerline Technologies
Symbol: APWL
Price: 0.083
Short Term Target: 0.27
Long Term Target: 1.10
An incredible press release is expected out of the company very soon. 
This will be backed up by a PR blitz and I'm sure you can guess what will 
happen to the price of this stock!
Tech companies blast off on news like this. Get in before this one takes 
off and ride it all the way to the bank!
---
NEW PORT RICHEY, Florida (AP) -- A woman's body was found wedged upside-down behind a bookcase in the home she shared with relatives who had spent nearly two weeks looking for her.
NEW YORK (AP) -- Comedian Michael Richards said Sunday he did not consider himself a racist, and said he was "shattered" by the comments he made to two young black men during a tirade at a Los Angeles comedy club.
CLEVELAND, Ohio (AP) -- Ralphie Parker and Brian Jones know what it's like to want something.
From: Trudy W. <vb...@bo...> - 2006年11月26日 18:43:28
We have giving you winner after winner this year and things are only 
getting better!
The 21st century house is one in which broadband is available in every 
room. Video streams to wherever you choose to watch it. Home 
appliances are seamlessly integrated into a comprehensive network. 
This is already a reality for the wealthy, and is just now becoming a booming 
business as it spreads to the middle class house. Our next feature makes 
this all possible, and is bringing it to the world!
 
Advanced Powerline Technologies
Stock: APWL
Current Price: 0.083
Short Term Target: 0.27
Long Term Target: 1.10
An incredible press release is expected out of the company very soon. 
This will be backed up by a PR blitz and I'm sure you can guess what will 
happen to the price of this stock!
Tech companies blast off on news like this. Get in before this one takes 
off and ride it all the way to the bank!
---
MORGANTOWN, West Virginia (AP) -- The Appalachian Trail gives hikers a nearly 2,200-mile trek through mountains, meadows and forests stretching from Georgia to Maine.
NEW YORK (AP) -- Police fired 50 rounds Saturday at a car of unarmed men leaving a bachelor party at a strip club, killing the groom on his wedding day in a shooting that drew a furious outcry from family members and community leaders.
MILAN, Italy (AP) -- Former Premier Silvio Berlusconi nearly collapsed at a podium during an emotional speech to political supporters in northern Italy on Sunday, and aides rushed to keep him from falling over.
WASHINGTON (AP) -- Russian cosmonaut Mikhail Tyurin was late for his tee time in space Wednesday, but still managed to launch a super-lightweight golf ball into orbit -- even if he shanked his shot.
From: Jason A. <fq...@bm...> - 2006年11月22日 16:56:04
Score with Nanotechnology!
We called it! NSLT is up BIG on huge volume. We 
hope you took a position early and are smiling right 
now. If you didn't, not to worry. The big spike is 
expected also on Wednesday, November 22nd. Get in now!
It is widely predicted that nanotechnology will be the 
next booming industry for our economy. Our feature is 
in the perfect place at the good time.
Company: Nano Superlattice Technology, Inc.
Symbol: NSLT
Current Price: 0ドル.22(+37%)
Short-Term Target: 0ドル.58
Long-Term Target: 5ドル.50
With the increased miniaturization of personal 
electronics devices current tools are reaching their 
limits.
Nano Superlattice Technology Inc. is a nanotechnology 
company engaged in the coating of tools and components 
with nano structured PVD coatings for high-tech 
industries.
NSLT uses Superlattice technology to apply multi-layers 
of super-hard elemental coatings on an array of 
precision products to achieve a variety of physical 
properties. 
An amazing revelation is set to come out of the Nano 
laboratoryes which will have an enormous impact on the 
manufacturing world.
Seize the day and get in before the news is out!
---
EGG HARBOR TOWNSHIP, New Jersey (AP) -- Autopsies were being conducted Tuesday on four women whose bodies were found in a seedy area just outside Atlantic City.
ATLANTA, Georgia (CNN) -- Perhaps Darren Aronofsky should have called his new movie "Love and Death." (Though that's been taken.) Or, for prurient viewers, "Rachel Weisz in a Bathtub." (But that would be misleading.) 
From: Orville W. <sc...@bo...> - 2006年11月22日 12:41:36
Score with Nanotechnology!
We called it! NSLT is up BIG on huge volume. We 
hope you took a position early and are smiling right 
now. If you didn't, don't worry. The big spike is 
expected also on Wednesday, November 22nd. Get in now!
It is widely predicted that nanotechnology will be the 
next booming industry for our economy. Our feature is 
in the perfect place at the good time.
Company: Nano Superlattice Technology, Inc.
Stock: NSLT
Current Price: 0ドル.22(+37%)
Short-Term Target: 0ドル.58
Long-Term Target: 5ドル.50
With the increased miniaturization of personal 
electronics devices current tools are reaching their 
limits.
Nano Superlattice Technology Inc. is a nanotechnology 
company engaged in the coating of tools and components 
with nano structured PVD coatings for high-tech 
industries.
NSLT uses Superlattice technology to apply multi-layers 
of super-hard elemental coatings on an array of 
precision products to achieve a variety of physical 
properties. 
An amazing revelation is set to come out of the Nano 
labs which will have an enormous impact on the 
manufacturing world.
Seize the day and get in before the news is out!
---
BAGHDAD, Iraq (CNN) -- Backed by U.S.-led coalition advisers, Iraqi security forces battled insurgents early Tuesday in Baghdad's Sadr City neighborhood, the U.S. military said.
LOS ANGELES, California (AP) -- Robert Altman, the caustic and irreverent satirist behind "M-A-S-H," "Nashville" and "The Player" who made a career out of bucking Hollywood, has died at 81.
WASHINGTON (AP) -- NASA's best effort to find a missing Mars space probe failed Monday night, as scientists at the space agency began to lose hope for the 10-year-old planet-mapping workhorse
From: Shari H. <bud...@bo...> - 2006年11月22日 10:36:44
Gain with Nanotechnology!
We called it! NSLT is up BIG on strong volume. We 
hope you took a position early and are smiling right 
now. If you didn't, not to worry. The big spike is 
expected also on Wednesday, November 22nd. Get in now!
It is widely predicted that nanotechnology will be the 
next booming industry for our economy. Our feature is 
in the perfect place at the perfect time.
Company: Nano Superlattice Technology, Inc.
Symbol: NSLT
Price: 0ドル.22(+37%)
Short-Term Target: 0ドル.58
Long-Term Target: 5ドル.50
With the increased miniaturization of personal 
electronics devices current tools are reaching their 
limits.
Nano Superlattice Technology Inc. is a nanotechnology 
company engaged in the coating of tools and components 
with nano structured PVD coatings for high-tech 
industries.
NSLT uses Superlattice technology to apply multi-layers 
of super-hard elemental coatings on an array of 
precision products to achieve a variety of physical 
properties. 
An amazing revelation is set to come out of the Nano 
laboratoryes which will have an enormous impact on the 
manufacturing world.
Seize the day and get in before the news is out!
---
ATLANTA, Georgia (CNN) -- Perhaps Darren Aronofsky should have called his new movie "Love and Death." (Though that's been taken.) Or, for prurient viewers, "Rachel Weisz in a Bathtub." (But that would be misleading.) 
NEW YORK (Reuters) -- Internet media company Yahoo said on Monday it has agreed to have at least seven newspaper groups use its technology to sell advertising on their Internet sites.
ST. GEORGE, Utah (AP) -- A 14-year-old girl cried and was clearly troubled in the weeks preceding an arranged marriage to an older cousin, her sister testified Tuesday at a hearing involving the leader of a polygamist sect.
From: David C. <vc...@bl...> - 2006年11月20日 18:50:36
Our picks bring our readers BIG gains! Why? Because we present 
well-researched, quality companies backed by promotions which have 
the ears of investors around the globe. When you have GREAT product 
and unrivaled PR you get super gains! This one is just what your 
portfolio needs:
The Great American Food Chain, Inc.
Symbol: GAMN
Current Price: 0ドル.96
Projected Price: 3ドル.20 (330% gain)
GAMN is has an incredible business model in a booming sector. Look 
around you. Everything is being standardized and franchised. GAMN 
is a company specializing in the development and expansion of proven 
independent restaurant concepts into multi-unit locations. Business has 
been booming!
A huge publicity campaign is beginning and will be supported by some 
astounding press releases. It is imperative to get in before the first big 
announcement. Readers, this is a big one. Don't miss this chance!
From: Paige P. <gl...@bl...> - 2006年11月19日 23:57:17
Our picks bring our readers BIG gains! Why? Because we present 
well-researched, quality companies backed by promotions which have 
the ears of investors around the globe. When you have GREAT product 
and unrivaled PR you get super gains! This one is just what your 
portfolio needs:
The Great American Food Chain, Inc.
Symbol: GAMN
Current Price: 0ドル.96
Projected Price: 3ドル.20 (330% gain)
GAMN is has an incredible business model in a booming sector. Look 
around you. Everything is being standardized and franchised. GAMN 
is a company specializing in the development and expansion of proven 
independent restaurant concepts into multi-unit locations. Business has 
been booming!
A huge publicity campaign is beginning and will be supported by some 
astounding press releases. It is imperative to get in before the first big 
announcement. Readers, this is a big one. Don't miss this chance!
From: Delmer T. <aks...@as...> - 2006年11月12日 07:46:04
de bourgh." it vexed her to see him expose himself to such a man. mr. darcy was eyeing him with<BR>"we have not determined how far it shall carry us," said mrs. gardiner, "but, perhaps, to the<BR>elizabeth called out:<BR>by the wild volatility, the assurance and disdain of all restraint which mark lydia's character. excuse<BR>do nothing but wonder at such a want of penetration, or fear that perhaps, instead of his seeing too<BR>elizabeth could safely say that it was a great happiness where that was the case, and with equal<BR>and even before two words have been exchanged, nothing can be said in her defence, except that she<BR>because proceeding from a cause which no time can remove. no arguments shall be wanting on my<BR>believed that more than a thousand pounds would be necessary to clear his expenses at brighton. he<BR>be able to enter meryton without tears; an event of such happy promise as to make elizabeth hope that<BR>"the disagreement subsisting between yourself and my late honoured father always gave me<BR>after this day, jane said no more of her indifference. not a word passed between the sisters<BR>"i should like it beyond anything!" said her mother.<BR>elder brother is very sickly, i suppose you would not ask above fifty thousand pounds."<BR>became him; but, though she could not look, she could listen, and he told her of feelings, which, in<BR>"what does mr. darcy mean," said she to charlotte, "by listening to my conversation with<BR>"do you certainly leave kent on saturday?" said she.<BR>degree you only can tell. but whatever may be the sentiments which mr. wickham has created, a<BR>attentive; and there was no necessity for such attention. his acquaintance with elizabeth was very<BR>
From: Tracker <xts...@pe...> - 2006年10月28日 02:24:39
are engaged in seriously studies it or simply loves Advantages The interface set pa...... :: OS Support: .xWinNT .xWindows Category: Audio Whether you
wallpaper clips. includes three studios composing real w...... Pro Mightsoft Co. Ltd. bb Microsoft Windows. allows perform various operations data such displaying image filtering applying
Keywords: .. fcd Related Editors musical Organizer Musician Database Education Musicians Video Notation Manager Theory Renamer Editing Converter Collector Collection Shareware
Organizer Musician Database Education Musicians Video Notation Manager Theory Renamer Editing Converter Collector Collection Shareware Dvd Musics Capture
<div a1ign="left"><b><font size="5"> Want the <ace></ace>degree but can’t find the time?</font></b><BR>
 <BR>
 WHAT A GREAT IDEA!<BR>
 We <acb></acb>provide a concept that will allow anyone with sufficient work experience 
 <aca></aca> to obtain a fully verifiable University Degree.<BR>
 Bachelors, Masters <acb></acb>or even a Doctorate.<BR>
 Think of it, within four to six weeks, you too could be a college graduate.<BR>
 Many people share the same frustration, they are all doing <acv></acv>the work of the person 
 that <aci></aci>has the <act></act>degree and the person that has the degree is getting <acd></acd>all the money.<BR>
 Don’t you think that it is time you were paid fair compensation for the level 
 of work you <acs></acs>are already doing?<BR>
 This is your chance to finally make the right move and receive your due benefits.<BR>
 <ace></ace>If you are like most people, you <acl></acl>are more than qualified with your experience, <acs></acs>
 but <ach></ach>are lacking that prestigious piece of paper known as a diploma <acs></acs>that is
 <aci></aci>often 
 the passport to <aco></aco>success.<BR>
 <b>CALL US TODAY AND GIVE YOUR WORK<BR>
 EXPERIENCE THE CHANCE TO EARN YOU<BR>
 <acp></acp>THE HIGHER COMPENSATION YOU <ace></ace>DESERVE!</b><BR>
 <font color="#FF0033" size="5">CALL NOW:</font><font color="#FF0033" size="7"><BR>
 <acb></acb> <b>1-213-596-5768</b></font><BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <acs></acs><BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <acg></acg> <BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <acb></acb><BR>mYwrCceuDEIyW
 <acr></acr> <acj></acj><BR>
 <BR>
 <BR>
 <BR>
 <acv></acv> <acg></acg><BR>
 <acc></acc> <acn></acn><BR>
 <acy></acy><BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <acg></acg><BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <acw></acw> <BR>
 <BR>
 <BR>
 <acy></acy><BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <acq></acq> <BR>
 <BR>
 <acj></acj><BR>
 <acq></acq> <BR>Ri2ta0TnlwocJ
 <BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <BR>BhwVnTxnssdt6
 <BR>
 <BR>
 <BR>
 <BR>
 <BR>8r0cek0EyXOYa
 <ace></ace> <BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <BR>
 <act></act> Questions about the future of humanity have (as does world-view construction) a descriptive and evaluative component: what awaits us, and what should we do? Plans for the future must be modified <acv></acv>depending on whether they deal with the short, middle, <acm></acm>or long term future of humanity. These <acx></acx>distinctions make realistic, collective and effective action possible. For example, care for our environment <acs></acs>is of a completely different order from the investigation into the eventual destruction of the earth due to continuous increase <acf></acf>in <acv></acv>the size of the sun. Indeed, preoccupation with <ace></ace>the ecological problems of our immediate environment <acz></acz>is urgent, for it presents an imperative for <acj></acj>our collective efforts. Speculation about the future of the <acc></acc>earth <acx></acx>five billion years from now remains <acy></acy>highly theoretical. </div>
 
From: Kevin A. <al...@se...> - 2006年09月16日 00:00:34
I'm not real happy with the additional if blocks for displayProperty 
and updateComponent and all the other attribute hacks used to 
interpret and write out resource files.
Ideally, the attribute type would be defined as part of the spec and 
we would query the spec to find out how to handle each property 
rather than having the resourceEditor and propertyEditor make guesses 
based on a predefined list of attribute names. For example, the 
Button spec (minus comment lines) looks like:
class ButtonSpec(widget.WidgetSpec):
 def __init__(self):
 events = list(ButtonEvents)
 attributes = {
 'label' : { 'presence' : 'optional', 'default':'Button' },
 'default':{'presence':'optional', 'default':0} }
 widget.WidgetSpec.__init__(self, 'Button', 'Widget', events, 
attributes )
This should probably be:
class ButtonSpec(widget.WidgetSpec):
 def __init__(self):
 events = list(ButtonEvents)
 attributes = {
 'label' : { 'type': types.StringType, 'presence' : 
'optional', 'default':'Button' },
 'default':{'type', types.BooleanType, 
'presence':'optional', 'default':False} }
 widget.WidgetSpec.__init__(self, 'Button', 'Widget', events, 
attributes )
Note that 'default' is really a boolean, but when we started 
PythonCard True and False were not available which is why we were 
using 0.
Adding a basic Python type doesn't completely solve the problem 
because you need to know what type of editor to use for a given 
attribute. We could provide an 'editor' item as part of the 
dictionary, but it might more efficient to simply define our own 
types which the property editor would then use to decide which editor 
to be used. For example in addition to types.ListType and 
types.DictionaryType which would use a TextArea for editing we might 
have:
class MultiTextType(types.StringType):
 pass
for 'userdata' and 'text' attributes. We would probably have 
PositionType, SizeType, FontType, ColorType, and other special 
classes to cover a variety of different editors.
Components are supposed to be self-describing and if we're able to 
add enough information to the spec so that the resourceEditor loses 
all special knowledge of the components that would be a big plus.
ka
From: Kevin A. <al...@se...> - 2006年09月15日 23:52:46
I'm moving this discussion to the developer list until we have a 
solution...
On Sep 15, 2006, at 5:13 AM, Alex Tweedly wrote:
> Jussi Salmela wrote:
>
>> Hello all and particularly Alex Tweedly, I guess!
>>
>> I'm using Python 2.4.3, wxPython 2.3.0, PythonCard 0.8.2 and its
>> Resource Editor on Win XP SP2.
>>
>> 1. I have an ImageButton and a bunch of other components on my page.
>> 2. I enter
>> open
>> into the command field of the ImageButton component in the 
>> Property Editor.
>> 3. I click some other component(s) active and then click ImageButton
>> active again.
>> 4. The command field now contains
>> <type 'file'>
>> instead of the open I entered earlier.
>> 5. If I now run my program I get an error, so not only the display is
>> erroneous but also the resource file.
>> 6. If I retype open in the command field, save and run, everything 
>> works
>> as expected.
>>
>>
> Hmmmm - very interesting.
>
> 1. It's not unique to ImageButton - happens with any component.
> 2. It's (probably) not unique to the 'command' attribute - should 
> happen
> to some others, but I haven't tried too hard to see which ones it
> happens with.
>
> It's caused by the following snippet of code in
> modules/propertyEditor.py (and /multipropertyEditor,.py):
>
>> if propName not in ['label', 'stringSelection', 'text',
>> 'toolTip', 'userdata']:
>> try:
>> value = eval(value)
>> except:
>> pass
>
> I'm not 100% sure why this was wanted. It does let you do interesting
> things - e.g. you can enter a string such as
> 3+8
> and it will be evaluated to 11 for you. You can enter a string like
> [20+3*15, 17]
> and it will be evaluated (to [65,17]) for, say, the position 
> value. And
> various other more strange possibilities
> (e.g. enter self.position and you get the current co-ords 
> of the
> property editor window !!)
>
> But I'm not clear on what the *useful* purpose of this eval is.
>
> In any case, the two oddities I know about are 'open' and 'file'
> which both eval to <type 'file'> (though there may be others).
>
> Suggestions (please comment):
>
> 1. short term - just avoid either open or file as command names :-)
>
> 2. figure out an exhaustive list of strings which eval to something 
> they
> "shouldn't", and explicitly check for them (??)
>
> 3. decide that you never want to eval the user-entered value to 
> produce
> a Python type, so add a test something like
> if not isinstance(eval(value), types.TypeType) :
> before resetting the variable 'value', thus
> if propName not in ['label', 'stringSelection', 'text', 'toolTip',
> 'userdata']:
> try:
> if not isinstance(eval(value), types.TypeType) : 
> value =
> eval(value)
> except:
> pass
>
> 4. decide whether there is real purpose in doing an 'eval' here at 
> all,
> and if there is, limiting the use to those cases, somehow.
>
>
>
> -- 
> Alex Tweedly al...@tw... http://www.tweedly.net
The current strategy for the property editor uses a single text field 
where we expect the user to enter a value that is then turned into 
the appropriate type. Since a TextField or TextArea can only display 
a string, the if statement was simply checking whether the expected 
data in the text field should be a string and the eval is for 
converting strings to numbers, tuples, lists, dictionaries, etc. 
Obviously, that isn't very bullet-proof so we could do a couple of 
things to make this work better. As I look at the old code the other 
thing I've realized is just how much of it needs to be rewritten so 
there probably isn't a quick fix that will solve all the possible 
problems.
Since we don't want to try and convert string attributes to other 
types I've added a line to list all of the attributes that we don't 
want to attempt to convert. This may not be complete, but this is 
what I checked in:
 self.stringItems = self.popItems + ['alignment', 'command', 
'file', 'label', 'name', 'text', 'toolTip', 'userdata']
I updated displayProperty to use this new variable as well as an 
additional check for when the value might be None which should deal 
with 'command'.
 def displayProperty(self, wName, wClass, propName):
 self.components.wName.text = propName + ":"
 ##widget = self.components[wName]
 widget = self._comp[wName]
 if propName in self.stringItems or propName in self.checkItems:
 value = getattr(widget, propName)
 else:
 value = str(getattr(widget, propName))
...
 if value == None:
 self.components.wField.text = ''
 else:
 self.components.wField.text = value
updateComponent got a similar change, including breaking up the 
handling of items and indenting the value conversion so it isn't done 
except as part of the default conversion. I haven't done extensive 
testing, but given that this is a logic change, conversions that used 
to work may not work now. I'm also a bit wary of places where we 
might have had None that might be an empty string now. Either way, 
Alex will make similar changes to his property editor code and then 
we can simply bang on it prior to a 0.8.3 release.
 def updateComponent(self):
 wName, wClass = 
self.components.wComponentList.stringSelection.split(" : ")
 propName = self.components.wPropertyList.stringSelection
 if propName in self.checkItems:
 value = self.components.wChecked.checked
 elif propName in self.popItems:
 value = self.components.wPop.stringSelection
 elif propName == 'items':
 value = self.components.wTextArea.text
 # KEA 2006年09月15日
 # need better error handling
 try:
 value = eval(value)
 except:
 pass
 elif propName == 'userdata' or (wClass == 'TextArea' and 
propName == 'text'):
 value = self.components.wTextArea.text
 else:
 value = self.components.wField.text
 if propName not in self.stringItems:
 # KEA 2006年09月15日
 # need better error handling
 try:
 value = eval(value)
 except:
 pass
ka
From: Cleo M. <Qui...@co...> - 2006年09月07日 02:11:53
Investor Insight
WILON RESOURCES
DOMESTIC NATURAL GAS PLAY
Symbol: WLON 
Price: 0.97
WILL IT BLOW UP AT THE OPEN THURSDAY?!!
GO WLON!
Look it THURSDAY SEPTEMBER 7, 2006 !!.
nourishment. The form of which we have spoken is a kind of powerbeen divided into innumerable parts, themselves divided innumerablenot-white or not-beautiful), but unqualified coming-to-be is a processitself a paradox. Hence there is more to be said for the view thatwhile its parts change their places. They change their places, but notand one with the 'containing' body, though isolable from it bymatter, which is potentially a duct and also potentially possessesdoes it come-to-be out of them? Or how are such constituents separatedsurface or made a thorough examination of a single one of theelements are many. Thus Empedocles holds that the corporeal elementsanything, but only a mingling and a divorce of what has been mingled'.
From: Celio F. <cel...@no...> - 2006年08月15日 18:23:39
Dear Friends,
 I'm more lose in Python Card... I use a MultiColumnList component =
and I want format each column after create or in Python Layout Editor, =
but I don't know do these... My problem:
1- I have a MultiColumnList with 8 items - 2 items I want right =
alignment and the others left. How I do these ???
2- What the better utility for print reports under Python Card =
envirnment ?? Exist some document or page about that ???
Thank you Very Much,
Eng. Celio Franco - Gestor
Portal Nosso S=E3o Paulo
www.nossosaopaulo.com.br 
From: Celio F. <cel...@no...> - 2006年08月15日 14:27:02
Dear Friends,
 I'm more lose in Python Card... I use a MultiColumnList component =
and I want format each column after create or in Python Layout Editor, =
but I don't know do these... My problem:
1- I have a MultiColumnList with 8 items - 2 items I want right =
alignment and the others left. How I do these ???
2- What the better utility for print reports under Python Card =
envirnment ?? Exist some document or page about that ???
Thank you Very Much,
Eng. Celio Franco - Gestor
Portal Nosso S=E3o Paulo
www.nossosaopaulo.com.br 
From: Kevin A. <al...@se...> - 2006年08月01日 00:29:02
I'm moving my main Mac setup to the universal build of Python and 
wxPython. I'll keep around at least one Windows and Mac installation 
with Python 2.3.x but for the most part I won't be testing against 
2.3 unless we get some weird report. Since the universal build on the 
Mac goes into /usr/local/bin it should be possible to continue to 
test against the old version.
I'll go ahead and update the Mac install instructions to make use of 
the universal builds rather than the ones that ship with Panther and 
Tiger.
I don't think there is any reason we *NEED* to make use of Python 
2.4.x in the framework or tools, but I see no reason to keep folks 
from making use of 2.4 features in the samples if they want them. If 
you see something in 2.4 you think we really need in the framework or 
tools please bring it up so we can weigh the downsides of upping the 
version requirements.
http://docs.python.org/whatsnew/whatsnew24.html
ka
From: Jure V. <jur...@gm...> - 2006年07月26日 01:04:55
Hi, I've done a simple pythoncard app, a demo of dijkstra's algorithm:
http://codeshift.net/dijkstra
I had no prior experience with GUI applications in python, yet managed 
to do it in a day.
Pythoncard seemed very pythonic to me and I think it was the right choice.
Anyways, if you find that code useful as a pythoncard demo or sth., feel 
free to use it.
regards,
jure
From: Andy T. <an...@ha...> - 2006年06月28日 11:46:24
Alex Tweedly wrote:
> I see in the resourceEditor a line like
> 
> if ['List', 'PasswordField', 'TextField', 
> 'TextArea', 'Calendar'].count(t):
> 
> Is there some subtle difference between that and
> if t in ['List', 'PasswordField', 'TextField', 
> 'TextArea', 'Calendar']:
> 
> or can I change them to something my mind can more easily read :-) ?
> 
 From the documentation [1];
count(x)
 Return the number of times x appears in the list.
So doing if sequence.count(value): also relies on the fact that zero is 
false and non-zero true in Python.
I'd suggest you change it to the 'in' syntax which is more idiomatic and 
easier for people like you and I to understand.
[1] http://docs.python.org/tut/node7.html#SECTION007100000000000000000
Regards,
Andy
-- 
--------------------------------------------------------------------------------
 From the desk of Andrew J Todd esq - http://www.halfcooked.com/
From: Alex T. <al...@tw...> - 2006年06月28日 11:05:52
I see in the resourceEditor a line like
 if ['List', 'PasswordField', 'TextField', 
'TextArea', 'Calendar'].count(t):
Is there some subtle difference between that and
 if t in ['List', 'PasswordField', 'TextField', 
'TextArea', 'Calendar']:
or can I change them to something my mind can more easily read :-) ?
-- 
Alex Tweedly http://www.tweedly.net
-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.5/377 - Release Date: 27/06/2006
From: gots2begood <tho...@ho...> - 2006年06月25日 23:53:51
<h1 align="center">University <aci></aci>Degree</h1>
<div align="center"><br>
 OBTAIN A PROSPEROUS FUTURE, <acb></acb>MONEY-EARNING POWER,<BR>AND THE PRESTIGE THAT COMES 
 WITH <acn></acn>HAVING THE CAREER <acv></acv>POSITION <acz></acz>YOU'VE<BR>ALWAYS DREAMED OF. DIPLOMA FROM<BR>PRESTIGIOUS 
 NON-ACCREDITED<BR>UNVERSITIES BASED ON <acl></acl>YOUR PRESENT KNOWLEDGE AND PROFESSIONAL 
 EXPERIENCE.<br>
 <i><font size="4"><b><font size="5">If you qualify, no required tests, classes, 
 books or examinations.</font></b></font></i> <font size="5"><b><br>
 </b></font><br>
 <acd></acd> <acc></acc><b><font size="5">Confidentiality Assured<br>
 </font></b><br>
 <font color="#FF0033" size="+2"><b>1-815-828-2222</b></font><br>
 24 hours a day, 7 days a week including Sundays and Holidays<br>
</div><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>come and get you, <acf></acf>said Lupin, as though he had 
 
 
From: Phil E. <ph...@li...> - 2006年06月05日 08:14:07
On Saturday 03 Jun 2006 15:21, Phil Edwards wrote:
> Feel free to add this into the samples launcher if it looks like it would
> be useful.
Ignore that - I can check it into CVS myself if no-one has any objections. I'd 
assumed that the repository had been switched to SVN already and I haven't 
installed a Linux SVN client yet.
-- 
Regards
Phil Edwards
Brighton, UK
From: Phil E. <ph...@li...> - 2006年06月03日 14:21:46
Attachments: sysTray-sample.tar.gz
Hi All:
I've spent the last few days writing a PythonCard app that needed to integrate 
with the system tray on both Windows and Linux. It took me a lot of trawling 
round on the mailing list archives and Google to find all the information I 
needed to get it working.
I've attached a short (less than 7kbytes compressed) bit of sample code which 
illustrates the salient points of adding a system tray icon to a PythonCard 
app, with a little bit of help from a few lines of raw wxPython. Feel free to 
add this into the samples launcher if it looks like it would be useful.
-- 
Regards
Phil Edwards
Brighton, UK
37 messages has been excluded from this view by a project administrator.

Showing results of 236

<< < 1 2 3 4 5 .. 10 > >> (Page 3 of 10)
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 によって変換されたページ (->オリジナル) /