简体   繁体   中英

Having trouble getting python build working in sublime text 2 (on mac)

I've been working at this for an hour or so now, just having no luck. It looks to me like it thinks I'm trying to run the code in javascript, and when I use javascript it works. I don't know why my python build is running javascript though. I checked the file and it seems fine.

what I tried to run, and the output

Have you specified "Python" via Tools > Build System > Python ?

See this question: How do I run Python code from Sublime Text 2?

屏幕截图

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM