d some explanations as to what happens, but what are
you trying to achieve? Why don't you forget about arg3 because it is
arg1, which must exist by creating an instance of class c, or you
wouldn't be able to call doSomething in the first place?
HTH.
Mark Lawrence
_
I confess that I don't like top posting :) Please see below.
On 28/05/2010 00:19, Matthew Wood wrote:
#!/usr/bin/env python
Here's my best attempt. I'm not sure if it's "simpler" than yours,
but for me it seems a bit cleaner. Then again, I LOVE the zip
operator, and the '*' operator too. :
)
I think that you're trying to build a Yamoto/Musashi before you've built
a raft from oil drums or whatever :) If I'm wrong, I'll apologise here
and now.
For a really great introduction to Python, I suggest diveintopython,
it's what got me going eight years ago
Hi Alex, thanks for the response, please see below.
On 30/05/2010 02:50, Alex Hall wrote:
On 5/29/10, Mark Lawrence wrote:
On 29/05/2010 20:49, Alex Hall wrote:
Hi all,
In Battleship, I have a weapons.py file, currently with just one
missile type (a Harpoon anti-ship missile). This Harpoon
lem is the call
to plt.axis which sets xmin to 350, compare this to your data values
where the lowest value of x is 233.27.
Note that there is also a matplotlib mailing list.
HTH.
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To unsubscri
On 07/06/2010 01:44, Alex Hall wrote:
Further to the other comments that you've had, could you please refer to
the following, thanks.
http://www.catb.org/~esr/faqs/smart-questions.html
Kindest regards.
Mark Lawrence
___
Tutor maillist -
,
Malcolm
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
RTFM? :)
Kindest regards.
Mark Lawrence.
___
Tutor maillist - Tutor
lied twice so I won't bother.
Apart from that no offence meant, I hope none taken.
Kindest regards.
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
On 07/06/2010 17:30, pyt...@bdurham.com wrote:
Hi Mark,
I see that Stephen D'Aprano has already replied twice so I won't bother. Apart
from that no offence meant, I hope none taken.
Your RTFM reply actually gave me a good laugh. No (zero) offence taken.
And I appreciate your many helpful pos
tutorial you're bound to run into exception handling.
Can anybody help me with this?
Thanks a lot
P.S. SORRY FOR THE LONG EMAIL
By some standards this doesn't even qualify as short, it's just a snippet.
___
Tutor maillist - Tutor@python.org
To unsubscribe o
.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
Hi Jan,
I guess you're looking for something like the shelve or pickle modules.
http://docs.python.org/library/shelve.html
http://docs.python.org/library/pickle.html
HTH.
Mark Lawrence.
someone, help.
I'll leave you to find out the rests of the lyrics. :)
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
On 17/06/2010 19:22, Lowell Tackett wrote:
From the virtual desk of Lowell Tackett
--- On Thu, 6/17/10, Mark Lawrence wrote:
From: Mark Lawrence
Subject: Re: [Tutor] help
To: tutor@python.org
Date: Thursday, June 17, 2010, 8:30 AM
On 17/06/2010 08:28, KB SU wrote:
help
Help, I need
ans for me to get to grips with 30 languages
takes 150 years. I don't think I'll live to do that.
Just my viewpoint.
Kindest regards.
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
h warm regards,
-Payal
You can do this.
>>> re.sub('[lL]','-',a)
'Mary Had a -itt-e -amb'
However it strikes me as overkill to use an re for something that could
be done with the string replace function.
Kindest regards.
Mark Lawrence.
___
On 29/06/2010 17:32, Joel Goldstick wrote:
[big snips]
It might not be completely relevant, but there is nothing to stop
anybody mixing regex and/or string methods. Horses for courses?
Kindest regards.
Mark Lawrence.
___
Tutor maillist - Tutor
r@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
Take a look at section 7.1.3 here.
http://docs.python.org/py3k/library/string.html#string-formatting
This is the recommended way to format str
hon.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
Drat, drat and double drat, I believe Dick Dastardly from the Wacky
Races cartoons. I meant to mention this, got side-tracked and
completely forgot, sorry.
Kindest regards.
Mark Lawrence.
_
of my code posted up at
http://pastebin.com/k9nMZNMy, I won't edit the code until I get this
worked out, except maybe a few housekeeping things, documentation, etc.*
*I've tried everything I can, and I appreciate your time and help!
~Corey Richardson
___
ation...
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
HTH.
Mark Lawrence
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscri
i.e. use 'wb' instead of 'w', and don't bother
converting to strings? Then when reading the file use 'rb' instead of 'r'.
HTH.
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
ained within s[start:end]. Optional
arguments start and end are interpreted as in slice notation.
Return -1 on failure.
Mark Lawrence
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
advance!
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
The lazy way.
http://docs.python.org/library/itertools.html
Look for combinations().
HTH.
Mark Lawrenc
t;> ankur = "this is ankur"
>>> ankur.replace(' ', '\ ')
'this\\ is\\ ankur'
HTH.
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
look at the actual Python test code in the Lib\test\ directory.
Depending on the code that you're wanting to test you might also want to
google for mock+objects, but this can wait until you've got your feet
under the table.
HTH.
Mar
else:
break
Cheers.
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
e of __init__.
thanks, matt
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
This should help if you need more info
http://code.activestate.com/lists/python-list/403361/
-development/python/code/217019 and think
about it in relation to the replies you've already had.
--
Cheers.
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
The advice from Peter is sound if the strings could grow very large but
you can simply concatenate the parts if they are not. For the inde
e you can use
print str1,
print "*",
etc
See http://docs.python.org/tutorial/inputoutput.html
--
Cheers.
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
he process and/or
application. ctrl-shift-esc brings up the Task Manager directly.
--
Cheers.
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
On 13/02/2012 16:07, Steven D'Aprano wrote:
[snipped]
You might be better off asking your question on a dedicated
ipython support forum.
Like http://news.gmane.org/gmane.comp.python.ipython.user
--
Cheers.
Mark Lawrence.
___
Tutor mai
have already responded I don't believe that this will
be too difficult to sort as the astropysics package is available on Pypi
and there it states that it requires scipy and numpy. Did you or
someone else install the package, if the latter can you ask them about
this problem?
Best of Brit
ause I can't be bothered to
phrase a question.
--
Cheers.
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
he book reviews here
http://accu.org/index.php?module=bookreviews&func=search
--
Cheers.
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
different in that they are are shared
at the class level so.
>>> class Point:
... """pts in 2d space"""
... x = 3
... y = 4
...
>>> a = Point()
>>> b = Point()
>>> a.x
3
>>> b.y
4
HTH.
--
Cheers.
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
//mail.python.org/mailman/listinfo/tutor
To the OP.
Note that __init__ is an initialiser and not a constructor which is
__new__, see e.g.
http://mail.python.org/pipermail/tutor/2008-April/061426.html
--
Cheers.
Mark Lawrence.
___
Tutor maillist
sage is from numpy.
See if this can get you going
http://stackoverflow.com/questions/1322380/gotchas-where-numpy-differs-from-straight-python.
The fourth answer down states "this is a horrible problem" so I'll
duck out here, sorry :)
--
Cheers.
Mark Lawrence.
__
ess maybe my problem is trickier than I first thought!
~Elaina
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
I've found this http://comments.gmane.org/gmane
average number is: ")
##print ("You entered this many numbers above average: ")
I'll leave this for you :)
##
___
Tutor maillist - Tutor@python.org
To unsubscribe or c
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
Use the timeit module to answer Q1 and the dis module to answer Q2.
--
Cheers.
Mark Lawrence.
___
Tutor maillist - Tutor
to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!
--
Cheers.
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
e found here http://docs.python.org/library/string.html#formatexamples
--
Cheers.
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
://docs.python.org/using/windows.html
--
Cheers.
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
ls me that reading manuals before trying something tends
to save time in the long run.
--
Cheers.
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
code to make it easier on all MkI eyeballs, e.g. you have
Decdeg2=dat2['col4']+(dat2['col5']/60.)+(dat2['col6']/(60.*60.))
I think this looks better as
Decdeg2 = dat2['col4'] + (dat2['col5']/60.) + (dat2['col6'] / (60.*60.))
--
Che
//bitbucket.org/vinay.sajip/pylauncher
Here's the background http://www.python.org/dev/peps/pep-0397/
--
Cheers.
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
()
UserID = getUserNumber()
OppUserID = getUserOppNumber()
GameType = getGameType()
UserSkillLvl = getUserSkillLvl(GameType)
UserOppSkillLvl = getUserOppSkillLvl()
print "\nPlayer Name:",UserName, "\nOpponent Name:", UserOppName,
"\nU
e or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
I'm sorry but the code is so badly formatted via Thunderbird that it's
pretty much impossible to work out what you intend. Try resending with
the code correctly formatted. Also put print statements
e testing?
I welcome any suggestions on any point or question given.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
Start with http://pythonmentors.com/ ?
'
for i in range(0, len(onebigstring), 100): # for Python3, xrange for
Python 2
print onebigstring[i:i+100]
--
Cheers.
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.o
a class defines
``__getitem__()``, ``x in y`` is true if and only if there is a non-
negative integer index *i* such that ``x == y[i]``, and all lower
integer indices do not raise ``IndexError`` exception. (If any other
exception is raised, it is as if ``in`` raised that exception).
The
On 07/03/2012 04:36, col speed wrote:
On 7 March 2012 10:45, Mark Lawrence wrote:
On 07/03/2012 03:24, col speed wrote:
Hello again
Hope you are all well.
I'm trying to make a "match 3" game, where you have a square grid and
have to put 3 matching shapes in a row.
I need
. If not get a different email
account :)
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
This is bottom posted.
--
Cheers.
s tell us exactly what you are doing and what
the error messages are by cutting and pasting into email, don't try to
type stuff yourself.
--
Cheers.
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription opti
enough
to tell everybody for the record how you overcame the problem "I cannot
run Python programs" as asked in the thread entitled "Cannot run python
programs on my windows7 computer".
--
Cheers.
Mark Lawrence.
___
Tutor maillist
asons. Why not stick with pythonwin,
it's perfectly adequate for my needs?
--
Cheers.
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
Take a look at the operator module as it should give you some ideas.
--
Cheers.
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To unsubscri
t")
else:
raise
can now be written without the errno import and without manual
inspection of exception attributes:
try:
with open("document.txt") as f:
content = f.read()
except FileNotFoundError:
print("document.txt file is missing")
except
ing to get this done any advice is appreciated.
Thanks
--
Cheers.
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
originally.
--
Cheers.
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
rs to several other recipes which you might want to take a look at,
sorry I meant to mention this earlier.
--
Cheers.
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/lis
p on built-in function strip:
strip(...)
S.strip([chars]) -> string or unicode
Return a copy of the string S with leading and trailing
whitespace removed.
If chars is given and not None, remove characters in chars instead.
If chars is unicode, S will be
do list comprehension
n = "".join([x for x in "this has : some : colons" if x not in ':'])
n
'this has some colons'
Yuck :(
Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit
(Intel)] on win32
Type &quo
t; 'www.example.com'.translate(allchars, 'cmowz.')
'exaple'
As of Python 2.6 you don't even need the allchars hence
>>> 'www.example.com'.translate(None, 'cmowz.')
'exaple'
--
Cheers.
Mark Lawrence.
On 03/04/2012 18:22, Alan Gauld wrote:
On 03/04/12 15:45, Simon Yan wrote:
Do a search on SourceForge and Google and see what comes up.
Hopefully codeplex.com amongst others.
--
Cheers.
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
You're probably better off asking on comp.lang.python but the advice
will almost certainly be don't do it see e.g.
http://www.velocityreviews.com/forums/t944852-re-re-advise-of-programming-on
th the error message cut and pasted.
Having said that there's nothing to stop you using gtk_timeout_add as
it's only deprecated, i.e. it's been marked for removal at some time in
the future.
--
Cheers.
Mark Lawrence.
___
Tutor maillist
b.onKeyDown(event)
It's B.onKeyDown(self, event), without the self you'll get an unbound
method error.
Johnf
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.pyt
Please don't top post and please reply to the list
Top posting fixed.
- Forwarded Message -
From: Lion Chen
To: Mark Lawrence
Cc:
Sent: Friday, 6 April 2012, 16:43
Subject: Re: [Tutor] How to use g_timeout_add () function?
fixed top posting
> On 06/04/2012 15:17, Lion Ch
function could be written something like this.
def convert_proctors():
list_proc = []
for row in csv.reader(open(proctor_file)):
list_proc.append(row[0])
return list_proc
--
Cheers.
Mark Lawrence.
___
Tutor maillist - Tutor@pyt
Somehow they only appear as one long row.
You need to write newlines but you probably also want to use string
formatting to control the amount of space required so that your columns
line up.
HTH
--
Cheers.
Mark Lawrence.
___
Tutor maillist
t - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
--
Cheers.
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
il.python.org/mailman/listinfo/tutor
Please give us an example of the code that you've tried, what you expect
to see and what the actual output from your program was. If an
exception occurred please cut and paste the entire exception traceback
into this
On 13/04/2012 08:47, questions anon wrote:
thanks all!
No problem, but I would like like to point out, albeit repeating myself,
that my normal profesional fees apply, i.e. two pints of Ringwood Old
Thumper or equivalent should you ever be in my neck of the woods.
--
Cheers.
Mark Lawrence
On 25/04/2012 16:57, Prasad, Ramit wrote:
Not really sure how to do the equivalent with % substitution.
Ramit
See
http://docs.python.org/library/stdtypes.html#string-formatting-operations
--
Cheers.
Mark Lawrence.
___
Tutor maillist - Tutor
illist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
Google for python virtualenv windows and it's the first hit.
--
Cheers.
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To
using a python program?
If not, you should take a look at one of the several excellent
tutorials easily found by a web search. The official tutorial is at
http://docs.python.org/py3k/tutorial/ and it might be enough for you
to at least attempt a solution to your problem."
--
Cheers.
Mar
he original error message.
--
Cheers.
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
On 30/04/2012 19:40, Alan Gauld wrote:
On 30/04/12 19:27, Mark Lawrence wrote:
print 'Addition of above two numbers are : ', z
Except that you'll get two spaces after the colon :)
OK thats true,
Try this:
print 'Addition of above two numbers are :', z
for one.
On 01/05/2012 00:35, Steven D'Aprano wrote:
Mark Lawrence wrote:
On 30/04/2012 19:40, Alan Gauld wrote:
But if the number of spaces is critical string formatting is better
still. And better than string addition.
True indeed, but which of the three versions of string formatting tha
--
Cheers.
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
.org/mailman/listinfo/tutor
I say old chap, it's simply not cricket to hijack a thread, particularly
when you've already asked your question some 4 hours and 38 minutes earlier.
--
Cheers.
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
20105/
--
Cheers.
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
On 04/05/2012 02:02, Mark Lawrence wrote:
On 03/05/2012 23:56, Emile van Sebille wrote:
On 5/3/2012 2:28 PM Adrian said...
I recently created a gui form using tkinter, is it possible to
integrate this form to my website page? How do i integrate?
pyjs aka pyjamas allows you to write once
t;, "stadium": "Shea Stadium"}
when I print it:
print(Namath)
I get:
{'phone': '212-222-', 'first_name': 'Joe', 'last_name': 'Namath',
'email': 'joe.nam...@gmail.com', 'stadium':
've missed it.
Afonso
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
--
Cheers.
Mark Lawrence.
___
Tutor maillist - Tutor@pytho
he command. it doesnt produce an error
message tho.. just repeats "return Error("%s I couldn't find %s
anywhere", user.name.title(), name.title())"
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription op
@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
No :( Please cut and past the exact code that you're using and the
exception that you're getting, without that that it's impossible for us
to help you.
--
Cheers.
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
n.org/pipermail/python-dev/2009-September/092399.html
Rather than repeat myself, I will just point to what I wrote back in
January:
http://mail.python.org/pipermail/python-list/2012-January/1285894.html
You beat me to it :)
--
Cheers.
Mark Lawrence.
___
ail.python.org/mailman/listinfo/tutor
Print is a function in Python 3, so you need print('hello world').
--
Cheers.
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
.org
http://mail.python.org/mailman/listinfo/bangpypers
___
BangPypers mailing list
bangpyp...@python.org
http://mail.python.org/mailman/listinfo/bangpypers
What is the unladen airspeed velocity of a swallow in flight?
--
Cheers.
Mark Lawrence.
_
Python mailing lists. I complained several months ago but was told to
shut up as it had previously caused too many flame wars. I guess
there's two options, keep reminding peole or give up, I prefer the
former but would certainly consider the other.
--
Cheers.
Mark Law
docs.python.org/release/3.2/using/windows.html, any
problems please feel free to ask as we don't bite :)
--
Cheers.
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
re may be differences in Python 3.x.
--
Cheers.
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
On 11/06/2012 16:05, brian arb wrote:
I would look into pylint, Python source code looking for bugs and signs of
poor quality.
Or pychecker or pyflakes.
--
Cheers.
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change
x27;t understand why you would need global variables, and then
promptly start discussing them wrt classes. Please explain what you are
trying to achieve and I'm certain that we'll come up with the best
solution for your use case.
--
Cheers.
rg
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
I suggest you read the tutorial before starting on source code.
--
Cheers.
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscri
worth posting questions there.
No probably about it, I've asked questions there and like all Python
lists found them extremely friendly and helpful.
--
Cheers.
Mark Lawrence.
___
Tutor maillist - Tutor@python.org
To unsubscribe or c
key.
if Eword in Edictionary:
print(Edictionary[Eword])
else:
print("oops
But note the comparison between LBYL and EAFP - I'll leave those
interested to google for it :)
--
Cheers.
Mark Lawrence.
___
Tutor maillist - T
1 - 100 of 888 matches
Mail list logo