[code] [textadept] Run both Python 2 and 3

From: Jay Young <jyng7.att.hotmail.com>
Date: Sat, 18 Jul 2015 00:34:55 -0500

I've found that if I edit line 202 of the "run.lua" file to this:
python='/Library/Frameworks/Python.framework/Versions/3.4/bin/python3.4 -u "%f"'
that I can run Python3 from Textadept. However, I'd like to be able to run either Python 2 or 3. My thought (even though it's rarely done) is to make python 3 file extensions ".py3" and then keep python 2 extensions as normal (".py"). Is there a way that Textadept could tell the difference then and run the file in the correct version of Python?

You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Sat 18 Jul 2015 - 01:34:55 EDT

This archive was generated by hypermail 2.2.0 : Sat 18 Jul 2015 - 06:27:58 EDT