Re: [Tutor] easygui question, again

2007-06-11 Thread Alan Gauld
"Rafael Bejarano" <[EMAIL PROTECTED]> wrote > that it would be a relatively simple matter to import the easygui > module and call its functions using the terminal window, especially > given that I have had success in the past importing other modules > and > calling their functions. I suspect th

Re: [Tutor] easygui question, again

2007-06-11 Thread Alan Gauld
"Rafael Bejarano" <[EMAIL PROTECTED]> wrote > As I understand it from the description of this list, that is > exactly > its purpose--to help people who no relatively little python. That's true, but usually the folks asking questions are fairly expert at using their computers so they are familiar

Re: [Tutor] easygui question, again

2007-06-11 Thread Thorsten Kampe
* Rafael Bejarano (Sun, 10 Jun 2007 20:49:40 -0500) > As I understand it from the description of this list, that is exactly > its purpose--to help people who no relatively little python. That's correct. But your problem (or the solution to your problem) is more related to _Operating System_ bas

Re: [Tutor] looking for some general advice

2007-06-11 Thread Michael Klier
Alan Gauld wrote: > I'm not surecwhy but your messages are coming through to me > as text attachments which makes quoting them tricky... Hmmm, I did a group reply in mutt the last time, lets see if a direct reply and manuall CC: works right. > > Also, what would be the right exception to raise i

Re: [Tutor] easygui question, again

2007-06-11 Thread Kent Johnson
Alan Gauld wrote: > "Rafael Bejarano" <[EMAIL PROTECTED]> wrote > >> that it would be a relatively simple matter to import the easygui >> module and call its functions using the terminal window, especially >> given that I have had success in the past importing other modules >> and >> calling thei

[Tutor] Ipython and refreshing changed modules

2007-06-11 Thread Andy Cheesman
Dear People Silly question, I'm using Ipython and importing python modules which I've written. After a code modification, is there an easy, quick way to refresh changed modules? I've googled for the solutions but the answers does not seem clear! Andy _

Re: [Tutor] Ipython and refreshing changed modules

2007-06-11 Thread Alan Gauld
"Andy Cheesman" <[EMAIL PROTECTED]> wrote > I've written. After a code modification, is there an easy, quick way > to > refresh changed modules? Look at the reload() function. Alan G ___ Tutor maillist - Tutor@python.org http://mail.python.org/m

Re: [Tutor] Ipython and refreshing changed modules

2007-06-11 Thread Thorsten Kampe
* Alan Gauld (Mon, 11 Jun 2007 13:27:41 +0100) > "Andy Cheesman" <[EMAIL PROTECTED]> wrote > > > I've written. After a code modification, is there an easy, quick way > > to > > refresh changed modules? > > Look at the reload() function. ...and the deep reload option (which is the primary functi

Re: [Tutor] Correct use of range function..

2007-06-11 Thread adam urbas
I see... Very Intriguing.> To: tutor@python.org> From: [EMAIL PROTECTED]> Date: Sun, 10 Jun 2007 18:16:00 +0100> Subject: Re: [Tutor] Correct use of range function..> > > "Adam Urbas" <[EMAIL PROTECTED]> wrote> >I discovered something about your revers word program here. I used> > the "for c in

Re: [Tutor] Off-Topic - Mutt and mailing lists

2007-06-11 Thread Simon Hooper
Hi Michael, * On 11/06/07, Michael Klier wrote: > Alan Gauld wrote: > > I'm not surecwhy but your messages are coming through to me > > as text attachments which makes quoting them tricky... > > Hmmm, I did a group reply in mutt the last time, lets see if a direct > reply and manuall CC: works r

Re: [Tutor] easygui question, again

2007-06-11 Thread Adam Urbas
Where did you get this easygui thing you are trying to install. Is it the thing that says Compiled Python File? If so I have it. I've kinda been following your little chat here about it. I want to see if I could do it. On 6/11/07, Kent Johnson <[EMAIL PROTECTED]> wrote: > Alan Gauld wrote: > >

Re: [Tutor] easygui question, again

2007-06-11 Thread Kent Johnson
Adam Urbas wrote: > Where did you get this easygui thing you are trying to install. Is it > the thing that says Compiled Python File? If so I have it. I've > kinda been following your little chat here about it. I want to see if > I could do it. Google 'python easygui' You probably want the .p

Re: [Tutor] Off-Topic - Mutt and mailing lists

