<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 10">
<meta name=Originator content="Microsoft Word 10">
<link rel=File-List href="cid:filelist.xml@01C5F5F1.E660BC70">
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:HyphenationZone>21</w:HyphenationZone>
  <w:EnvelopeVis/>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]-->
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;
        text-underline:single;}
span.EmailFormatvorlage17
        {mso-style-type:personal-compose;
        mso-style-noshow:yes;
        mso-ansi-font-size:10.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:Arial;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:windowtext;}
span.SpellE
        {mso-style-name:"";
        mso-spl-e:yes;}
span.GramE
        {mso-style-name:"";
        mso-gram-e:yes;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;
        mso-header-margin:35.4pt;
        mso-footer-margin:35.4pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */ 
 table.MsoNormalTable
        {mso-style-name:"Normale Tabelle";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";}
</style>
<![endif]-->
</head>

<body lang=DE link=blue vlink=purple style='tab-interval:35.4pt'>

<div class=Section1>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt;mso-ansi-language:
EN-US'>Hi!<br>
<br>
I have to import all data, stored in an </span><a
href="http://www.tek-tips.com/viewthread.cfm?qid=1158204&page=1"
target="_blank"><font color=darkgreen><span lang=EN-US style='color:darkgreen;
mso-ansi-language:EN-US'>Excel</span></font></a></font><span lang=EN-US
style='mso-ansi-language:EN-US'> workbook, into a <span class=SpellE>PostgreSQL</span>-database.<br>
<br>
<span class=SpellE>Herefore</span>, I export Excel spreadsheets as .<span
class=SpellE>csv</span> - files. <br>
My actual Python </span><a
href="http://www.tek-tips.com/viewthread.cfm?qid=1158204&page=1"
target="_blank"><font color=darkgreen><span lang=EN-US style='color:darkgreen;
mso-ansi-language:EN-US'>script</span></font></a><span lang=EN-US
style='mso-ansi-language:EN-US'> imports this <span class=SpellE>csv</span>-file,
and generated <span class=SpellE>PostgreSQL</span> files (.<span class=SpellE>psql</span>),
which contain the </span><a
href="http://www.tek-tips.com/viewthread.cfm?qid=1158204&page=1"
target="_blank"><font color=darkgreen><span lang=EN-US style='color:darkgreen;
mso-ansi-language:EN-US'>SQL statements</span></font></a><span lang=EN-US
style='mso-ansi-language:EN-US'> for filling in the </span><a
href="http://www.tek-tips.com/viewthread.cfm?qid=1158204&page=1"
target="_blank"><font color=darkgreen><span lang=EN-US style='color:darkgreen;
mso-ansi-language:EN-US'>database</span></font></a><span lang=EN-US
style='mso-ansi-language:EN-US'> with the Excel data.<br>
<br>
My actual Problem:<br>
The Excel workbook contains several spreadsheets. These are linked through
Hyperlinks, and contain several cell comments.<br>
How can I export these comments and Hyperlinks using Python? My aim is to store
these in a corresponding <span class=SpellE>PostgreSQL</span> table.<br>
<br>
If it helps, I can send the Excel workbook, and an example .<span class=SpellE>csv</span>-file,
via email.<br>
<br>
I enclosed the script for less email traffic.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt;mso-ansi-language:
EN-US'><br>
cheers,<br>
<span class=SpellE>Juergen</span></span></font><font size=2 face=Arial><span
lang=EN-US style='font-size:10.0pt;font-family:Arial;mso-ansi-language:EN-US'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-US'><o:p> </o:p></span></font></p>

</div>

</body>

</html>