I am a python beginner (python 2.7 and ironpython 2.7) and not a programmer.
From time to time, I find a code which starts like so:

```
import clr
clr.AddReferenceToFile("nameOfmodule")
from nameOfmodule import someMethod

```

What is the point of this?
Can't we just use:

```
from nameOfmodule import someMethod

```

?

I tried googling but have not really understand the explanation.

Thank you for the reply.

EDIT: the confusion is not between "from nameOfmodule import someMethod" and "import nameOfmodule.someMethod". I edited the code, so that now it makes more sense.