Re: Grail not downloading

2006-07-25 Thread SuperHik
Dustan wrote: > Does anybody know anything about Grail? I've been unable to get at > it, and I've tried on both Windows and Macintosh machines. > > http://grail.sourceforge.net/ > http://prdownloads.sourceforge.net/grail/grail-0.6.tgz?download -- http://mail.python.org/mailman/listinfo/python

saving settings

2006-05-29 Thread SuperHik
Hi, I was wondering how to make a single .exe file, say some kind od clock, and be able to save some settings (alarm for example) into the same file? Basically make code rewrite it self... thanks! -- http://mail.python.org/mailman/listinfo/python-list

Re: saving settings

2006-05-29 Thread SuperHik
aum wrote: > On Mon, 29 May 2006 09:05:36 +0200, SuperHik wrote: > >> Hi, >> >> I was wondering how to make a single .exe file, say some kind od clock, >> and be able to save some settings (alarm for example) into the same >> file? Basically make code rewrite

Re: saving settings

2006-05-29 Thread SuperHik
Diez B. Roggisch wrote: > SuperHik wrote: > >> aum wrote: >>> On Mon, 29 May 2006 09:05:36 +0200, SuperHik wrote: >>> >>>> Hi, >>>> >>>> I was wondering how to make a single .exe file, say some kind od clock, >>>>

Re: omniorbpy: problems sending float values

2006-05-29 Thread SuperHik
Juergen wrote: > hi, > > I've got a problem sending floating point values to an corba server. > With other datatyes like short or string it works fine. > > > So having this idl file : > > module Example{ > interface User{ > void setV( in float x ); > }; >

Re: saving settings

2006-05-30 Thread SuperHik
Diez B. Roggisch wrote: > Grant Edwards wrote: > > >> Documents and settings aren't quite the same thing, but it's a >> valid point. >> >>> Especially not the ones you wrote on that other machine. >>> >>> Seriously: Who is going to copy a executable around? >> I do. I copy putty.exe around all o

Re: shuffling elements of a list

2006-05-31 Thread SuperHik
greenflame wrote: > Zhang Fan wrote: >> On 30 May 2006 20:18:19 -0700, greenflame <[EMAIL PROTECTED]> wrote: >>> Second of all, I would like to have >>> other methods of shuffling, prefererably riffle shuffling and just >>> plain randomly arranging the elements of the list. >> The random module has

wx: PyNoAppError