2007-06-11 Thread Michael Klier
Simon Hooper wrote: > Hi Michael, > > * On 11/06/07, Michael Klier wrote: > > Alan Gauld wrote: > > > I'm not surecwhy but your messages are coming through to me > > > as text attachments which makes quoting them tricky... > > > > Hmmm, I did a group reply in mutt the last time, lets see if a di

[Tutor] Python IDE

2007-06-11 Thread scott
Hi, I have been using Kdevelop so far to develop and a few bugs it inherits from Kate/Kwrite are really annoying me. It does not collapse quotes properly and there are other graphical glitches as well. Could someone suggest a few good IDE's for me to look at. I would need a I

Re: [Tutor] Python IDE

2007-06-11 Thread shawn bright
you can use gedit with some plugins that make it pretty much like an ide, and its really fast. another really cool one is JEdit. That is what i used before i switched to vim to do everything. runs on everything, has what you are looking for. Eclipse with PyDev is cool, too. But a little heavy for

Re: [Tutor] Python IDE

2007-06-11 Thread Gordon
Try Komodo Edit from ActiveState. It's free (as in beer), it's cross-platform, and it's pretty darn good. I haven't used it on Linux myself, but it does have a Linux download. If being closed-source bothers you, Eclipse+PyDev might be your best option. scott wrote: > Hi, > > I have been

Re: [Tutor] Python IDE

2007-06-11 Thread Alan Gauld
"scott" <[EMAIL PROTECTED]> wrote > Could someone suggest a few good IDE's for me to look at. If you want to standardise on one environment that is industrial strength and multi platform go for eclipse. its heavyweight but does it all. Not only is it open source IDE king but several commercial c

Re: [Tutor] Python IDE

2007-06-11 Thread Andreas Kostyrka
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alan Gauld wrote: > "scott" <[EMAIL PROTECTED]> wrote > >> Could someone suggest a few good IDE's for me to look at. > > If you want to standardise on one environment that is industrial > strength and multi platform go for eclipse. its heavyweight

Re: [Tutor] Python IDE

2007-06-11 Thread Rob Andrews
Personally, I use and love Komodo (the full version, although Komodo Edit is nice). I didn't *expect* to like it, but it won me over with ease. On 6/11/07, scott <[EMAIL PROTECTED]> wrote: >Could someone suggest a few good IDE's for me to look at. __

Re: [Tutor] Python IDE

2007-06-11 Thread Alan Gauld
"Andreas Kostyrka" <[EMAIL PROTECTED]> wrote in > Well, the Subversion support is painful. Dogslow. Eclipse is slow, > but > the svn plugin that I've seen my colleagues use was IMHO (a Linux > based > developer, emacs + commandline svk, who complains that svk is > painful > slow *g*) unuseable

Re: [Tutor] Python IDE

2007-06-11 Thread Alan Gauld
"Alan Gauld" <[EMAIL PROTECTED]> wrote > It supports Java and C++ out of the box but there are Actually C++ is a plug-in too, but free ones are available... Alan G. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tut

Re: [Tutor] Python IDE

2007-06-11 Thread johnf
On Monday 11 June 2007 13:01, scott wrote: > Hi, > > I have been using Kdevelop so far to develop and a few bugs it inherits > from Kate/Kwrite are really annoying me. It does not collapse quotes > properly and there are other graphical glitches as well. > > Could someone suggest a few

[Tutor] cannot pickle instancemethod objects

2007-06-11 Thread hok kakada
Dear everyone, I got a problem while pickling a class object. I have done something as below: pickleFile = open(filename, 'wb') pickle.dump(matcher, pickleFile) pickleFile.close() where matcher is class object and I got the follow errors: Traceback (most recent call last)

Re: [Tutor] Python IDE

2007-06-11 Thread Preecha Bundrikwong
Hi, I'm supporting John's opinion. WingIDE rocks!! I use Linux at work, Windows & Mac at home, I notice the Python editor on Windows also hints you the syntax as you type. Enjoy! PB ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman

[Tutor] clarification on os.path.walk

2007-06-11 Thread Chandrashekar
Hi, I have a program like this. import os,os.path import re def print_files(arg,dir,files): '''print 'arg', arg print 'dir', dir print 'files',files''' for file in files: path = os.path.join(dir,file) path = os.path.normcase(path) if re.search(r".*\.txt",p

Re: [Tutor] clarification on os.path.walk

2007-06-11 Thread Luke Paireepinart
Chandrashekar wrote: > Hi, > > I have a program like this. > > import os,os.path > import re > > def print_files(arg,dir,files): > '''print 'arg', arg > print 'dir', dir > print 'files',files''' > for file in files: > path = os.path.join(dir,file) > path = os.path.no