Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python

Paolo Scamardella
Paolo Scamardella
24,828 Points

[marshal(course, course_fields) for course in models.Course.select()]???

I don't care the marshal or model part of this syntax.

I went through the basics of Python pretty fast since I know most of the programming concepts, and I do not remember seeing anything about this. Maybe I missed it or not paying any attention.

Can someone point me to the video or resource that explains [ ... for ... ]? Also, what is it called? I want to be able to dig more about this on the internet.

Thanks