# Should I learn Python 2.x or Python 3.x?

**URL:** <https://forum.dynamobim.com/t/should-i-learn-python-2-x-or-python-3-x/15266>\
**Category:** FAQ\
**Created:** [October 2, 2017, 3:04am UTC](https://forum.dynamobim.com/t/should-i-learn-python-2-x-or-python-3-x/15266 "2017-10-02T03:04:55Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Angman](https://avatars.discourse-cdn.com/v4/letter/a/7ba0ec/32.png) [@Angman](https://forum.dynamobim.com/u/Angman)\
**Post date:** [October 2, 2017, 3:04am UTC](https://forum.dynamobim.com/t/should-i-learn-python-2-x-or-python-3-x/15266/1 "2017-10-02T03:04:55Z")

</div>

Hello.  
This is my first post so I apologize if I am in the wrong place. This is also a very basic question so please bear with me. I am a new user of dynamo with no programming experience whatsoever.  
I would like to start learning python to get into some more advanced graphs. It is unclear to me whethe I should be learning python 2 or 3. It seems most threads reference python 2 but they are from a while ago. I understand that 2 is more mature but if python3 is the direction things will go I want to be ahead of the curve.

Write now it is unclear to me whether I can even use python 3. Once again this is a question what I should learn; i.e. I do not know coding or python at all so I apologize if what I a am asking makes no real sense.

I’d appreciate any input and thanks in advance.

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [October 2, 2017, 3:20am UTC](https://forum.dynamobim.com/t/should-i-learn-python-2-x-or-python-3-x/15266/2 "2017-10-02T03:20:01Z")

</div>

Hi @Angman  
I would suggest you start with python for kids  
[https://books.google.com/books/about/Python\_for\_Kids.html?id=Wd\_PJ2y68uIC&printsec=frontcover&source=kp\_read\_button&redir\_esc=y](https://books.google.com/books/about/Python_for_Kids.html?id=Wd_PJ2y68uIC&printsec=frontcover&source=kp_read_button&redir_esc=y)

---

<div class="post-metadata">

**Author:** ![Angman](https://avatars.discourse-cdn.com/v4/letter/a/7ba0ec/32.png) [@Angman](https://forum.dynamobim.com/u/Angman)\
**Post date:** [October 2, 2017, 3:46am UTC](https://forum.dynamobim.com/t/should-i-learn-python-2-x-or-python-3-x/15266/3 "2017-10-02T03:46:39Z")

</div>

Thanks @Kulkul. I’ll look it up. For kids sounds right up my alley as far as programming is concerned 🙂

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [October 2, 2017, 3:47am UTC](https://forum.dynamobim.com/t/should-i-learn-python-2-x-or-python-3-x/15266/4 "2017-10-02T03:47:31Z")

</div>

The Python used by dynamo is IronPython, which is 2.7 I believe.

Decent app which I have started learning with is ‘Learn Python’ by SoloLearn. Game-ified content and covers the basics well. While it’s based on Python 3 it’s easy enough to go backwards from what I can see.

> **[Introduction to Python | Learn with Sololearn](https://www.sololearn.com/learn/courses/python-introduction)**
>
> Learn Python the easy way! Simple bite-sized daily lessons, fun practice exercises, and a supportive global community. Great for beginners!

---

<div class="post-metadata">

**Author:** ![Konrad\_K\_Sobon](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/konrad_k_sobon/32/8838_2.png) [@Konrad\_K\_Sobon](https://forum.dynamobim.com/u/Konrad_K_Sobon)\
**Post date:** [October 2, 2017, 2:02pm UTC](https://forum.dynamobim.com/t/should-i-learn-python-2-x-or-python-3-x/15266/5 "2017-10-02T14:02:08Z")

</div>

I can only echo @jacob.small comment that Dynamo and in large any other AEC related software that uses Python related functionality has been so far using the IronPython 2.7.x. This has to do with the fact that it’s not really a pure Python, but a .NET flavor of it so they are a few releases behind Python. However, there is no reason to just learn Python 3.x. Your real goal here is that you are looking to start with syntax and some basic list operations. Any beginner level course will give you that, and then from that point on you will figure out the differences between that and the .net Iron Python are. I don’t see why you would have to worry about 3.x vs. 2.x at this point…good luck!

---

<div class="post-metadata">

**Author:** ![MartinSpence](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/martinspence/32/25208_2.png) [@MartinSpence](https://forum.dynamobim.com/u/MartinSpence)\
**Post date:** [October 2, 2017, 4:39pm UTC](https://forum.dynamobim.com/t/should-i-learn-python-2-x-or-python-3-x/15266/6 "2017-10-02T16:39:31Z")

</div>

[Codecademy.com](http://Codecademy.com) is also worth a mention. They have a free and easy going python 2 course, which worked excellent for me as an introduction to the syntax 🙂

---

<div class="post-metadata">

**Author:** ![Angman](https://avatars.discourse-cdn.com/v4/letter/a/7ba0ec/32.png) [@Angman](https://forum.dynamobim.com/u/Angman)\
**Post date:** [October 2, 2017, 11:32pm UTC](https://forum.dynamobim.com/t/should-i-learn-python-2-x-or-python-3-x/15266/7 "2017-10-02T23:32:53Z")

</div>

Thanks everyone for all the input. I’ll start with 3.x and hopefully as I progress I’ll learn the nuances of 2.x, .NET etc.

Great community and much appreciated

---

<div class="post-metadata">

**Author:** ![aron1haroon](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@aron1haroon](https://forum.dynamobim.com/u/aron1haroon)\
**Post date:** [March 22, 2023, 10:56am UTC](https://forum.dynamobim.com/t/should-i-learn-python-2-x-or-python-3-x/15266/8 "2023-03-22T10:56:57Z")

</div>

Fast forwarding to five years, is dynamo still using Python 2.x or 3.x??  
Any answers will be highly appreciated.

---

<div class="post-metadata">

**Author:** ![digitechroshni](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/digitechroshni/32/180313_2.png) [@digitechroshni](https://forum.dynamobim.com/u/digitechroshni)\
**Post date:** [April 23, 2024, 11:43am UTC](https://forum.dynamobim.com/t/should-i-learn-python-2-x-or-python-3-x/15266/9 "2024-04-23T11:43:23Z")

</div>

Python 2 and Python 3 are both widely used, but Python 3 is the current version and the direction in which the language is evolving. Therefore, it’s recommended to start learning Python 3 to stay up-to-date with the latest features and best practices.

---

<div class="post-metadata">

**Author:** ![GavinNicholls](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gavinnicholls/32/190442_2.png) [@GavinNicholls](https://forum.dynamobim.com/u/GavinNicholls)\
**Post date:** [April 23, 2024, 12:19pm UTC](https://forum.dynamobim.com/t/should-i-learn-python-2-x-or-python-3-x/15266/10 "2024-04-23T12:19:24Z")

</div>

This thread has been necro’d a few too many times and we have more up to date resources on this topic such as past announcements from the Dynamo developer team. Please don’t revive threads to promote a paid course.

For anyone’s future reference this is a good (if a bit old) summary of Python3 in the context of the shift:

> **[Why has Dynamo Switched to Python 3, Should I Update Too? - Dynamo BIM](https://dynamobim.org/why-has-dynamo-switched-to-python-3-should-i-update-too/)**
>
> Since the introduction of Python 3 in 2008, Python 2 and 3 have been supported side-by-side by the Python Software Foundation (PSF) and the broader Python Community. This stopped on …

Thread closed.

---

<div class="post-metadata">

**Author:** ![GavinNicholls](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gavinnicholls/32/190442_2.png) [@GavinNicholls](https://forum.dynamobim.com/u/GavinNicholls)\
**Post date:** [April 23, 2024, 12:19pm UTC](https://forum.dynamobim.com/t/should-i-learn-python-2-x-or-python-3-x/15266/11 "2024-04-23T12:19:40Z")

</div>


