<blockquote>
  <p>How exactly does sending multiple commands to a command prompt work?</p>
</blockquote>

<p>Are you asking about <a href="http://en.wikipedia.org/wiki/Shell_script" rel="nofollow">shell scripting</a> in general? If you know how to send one command through the Bitcoin command-line interface, performing multiple commands is just writing a script to do it multiple times - in this case you can't do it at the application level.</p>

<blockquote>
  <p>Can I run a python script</p>
</blockquote>

<p>Yes, use <a href="https://pypi.python.org/pypi/python-bitcoinlib" rel="nofollow">python-bitcoinlib</a>, which is now maintained by Peter Todd, and is available by pip.</p>

CC BY-SA 3.0
2014-12-17T07:31:32.690Z
2014-12-17T07:31:32.690Z
btcee99
<p>Yes, I can generate a new address through the bitcoin-qt command console, but how might I run a for loop to generate 100 different addresses? What kind of file does the bitcoin client take?</p>

<p>Can I run a python script through the bitcoin command console?</p>

<p>How exactly does sending multiple commands to a command prompt work?</p>

<bitcoin-core><json-rpc>
How to run multiple bitcoin RPC commands through the command window?
nick carraway
# How to run multiple bitcoin RPC commands through the command window?

(Asked by: username_0 on 2014-12-15)

Yes, I can generate a new address through the bitcoin-qt command console, but how might I run a for loop to generate 100 different addresses? What kind of file does the bitcoin client take?

Can I run a python script through the bitcoin command console?

How exactly does sending multiple commands to a command prompt work?

**Tags:** bitcoin-core, json-rpc


---

## 1 answers

### Answer by username_1 on 2014-12-17. Score: 0

> How exactly does sending multiple commands to a command prompt work?

Are you asking about [shell scripting](http://en.wikipedia.org/wiki/Shell_script) in general? If you know how to send one command through the Bitcoin command-line interface, performing multiple commands is just writing a script to do it multiple times - in this case you can't do it at the application level.

> Can I run a python script

Yes, use [python-bitcoinlib](https://pypi.python.org/pypi/python-bitcoinlib), which is now maintained by Peter Todd, and is available by pip.


---

