<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Mouse Vs. the Python - Latest Comments</title><link xmlns="http://www.w3.org/2005/Atom" rel="http://api.friendfeed.com/2008/03#sup" href="http://disqus.com/sup/all.sup#forumcomments-4af7da86" type="application/json"/><link>http://mousevsthepython.disqus.com/</link><description></description><atom:link href="http://mousevsthepython.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 20 May 2013 02:09:06 -0000</lastBuildDate><item><title>Re: PySide: Standard Dialogs and Message Boxes</title><link>http://www.blog.pythonlibrary.org/2013/04/16/pyside-standard-dialogs-and-message-boxes/#comment-902679102</link><description>&lt;p&gt;def onShowWarning(self):&lt;br&gt;        flags = QtGui.QMessageBox.StandardButton.Ok&lt;br&gt;        flags |= QtGui.QMessageBox.StandardButton.Discard&lt;br&gt;        msg = "This message will self-destruct in 30 seconds!"&lt;br&gt;        response = QtGui.QMessageBox.warning(self, "Warning",&lt;br&gt;                    msg, flags)&lt;br&gt;        if response == QtGui.QMessageBox.Ok:&lt;br&gt;            print("BOOM!")&lt;br&gt;        else:&lt;br&gt;            print("MessageBox disarmed!")&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">erhuabushuo@gmail.com</dc:creator><pubDate>Mon, 20 May 2013 02:09:06 -0000</pubDate></item><item><title>Re: PySide: Standard Dialogs and Message Boxes</title><link>http://www.blog.pythonlibrary.org/2013/04/16/pyside-standard-dialogs-and-message-boxes/#comment-902677802</link><description>&lt;p&gt;I found a error!&lt;/p&gt;

&lt;p&gt;elif QtGui.QMessageBox.No: -&amp;gt;&lt;/p&gt;

&lt;p&gt;elif response == QtGui.QMessageBox.No:&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">erhuabushuo</dc:creator><pubDate>Mon, 20 May 2013 02:05:05 -0000</pubDate></item><item><title>Re: Python 201: Creating Modules and Packages</title><link>http://www.blog.pythonlibrary.org/2012/07/08/python-201-creating-modules-and-packages/#comment-901077910</link><description>&lt;p&gt;thank you for clear explanation&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ceyhun</dc:creator><pubDate>Sat, 18 May 2013 06:28:33 -0000</pubDate></item><item><title>Re: PySide: Standard Dialogs and Message Boxes</title><link>http://www.blog.pythonlibrary.org/2013/04/16/pyside-standard-dialogs-and-message-boxes/#comment-900022388</link><description>&lt;p&gt;I really love this . Good serials&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">erhuabushuo</dc:creator><pubDate>Fri, 17 May 2013 00:53:56 -0000</pubDate></item><item><title>Re: Python: A Simple Step-by-Step SQLite Tutorial</title><link>http://www.blog.pythonlibrary.org/2012/07/18/python-a-simple-step-by-step-sqlite-tutorial/#comment-895837471</link><description>&lt;p&gt;I believe so. See &lt;a href="http://www.basic4ppc.com/forum/questions-windows-mobile/2104-updating-multiple-columns-sqlite.html" rel="nofollow"&gt;http://www.basic4ppc.com/forum...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mike Driscoll</dc:creator><pubDate>Mon, 13 May 2013 09:21:36 -0000</pubDate></item><item><title>Re: Python: A Simple Step-by-Step SQLite Tutorial</title><link>http://www.blog.pythonlibrary.org/2012/07/18/python-a-simple-step-by-step-sqlite-tutorial/#comment-894099228</link><description>&lt;p&gt;How do you set multiple columns, would you just use commas on the SET statement ?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alex</dc:creator><pubDate>Sun, 12 May 2013 02:23:15 -0000</pubDate></item><item><title>Re: PySide: Creating a Currency Converter</title><link>http://www.blog.pythonlibrary.org/2013/04/09/pyside-creating-a-currency-converter/#comment-892272963</link><description>&lt;p&gt;Hello Mike,&lt;/p&gt;

&lt;p&gt;I've re-subscribed to your blog after deciding to finally settle on Python as my implementation language, but it's interesting that you're working on the same book I'll do. :-)&lt;/p&gt;

&lt;p&gt;I'm not sure if wxWidgets-3.0 will be released ever, so I gave up on wx(python) and decided to use Qt, but still not sure whether PyQt or PySide (we'll do open-source project, so license is not the issue).&lt;/p&gt;

