David da...@abbottdavid.com wrote
class GuessError(Exception): pass
class GuessedNumber:
def __init__(self,tries=None,limits=None):...
def generate(self, limits=None):...
def __cmp__(self, aNumber):
if self.count = self.tries: raise GuessError
Thanks always for the
Hi guys,
What would you regard as the best free Python editor to use on Windows
for a new guy? Searching Google i see that there is quite a few out
there and is VIM the best one to go with?
Regards
Eddie
___
Tutor maillist - Tutor@python.org
Le Sat, 13 Jun 2009 09:20:36 +0100,
Alan Gauld alan.ga...@btinternet.com s'exprima ainsi:
Any time you have a class that just has an __init__ it means
its not doing anything. And that's a bad sign. Classes are there
to *do* things not just store data. We can use a tuple or
dictionary to do
2009/6/13 Eddie eddie9...@gmail.com:
Hi guys,
What would you regard as the best free Python editor to use on Windows
for a new guy? Searching Google i see that there is quite a few out
there and is VIM the best one to go with?
Vim is a general purpose programmer's editor with python support,
Eddie eddie9...@gmail.com wrote:
Hi guys,
What would you regard as the best free Python editor to use on Windows
for a new guy? Searching Google i see that there is quite a few out
there and is VIM the best one to go with?
Regards
Eddie
This is such a common question on the python forums
For Windows check out PyScripter. Its IDE is similar to Borland Delphi and
I find it very easy to use. Whatever works for you would be best for
you. PyScripter is FREE and I would highly recommend it for people who are
new to Python or people with programming experience that are used to
spir denis.s...@free.fr wrote
Any time you have a class that just has an __init__ it means
its not doing anything. And that's a bad sign. Classes are there
to *do* things not just store data. We can use a tuple or
dictionary to do that.
While this is probably true for _single_ objects in
Tom Green xchime...@gmail.com wrote
For Windows check out PyScripter.
I just did, Wow!, this looks like a superb IDE.
Thanks for posting, its a new one for me although its been out for quite a
while.
And the P4D delphi plugin looks useful too.
Thanks again,
Alan G.
Alan Gauld alan.ga...@btinternet.com wrote
I just did, Wow!, this looks like a superb IDE.
I spoke a wee bit too soon. The editor is nice but the debugger
and some of the other tools windows (eg variables) are broken.
Pity, lots of potential here.
Alan G.
Alan,
I spoke a wee bit too soon. The editor is nice but the debugger and some of
the other tools windows (eg variables) are broken. Pity, lots of potential
here.
The current release of Pyscripter is not stable.
Drop back one release and you'll find a very solid product.
Malcolm
-Original Message-
From: pyt...@bdurham.com
Sent: Jun 13, 2009 10:16 AM
To: Alan Gauld alan.ga...@btinternet.com, tutor@python.org
Subject: Re: [Tutor] Best Python Editor
Alan,
I spoke a wee bit too soon. The editor is nice but the debugger and some of
the other tools windows (eg
Alan Gauld wrote:
David da...@abbottdavid.com wrote
class GuessError(Exception): pass
class GuessedNumber:
def __init__(self,tries=None,limits=None):...
def generate(self, limits=None):...
def __cmp__(self, aNumber):
if self.count = self.tries: raise GuessError
Thanks
The current release of Pyscripter is not stable. Drop back one release and
you'll find a very solid product.
Sounds interesting. What is the stable version and where can it be found?
Ken,
Here's the version we use:
Version 1.7.2, Oct 2006
http://mmm-experts.com/Downloads.aspx?ProductId=4
Ok, I think I am getting somewhere now :)
A lot better, now add the comparison methods:
class GuessedNumber:
def __init__(self, count=0, attempts=None):
self.attempts = attempts
self.number = randrange(1,99)
self.count = count
def step(self):
Hi All,
I have been using komodo from last two yrs.
Its really very good open source editor.
we can use this editor to edit python, php, Ruby, html
On Sat, Jun 13, 2009 at 9:52 PM, pyt...@bdurham.com wrote:
The current release of Pyscripter is not stable. Drop back one release and
Thanks for the input guys. I think I'll give PyScripter (the previous
version that was linked to) and Komodo a try and see which I like
best.
Eddie
2009/6/14 Ataulla S H atau...@gmail.com:
Hi All,
I have been using komodo from last two yrs.
Its really very good open source editor.
we
On Saturday 13 June 2009 04:44, Eddie wrote:
Hi guys,
What would you regard as the best free Python editor to use on Windows
for a new guy? Searching Google i see that there is quite a few out
there and is VIM the best one to go with?
Regards
Eddie
I've tried a lot of editors, and my
pyt...@bdurham.com wrote
The current release of Pyscripter is not stable.
Drop back one release and you'll find a very solid product.
Sounds interesting. What is the stable version and where can it be
found?
Here's the version we use:
Version 1.7.2, Oct 2006
Try out Vim. It may take you a week to get used to it. Best thing I ever did
was finally get started on Vim. Once I got used to it I was very happy.
Google around for Vim tutorials. There is a #VIM channel on freenode I
believe. There is also a VIM mailing list that is very helpful. You won't
need
On Sat, Jun 13, 2009 at 7:40 PM, Mike Hoy hoy...@gmail.com wrote:
Try out Vim. It may take you a week to get used to it. Best thing I ever
did was finally get started on Vim. Once I got used to it I was very happy.
Google around for Vim tutorials. There is a #VIM channel on freenode I
I really like using F5 to run my code, so you can put in your .vimrc so you
don't have to type it, or just type it every time:
map F5 :!python %Enter
and every time you hit F5 it will run your current script.
Thanks for that. It's even better than typing :!python % because it doesn't
I downloaded the previous version of PyScripter although couldn't get
it to work and after googling it, I downloaded Python Portable 1.1
(Python 2.6.1 as most sites/books recommend this and not 3) which has
PySCripter included and this then works fine.Ii also downloaded Komod0
5.1 and after
22 matches
Mail list logo