<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://groups.google.com.au/group/python-excel</id>
  <title type="text">python-excel Google Group</title>
  <subtitle type="text">
  If you use Python to read, write or otherwise manipulate Excel files, then this is the place for you! This includes the pyExcelerator, xlrd and xlwt libraries along with using COM to manipulate files with Excel itself.
  </subtitle>
  <link href="/group/python-excel/feed/atom_v1_0_msgs.xml" rel="self" title="python-excel feed"/>
  <updated>2009-11-05T16:35:05Z</updated>
  <generator uri="http://groups.google.com.au" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>Michael Connors</name>
  <email>connor...@gmail.com</email>
  </author>
  <updated>2009-11-05T16:35:05Z</updated>
  <id>http://groups.google.com.au/group/python-excel/browse_thread/thread/637cbc114b217a3a/a72728f83b949964?show_docid=a72728f83b949964</id>
  <link href="http://groups.google.com.au/group/python-excel/browse_thread/thread/637cbc114b217a3a/a72728f83b949964?show_docid=a72728f83b949964"/>
  <title type="text">Re: [pyxl] Re: Preserve graphs</title>
  <summary type="html" xml:space="preserve">
  Thanks very much, that will save me some time.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Mike</name>
  <email>mike.i.bradf...@gmail.com</email>
  </author>
  <updated>2009-11-05T14:02:53Z</updated>
  <id>http://groups.google.com.au/group/python-excel/browse_thread/thread/637cbc114b217a3a/02fe5620320a06c1?show_docid=02fe5620320a06c1</id>
  <link href="http://groups.google.com.au/group/python-excel/browse_thread/thread/637cbc114b217a3a/02fe5620320a06c1?show_docid=02fe5620320a06c1"/>
  <title type="text">Re: Preserve graphs</title>
  <summary type="html" xml:space="preserve">
  Hi &lt;br&gt; &lt;p&gt;I&#39;ve uploaded a zipfile called excelByComExample.zip. &lt;br&gt; &lt;p&gt;Contains 3 files &lt;br&gt; - python script &lt;br&gt; - Excel file containing graph (in xlsx format) &lt;br&gt; - csv file containing new data &lt;br&gt; depending on where you unzip it you will need to change the filenames &lt;br&gt; in the python script. &lt;br&gt; &lt;p&gt;However when you run it should see
  </summary>
  </entry>
  <entry>
  <author>
  <name>Michael Connors</name>
  <email>connor...@gmail.com</email>
  </author>
  <updated>2009-11-05T10:16:20Z</updated>
  <id>http://groups.google.com.au/group/python-excel/browse_thread/thread/637cbc114b217a3a/246da3ac2b2e52c5?show_docid=246da3ac2b2e52c5</id>
  <link href="http://groups.google.com.au/group/python-excel/browse_thread/thread/637cbc114b217a3a/246da3ac2b2e52c5?show_docid=246da3ac2b2e52c5"/>
  <title type="text">Re: [pyxl] Re: Preserve graphs</title>
  <summary type="html" xml:space="preserve">
  Yes please, that sounds extremely helpful.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Mike</name>
  <email>mike.i.bradf...@gmail.com</email>
  </author>
  <updated>2009-11-05T10:11:39Z</updated>
  <id>http://groups.google.com.au/group/python-excel/browse_thread/thread/637cbc114b217a3a/d6d1292718b803b0?show_docid=d6d1292718b803b0</id>
  <link href="http://groups.google.com.au/group/python-excel/browse_thread/thread/637cbc114b217a3a/d6d1292718b803b0?show_docid=d6d1292718b803b0"/>
  <title type="text">Re: Preserve graphs</title>
  <summary type="html" xml:space="preserve">
  I had to use COM for exactly the same reason. &lt;br&gt; &lt;p&gt;If it helps I can post an example from what I did, which updates the &lt;br&gt; data in the Excel sheet from a CSV. &lt;br&gt; &lt;p&gt;Cheers &lt;br&gt; Mike
  </summary>
  </entry>
  <entry>
  <author>
  <name>Michael Connors</name>
  <email>connor...@gmail.com</email>
  </author>
  <updated>2009-11-05T07:38:48Z</updated>
  <id>http://groups.google.com.au/group/python-excel/browse_thread/thread/637cbc114b217a3a/5d841889822aae9c?show_docid=5d841889822aae9c</id>
  <link href="http://groups.google.com.au/group/python-excel/browse_thread/thread/637cbc114b217a3a/5d841889822aae9c?show_docid=5d841889822aae9c"/>
  <title type="text">Re: [pyxl] Re: Preserve graphs</title>
  <summary type="html" xml:space="preserve">
  Ok, thanks, COM it is so. &lt;br&gt; &lt;p&gt;2009/11/4 John Machin &amp;lt;sjmac...@lexicon.net&amp;gt; &lt;br&gt; &lt;p&gt;-- &lt;br&gt; Michael Connors &lt;br&gt; Burggravenlaan 148, &lt;br&gt; Leiden 2313 HZ, &lt;br&gt; The Netherlands &lt;br&gt; &lt;p&gt;0031611520252
  </summary>
  </entry>
  <entry>
  <author>
  <name>John Machin</name>
  <email>sjmac...@lexicon.net</email>
  </author>
  <updated>2009-11-04T21:12:22Z</updated>
  <id>http://groups.google.com.au/group/python-excel/browse_thread/thread/637cbc114b217a3a/a7cbadbe767c9f90?show_docid=a7cbadbe767c9f90</id>
  <link href="http://groups.google.com.au/group/python-excel/browse_thread/thread/637cbc114b217a3a/a7cbadbe767c9f90?show_docid=a7cbadbe767c9f90"/>
  <title type="text">Re: [pyxl] Preserve graphs</title>
  <summary type="html" xml:space="preserve">
  Sorry, no. As the README says, xlrd skips over charts. &lt;br&gt; Regards, &lt;br&gt; John
  </summary>
  </entry>
  <entry>
  <author>
  <name>mconnors</name>
  <email>connor...@gmail.com</email>
  </author>
  <updated>2009-11-04T15:00:52Z</updated>
  <id>http://groups.google.com.au/group/python-excel/browse_thread/thread/637cbc114b217a3a/5ad817a524f7f4b0?show_docid=5ad817a524f7f4b0</id>
  <link href="http://groups.google.com.au/group/python-excel/browse_thread/thread/637cbc114b217a3a/5ad817a524f7f4b0?show_docid=5ad817a524f7f4b0"/>
  <title type="text">Preserve graphs</title>
  <summary type="html" xml:space="preserve">
  Hi, &lt;br&gt; Using XLRD and XLUtils: &lt;br&gt; Is it possible to open an excel file that contains graphs in sheet 1 &lt;br&gt; and data in sheet2, and then modify sheet 2 and save it, without &lt;br&gt; losing the graphs in sheet 1?
  </summary>
  </entry>
  <entry>
  <author>
  <name>John Machin</name>
  <email>sjmac...@lexicon.net</email>
  </author>
  <updated>2009-10-30T12:54:09Z</updated>
  <id>http://groups.google.com.au/group/python-excel/browse_thread/thread/41b413e6a60c6289/3cb744fd89aa60e8?show_docid=3cb744fd89aa60e8</id>
  <link href="http://groups.google.com.au/group/python-excel/browse_thread/thread/41b413e6a60c6289/3cb744fd89aa60e8?show_docid=3cb744fd89aa60e8"/>
  <title type="text">Re: [pyxl] Re: Newbie: How to check for multiple command line arguments</title>
  <summary type="html" xml:space="preserve">
  Seems you &amp;quot;found&amp;quot; that on stackoverflow. &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://stackoverflow.com/questions/1643643/how-to-test-for-multiple-command-line-arguments-sys-argv/1649594#1649594&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; I thought that the idea is meant to be that the asker selects the best &lt;br&gt; answer except if one of the answerers has rep &amp;gt; 10K ;-) which isn&#39;t the
  </summary>
  </entry>
  <entry>
  <author>
  <name>johannes rara</name>
  <email>johannesr...@gmail.com</email>
  </author>
  <updated>2009-10-30T11:42:06Z</updated>
  <id>http://groups.google.com.au/group/python-excel/browse_thread/thread/41b413e6a60c6289/f336d64d1b5f27f8?show_docid=f336d64d1b5f27f8</id>
  <link href="http://groups.google.com.au/group/python-excel/browse_thread/thread/41b413e6a60c6289/f336d64d1b5f27f8?show_docid=f336d64d1b5f27f8"/>
  <title type="text">Re: [pyxl] Re: Newbie: How to check for multiple command line arguments</title>
  <summary type="html" xml:space="preserve">
  Thanks! &lt;br&gt; &lt;p&gt;2009/10/30 John Machin &amp;lt;sjmac...@lexicon.net&amp;gt;:
  </summary>
  </entry>
  <entry>
  <author>
  <name>John Machin</name>
  <email>sjmac...@lexicon.net</email>
  </author>
  <updated>2009-10-30T08:16:39Z</updated>
  <id>http://groups.google.com.au/group/python-excel/browse_thread/thread/41b413e6a60c6289/59a9bbf022b2ea6f?show_docid=59a9bbf022b2ea6f</id>
  <link href="http://groups.google.com.au/group/python-excel/browse_thread/thread/41b413e6a60c6289/59a9bbf022b2ea6f?show_docid=59a9bbf022b2ea6f"/>
  <title type="text">Re: [pyxl] Re: Newbie: How to check for multiple command line arguments</title>
  <summary type="html" xml:space="preserve">
  Extremely inefficient. &lt;br&gt; Ummmm ... why not &lt;br&gt; if sh.cell(i, 1).value in sys.argv[1:]: &lt;br&gt; ? &lt;br&gt; Better: at start-up, do: &lt;br&gt; argset = set(sys.argv[1:]) &lt;br&gt; then each iteration do: &lt;br&gt; if sh.cell(i, 1).value in argset: &lt;br&gt; For alliteration aficionados and fans of Sesame Street, today&#39;s letter &lt;br&gt; is &amp;quot;b&amp;quot;. The for statement is bordering on being a bit bloated, baroque
  </summary>
  </entry>
  <entry>
  <author>
  <name>johannes rara</name>
  <email>johannesr...@gmail.com</email>
  </author>
  <updated>2009-10-30T06:50:35Z</updated>
  <id>http://groups.google.com.au/group/python-excel/browse_thread/thread/41b413e6a60c6289/fe084d91865dc7e7?show_docid=fe084d91865dc7e7</id>
  <link href="http://groups.google.com.au/group/python-excel/browse_thread/thread/41b413e6a60c6289/fe084d91865dc7e7?show_docid=fe084d91865dc7e7"/>
  <title type="text">Re: [pyxl] Re: Newbie: How to check for multiple command line arguments</title>
  <summary type="html" xml:space="preserve">
  Thanks, I&#39;ll have to check that. I found also this: &lt;br&gt; &lt;p&gt;for grp in sys.argv[1:]: &lt;br&gt; for i in range(len(sh.col_values(8))): &lt;br&gt; if sh.cell(i, 1).value == grp: &lt;br&gt; hlo.append(sh.cell(i, 8).value) &lt;br&gt; &lt;p&gt;-Johannes &lt;br&gt; &lt;p&gt;2009/10/30 Chris Withers &amp;lt;ch...@simplistix.co.uk&amp;gt;:
  </summary>
  </entry>
  <entry>
  <author>
  <name>Chris Withers</name>
  <email>ch...@simplistix.co.uk</email>
  </author>
  <updated>2009-10-30T06:13:25Z</updated>
  <id>http://groups.google.com.au/group/python-excel/browse_thread/thread/41b413e6a60c6289/2773e9b988cc5416?show_docid=2773e9b988cc5416</id>
  <link href="http://groups.google.com.au/group/python-excel/browse_thread/thread/41b413e6a60c6289/2773e9b988cc5416?show_docid=2773e9b988cc5416"/>
  <title type="text">Re: [pyxl] Newbie: How to check for multiple command line arguments</title>
  <summary type="html" xml:space="preserve">
  ...then I suggest you have a look at argparse: &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://code.google.com/p/argparse/&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; The above would then likely become: &lt;br&gt; if sh.cell(i, 1).value in options.special_values &lt;br&gt; cheers, &lt;br&gt; Chris
  </summary>
  </entry>
  <entry>
  <author>
  <name>Jon Clements</name>
  <email>jon...@googlemail.com</email>
  </author>
  <updated>2009-10-28T15:10:10Z</updated>
  <id>http://groups.google.com.au/group/python-excel/browse_thread/thread/41b413e6a60c6289/48464a6bd1be72c9?show_docid=48464a6bd1be72c9</id>
  <link href="http://groups.google.com.au/group/python-excel/browse_thread/thread/41b413e6a60c6289/48464a6bd1be72c9?show_docid=48464a6bd1be72c9"/>
  <title type="text">Re: Newbie: How to check for multiple command line arguments</title>
  <summary type="html" xml:space="preserve">
  First things first -- the majority of the people you find on this &lt;br&gt; list, contribute their own time and energy towards helping (we have &lt;br&gt; jobs, families and mortgages to pay etc..) -- perhaps read that as &lt;br&gt; &amp;quot;we&#39;re not going to do everything for you&amp;quot;. (I &#39;awoke&#39; in a good mood, &lt;br&gt; maybe I&#39;m tending towards a bad mood as I just pranged my car -- so
  </summary>
  </entry>
  <entry>
  <author>
  <name>johannes rara</name>
  <email>johannesr...@gmail.com</email>
  </author>
  <updated>2009-10-28T14:34:54Z</updated>
  <id>http://groups.google.com.au/group/python-excel/browse_thread/thread/41b413e6a60c6289/e713a6dacaee8d13?show_docid=e713a6dacaee8d13</id>
  <link href="http://groups.google.com.au/group/python-excel/browse_thread/thread/41b413e6a60c6289/e713a6dacaee8d13?show_docid=e713a6dacaee8d13"/>
  <title type="text">Newbie: How to check for multiple command line arguments</title>
  <summary type="html" xml:space="preserve">
  Hi, &lt;br&gt; I would like to use multiple command line arguments in my script. If &lt;br&gt; one or all of them are found, the script will produce an output for &lt;br&gt; them (from excel sheet). Please see the code below. Basically the &lt;br&gt; problem is here: &lt;br&gt; if sh.cell(i, 1).value == sys.argv[1]: &lt;br&gt; and I would like to use &lt;br&gt; if sh.cell(i, 1).value == sys.argv[1:]:
  </summary>
  </entry>
  <entry>
  <author>
  <name>Георги Георгиев</name>
  <email>georgi_georg...@directservices.bg</email>
  </author>
  <updated>2009-10-28T14:08:36Z</updated>
  <id>http://groups.google.com.au/group/python-excel/browse_thread/thread/22f2f298a8315c27/42552e36574666e7?show_docid=42552e36574666e7</id>
  <link href="http://groups.google.com.au/group/python-excel/browse_thread/thread/22f2f298a8315c27/42552e36574666e7?show_docid=42552e36574666e7"/>
  <title type="text">Re: [pyxl] Newbie: extracting only certain cells in a column (xlrd)</title>
  <summary type="html" xml:space="preserve">
  i use something like &lt;br&gt; &lt;p&gt;for i in range(sh.nrows): &lt;br&gt; if sh.cell_value(rowx=i, colx=2) == &#39;temp&#39;: &lt;br&gt; print sh.cell_value(rowx=i, colx=8) &lt;br&gt; &lt;p&gt;good luck :-) &lt;br&gt; &lt;p&gt;georgi
  </summary>
  </entry>
</feed>
