Hi John,
Perhaps your answer was directed towards Sourav.
CCing tutor.
-- Forwarded message --
From: John Steedman
Date: Sun, Nov 17, 2013 at 6:26 AM
Subject: Re: [Tutor] Need help on Python API programmig
To: Amit Saha
Hi Amit,
I've been using Django Rest Framework for d
On 2013-11-16 13:20, Byron Ruffin wrote:
def main(x, y, z):
print (x, y, z)
def funct():
x = 1
y = 2
z = 3
return x, y, z
main()
Can someone tell me why main is not being given any arguments?
Because you didn't give it any.
Try
main(funct())
instead.
___
On 16/11/13 17:13, reutest wrote:
class myclass():
def test(self):
print "print this line"
if __name__ == '__main__':
myclass.run()
If you have a question it helps if you ask it rather than have us guess.
In this case I'm guessin
On 16/11/13 21:20, Byron Ruffin wrote:
def main(x, y, z):
print (x, y, z)
def funct():
x = 1
y = 2
z = 3
return x, y, z
main()
Can someone tell me why main is not being given any arguments?
Because somebody made a mistake.
I don't know if this is your code or som
On Sat, Nov 16, 2013 at 09:13:13AM -0800, reutest wrote:
> class myclass():
>
> def test(self):
> print "print this line"
>
>
> if __name__ == '__main__':
> myclass.run()
Is that a question?
If I were to guess, I'd say you sho
> main()
>
> Can someone tell me why main is not being given any arguments?
Because you didn't write any there.
-nik
--
Wer den Grünkohl nicht ehrt, ist der Mettwurst nicht wert!
PGP-Fingerprint: 3C9D 54A4 7575 C026 FB17 FD26 B79A 3C16 A0C4 F296
signature.asc
Description: Digital signature
def main(x, y, z):
print (x, y, z)
def funct():
x = 1
y = 2
z = 3
return x, y, z
main()
Can someone tell me why main is not being given any arguments?
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription
class myclass():
def test(self):
print "print this line"
if __name__ == '__main__':
myclass.run()
--
View this message in context:
http://python.6.x6.nabble.com/Class-attribute-error-tp5039199.html
Sent from the Pyth
On 16/11/13 11:02, Vlad Olariu wrote:
is this active?
If you mean the mailing list then yes, but not massively busy
and there is an archive of posts that you can search/review.
If you mean did this mail get here then again yes but via
the moderator queue so a little later than most.
Otherwise
Hi,
On 16 November 2013 11:02, Vlad Olariu wrote:
> is this active?
>
>
Yes. (Please don't reply to digest posts without at least trimming it and
adjusting the subject as appropriate.)
Walter
___
Tutor maillist - Tutor@python.org
To unsubscribe or
rates unique ID"""
> > > global id
> > > id = (fullName) + 1
> > > personID = str (id) + fullName
> > > return personID
> > >
> > > def main ():
> > > getU
Hi Sourav,
Please use "Reply all" when you reply an email so that everyone else
also gets your messages and your chances of getting better help
increases.
On Sat, Nov 16, 2013 at 3:35 PM, Sourav Biswas wrote:
> Hi Amit,
>
> Yes I know, the question is not quite good. Currently I am trying to le
Including tutor list.
Please use ReplyAll when responding to the list.
Sorry about that. I am new to this so I didnt know I have to be very specific
towards every detailIt depends on what you are asking, but in this case
different downloads include different packages
so we need to know which
13 matches
Mail list logo