# Getting written responses

**URL:** <https://discourse.psychopy.org/t/getting-written-responses/11630>\
**Category:** Coding\
**Created:** [March 21, 2020, 12:28pm UTC](https://discourse.psychopy.org/t/getting-written-responses/11630 "2020-03-21T12:28:06Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Omidrezaa](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/omidrezaa/32/6105_2.png) [@Omidrezaa](https://discourse.psychopy.org/u/Omidrezaa)\
**Post date:** [March 22, 2020, 6:42am UTC](https://discourse.psychopy.org/t/getting-written-responses/11630/3 "2020-03-22T06:42:38Z")

</div>

Hi @GIULIA_SFRISO

I had the same problem with a similar code. However, I used the code from the post below and it worked:

> [@Writen response](https://discourse.psychopy.org/t/writen-response/4676/2):
>
> Hi @alba, a simple solution involves using text and code components in Builder. Have one component display text called e.g., displayText, and another called e.g., copyText In the code component, add the following code to the relevant tabs. Note, the shift keys to capitalize are not working at this point. Begin Experiment import string allLetters = list(string.ascii\_lowercase) Begin Routine textFill = '' Each Frame keys = event.getKeys() if 'escape' in keys: core.quit() # So you can quit…

---

_[View the full topic](https://discourse.psychopy.org/t/getting-written-responses/11630)._
