# How can I learn more about code view

**URL:** <https://discourse.psychopy.org/t/how-can-i-learn-more-about-code-view/2628>\
**Category:** Coding\
**Created:** [June 18, 2017, 11:36pm UTC](https://discourse.psychopy.org/t/how-can-i-learn-more-about-code-view/2628 "2017-06-18T23:36:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rezach](https://avatars.discourse-cdn.com/v4/letter/r/8491ac/32.png) [@rezach](https://discourse.psychopy.org/u/rezach)\
**Post date:** [June 18, 2017, 11:36pm UTC](https://discourse.psychopy.org/t/how-can-i-learn-more-about-code-view/2628/1 "2017-06-18T23:36:39Z")

</div>

Hi. I recently find out about Psychopy and the great potential of this program in designing the tasks. Although I am able to create an experiment in the builder view, I am completely confused in coding view. I read the documentation of Psychopy, however I think I need a basic dource to learn coding. Can anyone introduce a good way to learn how to write codes in Psychopy?  
Thanks all

---

<div class="post-metadata">

**Author:** ![Michael](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/michael/32/16_2.png) [@Michael](https://discourse.psychopy.org/u/Michael)\
**Post date:** [June 18, 2017, 11:42pm UTC](https://discourse.psychopy.org/t/how-can-i-learn-more-about-code-view/2628/2 "2017-06-18T23:42:17Z")

</div>

Hello, the best option is to keep an eye out for the workshops which Jon Peirce runs at the University of Nottingham.

Failing that, you should start first by looking for the (many) options available online to learn the Python language itself. i.e. first get comfortable with the features of Python, and then learn the specific capabilities provided by the PsychoPy library.

i.e. to use PsychoPy in code, you really do need to understand basic features of Python, such as structuring your code with looping and if/then statements, understanding variable types, and generic objects like lists and dictionaries. These are the lingua franca of Python which will then make it much easier to read both PsychoPy example code as well as the online API documentation.

---

<div class="post-metadata">

**Author:** ![djmannion](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/djmannion/32/37535_2.png) [@djmannion](https://discourse.psychopy.org/u/djmannion)\
**Post date:** [June 19, 2017, 8:25am UTC](https://discourse.psychopy.org/t/how-can-i-learn-more-about-code-view/2628/3 "2017-06-19T08:25:58Z")

</div>

I have a set of material for [Programming for Psychology in Python](http://www.djmannion.net/psych_programming/) that might be of interest; the [Vision Science](http://www.djmannion.net/psych_programming/vision/) section includes content on PsychoPy. There are also a couple of associated sets of screencasts, on [Fundamentals](https://www.youtube.com/playlist?list=PLuqBA9VDSXk6oOFsRZqQVZ8gjhHXbIJ2c) and [Vision Science](https://www.youtube.com/playlist?list=PLuqBA9VDSXk7Z06RtJ6Gh6Y5YznVrFrK6).

---

<div class="post-metadata">

**Author:** ![Michael](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/michael/32/16_2.png) [@Michael](https://discourse.psychopy.org/u/Michael)\
**Post date:** [June 19, 2017, 8:40am UTC](https://discourse.psychopy.org/t/how-can-i-learn-more-about-code-view/2628/4 "2017-06-19T08:40:16Z")

</div>

Those are great resources you’ve created, Damien.

Definitely bookmarking those URLs for the next time this question comes up!
