<pre><code>x=10

for thing in range(0,x): wallet.create_new_address()

listaddresses(True,False,False,False,True)
</code></pre>

<p>A guide about console commands is <a href="https://bitzuma.com/posts/an-introduction-to-the-electrum-python-console/" rel="nofollow noreferrer">here</a>. Thanks to @RichApodaca for pointing that out.</p>

<p>Another resource is the code itself. For example you can see the function declaration for listaddresses <a href="https://github.com/spesmilo/electrum/blob/3.1.3/lib/commands.py#L491" rel="nofollow noreferrer">here</a> which tells you what all those boolean args are for. In the above case it only outputs unused addresses in the external (receive) chain.</p>

CC BY-SA 4.0
2018-06-11T13:44:27.010Z
Can you add some explanation/links to official documentation? The code alone, while possibly correct, is not a helpful answer
Raghav Sood
CC BY-SA 4.0
2018-06-11T23:35:42.220Z
@RaghavSood This page talks about how to use the console, and documents built-in functions: https://bitzuma.com/posts/an-introduction-to-the-electrum-python-console/ You can enter the code into the console.
Rich Apodaca
CC BY-SA 4.0
2018-06-11T08:22:45.053Z
2018-06-13T07:25:10.027Z
2018-06-13T07:25:10.027Z
Abdussamad
<p>I need 2 commands for electrum</p>

<p>To create X amount of addresses
to export those addresses to word or just be able to copy them</p>

<wallet><address><electrum>
Electrum console commands?
Romano Streel
# Electrum console commands?

(Asked by: username_0 on 2018-06-10)

I need 2 commands for electrum

To create X amount of addresses
to export those addresses to word or just be able to copy them

**Tags:** wallet, address, electrum


---

## 1 answers

### Answer by username_1 on 2018-06-11. Score: 1

```
x=10

for thing in range(0,x): wallet.create_new_address()

listaddresses(True,False,False,False,True)

```

A guide about console commands is [here](https://bitzuma.com/posts/an-introduction-to-the-electrum-python-console/). Thanks to @username_3 for pointing that out.

Another resource is the code itself. For example you can see the function declaration for listaddresses [here](https://github.com/spesmilo/electrum/blob/3.1.3/lib/commands.py#L491) which tells you what all those boolean args are for. In the above case it only outputs unused addresses in the external (receive) chain.

> **Comments:**
> **username_2**: Can you add some explanation/links to official documentation? The code alone, while possibly correct, is not a helpful answer  
> **username_3**: @username_2 This page talks about how to use the console, and documents built-in functions: https://bitzuma.com/posts/an-introduction-to-the-electrum-python-console/ You can enter the code into the console.  

---

