I receive the attribute error when I try to run the code.
with ParamExample(URI) as pe:
with MotionCommander(pe, default_height=0.3)as mc:
This is where the error occurs.
Traceback (most recent call last):
File "test44.py", line 156, in <module>
with ParamExample(URI) as pe:
AttributeError: __enter__
That is the traceback that I receive in my terminal. If you need to see more of my code, please let me know. Any help is appreciated, thank you!
__enter__
in your class and return self in it. – Bernadinebernadottewith Something(...) as something:
construct to do, exactly? – Hackbutwith Session:
instead ofwith Session()
while using tensorflow – Chopperasync with
– Trocheeread()
insidewith open
so you should not do that – Heppman