Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript

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?