On 19/05/2023 19:46, Grizzy Adams wrote:
> Tried that
> RESTART: D:\Shades\Tools\Python\Temp\cube.py
cubes()
> Traceback (most recent call last):
> File "", line 1, in
> cubes()
> TypeError: 'list' object is not callable
Ah, now I understand. cubes is
On 19/05/2023 13:36, Grizzy Adams wrote:
>> Looks like you are using IDLE?
>
> Yes
>
>
> From consol
>
import cube
cubes
> Traceback (most recent call last):
> File "", line 1, in
> cubes
> NameError: name 'cubes' is not defined
You imported cube but tried to use cubes. I'm
Friday, May 19, 2023 at 12:25, Barry Scott wrote:
Re: Silly (maybe) question re impor (at least in part)
>
>
>> On 19 May 2023, at 07:44, Grizzy Adams via Python-list
>> wrote:
>>
>> Morning All
>>
>> I'm working through the tutorial and running / saving work that I wish to
>> keep
>> and b
> On 19 May 2023, at 07:44, Grizzy Adams via Python-list
> wrote:
>
> Morning All
>
> I'm working through the tutorial and running / saving work that I wish to
> keep
> and build on, most times I can save and (re)import later with no difference
> to
> when typed in console or editor and
On 19/05/2023 07:44, Grizzy Adams via Python-list wrote:
> when typed in console or editor and run with F5 (which saves before it can
> run)
>
> But sometimes saved work (albeit small) when imported does not work any longer
Looks like you are using IDLE? If so, it's possible that in the origin
Morning All
I'm working through the tutorial and running / saving work that I wish to keep
and build on, most times I can save and (re)import later with no difference to
when typed in console or editor and run with F5 (which saves before it can run)
But sometimes saved work (albeit small) whe