Re: Making Python3 default eval option on Linux

2018-04-11 Thread Eduard Florinescu
Indeed you are right, I made a SO answer on how to:

https://stackoverflow.com/questions/28327779/running-python-3-from-light-table/49772951#49772951


On Thursday, January 25, 2018 at 3:52:51 AM UTC+2, Sivaram Konanki wrote:
>
> I got the same error! Need to do some changes to py-src files in the 
> python plugin folders I guess.
>
> On Tuesday, November 21, 2017 at 5:03:05 AM UTC+9, Enes Demirag wrote:
>>
>> Hello,
>>
>> I want to eval my python files with python3 but it runs with python2. 
>> There is a way on internet but it is for Windows users. I am using Linux 
>> Ubuntu.
>>
>> I added this to the user.behaviors but it didn't work:
>>
>> [:app :lt.plugins.python "usr/bin/python3"]
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Light Table Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to light-table-discussion+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Making Python3 default eval option on Linux

2018-04-11 Thread Eduard Florinescu
There is an issue with unicode, I also modified ltmain.py to work with 
Python3 see here:
https://github.com/eduardflorinescu/lighttable_python3_patch/blob/master/ltmain.py

Make sure you backup, you can diff the two to see what are the differences:



On Monday, November 20, 2017 at 10:03:05 PM UTC+2, Enes Demirag wrote:
>
> Hello,
>
> I want to eval my python files with python3 but it runs with python2. 
> There is a way on internet but it is for Windows users. I am using Linux 
> Ubuntu.
>
> I added this to the user.behaviors but it didn't work:
>
> [:app :lt.plugins.python "usr/bin/python3"]
>

-- 
You received this message because you are subscribed to the Google Groups 
"Light Table Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to light-table-discussion+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.