# Python to JS code error (TypeError)

**URL:** <https://discourse.psychopy.org/t/python-to-js-code-error-typeerror/34262>\
**Category:** Online experiments\
**Created:** [April 5, 2023, 2:20pm UTC](https://discourse.psychopy.org/t/python-to-js-code-error-typeerror/34262 "2023-04-05T14:20:56Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![JensBoelte](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/jensboelte/32/9060_2.png) [@JensBoelte](https://discourse.psychopy.org/u/JensBoelte)\
**Post date:** [April 7, 2023, 9:46am UTC](https://discourse.psychopy.org/t/python-to-js-code-error-typeerror/34262/13 "2023-04-07T09:46:32Z")

</div>

Hello,

yes, it runs online. Give it a [try](https://run.pavlovia.org/jens.boelte/sentstim).

Well, in my script, the variable **sentence** that is read in is not modified. This was different in the post you refer to.

Best wishes Jens

---

_[View the full topic](https://discourse.psychopy.org/t/python-to-js-code-error-typeerror/34262)._
