AttributeError: module has no attribute

I need run on my site custom module by pyscript link to site with pyscrit with
html page code

  [[fetch]]
  files = ['example.py'] #https://itdevelop.site/py/example.py
  from = '/py/'
</py-config>
<py-script>
  import example
  example.hello()
</py-script>```

 #https://itdevelop.site/py/example.py code


#!/var/www/u0745362/data/env/bin/python
import cgi

print(“Content-type: text/html\n”)

def hello():
print(“ok!!!”)

I've error **AttributeError: module 'example' has no attribute 'hello'**

But when i've created #https://itdevelop.site/py/test.py with next code

#!/var/www/u0745362/data/env/bin/python
import example
example.hello()

it work good and I see the output result 'ok!!!'