Okay, I did not realize that could be an issue. Is there a way to rename
the module or should I create another one?

Thank you,

Alex

On Wed, Jul 8, 2020 at 1:08 PM Marcus Müller <muel...@kit.edu> wrote:

> That's cool, but I'd strongly recommend not calling your module "math",
> because that name clashes with the existing Python "math" module.
> I think that might be happening: something you import imports math, and
> thus the native module, which overrides yours.
>
> Best regards,
> Marcus
>
> On 08/07/2020 19.05, Alex Batts wrote:
> > I created my own “Math” module. This is to distinguish from the built in
> > “Math Operators” module.
> >
> > On Wed, Jul 8, 2020 at 12:59 PM Marcus Müller <muel...@kit.edu
> > <mailto:muel...@kit.edu>> wrote:
> >
> >     Hi Alex,
> >
> >     um, where's that line from? There's no "exponent_ff" in Python's
> >     "built-in" math module, so this is not surprising.
> >
> >     Best regards,
> >     Marcus
> >
> >     On 08/07/2020 18.57, Alex Batts wrote:
> >      > Hello,
> >      >
> >      > I tried to create my own OOT module, one that can do exponents on
> >      > floats. However, I keep running into this error:
> >      >
> >      > self.math_exponent_ff_0 = math.exponent_ff()
> >      > AttributeError: module ‘math’ has no attribute ‘exponent_ff’
> >      >
> >      > I saw an earlier post on the forums that had a couple fixes, but
> >     I tried
> >      > those and it did not work. Any help would be appreciated. If need
> >     be, I
> >      > can post files as well to see code.
> >      >
> >      > Thank you,
> >      >
> >      > Alex
> >
>
>

Reply via email to