# Starting with python

**URL:** <https://forum.dynamobim.com/t/starting-with-python/4130>\
**Category:** Developers\
**Created:** [May 23, 2016, 3:05pm UTC](https://forum.dynamobim.com/t/starting-with-python/4130 "2016-05-23T15:05:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manel\_Fernandez](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/manel_fernandez/32/9123_2.png) [@Manel\_Fernandez](https://forum.dynamobim.com/u/Manel_Fernandez)\
**Post date:** [May 23, 2016, 3:05pm UTC](https://forum.dynamobim.com/t/starting-with-python/4130/1 "2016-05-23T15:05:10Z")

</div>

Hi there,  
I’m trying to start studying python. so I’ve created a very basic node. The thing is that it is working correctly, but I would like to get a list of the result not just the last one.

thks  
 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/8/8a19c8a1154915e6b21fd2749ecca5be865577ba.JPG) ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/9/94baef0bb36052c5bc6075319f5385d65cdd03e4.JPG)

---

<div class="post-metadata">

**Author:** ![Monkey\_Puppet](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/monkey_puppet/32/8554_2.png) [@Monkey\_Puppet](https://forum.dynamobim.com/u/Monkey_Puppet)\
**Post date:** [May 23, 2016, 3:28pm UTC](https://forum.dynamobim.com/t/starting-with-python/4130/2 "2016-05-23T15:28:14Z")

</div>

Manel,

First you have to define output as a list and then you have to append that list.

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/6/65a4c4415dcd703892bdcda1965209778d6431c3.JPG)

---

<div class="post-metadata">

**Author:** ![Manel\_Fernandez](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/manel_fernandez/32/9123_2.png) [@Manel\_Fernandez](https://forum.dynamobim.com/u/Manel_Fernandez)\
**Post date:** [May 23, 2016, 3:32pm UTC](https://forum.dynamobim.com/t/starting-with-python/4130/3 "2016-05-23T15:32:35Z")

</div>

Thks a lot

---

<div class="post-metadata">

**Author:** ![Jason\_Parker](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jason_parker/32/8550_2.png) [@Jason\_Parker](https://forum.dynamobim.com/u/Jason_Parker)\
**Post date:** [June 7, 2016, 10:53pm UTC](https://forum.dynamobim.com/t/starting-with-python/4130/4 "2016-06-07T22:53:46Z")

</div>

I’m also trying to figure out Python / Dynamo and been reading all afternoon. I found this thread and figured I’d try to duplicate the work since it’s pretty straight forward. Here’s what I don’t understand, why does the code block for 1,0,1 evaluate correctly off my Python node, but the {True, false, true} reports all false?  
Everything is an exact copy at this point as far as I can tell;  
(Capital True vs true was a case sensitivity check) 🙂

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/7/71e56a11a9ebe8e7d8a9df2482ab311f1c38c54d.png)

---

<div class="post-metadata">

**Author:** ![Michael\_Kirschner](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/michael_kirschner/32/237_2.png) [@Michael\_Kirschner](https://forum.dynamobim.com/u/Michael_Kirschner)\
**Post date:** [June 7, 2016, 11:27pm UTC](https://forum.dynamobim.com/t/starting-with-python/4130/5 "2016-06-07T23:27:24Z")

</div>

true is not the same as “true” which is just a string of characters. true, without quotes - is a boolean value.
