[Tutor] Major Newbie Here

glaevsky at ECE.NEU.EDU glaevsky at ECE.NEU.EDU
Tue Apr 5 21:49:26 CEST 2005

Hello all,

I'm a cell biologist that is learning python.  I've been following Alan 
Gauld's tutorial online and I've hit a wall.

I'm typing

class Spam:
	"""A meat for combining with other foods

	It can be used with other foods to make interesting meals.
	It comes with lots of nutrients and can be cooked using many
	different techniques"""

 >>> def__init__(self):
SyntaxError: invalid syntax

and I get that error.  I've tried several different versions over several 
days and I'm stuck.

Little help please.  Thanks

long time first time


Gary Laevsky, Ph.D.
Keck Facility Manager, CenSSIS
Northeastern University
302 Stearns
360 Huntington Ave.
Boston, MA 02115
voice(617) 373 - 2589<br>
fax(617) 373 - 7783<br><br>




More information about the Tutor mailing list