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

when I tried to access a file from the bash shell (on windows) I got this error:

smolderingflax@hello:~$ /mnt/c/app_a_day/organize_txt_file.py
/mnt/c/app_a_day/organize_txt_file.py: line 1: import: command not found
/mnt/c/app_a_day/organize_txt_file.py: line 2: $'\r': command not found
/mnt/c/app_a_day/organize_txt_file.py: line 3: syntax error near unexpected token `('
'mnt/c/app_a_day/organize_txt_file.py: line 3: `def clear():
smolderingflax@hello:~$

I guess I should point out the file works fine when accessed from the cmd