Wesley,
Don't be so modest - your "Core Python Programming" (by Wesley Chun) is
also a great book for those looking to learn Python.
Malcolm
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
On Wed, May 28, 2008 at 8:43 PM, Robert William Hanks
<[EMAIL PROTECTED]> wrote:
>
> Need ti find out whem a number o this form i**3+j**3+1 is acube.
> tryed a simple brute force code but, why this not work?
>
> def iscube(n):
> cubed_root = n**(1/3.0)
> if round(cubed_root)**3 == n:
>
Robert William Hanks wrote:
Need ti find out whem a number o this form i**3+j**3+1 is acube.
tryed a simple brute force code but, why this not work?
def iscube(n):
cubed_root = n**(1/3.0)
if round(cubed_root)**3 == n:
return True
else:
return False
for i in ran
Robert William Hanks wrote:
Need ti find out whem a number o this form i**3+j**3+1 is acube.
tryed a simple brute force code but, why this not work?
def iscube(n):
cubed_root = n**(1/3.0)
if round(cubed_root)**3 == n:
return True
else:
return False
for i in ran
On 29/05/2008, Robert William Hanks <[EMAIL PROTECTED]> wrote:
>
> Need ti find out whem a number o this form i**3+j**3+1 is acube.
> tryed a simple brute force code but, why this not work?
[deleted code]
Why doesn't this work? What problems are you having?
--
John.
__
Need ti find out whem a number o this form i**3+j**3+1 is acube.
tryed a simple brute force code but, why this not work?
def iscube(n):
cubed_root = n**(1/3.0)
if round(cubed_root)**3 == n:
return True
else:
return False
for i in range(1,1000):
for j in range
On Wed, May 28, 2008 at 6:30 PM, Alan Gauld <[EMAIL PROTECTED]> wrote:
> Mixins should be as independant
> as possible from any other classes. Unfortunately thats not
> always possible so you should try to create an abstract
> superclass/interface and use that in your mixins. You can then
> subcla
Thanks Alan. Well, it looks like I've worked it out as far as small
example programs go, hope I can get it working in my actual codebase
now.
On Wed, 2008-05-28 at 23:30 +0100, Alan Gauld wrote:
> > It seemed to me that the most natural way to implement mixins in
> > Python
> > is to use multiple
"chombee" <[EMAIL PROTECTED]> wrote
I'm writing an event-driven GUI framework. I have several
independent
units of functionality such as Draggable, Highlightable, etc.
Although
these units of functionality are independent of each other, they do
all
depend on a certain base implementation tha
At 01:40 PM 5/28/2008, bob gailer wrote:
Dick Moores wrote:
I've been using Ulipad, a free IDE mainly for Python, and written
in wxPython, for a couple of years, and think it's terrific.
Thanks - IUlipad has some nice features, but I'd miss the debugging
in PythonWin.
Hey, Ulipad has WinPdb
A bit OT, but still within the realm of beginning Python...
My co-worker whom has just started learning Python, bought this book in used
condition.
http://www.courseptr.com/ptr_detail.cfm?group=Programming&subcat=Other&isbn=978%2D1%2D59863%2D112%2D8
Unfortunately it came without the CD, and the p
I'm writing an event-driven GUI framework. I have several independent
units of functionality such as Draggable, Highlightable, etc. Although
these units of functionality are independent of each other, they do all
depend on a certain base implementation that they work with. I want
widget objects to
Dick Moores wrote:
I've been using Ulipad, a free IDE mainly for Python, and written in
wxPython, for a couple of years, and think it's terrific.
Thanks - IUlipad has some nice features, but I'd miss the debugging in
PythonWin.
--
Bob Gailer
919-636-4239 Chapel Hill, NC
___
Thanks... I have my-work-cut-out-for-me.
Michael
On May 28, 2008, at 3:50 PM, wesley chun wrote:
I have been wanting to learn a language for the last 10 years, I am
now
just getting around to it. I did some research on languages,
because I
decided if I was going learn one, I wanted to learn
> I have been wanting to learn a language for the last 10 years, I am now
> just getting around to it. I did some research on languages, because I
> decided if I was going learn one, I wanted to learn something that I could
> use for many different applications (web being one). Python seemed to of
Wesley,
I have been wanting to learn a language for the last 10 years, I am
now just getting around to it. I did some research on languages,
because I decided if I was going learn one, I wanted to learn
something that I could use for many different applications (web being
one). Python seem
On Wed, May 28, 2008 at 9:50 AM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Hello,
> I have been looking at using Beautifulsoup python module to make
> changes to some static html files a total of 167 files, but being a
> newb in programming was wondering first how to open, read/process the
> f
> > Where should I begin/go to learn how to create web apps using Python? I
> would like to create a dynamic "content managed" website and I have chosen
> Python as my language of choice. Can anybody show me, a Mac user, where I,
> a programming beginner, can find tutorials for using Python for
For those looking for the codec and not running Windows, you can find
it here for Mac OS X as well
http://www.techsmith.com/download/codecs.asp
On Wed, May 28, 2008 at 11:01 AM, Dick Moores <[EMAIL PROTECTED]> wrote:
> I've been using Ulipad, a free IDE mainly for Python, and written in
> wxPytho
"Michael yaV" <[EMAIL PROTECTED]> wrote
Where should I begin/go to learn how to create web apps using
Python? I would like to create a dynamic "content managed" website
and I have chosen Python as my language of choice. Can anybody show
me, a Mac user, where I, a programming beginner, can f
I've been using Ulipad, a free IDE mainly for Python, and written in
wxPython, for a couple of years, and think it's terrific. Now another
user, Kelie Feng, has made an 8-minute video showing it off. The
visual clarity of the video is remarkable. You can download it
(Introducing_Ulipad_2008-05-
Where should I begin/go to learn how to create web apps using Python?
I would like to create a dynamic "content managed" website and I have
chosen Python as my language of choice. Can anybody show me, a Mac
user, where I, a programming beginner, can find tutorials for using
Python for web a
Hello,
I have been looking at using Beautifulsoup python module to make
changes to some static html files a total of 167 files, but being a
newb in programming was wondering first how to open, read/process the
file, then write it, close it and then open the next file thus creating
the loop.
Ca
Hello,
(Sorry if this message gets double posted)
I have been looking at using Beautifulsoup python module to make
changes to some static html files a total of 167 files, but being a
newb in programming was wondering first how to open, read/process the
file, then write it, close it and then ope
I would recommend PyGame.org. While you'll have to learn to use the PyGame
library - there are alot of easy tutorials and open source projects.
/MJ
> Are there any simple python projects out there that have well documented
> code and are recommended for new users to read and modify ?
>
> I have
> > Or you could just try reading and playing with the samples
> > that come with Python. There are some simple code beautifier
> > scripts that could be easily enhanced and are not too hard.
> This looks very interesting to look at, on a windows installation of
> Python where would they be locate
26 matches
Mail list logo