&lt;p&gt;In any case, nice to be here again, this time learning from you about Python GUI programming using Qt. ;)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">gour_atmarama</dc:creator><pubDate>Fri, 10 May 2013 10:37:05 -0000</pubDate></item><item><title>Re: Python Brochure Project Preview</title><link>http://www.blog.pythonlibrary.org/2013/04/16/python-brochure-project-preview/#comment-890730022</link><description>&lt;p&gt;Python preview brochure looks really worthy. I read the preview, it's for non-technical peoples like a manager. Is it true ??&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">PSD to HTML</dc:creator><pubDate>Thu, 09 May 2013 06:25:04 -0000</pubDate></item><item><title>Re: Python 101: An Intro to logging</title><link>http://www.blog.pythonlibrary.org/2012/08/02/python-101-an-intro-to-logging/#comment-890631101</link><description>&lt;p&gt;See:&lt;br&gt;&lt;a href="http://docs.python.org/2/howto/logging-cookbook.html#logging-to-multiple-destinations" rel="nofollow"&gt;http://docs.python.org/2/howto...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Derek Hohls</dc:creator><pubDate>Thu, 09 May 2013 04:56:07 -0000</pubDate></item><item><title>Re: eBook Review: Real Python</title><link>http://www.blog.pythonlibrary.org/2013/04/19/ebook-review-real-python/#comment-890445765</link><description>&lt;p&gt;This is the exactly one which i looked out from many times.. Thanks a lot for sharing it here and help us.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sugarcrm development</dc:creator><pubDate>Thu, 09 May 2013 01:52:30 -0000</pubDate></item><item><title>Re: Python 201: Creating Modules and Packages</title><link>http://www.blog.pythonlibrary.org/2012/07/08/python-201-creating-modules-and-packages/#comment-888741515</link><description>&lt;p&gt;Nice 100 times less complex then i previously assumed&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jimmy no name</dc:creator><pubDate>Tue, 07 May 2013 20:39:12 -0000</pubDate></item><item><title>Re: eBook Review: Real Python</title><link>http://www.blog.pythonlibrary.org/2013/04/19/ebook-review-real-python/#comment-888147364</link><description>&lt;p&gt;No problem. Glad I could help!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mike Driscoll</dc:creator><pubDate>Tue, 07 May 2013 09:29:39 -0000</pubDate></item><item><title>Re: eBook Review: Real Python</title><link>http://www.blog.pythonlibrary.org/2013/04/19/ebook-review-real-python/#comment-888142222</link><description>&lt;p&gt;This is perfect. Exactly what I was looking for. I have tried searching for a beginners course in pythos. This helps a lot. Thanks a lot Mike&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Seth @ FBT</dc:creator><pubDate>Tue, 07 May 2013 09:22:30 -0000</pubDate></item><item><title>Re: Python 101: Setting up Python on Windows</title><link>http://www.blog.pythonlibrary.org/2011/11/24/python-101-setting-up-python-on-windows/#comment-885768381</link><description>&lt;p&gt;I actually copy it to then end of the system variable string. Make sure you're separating it from the previous one with a semi-colon&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mike Driscoll</dc:creator><pubDate>Sun, 05 May 2013 21:16:47 -0000</pubDate></item><item><title>Re: Python 101: Setting up Python on Windows</title><link>http://www.blog.pythonlibrary.org/2011/11/24/python-101-setting-up-python-on-windows/#comment-885271173</link><description>&lt;p&gt;i copied the PATH on user variable screen but still m getting problem with python... what next step to set up python on window 7&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nauman Khalid</dc:creator><pubDate>Sun, 05 May 2013 09:32:03 -0000</pubDate></item><item><title>Re: Python 101: Setting up Python on Windows</title><link>http://www.blog.pythonlibrary.org/2011/11/24/python-101-setting-up-python-on-windows/#comment-885270427</link><description>&lt;p&gt;helpful info&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nauman Khalid</dc:creator><pubDate>Sun, 05 May 2013 09:30:28 -0000</pubDate></item><item><title>Re: Python 101 &amp;#8211; Intro to XML Parsing with ElementTree</title><link>http://www.blog.pythonlibrary.org/2013/04/30/python-101-intro-to-xml-parsing-with-elementtree/#comment-881307118</link><description>&lt;p&gt;I suppose I was just being pedantic...and I was trying to minimize my line widths to prevent my readers from having to scroll my code examples. In this case, it probably didn't help much though.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mike Driscoll</dc:creator><pubDate>Wed, 01 May 2013 10:58:41 -0000</pubDate></item><item><title>Re: Python 101 &amp;#8211; Intro to XML Parsing with ElementTree</title><link>http://www.blog.pythonlibrary.org/2013/04/30/python-101-intro-to-xml-parsing-with-elementtree/#comment-881305932</link><description>&lt;p&gt;According to Effbot, cElementTree should be 15-20 times faster: &lt;a href="http://effbot.org/zone/celementtree.htm" rel="nofollow"&gt;http://effbot.org/zone/celemen...&lt;/a&gt;. Also according to this site, it's also more memory efficient: &lt;a href="http://eli.thegreenplace.net/2012/03/15/processing-xml-in-python-with-elementtree/" rel="nofollow"&gt;http://eli.thegreenplace.net/2...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mike Driscoll</dc:creator><pubDate>Wed, 01 May 2013 10:57:09 -0000</pubDate></item><item><title>Re: Python 101 &amp;#8211; Intro to XML Parsing with ElementTree</title><link>http://www.blog.pythonlibrary.org/2013/04/30/python-101-intro-to-xml-parsing-with-elementtree/#comment-881086735</link><description>&lt;p&gt;Can I as why you use this style,&lt;/p&gt;

