From ba10bd2e10ae9c4858cc3d422887534a7c329352 Mon Sep 17 00:00:00 2001 From: "Ryan G. Young" Date: Sat, 27 Mar 2021 17:23:03 -0700 Subject: [PATCH] rebase and add include_code to page --- content/tutorials/get-started/get-started-using-python.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/content/tutorials/get-started/get-started-using-python.md b/content/tutorials/get-started/get-started-using-python.md index 7bee41c54d..ae308add55 100644 --- a/content/tutorials/get-started/get-started-using-python.md +++ b/content/tutorials/get-started/get-started-using-python.md @@ -8,6 +8,7 @@ blurb: Build a simple Python app that interacts with the XRP Ledger. cta_text: Build an XRP Ledger-connected app filters: - interactive_steps + - include_code --- # Get Started Using Python @@ -64,7 +65,7 @@ To make queries and submit transactions, you need to establish a connection to t ```py -{{ include_code("_code-samples/xrpl-py/get-acct-info.py", start_with="# Define the network client", end_before="# Create a wallet using the testnet faucet:")}} +{{ include_code("_code-samples/xrpl-py/get-acct-info.py", start_with="# Define the network client", end_before="# Create a wallet using the testnet faucet:", language="py") }} ``` @@ -80,7 +81,7 @@ To make it easy to create a wallet on the Testnet, `xrpl-py` provides the [`gene ```py -{{ include_code("_code-samples/xrpl-py/get-acct-info.py", start_with="# Create a wallet using the testnet faucet", end_before="# Create an account str from the wallet") }} +{{ include_code("_code-samples/xrpl-py/get-acct-info.py", start_with="# Create a wallet using the testnet faucet", end_before="# Create an account str from the wallet", language="py") }} ``` This method returns a [`Wallet` instance](https://xrpl-py.readthedocs.io/en/latest/source/xrpl.wallet.html#xrpl.wallet.Wallet):