On 14/02/17 10:11, Alan Gauld via Tutor wrote:
ts.adfuller(goog['Adj Close'], 1
>
> there seems to be a missing closing paren here?
> Also where does 'ts' come from, its not defined above?
Ah! I see from Peters post that I missed the first line of code.
But I still see a missing ')'...
--
Allan Tanaka via Tutor wrote:
> Hi. Not sure why this code produces the error like this. This error
> appears when i run the code of print "Hurst(GBM): %s" % hurst(gbm):
> Traceback (most recent call last): File "", line 1, in
> print "Hurst(GBM): %s" % hurst(gbm)NameError: name 'hurst'
>
On 14/02/17 01:55, Allan Tanaka via Tutor wrote:
> Hi. Not sure why this code produces the error like this. This error appears
> when i run the code of print "Hurst(GBM): %s" % hurst(gbm):
> Traceback (most recent call last): File "", line 1, in
> print "Hurst(GBM): %s" % hurst(gbm)Name
d
>Sent: Sunday, 24 August 2014, 23:54
>Subject: Re: [Tutor] NameError
>
>
>
>In the six places you have gb == boy or gb == girl, put 'boy' and 'girl'.
>I did and it works.
>
>
>regards,
>Sarma.
>
>
>On Mon, Aug 25, 2014 at 12:09 AM, A
On 24/08/14 15:11, Mimi Ou Yang wrote:
age = int(input("Enter your age: "))
gb = input("Are you a boy or a girl? ")
input() returns a string so the values here
should be 'boy' or 'girl' - Notice the quote signs.
op = input("How are you feeling today? ")
if (age in (1,2,3,4,5,6,7,8,9,10,11,1
On Wed, Jul 20, 2011 at 4:37 AM, brandon w wrote:
> **
> Hi
> I am running Linux with Python 2.6.6. I have done lists, tuples,
> dictionaries, etc. Now I want to move on to creating a "class". I keep
> getting an error for everything I try. Here is the error: *
>
> NameError: name 'MyClass' is no
On 01/-10/-28163 02:59 PM, Brad Desautels wrote:
Hello, I am working on a problem for my computer science class. This program
is supposed to change the expression of the face when the appropriate button
is clicked. It seems logical that it should work, however, when I click one
of the buttons, I
David wrote:
Hello
Wesley,
thanks for your reply. I was surprised about the limited information
too. Sadly (?), I can't reproduce the error any more...
David
On 10/02/10 11:13, wesley chun wrote:
I just wrote this message, but after restarting ipython all worked
fine.
How is it to be exp
On Tue, Feb 9, 2010 at 10:00 PM, David wrote:
> Hi guys,
>
> I just wrote this message, but after restarting ipython all worked fine.
> How is it to be explained that I first had a namespace error which, after a
> restart (and not merely a new "run Sande_celsius-main.py"), went away? I
> mean, sur
Hello Wesley,
thanks for your reply. I was surprised about the limited information
too. Sadly (?), I can't reproduce the error any more...
David
On 10/02/10 11:13, wesley chun wrote:
I just wrote this message, but after restarting ipython all worked fine.
How is it to be explained that I f
> I just wrote this message, but after restarting ipython all worked fine.
> How is it to be explained that I first had a namespace error which, after a
> restart (and not merely a new "run Sande_celsius-main.py"), went away? I
> mean, surely the namespace should not be impacted by ipython at all!?
On Mon, Sep 21, 2009 at 2:06 PM, Wayne wrote:
> On Mon, Sep 21, 2009 at 4:00 PM, kreglet wrote:
>>
>> I keep getting the following error and don't uderstand why:
>>
>> Traceback (most recent call last):
>> File "/home/kreglet/bin/test.py", line 15, in btnStatclick
>> btnStat.set_label("Presse
On Mon, Sep 21, 2009 at 4:00 PM, kreglet wrote:
>
> I keep getting the following error and don't uderstand why:
>
> Traceback (most recent call last):
> File "/home/kreglet/bin/test.py", line 15, in btnStatclick
>btnStat.set_label("Pressed")
> NameError: global name 'btnStat' is not defined
> Hi,
>
> I'm having difficulty understanding why the following code doesn't work:
>
>
> getfr.py
> #import pymetar
> #
> #class wReport:
> #def __init__(self,metarcode="CYYC"): #weather for calgary INTL
> #self.METARCODE=metarcode
> #rf=pymetar.ReportFetcher(self.METARCODE)
> #
Aaron Elbaz wrote:
> Hi,
>
> I'm having difficulty understanding why the following code doesn't work:
>
>
> getfr.py
> #import pymetar
> #
> #class wReport:
> #def __init__(self,metarcode="CYYC"): #weather for calgary INTL
> #self.METARCODE=metarcode
> #rf=pymetar.ReportFetch
15 matches
Mail list logo