# Text responses in python: Input() function and dialogue boxes

**URL:** https://discourse.psychopy.org/t/text-responses-in-python-input-function-and-dialogue-boxes/12849
**Category:** Builder
**Tags:** spyder
**Created:** [April 28, 2020, 6:26pm UTC](https://discourse.psychopy.org/t/text-responses-in-python-input-function-and-dialogue-boxes/12849 "2020-04-28T18:26:29Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![dvbridges](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/dvbridges/32/1918_2.png) [@dvbridges](https://discourse.psychopy.org/u/dvbridges)
#### Post date: [April 28, 2020, 6:42pm UTC](https://discourse.psychopy.org/t/text-responses-in-python-input-function-and-dialogue-boxes/12849/2 "2020-04-28T18:42:17Z")

</div>

@miguel_santin, see this recent related post

> [@Input () EOF when reading a line](https://discourse.psychopy.org/t/input-eof-when-reading-a-line/12791):
>
> Hi everyone! I am learning to program experiments for PsychoPy3 on a MacBook. However, after several days trying to fix an error, I have decided to post my problem in this forum, hoping to finally be able to solve it and that maybe it can help future programmers. I am programming a really simple task, and the problem appears when the program asks for the participant’s name. My script is as follows (constants.py file): NAME = input ("Insert participant name: ") and the error is as follows: …

---

_[View the full topic](https://discourse.psychopy.org/t/text-responses-in-python-input-function-and-dialogue-boxes/12849)._
