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


Barak Rogers
Barak Rogers
12,867 Points

Referencing variables in different files in the brackets editor

I have several files in my project. One is a Javascript file and the other is a Python file. In my project I am getting input from a website and I am getting that info using Javascript however once I have the data I would like to do several things with it using Python. I would like to use a variable from my Javascript file in my Python file and vice versa. How could I accomplish that?