Re: Harvestman install not working

2005-04-06 Thread StvB
Thanks Anand, (both for writing Harvest,  and for the reply.)
By the way, I did try that, so that the command is:

c:\python23\python.exe install.py py2exe -O2 --packages=encodings

And this time the dist folder was created, but there were only these files
in there:

library.zip
python23.dll
unicodedata.pyd
w9xpopen.exe
zlib.pyd
_sre.pyd

I'll keep trying though.



"Anand" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Hi
>
>Latest version of py2exe does not support the option
> --force-imports anymore I think. You can edit the .bat file to remove
> that option. It should work.
>
> -Anand
> 


-- 
http://mail.python.org/mailman/listinfo/python-list


Re: OS env for Windows

2005-02-13 Thread StvB
If Cary Grant's ghost was into Python and saw this good info, he'd say: 
"That's just ducky."
But he's probably not.

Ok Thanks Tony - I've always wanted to try out win32api module. Just what I 
need.

"Tony Meyer" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
>> Is there any other way
>> of distinguishing between XP and 2000 I wonder?
>
> WinXP SP2:
>
 import win32api
 major, minor, spack, platform, ver_str = win32api.GetVersionEx()
 print major, minor, spack, platform, ver_str
> 5 1 2600 2 Service Pack 2
>
> WinNT SP4:
>
 import win32api
 major, minor, spack, platform, ver_str = win32api.GetVersionEx()
 print major, minor, spack, platform, ver_str
> 5 0 2195 2 Service Pack 4
>
> =Tony.Meyer
> 


-- 
http://mail.python.org/mailman/listinfo/python-list


OS env for Windows

2005-02-13 Thread StvB
Hi, have wxHtmlWindow question here.

On my OnLinkClicked handler, I do the following:
---

def OnLinkClicked(self,linkinfo):
f = wx.TheMimeTypesManager.GetFileTypeFromExtension('.html')
if not f:
   return