&lt;p&gt;appointments = root.getchildren()&lt;br&gt;    for appointment in appointments:&lt;br&gt;    appt_children = appointment.getchildren()&lt;br&gt;    for appt_child in appt_children:&lt;/p&gt;

&lt;p&gt;rather than this style ?&lt;/p&gt;

&lt;p&gt;for appointment in root.getchildren():&lt;br&gt;    for appt_child in  appointment.getchildren():&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dave</dc:creator><pubDate>Wed, 01 May 2013 03:29:30 -0000</pubDate></item><item><title>Re: Python 101 &amp;#8211; Intro to XML Parsing with ElementTree</title><link>http://www.blog.pythonlibrary.org/2013/04/30/python-101-intro-to-xml-parsing-with-elementtree/#comment-880824516</link><description>&lt;p&gt;Sure this isn't an exhaustive test, but I ran a test of cElementTree vs just Elementtree on some code I wrote a few months ago to parse QuantumEspresso output files. &lt;/p&gt;

&lt;p&gt;I found that for the version with elementtree it took 50.006s to parse and process roughly 5 GB worth of data. &lt;br&gt;With cElementTree it took 1minute and 4.422 seconds. &lt;/p&gt;

&lt;p&gt;Do you have any thoughts as to why this difference may have shown up in a way that is contradictory to your claims?&lt;/p&gt;

&lt;p&gt;I would have believed that the cElementTree would be faster aswell. I wonder if this would be an edge case. &lt;/p&gt;

&lt;p&gt;My program largely finds and splits text elements and reoutputs them into a flat text format readable by other programs.  Maybe the difference is in the search feature or in the text feature of elementtree&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Hembree</dc:creator><pubDate>Tue, 30 Apr 2013 18:19:07 -0000</pubDate></item><item><title>Re: PySide: Connecting Multiple Widgets to the Same Slot</title><link>http://www.blog.pythonlibrary.org/2013/04/10/pyside-connecting-multiple-widgets-to-the-same-slot/#comment-880191889</link><description>&lt;p&gt;Such an interesting post of multiple widget on same slot. I am so surprised about it because i wasn't knew it.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Magento Development</dc:creator><pubDate>Tue, 30 Apr 2013 01:59:34 -0000</pubDate></item><item><title>Re: wxPython &amp;#8211; Having Fun with Silly Ciphers</title><link>http://www.blog.pythonlibrary.org/2013/04/26/wxpython-having-fun-with-silly-ciphers/#comment-877979862</link><description>&lt;p&gt;Oh...you know, I didn't think that looked right, but Firefox's spell check didn't catch it yesterday. I fixed the post, although not the downloadable code. Thanks!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mike Driscoll</dc:creator><pubDate>Sat, 27 Apr 2013 13:41:54 -0000</pubDate></item><item><title>Re: wxPython &amp;#8211; Having Fun with Silly Ciphers</title><link>http://www.blog.pythonlibrary.org/2013/04/26/wxpython-having-fun-with-silly-ciphers/#comment-877597141</link><description>&lt;p&gt;oh sorry, not because the case, but 'ea' vs 'ae'&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Joaquin Abian</dc:creator><pubDate>Sat, 27 Apr 2013 02:42:44 -0000</pubDate></item><item><title>Re: eBook Review: Real Python</title><link>http://www.blog.pythonlibrary.org/2013/04/19/ebook-review-real-python/#comment-877142770</link><description>&lt;p&gt;Cool! I didn't realize the text was still in flux.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mike Driscoll</dc:creator><pubDate>Fri, 26 Apr 2013 16:46:41 -0000</pubDate></item><item><title>Re: eBook Review: Real Python</title><link>http://www.blog.pythonlibrary.org/2013/04/19/ebook-review-real-python/#comment-877133749</link><description>&lt;p&gt;Mike, thanks for the review, and glad you like it! The fact that it's a beginners' course helped guide the decisions on what to include in terms of GUI dev options, installation methods, etc, but I'm hoping to update the course over the next couple weeks to cover even more :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Fletcher Heisler</dc:creator><pubDate>Fri, 26 Apr 2013 16:33:48 -0000</pubDate></item></channel></rss>