1 | initial version |

Ok, so the point is that when making an "interactive" import, the imported module is not preparsed ?

```
def MyFunction(x,y):
from sage.rings.all import Integer
print Integer(x)/Integer(y)
```

I cannot do that in my real live idea. My purpose was to write a function that convert a point (x,y) into polar coordinates (radius,angle) using atan(y/x). (the aim was to show the algorithm to some students)

Instead, you gave me the idea to write this one :

```
def MyFunction(x,y):
x=SR(x)
print x/y
```

This works fine.

Have a good night Laurent

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.