# Issue while running python scripts using shell module

**URL:** <https://forum.ansible.com/t/issue-while-running-python-scripts-using-shell-module/31576>\
**Category:** Ansible Project\
**Tags:** awx\
**Created:** [October 31, 2019, 9:48am UTC](https://forum.ansible.com/t/issue-while-running-python-scripts-using-shell-module/31576 "2019-10-31T09:48:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![soumya\_dutta](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@soumya\_dutta](https://forum.ansible.com/u/soumya_dutta)\
**Post date:** [October 31, 2019, 9:48am UTC](https://forum.ansible.com/t/issue-while-running-python-scripts-using-shell-module/31576/1 "2019-10-31T09:48:01Z")

</div>

I am trying to run python scripts using shell module and pass variables in a dictionary format as an input but it shows syntax error every time I run it through awx.

---

<div class="post-metadata">

**Author:** ![sdoran](https://avatars.discourse-cdn.com/v4/letter/s/47e85d/32.png) [@sdoran](https://forum.ansible.com/u/sdoran)\
**Post date:** [October 31, 2019, 1:33pm UTC](https://forum.ansible.com/t/issue-while-running-python-scripts-using-shell-module/31576/2 "2019-10-31T13:33:31Z")

</div>

Please reach out on the [AWX mailing list](https://groups.google.com/forum/#!forum/awx-project) or [#ansible-awx on Freenode IRC](https://webchat.freenode.net/#ansible-awx) in order to get help with AWX.
