On Sat, Jun 26, 2010 at 15:04, Marc Tompkins wrote:
> On Sat, Jun 26, 2010 at 2:30 PM, Richard D. Moores
> wrote:
>>
>> On Sat, Jun 26, 2010 at 13:39, Sithembewena Lloyd Dube
>> wrote:
>> > Hi Dick,
>> >
>> > In that case, perhaps you could externally back up all your important
>> > stuff
>> > a
On Sun, 27 Jun 2010 03:05:16 am Payal wrote:
> Thanks a lot for the quick answer. Still some doubts below.
>
> On Sat, Jun 26, 2010 at 11:07:17PM +1000, Steven D'Aprano wrote:
> > The old MRO (Method Resolution Order) is broken for classes using
> > multiple inheritance with a diamond shape inherit
I'm wondering how to allow one process to communicate with another
process. In other words, I want to connect two computers. I've looked up
socket but the explanations are too complex. I think I need a 2-way
conversation with a expert to understand it. Or even better, point me to a
easier module
On Sun, 27 Jun 2010 04:55:13 am Sithembewena Lloyd Dube wrote:
> Richard, I think you may go ahead without trepidation. I am not a
> Windows fan at all, I prefer Ubuntu. But I started using Win. 7 at
> work about a month ago, and I have to say it hasn't given me cause to
> grumble.
I don't think R
sorry, my reply to all button goofed up
On Sat, Jun 26, 2010 at 7:43 PM, Steven D'Aprano wrote:
> Hi Christopher,
>
> Are you aware you have written directly to me instead of the tutor
> mailing list? It's normally considered rude to do so, unless your
> message truly is meant to be private.
>
>
only new classes can have properties, a major tool
On Sat, Jun 26, 2010 at 8:17 AM, Payal wrote:
> Hi,
> Some questions about which I am a bit confused.
>
> 1. I know there is a difference between mro of classic and new style
> classes. but I do not get why we need the new mro, the old one is eas
Well the application of defining ones own error is in a module. For example,
if I make a banking account module, I might define a WithdrawError if there
is a place where a error might occur. That way if client code tries to
withdraw too much, you can have a very descriptive error making it easier t
Apol. For TP:
This is perfect - thanks.
Matt
Sent from my BlackBerry® wireless device
-Original Message-
From: Evert Rol
Date: Sat, 26 Jun 2010 11:13:16
To:
Cc: Python tutor
Subject: Re: [Tutor] Getting an object's attributes
> I have an object to which I dynamically add attributes. M
On Sat, Jun 26, 2010 at 2:30 PM, Richard D. Moores wrote:
> On Sat, Jun 26, 2010 at 13:39, Sithembewena Lloyd Dube
> wrote:
> > Hi Dick,
> >
> > In that case, perhaps you could externally back up all your important
> stuff
> > and then format your hard disk. That way, any drivers etc intended for
"Eduardo Vieira" wrote
Right now I think I need a better understanding of logarithm, arrays
(matrixes), and even probability. What links would you all recommend
that would be useful for me to learn these things in a
newbie-friendly
way?
Wikipedia?
Pretty good on most things math and scienc
On Sat, Jun 26, 2010 at 13:39, Sithembewena Lloyd Dube
wrote:
> Hi Dick,
>
> In that case, perhaps you could externally back up all your important stuff
> and then format your hard disk. That way, any drivers etc intended for
> Windows Vista will be wiped off, and you can then perform a clean
> in
On Sun, Jun 27, 2010 at 2:50 AM, Eduardo Vieira wrote:
> Hello, I've enjoying learning python for the first few years, and
> appreciate all the help I have received from this list. I had some
> interest in programming and am very glad to have made python my choice
> of programming language. Since
Hello, I've enjoying learning python for the first few years, and
appreciate all the help I have received from this list. I had some
interest in programming and am very glad to have made python my choice
of programming language. Since I didn't go to college for computer
studies, I feel my math is k
Hello Payal!
On Saturday June 26 2010 19:05:16 Payal wrote:
> Can we say that our own exception classes have only maybe a doc-string
> and pass, nothing more?
No, you let the exception transport the information that you need for handling
the error. This is an exception that I use to transport us
Hi Dick,
In that case, perhaps you could externally back up all your important stuff
and then format your hard disk. That way, any drivers etc intended for
Windows Vista will be wiped off, and you can then perform a clean
installation from your disk. Now, as far as upgrade disks go, I do not know
On Sat, Jun 26, 2010 at 11:55, Sithembewena Lloyd Dube
wrote:
> Richard, I think you may go ahead without trepidation. I am not a Windows
> fan at all, I prefer Ubuntu. But I started using Win. 7 at work about a
> month ago, and I have to say it hasn't given me cause to grumble.
>
> Of course, a m
Richard, I think you may go ahead without trepidation. I am not a Windows
fan at all, I prefer Ubuntu. But I started using Win. 7 at work about a
month ago, and I have to say it hasn't given me cause to grumble.
Of course, a month is hardly sufficient time to have a strong opinion, but I
can tell
F C wrote:
Hi there,
- I have recently decided to learn Python.
- It is my first programming language.
- I am new to programming.
- I know XHTML and CSS, and a few lines of PHP.
- I only started learning a couple of days ago.
What I want to do is create a simple blog system.
Where I can
- creat
Thanks a lot for the quick answer. Still some doubts below.
On Sat, Jun 26, 2010 at 11:07:17PM +1000, Steven D'Aprano wrote:
> The old MRO (Method Resolution Order) is broken for classes using
> multiple inheritance with a diamond shape inheritance diagram. Not a
> little bit broken, but horribl
Updating this thread for users searching the archives.
Additional commentary can be found in this thread I started on
Stackoverflow.com.
http://stackoverflow.com/questions/3120295/confirm-that-python-2-6-ftplib-does-not-support-unicode-file-names-alternatives
Gabriel Genellina added the following
On Fri, Jun 25, 2010 at 11:41 PM, F C wrote:
> Hi there,
>
> - I have recently decided to learn Python.
> - It is my first programming language.
> - I am new to programming.
> - I know XHTML and CSS, and a few lines of PHP.
> - I only started learning a couple of days ago.
>
Well congratulation
On Sat, Jun 26, 2010 at 3:30 AM, Alan Gauld wrote:
> "Richard D. Moores" wrote
>
> However, to quote the old adage - "If it ain't broke, don't fix it".
> So what is the problem that you think the upgrade will fix?
>
The problem? He has Vista installed... (rimshot) ;)
-Wayne,
Also on XP (and Ubu
On Sat, 26 Jun 2010 10:17:45 pm Payal wrote:
> Hi,
> Some questions about which I am a bit confused.
>
> 1. I know there is a difference between mro of classic and new style
> classes. but I do not get why we need the new mro, the old one is
> easy to predict and understand?
The old MRO (Method Re
Richard D. Moores wrote:
On Fri, Jun 25, 2010 at 23:42, Dave Angel wrote:
Richard D. Moores wrote:
On Fri, Jun 25, 2010 at 23:08, Dave Angel wrote:
Do you activate Quick-Edit mode in your DOS box? Once you have that on,
it's not much of a pain to copy and paste, as long as w
On Sat, 26 Jun 2010 08:53:57 pm you wrote:
> > Why did they stop? Could it be because the upgrade is sometimes
> > difficult and requires huge amount of manual effort to get it
> > working, far more than $40 will cover?
>
> Do you know that it does? Please tell me what you know.
I have no idea. Th
Hi,
Some questions about which I am a bit confused.
1. I know there is a difference between mro of classic and new style
classes. but I do not get why we need the new mro, the old one is easy
to predict and understand?
2. A friend of mine told me that in C++ abstract classes are classes
which can
On Sat, Jun 26, 2010 at 03:10, Steven D'Aprano wrote:
> On Sat, 26 Jun 2010 05:00:16 pm Richard D. Moores wrote:
>> Sorry about the OT, but I'm really nervous about the possibility of
>> screwing up my laptop by upgrading the OS from Vista to 7, and can't
>> think of a better place than Tutors to
On Sat, 26 Jun 2010 06:39:29 pm m...@doctors.net.uk wrote:
> Dear Tutors,
>
> I have an object to which I dynamically add attributes. My question
> is how I can inspect and display them at run-time?
>
> Class a():
> pass
>
> Obj1 = a()
>
> Obj1.name = "Bob"
> Obj1.age = 45
>
> dir(a) returns a
On Sat, 26 Jun 2010 05:00:16 pm Richard D. Moores wrote:
> Sorry about the OT, but I'm really nervous about the possibility of
> screwing up my laptop by upgrading the OS from Vista to 7, and can't
> think of a better place than Tutors to ask for advice.
Because of course knowing Python makes you
> I have an object to which I dynamically add attributes. My question is how I
> can inspect and display them at run-time?
>
> Class a():
>pass
>
> Obj1 = a()
>
> Obj1.name = "Bob"
> Obj1.age = 45
First off, a few suggestions:
- you probably mean 'class', not 'Class' (sorry, but it's just
Dear Tutors,
I have an object to which I dynamically add attributes. My question is how I
can inspect and display them at run-time?
Class a():
pass
Obj1 = a()
Obj1.name = "Bob"
Obj1.age = 45
dir(a) returns a tuple which contains name and age, but also other things
(includings methods, et
"Randy Kao" wrote
In trying to do this in Python, I think I've read a couple ways to
do this.
through: os.popen, os.popen2, os.popen3, os.system,
commands.getoutput()
This is historically one of the things that Python has had trouble
with.
The things you list have all been introduced o
Hi there,
- I have recently decided to learn Python.
- It is my
first programming language.
- I am new to programming.
- I know XHTML
and CSS, and a few lines of PHP.
- I only started learning a couple of
days ago.
What I want to do is create a simple blog system.
Where
I can
- create posts
"Richard D. Moores" wrote
Sorry about the OT, but I'm really nervous about the possibility of
screwing up my laptop by upgrading the OS from Vista to 7, and can't
think of a better place than Tutors to ask for advice.
Going from Vista to Windows 7 is a relatively painless
process - unlike goi
On Sat, Jun 26, 2010 at 01:21, Alan Gauld wrote:
>
> "Richard D. Moores" wrote
>>>
>>> left-drag over the desired text.
>>> Right click to copy to clipboard
>>> Right click again to paste into current cursor position
>>
>> Hey, terrific! Thanks, Dave! I didn't see any help available. Where'd
>> y
"Richard D. Moores" wrote
left-drag over the desired text.
Right click to copy to clipboard
Right click again to paste into current cursor position
Hey, terrific! Thanks, Dave! I didn't see any help available.
Where'd
you learn this?
There is a fair amount of help in Wiindows Help.
Start
I am not a window user myself but all my friends who upgraded are quite
happy about it. AFAIK Vista was a failure but 7 is good, so it is worth
upgrading.
On Sat, Jun 26, 2010 at 12:30 PM, Richard D. Moores wrote:
> Sorry about the OT, but I'm really nervous about the possibility of
> screwing up
On Fri, Jun 25, 2010 at 23:42, Dave Angel wrote:
> Richard D. Moores wrote:
>>
>> On Fri, Jun 25, 2010 at 23:08, Dave Angel wrote:
>>
>>>
>>> Do you activate Quick-Edit mode in your DOS box? Once you have that on,
>>> it's not much of a pain to copy and paste, as long as what you're copying
>>>
Sorry about the OT, but I'm really nervous about the possibility of
screwing up my laptop by upgrading the OS from Vista to 7, and can't
think of a better place than Tutors to ask for advice.
I bought this Toshiba Satellite last October. It came with the right
to receive the upgrade CD for Windows
39 matches
Mail list logo