Fedora Linux Support Community & Resources Center
  #1  
Old 30th September 2008, 12:51 AM
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,902
looking for a perl or Tk widget for easily displaying text data as a table

I have some whlte space delimited text data files that are used for some simulations, the first line just labels the meaning of each column but since the numbers are of different types and widths (some are just a single digit ints, some are doubles/floats) the columns don't line up well and it's hard to read. Even within a given column the size of the numbers can go from single to multiple digits so I'm trying to find a justified column display format.

I would like to find a Tk or perl module/widget that can read in such a file and display the columns in a justified way line a spreadsheet so the data can be interpreted easier. Can someone suggest a widget or module for this? I've installed:

perl-Text-TabularDisplay
perl-Tk
perl-Text-SimpleTable

I'd prefer not to use a spreadsheet since I'd like to make this into something I could check into cvs so other developers at work can use it.
but still haven't found what I want. These files are up to 44 columns wide and thousands of lines long so a simple display only tool would be best (there's no need to change or edit the data)
thanks,
Mark

Last edited by marko; 30th September 2008 at 12:55 AM.
Reply With Quote
  #2  
Old 30th September 2008, 07:23 AM
daverj Offline
Registered User
 
Join Date: Jan 2006
Location: Denver, CO USA
Posts: 670
http://tktable.sourceforge.net/

Tk's widget set is really poor and the fact that it does not use native rendering makes it look ugly on all platforms. If you are doing some serious gui stuff, I would suggest a different widget set. Personally, I use wxPython. Easy to learn and an incredibly rich widget set.

davidj
Reply With Quote
  #3  
Old 30th September 2008, 03:20 PM
ibbo Offline
Registered User
 
Join Date: Jun 2005
Location: Leeds
Posts: 1,264
gtk+ for me
__________________
A Hangover Lasts A Day, But Our Drunken Memories Last A Lifetime
--
Linux user #349545
(GNU/Linux)iD8DBQBAzWjX+MZAIjBWXGURAmflAKCntuBbuKCWenpm XoA7LNydllVQOwCfdjyzXscddzQvlhBedAcD7qfKmHo==zx0H
Reply With Quote
Reply

Tags
data, displaying, easily, perl, table, text, widget

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MRTG-eth not displaying data lars_kuha Servers & Networking 1 9th August 2011 03:59 AM
ls /dev/sda* displaying entries not in partition table LinuxTom Using Fedora 3 6th September 2009 07:35 PM
Perl code displaying as plain text Broady Using Fedora 2 6th May 2007 12:46 AM
perl/tk entry widget doesn't get keyboard input rdwinders Programming & Packaging 5 19th March 2007 11:06 PM
Can database server extract data from two different servers easily? tech291083 Servers & Networking 0 28th September 2006 04:57 PM


Current GMT-time: 23:54 (Wednesday, 23-04-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat