<p>Have you seen <a href="https://bitcoinarmory.com/using-armory-python/" rel="nofollow">this page on the Armory website</a>? It describes how to do what it is you appear to be asking to do.</p>

<p>First you import everything from armoryengine.ALL.</p>

<p>You have <code>PyBtcWallet().readWalletFile(filename)</code> to get a wallet object. Then you can do things with the wallet object.</p>

<p>You can also use TheBDM (Block Data Manager) to register callbacks for certain signals, such as new blocks.</p>

CC BY-SA 3.0
2015-08-31T13:13:39.103Z
Thanks Joseph, yeah I did see it, but where do I get the filename because on the Armory website the readWalletFile method takes CLI_ARGS[0] as a parameter and throws  an IndexError
Nelly
CC BY-SA 3.0
2015-08-31T13:18:16.577Z
It is a file ending in .wallet. On Windows, it will be in `C:\Users\<user>\AppData\Roaming\Armory`. On Linux, it will be in `/home/<user>/.armory`. I don't know about OS X.
Joseph Bisch
CC BY-SA 3.0
2015-08-31T13:31:25.483Z
oh no, the title in the Armory wallet says, Accessing A Wallet and I want to create a wallet. I just built from source code, hence I want to create a wallet.
Nelly
CC BY-SA 3.0
2015-08-31T14:04:29.827Z
I'm not sure how to do that.
Joseph Bisch
CC BY-SA 3.0
2015-08-31T13:00:14.813Z
2015-08-31T13:00:14.813Z
Joseph Bisch
<p>Has anyone built the Armory Bitcoin wallet successfully and created the wallet using python and Armory as a library instead of using the GUI?</p>

<armory><python>
question on Armory bitcoin wallet scripting
Nelly
# question on Armory bitcoin wallet scripting

(Asked by: username_0 on 2015-08-31)

Has anyone built the Armory Bitcoin wallet successfully and created the wallet using python and Armory as a library instead of using the GUI?

**Tags:** armory, python


---

## 1 answers

### Answer by username_1 on 2015-08-31. Score: 1

Have you seen [this page on the Armory website](https://bitcoinarmory.com/using-armory-python/)? It describes how to do what it is you appear to be asking to do.

First you import everything from armoryengine.ALL.

You have `PyBtcWallet().readWalletFile(filename)` to get a wallet object. Then you can do things with the wallet object.

You can also use TheBDM (Block Data Manager) to register callbacks for certain signals, such as new blocks.

> **Comments:**
> **username_0**: Thanks Joseph, yeah I did see it, but where do I get the filename because on the Armory website the readWalletFile method takes CLI_ARGS[0] as a parameter and throws  an IndexError  
> **username_1**: It is a file ending in .wallet. On Windows, it will be in `C:\Users\<user>\AppData\Roaming\Armory`. On Linux, it will be in `/home/<user>/.armory`. I don't know about OS X.  
> **username_0**: oh no, the title in the Armory wallet says, Accessing A Wallet and I want to create a wallet. I just built from source code, hence I want to create a wallet.  
> **username_1**: I'm not sure how to do that.  

---

