<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>http://wiki.norwichhackspace.org/index.php?action=history&amp;feed=atom&amp;title=Python_to_create_tables</id>
	<title>Python to create tables - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.norwichhackspace.org/index.php?action=history&amp;feed=atom&amp;title=Python_to_create_tables"/>
	<link rel="alternate" type="text/html" href="http://wiki.norwichhackspace.org/index.php?title=Python_to_create_tables&amp;action=history"/>
	<updated>2026-06-14T08:07:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.1</generator>
	<entry>
		<id>http://wiki.norwichhackspace.org/index.php?title=Python_to_create_tables&amp;diff=322&amp;oldid=prev</id>
		<title>Nicholas w: Created page with &quot;# this is a python script to turn text into table for wiki   thing = &quot;&quot;&quot;			 Material	Colour	Thickness	Speed	Power	Comment Perspex	Black	3	20	55	 Perspex	Clear	-	450	12 - 22	En...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.norwichhackspace.org/index.php?title=Python_to_create_tables&amp;diff=322&amp;oldid=prev"/>
		<updated>2020-09-25T16:42:06Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;# this is a python script to turn text into table for wiki   thing = &amp;quot;&amp;quot;&amp;quot;			 Material	Colour	Thickness	Speed	Power	Comment Perspex	Black	3	20	55	 Perspex	Clear	-	450	12 - 22	En...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;# this is a python script to turn text into table for wiki&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
thing = &amp;quot;&amp;quot;&amp;quot;			&lt;br /&gt;
Material	Colour	Thickness	Speed	Power	Comment&lt;br /&gt;
Perspex	Black	3	20	55	&lt;br /&gt;
Perspex	Clear	-	450	12 - 22	Engrave - see sample&lt;br /&gt;
&amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
lines = thing.splitlines()&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
i = 0&lt;br /&gt;
output = ''&lt;br /&gt;
for line in lines:&lt;br /&gt;
	eachTabs = line.split('\t')&lt;br /&gt;
	output += '|-\n'&lt;br /&gt;
	for each in eachTabs:&lt;br /&gt;
		output+= '| ' + each + ' |'&lt;br /&gt;
	output = output[:-1]&lt;br /&gt;
	output += '\n'&lt;br /&gt;
&lt;br /&gt;
print(output)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Header text !! Header text !! Header text !! Header text !! Header text !! Header text&lt;br /&gt;
|-&lt;br /&gt;
| Example || Example || Example || Example || Example || Example&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;quot;&amp;quot;&amp;quot;&lt;/div&gt;</summary>
		<author><name>Nicholas w</name></author>
		
	</entry>
</feed>