![]() |
CSV viewer?
Is there any way to view CSV files in Sailfish? Using 'open' in Nemo (the standard file manager) opens a spreadsheet but it only has the first column visible while 'view contents' shows the all of the first 10kb but without any formatting it's not nice to look at.
|
Re: CSV viewer?
Don't know much about it, but would this do it - https://openrepos.net/content/kabouik/sc-im ?
or - https://openrepos.net/content/kabouik/gnuplot ? |
Re: CSV viewer?
SFOS has python support, and python has a csv module. If you want to get your hands (a little) dirty you could adapt the examples here to do the job for you. . . . Ooh, it looks like there's higher level library, too, called "pandas".
This script: Code:
import pandas Code:
Name,Hire Date,Salary,Sick Days remaining Code:
Name Hire Date Salary Sick Days remaining p.s. The mighty N900 had gnumeric . . . I miss that. :( |
Re: CSV viewer?
Thanks for the answers, just trying them out.
SC-IM looks good, except for some cells being full of ***********. I checked and the first one this happens on contains 186 characters so I think there's a limit? Shrinking the font didn't change what was displayed. Python also looked hopeful but the example linked for straight CSV reading gives 'invalid syntax' although (conveniently) my CSV has exactly 3 columns so it should work. I got "No module named pandas" when trying to import that and the install guide says to use Anaconda to install it but that also doesn't appear to be available on Sailfish. Any pointers would be much appreciated :) |
Re: CSV viewer?
In SFOS, you need to go with the pip install method rather than anaconda. So something like:
HTML Code:
pip3 install <module> |
Re: CSV viewer?
Python3 installed, still no pip3. No pip either... Thanks for the pointer, I'll have a play.
Quote:
|
All times are GMT. The time now is 23:21. |
vBulletin® Version 3.8.8