Problems with importing a python library
Question: Currently I'm trying to use this python library:

<https://github.com/etotheipi/BitcoinArmory/blob/master/armoryd.py>

Essentially, I'm able to run:

    
    
    python armoryd armory_2BEfTgvpofds_.watchonly.wallet
    

Only when I pass a .wallet argument.

I want to do the same with a script that I create. But when I import the
library, it's asking for a wallet argument. When I do something like:

    
    
    import armoryd armory_2BEfTgvpofds_.watchonly.wallet
    

It is complaining about an invalid syntax.

Is it possible to import this library?


Answer: 
    from armoryd import armory_2BEfTgvpofds_.watchonly.wallet
    

Your import statement is invalid, it needs to be `from MODULE import
SOMETHING1, SOMETHING2...etc`

Also you need to ensure that your armoryd library is on the _PYTHONPATH_

## update

<https://github.com/etotheipi/BitcoinArmory/blob/master/extras/sample_armory_code.py>

take a look there - a sample on how to use the armory code in python.

