# How can I write python code in knime?

**URL:** <https://forum.knime.com/t/how-can-i-write-python-code-in-knime/5640>\
**Category:** KNIME Analytics Platform\
**Created:** [January 25, 2017, 9:35am UTC](https://forum.knime.com/t/how-can-i-write-python-code-in-knime/5640 "2017-01-25T09:35:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![singing\_bird](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/s/7cd45c/32.png) [@singing\_bird](https://forum.knime.com/u/singing_bird)\
**Post date:** [January 25, 2017, 9:35am UTC](https://forum.knime.com/t/how-can-i-write-python-code-in-knime/5640/1 "2017-01-25T09:35:46Z")

</div>

Hi everyone,

I am using knime nodes and i make a project using these nodes. Iwant to write a python code to make a new algorithm that is not found in any node. Can I write python code in knime? and how? or which node allows me to write the python code?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![knot](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/k/ed8c4c/32.png) [@knot](https://forum.knime.com/u/knot)\
**Post date:** [January 25, 2017, 10:39am UTC](https://forum.knime.com/t/how-can-i-write-python-code-in-knime/5640/2 "2017-01-25T10:39:46Z")

</div>

You can find the Python nodes under

Scripting -\> Python

in the node Repository. Please keep in mind that these nodes only support Python version 2. The official support for Python 2 will end in 2020 (https://pythonclock.org/).

You will need to install further Python 2 libraries for it to work. For example, `pandas` and `google.protobuf` are needed.

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [June 23, 2023, 8:22pm UTC](https://forum.knime.com/t/how-can-i-write-python-code-in-knime/5640/3 "2023-06-23T20:22:11Z")

</div>