2006-05-31 Thread SuperHik
Hi! Using XP SP2, PythonWin 2.4.3, any trying to use wx 2.6.3.2 When using wx, the first time I run a script it runs fine. Second time, it rasises an error: [Script]** import wx app = wx.App() win = wx.Frame(None, title="Simple Editor") win.Show() app.MainLoop() [

Re: wx: PyNoAppError

2006-05-31 Thread SuperHik
Scott David Daniels wrote: > SuperHik wrote: > > (1) A wxPython question. Better to ask on the wxPython newsgroup > (listed as comp.python.wxpython on gmane). I'm aware it's a wxPython question but I wasn't aware of the group you mentioned. Thank you! > &g

Re: ideas for programs?

2006-05-31 Thread SuperHik
I agree with Fred. So here is a "problem" I had and wanted to solve. I needed an Atomic clock (well, not the real one but the one that connects to NTP server and gets the exact time) in a window that stays always on top. While I was writing it I included alarm, and a stopwatch. Than I wrote a simpl

Re: Tkinter: select multiple entries in Listbox widget?

2006-06-02 Thread SuperHik
Rob Williscroft wrote: > Bernard Lebel wrote in news:mailman.6413.1149178158.27775.python- > [EMAIL PROTECTED] in comp.lang.python: > >> Hello, >> >> Is there an option or a way to allow the selection of multiple entries >> in the Listbox widget? I could not find any, and would like to allow >> th

Re: after del list , when I use it again, prompt 'not defined'.how could i delete its element,but not itself?

2006-06-02 Thread SuperHik
[EMAIL PROTECTED] wrote: > python wrote: >> after del list , when I use it again, prompt 'not defined'.how could i >> delete its element,but not itself? > > This is a way: a = range(10) del a[:] or simply a = [] a > [] a.append(20) a > [20] > > Bye, > bearophile > -- h

re beginner

2006-06-04 Thread SuperHik
hi all, I'm trying to understand regex for the first time, and it would be very helpful to get an example. I have an old(er) script with the following task - takes a string I copy-pasted and wich always has the same format: >>> print stuff Yellow hat 2 Blue shirt 1 White socks

Re: re beginner

2006-06-05 Thread SuperHik
WOW! Thanks for all the answers, even those not related to regular expressions tought me some stuff I wasn't aware of. I appreciate it very much. SuperHik wrote: > hi all, > > I'm trying to understand regex for the first time, and it would be very > helpful to get an exa

Re: newbie: python application on a web page

2006-06-07 Thread SuperHik
Max wrote: > puzz wrote: >> sorry about the missunderstanding... >> >> but my question is "how" and not "where" to put it online >> and that's where the "newbie" comes from >> >> P M > > If you just want to make it available for download, that's easy. If you > want to make it open source, you cou

Re: Most elegant way to generate 3-char sequence

2006-06-09 Thread SuperHik
and the winner is... :D David Isaac wrote: > alpha = string.lowercase > x=(a+b+c for a in alpha for b in alpha for c in alpha) -- http://mail.python.org/mailman/listinfo/python-list

Re: Most elegant way to generate 3-char sequence

2006-06-10 Thread SuperHik
James Stroud wrote: > SuperHik wrote: >> and the winner is... :D >> David Isaac wrote: >> >>> alpha = string.lowercase >>> x=(a+b+c for a in alpha for b in alpha for c in alpha) >> >> >> > > Not necessarily vying for winner, but Davi

Re: code folding, a unique problem to python?

2006-06-15 Thread SuperHik
BartlebyScrivener wrote: > Komodo code folds Python, Perl, PHP . . . also the free ActivePython's Pythonwin IDE -- http://mail.python.org/mailman/listinfo/python-list

Re: Popen3 on Windows

2006-06-17 Thread SuperHik
Dennis Lee Bieber wrote: > On Sat, 17 Jun 2006 11:46:29 -0600, Jeffrey Barish > <[EMAIL PROTECTED]> declaimed the following in comp.lang.python: > >> I start. Is there a way to do this on Windows? > > There is no safe, easy, way to reliably kill a program on Windows... > > Hmmm, there's o

Re: Standard Yes / No Windows Dialog box creation

2006-06-17 Thread SuperHik
Claudio Grondi wrote: > [EMAIL PROTECTED] wrote: >> I found a way to create "Open File" or "Open Folder" windows dialog >> boxes, but not to create an easier Yes / No dialog box... >> Maybe someone has a solution for this? I've never seen "easier" way to do it, but my solution for you if you want

2Qs

2006-06-24 Thread SuperHik
1st question: If a make an exe with i.e. py2exe, can I get any kind of error/bug report from the exe file saved into a file error.log and how? 2nd question: is there a better way to do this: def tritup(x,y,z): #here is a while loop giving 3 results, i.e. r1,r2,r3 return r1,r2,

Re: Beginner Programmer Question

2006-06-26 Thread SuperHik
[EMAIL PROTECTED] wrote: > I am doing alot of reading and trying to teach myself how to program. > I can not figure out how to make "Write a program that continually > reads in numbers from the user and adds them together until the sum > reaches 100." this work. If someone could show me the correct

Re: Beginner Programmer Question

2006-06-26 Thread SuperHik
Rune Strand wrote: >> I am doing alot of reading, and the problem didnt come with an answer. >> I dont understand how to get it to continually input numbers and add >> all those together > > Use while, raw_input, sys.argv[1] and int() and break the loop when the > sum is above 100. > > ;-) > I d

poplib Q

2006-07-06 Thread SuperHik
Hi! I want to connect to gmail but... It requires SSL so I worte: >>> import poplib >>> server = poplib.POP3_SSL('pop.gmail.com',995) Traceback (most recent call last): File "", line 1, in ? File "C:\Python24\lib\poplib.py", line 359, in __init__ self.sslobj = socket.ssl(self.sock, s

Re: poplib Q

2006-07-06 Thread SuperHik
Paul McGuire wrote: > "SuperHik" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> Hi! >> >> I want to connect to gmail but... >> It requires SSL so I worte: >> >> >>> import poplib >> >>>

Re: poplib Q

2006-07-07 Thread SuperHik
Neil Hodgson wrote: > SuperHik: > >> I did ofc, but I noticed something strange... >> *my* socket module really doesn't have SSL object, >> even tho it's listed in the documentation... >> (not the online docs, but docs that came with my Python version)

Re: rollover effect

2006-08-26 Thread SuperHik
groves wrote: > Simon Forman wrote: >> groves wrote: >>> Sorry, as I am new to python so couldn't understand what yu were >>> asking. >>> Now the problem is that i annot use pmw in my project..is thre anyother >>> alternative by which I can have a rollover mouse effect on the canvas. >>> thanks >>

Re: Learning Python

2006-08-26 Thread SuperHik
JAG CHAN wrote: > [EMAIL PROTECTED] wrote in > news:[EMAIL PROTECTED]: > >> JAG CHAN: >>> As I had written earlier, I am trying to learn Python. >>> I chose IDLE as an editor to learn Python. >>> Now I find that it is an online editor. >>> It is not possible for me to be always on online while le