wadetb / Sublime-Text-Advanced-CSV

Efficiently format, edit, arrange, and evaluate cells in CSV files
169 stars 14 forks source link

Allow launching an external Python script on the CSV data #21

Open wadetb opened 9 years ago

wadetb commented 9 years ago

To more easily access full NumPy (and other tools like MathPlotLib), allow a syntax =[range]!foo.py which serializes range (entire document if not specified), then launches a Python process to execute foo.py with the serialized data piped to stdin.

If the process outputs anything it's opened in a new "Evaluation results", or appended if that view already exists.

Need to check on the best serialization form, something that is easily translatable to a Python and/or NumPy array.