Latest recipes tagged "columns"http://code.activestate.com/recipes/tags/columns/new/2012-05-22T18:25:21-07:00ActiveState Code RecipesWorking with Excel Indexes (Python)
2012-05-22T18:25:21-07:00Garretthttp://code.activestate.com/recipes/users/4181290/http://code.activestate.com/recipes/578142-working-with-excel-indexes/
<p style="color: grey">
Python
recipe 578142
by <a href="/recipes/users/4181290/">Garrett</a>
(<a href="/recipes/tags/column/">column</a>, <a href="/recipes/tags/columns/">columns</a>, <a href="/recipes/tags/excel/">excel</a>, <a href="/recipes/tags/python/">python</a>).
</p>
<p>I have had extensive issues working with excel indexies (i.e. 'AA100'). Here is code to convert out of and into all of the indexes.</p>
<p>There may be better ways to do this, I don't care anymore. This works.</p>
Get columns of data from text files (Python)
2010-10-28T16:18:19-07:00aliniumhttp://code.activestate.com/recipes/users/4175605/http://code.activestate.com/recipes/577444-get-columns-of-data-from-text-files/
<p style="color: grey">
Python
recipe 577444
by <a href="/recipes/users/4175605/">alinium</a>
(<a href="/recipes/tags/columns/">columns</a>, <a href="/recipes/tags/file/">file</a>, <a href="/recipes/tags/parsing/">parsing</a>).
</p>
<p>Read in a tab-delimited (or any separator-delimited like CSV) file and store each column in a list that can be referenced from a dictionary. The keys for the dictionary are the headings for the columns (if any). All data is read in as strings.</p>
Implementing Vertical Editing in Komodo 6 (JavaScript)
2010-09-29T19:09:35-07:00Eric Promislowhttp://code.activestate.com/recipes/users/4166930/http://code.activestate.com/recipes/577406-implementing-vertical-editing-in-komodo-6/
<p style="color: grey">
JavaScript
recipe 577406
by <a href="/recipes/users/4166930/">Eric Promislow</a>
(<a href="/recipes/tags/columns/">columns</a>, <a href="/recipes/tags/komodo/">komodo</a>, <a href="/recipes/tags/verticalediting/">verticalediting</a>).
Revision 4.
</p>
<p>When editing a group of similar lines, it's very convenient to be able to press down-arrow
and move to the same starting column position on the next line. (See an example at
<a href="http://community.activestate.com/forum/vertical-editing" rel="nofollow">http://community.activestate.com/forum/vertical-editing</a> ).</p>
<p>This code is for a Komodo 6 macro -- possibly the only tweak necessary to make it work on Komodo 5 is by commenting out the "macro.save()" code, but I haven't tested it. The discussion below will talk about how to use it. </p>