<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.acrodus.uk/index.php?action=history&amp;feed=atom&amp;title=Initialize_a_2d_array_in_python</id>
	<title>Initialize a 2d array in python - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.acrodus.uk/index.php?action=history&amp;feed=atom&amp;title=Initialize_a_2d_array_in_python"/>
	<link rel="alternate" type="text/html" href="http://wiki.acrodus.uk/index.php?title=Initialize_a_2d_array_in_python&amp;action=history"/>
	<updated>2026-04-04T02:30:47Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>http://wiki.acrodus.uk/index.php?title=Initialize_a_2d_array_in_python&amp;diff=105&amp;oldid=prev</id>
		<title>Alex: Created page with &quot;To save future Alex issue with this again, just initialise the array like this  &lt;pre&gt; cables_type_arr = [[&#039;&#039;] for i in range(int_inc)] &lt;/pre&gt;  And then append each element array like so  &lt;pre&gt; cables_type_arr[i].append(record[&#039;Type&#039;]) &lt;/pre&gt;  This example was taken from the cable route analysis tool.&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.acrodus.uk/index.php?title=Initialize_a_2d_array_in_python&amp;diff=105&amp;oldid=prev"/>
		<updated>2025-01-20T06:45:29Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;To save future Alex issue with this again, just initialise the array like this  &amp;lt;pre&amp;gt; cables_type_arr = [[&amp;#039;&amp;#039;] for i in range(int_inc)] &amp;lt;/pre&amp;gt;  And then append each element array like so  &amp;lt;pre&amp;gt; cables_type_arr[i].append(record[&amp;#039;Type&amp;#039;]) &amp;lt;/pre&amp;gt;  This example was taken from the cable route analysis tool.&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;To save future Alex issue with this again, just initialise the array like this&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cables_type_arr = [[&amp;#039;&amp;#039;] for i in range(int_inc)]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And then append each element array like so&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cables_type_arr[i].append(record[&amp;#039;Type&amp;#039;])&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This example was taken from the cable route analysis tool.&lt;/div&gt;</summary>
		<author><name>Alex</name></author>
	</entry>
</feed>