try:
cmd = wx.FileType.GetOpenCommand(f,linkinfo.GetHref())
wx.Execute(cmd)
except:
wxMessageBox("Something unexpected 
happened","MyApp",wxOK|wxICON_INFORMATION )

---

If I'm on my Windows 2000 machine at work, when I attempt to execute the 
default browser action,
 with wx.Execute,  I first get a freeze on my app ( with the About box 
showing, where I have the html
window situated). And the browser is trying to open, but instead, after a 
long delay:

"dde execute request failed: a request for a synchronous execute transaction 
has timed out"


On my XP system at home, Firefox comes up fine, and very quickly.

Main question:
I tried to add an If condition, to test for the 'OS' env variable, but this 
won't work I realize,after
noticing that *both* 2000 and XP have the value: WINDOWS_NT.

Is there any other way
of distinguishing between XP and 2000 I wonder?

Steve 


-- 
http://mail.python.org/mailman/listinfo/python-list


Re: HAVE YOU HEARD THE GOOD NEWS!

2005-01-26 Thread StvB
I felt very evil after trying to figure out why my py program wouldn't work 
when I began a year ago:
I do Delphi at work, and at home I was missing the () after the functions. 
I was ready to sell my sou.. well nevermind.. it's all good now.

<[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Good News!
>
>
> Do you know how simple it is to go to Heaven after this life has ended?
>
>
> Some people believe that belonging to a local church, temple, mosque or
> synagogue will get them to Heaven.
>
>
> Others believe that water baptism, obeying the ten commandments or just
> being a good person will get them to Heaven.
>
>
> There are many other beliefs as well, but the good news about God's way
> to Heaven is found in the Holy Bible.
>
>
> The good news is that God came from Heaven to earth in the person of
> Jesus Christ over 2000 years ago and died for our sins(misdeeds). He
> was born in the land of Israel supernaturally to a virgin Jewish woman
> named Mary. He lived a sinless life for thirty-three years and then
> sacrificed His sinless blood and died on a cross to pay the death
> penalty for our sins. After Jesus was placed in a tomb He rose from the
> dead three days later as He said He would. The Holy Bible also tells us
> that Jesus Christ ascended into Heaven and that all who accept Him as
> their Lord and Saviour will live forever with Him in Heaven where there
> is no more death, sorrow, sickness and pain.
>
>
> The Bible says, "For the wages of sin is death, but the gift of God is
> eternal life through Christ Jesus our Lord." (Romans 6:23)
>
>
> This verse in the Bible says, "For ALL HAVE SINNED, and come short of
> the glory of God." (Romans 3:23)
>
>
> This verse says, "But God demonstrates his own love for us in this:
> While we were still sinners, Christ died for us." (Romans 5:8)
>
>
> In this passage the Bible clearly explains how simple it is to be saved
> and on your way to Heaven, "For if you confess with your mouth, "Jesus
> is Lord," and believe in your heart that God raised him from the dead,
> you WILL BE SAVED." (Romans 10:9)
>
>
> You can be saved right now and on your way to Heaven if you will open
> your heart to Jesus and pray the following prayer:
>
> Dear Jesus Christ, I want to be saved so that I can have a home in
> Heaven when I die. I agree with You that I am a sinner.
> I believe You love me and want to save me. I believe that You bled and
> died on the cross to pay the penalty for my sins. I believe that You
> rose from the dead. Please forgive my sins and come into my heart and
> be my Lord and Saviour. Thank You Lord Jesus Christ for forgiving me
> and saving me through Your merciful grace. Amen.
>
>
> You are now a Christian if you said the prayer and allowed God to save
> you. Welcome to the family of God.
>
>
> Salvation is not a reward but a gift. The Bible says it this way, "For
> it is by GRACE you have been SAVED, through FAITH and this not from
> yourselves, it is the GIFT of God." (Ephesians 2:8)
>
>
> Nothing in the world is more important than your eternal destiny.
>
>
> The Bible says, "In Him(Jesus) we have redemption through His blood,
> the forgiveness of sins..." (Ephesians 1:7)
>
>
> If you have not yet made a decision to be saved, please do so now
> before it is too late. The reason why it is so important to be saved
> now is because you do not know exactly when you will die. You may die
> prematurely in a traffic accident, terrorist attack or some other way
> before you get another chance to be saved.
>
>
> The Bible tells us that we will spend eternity in Heaven or a place of
> eternal torment called Hell. It would be terrible to die and go to Hell
> when all you have to do is accept Jesus Christ as your personal Lord
> and Saviour.
>
>
> Some people that have already made Jesus Christ their Lord and Saviour
> worry about losing their salvation. The Bible teaches Christians that
> we can never lose our salvation no matter what happens.
>
>
> The Bible says it this way, "My dear children, I write this to you so
> that you will not sin. But if anybody does sin, we have one who speaks
> to the Father in our defense Jesus Christ, the Righteous One."
>
>
> Yes my friend, Jesus Christ is able to save you and keep you saved.
>
>
> Please tell your family and friends, thanks!
>
>
> Have a great day!
> Internet Evangelist R.L. Grossi
>
>
>
>
>
> 1. http://www.biblegateway.com << Free Online Bible
> 2. http://www.free-hoster.com/goodnews << Passion of the Christ
> 3. http://www.carm.org/cults/cultlist.htm << Beware Of Cults
> 4. http://www.equip.org/free/DH198.htm << About Hell
> 5. http://www.powertochange.com/questions/qna2.html << Is Jesus God?
> 


-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python! Is! Truly! Amazing!

2005-01-02 Thread StvB
The way that Paul Graham sees Lisp:
 ()))yes!)
)
"Roy Smith" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> In article <[EMAIL PROTECTED]>,
> Ron Garret <[EMAIL PROTECTED]> wrote:
>
>> In article <[EMAIL PROTECTED]>,
>>  "Erik  Bethke" <[EMAIL PROTECTED]> wrote:
>>
>> >
>> > I have NEVER experienced this kind of programming joy.
>>
>> Just wait until you discover Lisp!
>>
>> ;-)
>>
>> rg
>
> Shouldn't that be ;-)) ? 


-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python! Is! Truly! Amazing!

2005-01-02 Thread StvB
you did this with pygame!!??
"Erik Bethke" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> somehow lost my j's:
>
> www.erikbethke.com/Python/screenshot02.jpg
> www.erikbethke.com/Python/screenshot03.jpg
> www.erikbethke.com/Python/screenshot04.jpg
> www.erikbethke.com/Python/screenshot05.jpg
> 


-- 
http://mail.python.org/mailman/listinfo/python-list