# Python code samples? stupid question

**URL:** <https://forums.digi.com/t/python-code-samples-stupid-question/21983>\
**Category:** Python\
**Tags:** code, samples, python\
**Created:** [November 10, 2020, 9:22am UTC](https://forums.digi.com/t/python-code-samples-stupid-question/21983 "2020-11-10T09:22:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![steve1428](https://avatars.discourse-cdn.com/v4/letter/s/ed8c4c/32.png) [@steve1428](https://forums.digi.com/u/steve1428)\
**Post date:** [November 10, 2020, 9:22am UTC](https://forums.digi.com/t/python-code-samples-stupid-question/21983/1 "2020-11-10T09:22:30Z")

</div>

um, I’ve looked all over the place on the website, where are some simple python code examples of how to make and XBee do something simple?

I can make them talk to each other with XCTU but I need some examples of python serial code to move forward.

---

<div class="post-metadata">

**Author:** ![backpacker87](https://avatars.discourse-cdn.com/v4/letter/b/edb3f5/32.png) [@backpacker87](https://forums.digi.com/u/backpacker87)\
**Post date:** [November 10, 2020, 12:49pm UTC](https://forums.digi.com/t/python-code-samples-stupid-question/21983/2 "2020-11-10T12:49:02Z")

</div>

Check this out: [https://www.digi.com/resources/documentation/digidocs/PDFs/90002219.pdf](https://www.digi.com/resources/documentation/digidocs/PDFs/90002219.pdf)

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [November 10, 2020, 12:48pm UTC](https://forums.digi.com/t/python-code-samples-stupid-question/21983/3 "2020-11-10T12:48:55Z")

</div>

[https://www.digi.com/support/productdetail?pid=5674&amp;type=documentation](https://www.digi.com/support/productdetail?pid=5674&amp;type=documentation)

---

<div class="post-metadata">

**Author:** ![Tecocraftltd](https://avatars.discourse-cdn.com/v4/letter/t/9dc877/32.png) [@Tecocraftltd](https://forums.digi.com/u/Tecocraftltd)\
**Post date:** [December 30, 2020, 1:30pm UTC](https://forums.digi.com/t/python-code-samples-stupid-question/21983/4 "2020-12-30T13:30:17Z")

</div>

# This program prints Hello, world!

print(‘Hello, world!’)

Output

Hello, world!

Contact - [https://www.tecocraft.co.uk/python-development/](https://www.tecocraft.co.uk/python-development/)
