smoother python 2.7 to 3.x transition (scite as IDE)

copyright (C) 2011-2017 iesensor.com

I aim to write code in python script, most of time, single file script, to run on both 2.x and 3.x with my favorite light-weighted IDE scite. So here is my setup

1.default python 2.7 anaconda, setup the env var  and point to this file, for linux, set it in ‘.bashrc’

$HOME/.config/python/ put this in your .bashrc:
export PYTHONSTARTUP=$HOME/.config/python/python-startup.py ##########

python-startup.py#######

     

  1. edit scite “python.properties” file and add the following at the end and use your own python3 path to replace : “D:\Software\Python3\pythonw” it should apply to windows and linux

BSD documentation licensed Free for non-commercial usage only
Author: Qingfeng XIA
copyright (C) 2011-2017
http://www.iesensor.com
please keep the original link in your reference.
http://www.iesensor.com/blog/2015/09/06/smoother-python-2-7-to-3-x-transition-scite-as-ide/
This entry was posted in Programming. Bookmark the permalink.