<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel>
	  <title>Ask MetaFilter questions tagged with python</title>
      <link>http://ask.metafilter.com/tags/python</link>
      <description>Questions tagged with 'python' at Ask MetaFilter.</description>
	  <pubDate>Thu, 10 Dec 2009 19:26:31 -0800</pubDate> <lastBuildDate>Thu, 10 Dec 2009 19:26:31 -0800</lastBuildDate>

      <language>en-us</language>
	  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
	  <ttl>60</ttl>	  
	<item>
	<title>From Zero to Python Hero</title>
	<link>http://ask.metafilter.com/140358/From%2DZero%2Dto%2DPython%2DHero</link>	
	<description>I&apos;m interested in teaching myself Python as my first programming language. What kind of useful/interesting projects are recommended as a long term goal to work towards, given that I&apos;m a total beginner? I&apos;ve been messing with the idea of teaching myself a programming language as a hobby, and after a bit of research Python seems to be the one best suited for me. That being said, I know absolutely nothing about programming, and I&apos;m interested in what exactly I&apos;d be able to accomplish after I&apos;ve taught myself the basics. I&apos;ve pulled together a number of tutorials and books, and messed around a bit with the extreme basics, and I&apos;ve enjoyed it, but I feel that it would really help to motivate me if I had some kind of an end goal or project that I could work towards. &lt;br&gt;
&lt;br&gt;
I would rate myself as a relatively advanced computer user, I like tinkering around with different programs and set ups to get the most out of machines. As a bit of background, I&apos;m currently running a laptop on Windows Vista as my main PC, and a mac mini as an HTPC hooked up to my plasma, which I use mainly to run Plex for my movies and TV shows. Does anyone have examples of what they&apos;ve been able to accomplish as a beginner after a few months of learning, or any suggestions on goals/projects that I can work towards? I realize that this is an extremely broad question, but I want to keep things pretty open so I can get a feel for what&apos;s possible. I&apos;ve found the posts on Askmefi really helpful for tracking down resources and tutorials, but not much in terms of suggested projects. Any recommendations for books or training resources are also appreciated to help me get there.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.140358</guid>
	<pubDate>Thu, 10 Dec 2009 19:26:31 -0800</pubDate>
	<category>coding</category>
	<category>programming</category>
	<category>Python</category>
	<dc:creator>KilgoreTrout</dc:creator>
	</item>
	<item>
	<title>Where to get started with Python GUI programming?</title>
	<link>http://ask.metafilter.com/139096/Where%2Dto%2Dget%2Dstarted%2Dwith%2DPython%2DGUI%2Dprogramming</link>	
	<description>Which Python GUI framework is right for someone new to GUI programming?  But who may also aspire to open source community (linux) development/involvement?  Cross platform, wonderful documentation/tutorials, and cruft-free new technology are also welcome. My current need is just for a simple GUI front end for scripts I write in work for Windows, but one day I&apos;d like to have GUI skills robust enough to help out with open source development.  I&apos;ve given &lt;a href=&quot;http://wiki.python.org/moin/GuiProgramming&quot;&gt;this list &lt;/a&gt;a look, but I really don&apos;t know where to start. I know GTK/Qt are the most commonly utilized, but are there any exciting new next-generation graphical toolkits? What&apos;s fun to learn?  What are your favorite tutorials, books, or resources for it?&lt;br&gt;
&lt;br&gt;
Any and all suggestions welcome!  Thanks!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.139096</guid>
	<pubDate>Wed, 25 Nov 2009 15:46:59 -0800</pubDate>
	<category>graphicaltoolkit</category>
	<category>GUI</category>
	<category>linux</category>
	<category>opensource</category>
	<category>programming</category>
	<category>python</category>
	<category>windows</category>
	<dc:creator>cowbellemoo</dc:creator>
	</item>
	<item>
	<title>How to programmatically record user sessions?</title>
	<link>http://ask.metafilter.com/138953/How%2Dto%2Dprogrammatically%2Drecord%2Duser%2Dsessions</link>	
	<description>I&apos;m looking for a non-interactive screencasting tool for use in my application. I&apos;m doing some usability testing where I cannot be physically present on-site, and I want to record the sessions while my program is in use. Any ideas? My application is in Python and GTK targeting the Windows platform.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.138953</guid>
	<pubDate>Tue, 24 Nov 2009 07:28:57 -0800</pubDate>
	<category>python</category>
	<category>screencasting</category>
	<category>usability</category>
	<category>windows</category>
	<dc:creator>lwf</dc:creator>
	</item>
	<item>
	<title>British or American sitcom suggestions?</title>
	<link>http://ask.metafilter.com/135690/British%2Dor%2DAmerican%2Dsitcom%2Dsuggestions</link>	
	<description>I&apos;m seeking to expand my repertoire of sitcom shows.
Please suggest some series that have a similar type of humour as the shows I&apos;ve outlined below. Like:&lt;br&gt;
&lt;br&gt;
Spaced&lt;br&gt;
Monty Python&lt;br&gt;
Peep Show&lt;br&gt;
Always Sunny in Philadelphia&lt;br&gt;
Seinfeld&lt;br&gt;
The IT Crowd&lt;br&gt;
Curb your Enthusiasm</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.135690</guid>
	<pubDate>Fri, 16 Oct 2009 17:02:00 -0800</pubDate>
	<category>monty</category>
	<category>peep</category>
	<category>philadelphia</category>
	<category>python</category>
	<category>show</category>
	<category>spaced</category>
	<category>sunny</category>
	<dc:creator>PowerCat</dc:creator>
	</item>
	<item>
	<title>I Wish I Could Just Throw It At the &apos;Net</title>
	<link>http://ask.metafilter.com/135585/I%2DWish%2DI%2DCould%2DJust%2DThrow%2DIt%2DAt%2Dthe%2DNet</link>	
	<description>Auomating Mac Filter: I want to upload a movie to a free video sharing site from the command line. How? I currently have a system where I email an image to my Mac Mini which upload the image to TinyPic then Twitters the caption and image URL: (&quot;This is a cool picture! - http://bt.ly/example&quot;)&lt;br&gt;
&lt;br&gt;
I want to do the same thing with videos. The only problem is that I do not know how to automate uploading a short video to a video sharing site. I found &lt;a href=&quot;http://eagain.net/blog/2006/11/13/revver-upload-video.html&quot;&gt;this python script&lt;/a&gt; to upload a video to Revver, but using the following command, I cannot get the video to upload:&lt;br&gt;
&lt;br&gt;
&lt;small&gt;python /Users/example/RevverExamplePython/revver-upload-video.py /Users/example/revverupload/movie.3gp --login Username --passphrase-file /Users/example/revverpassphrase.txt --age-rating 1 --title test --tag test --author test --url http://www.example.com/ --credits test --description test&lt;/small&gt;&lt;br&gt;
&lt;br&gt;
Which returns an unnamed error. So, in the end, I want a system to upload a video to any video sharing site and return the URL (or video id) for that video. Help?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.135585</guid>
	<pubDate>Thu, 15 Oct 2009 14:33:21 -0800</pubDate>
	<category>applescript</category>
	<category>automation</category>
	<category>mac</category>
	<category>python</category>
	<category>videouploading</category>
	<dc:creator>47triple2</dc:creator>
	</item>
	<item>
	<title>Severe mac/python question</title>
	<link>http://ask.metafilter.com/133262/Severe%2Dmacpython%2Dquestion</link>	
	<description>So I was fiddling with commands in the python interpreter via the Terminal. I ran this basically, and was messing with the help system. 

fileHandle = open ( &apos;test.txt&apos;, &apos;w&apos; ) ;
fileHandle.write (&apos; asdasd^3 &apos;);
fileHandle.close();

And all of a sudden this application opened. Python shell is it&apos;s name, it has no icon.  WTF is going on?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.133262</guid>
	<pubDate>Fri, 18 Sep 2009 20:34:02 -0800</pubDate>
	<category>app</category>
	<category>mac</category>
	<category>python</category>
	<category>shell</category>
	<category>terminal</category>
	<category>wtf</category>
	<dc:creator>emptyinside</dc:creator>
	</item>
	<item>
	<title>ball python care in winter</title>
	<link>http://ask.metafilter.com/133096/ball%2Dpython%2Dcare%2Din%2Dwinter</link>	
	<description>Ball-Python-Care-Filter: How do we best care for our ball python during the cold cold winter? We just got him in May and we absolutely love him.  We have been lucky because he eats really well, and is great with the kids.&lt;br&gt;
&lt;br&gt;
However, I live in the midwest and when winter comes it will be cold.  Our house will regularly get down to 58 degrees at night and rise to no more than 67-68 during the day.&lt;br&gt;
&lt;br&gt;
He lives in a 20 gallon-long tank.  We have an under-tank sticky heating pad on one side of the tank, and that has been his only source of heat during the summer.  So, I know that I will have to get a heat lamp for the winter.&lt;br&gt;
&lt;br&gt;
My questions are these:&lt;br&gt;
&lt;br&gt;
1 - Do I leave the heat lamp on 24 hours a day?  Or can he handle a cold night as long as he warms up during the day?&lt;br&gt;
&lt;br&gt;
2 - Should we change his feeding schedule during the winter (right now he eats a mouse every week, exactly.  He doesn&apos;t mess around either! He grabs that thing within seconds of it being in the tank with him).&lt;br&gt;
&lt;br&gt;
3 - Anything else I should know?&lt;br&gt;
&lt;br&gt;
Thanks a lot.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.133096</guid>
	<pubDate>Thu, 17 Sep 2009 06:46:49 -0800</pubDate>
	<category>ball</category>
	<category>care</category>
	<category>python</category>
	<dc:creator>crapples</dc:creator>
	</item>
	<item>
	<title>Python vs java in threading</title>
	<link>http://ask.metafilter.com/132811/Python%2Dvs%2Djava%2Din%2Dthreading</link>	
	<description>How do you respond to a dude who says that python ain&apos;t _really_ a multithreading language, and you should write it in Java- and you really think that&apos;s wrong?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.132811</guid>
	<pubDate>Mon, 14 Sep 2009 10:54:07 -0800</pubDate>
	<category>java</category>
	<category>python</category>
	<category>threading</category>
	<dc:creator>xmutex</dc:creator>
	</item>
	<item>
	<title>Best programming language for a web design class?</title>
	<link>http://ask.metafilter.com/132523/Best%2Dprogramming%2Dlanguage%2Dfor%2Da%2Dweb%2Ddesign%2Dclass</link>	
	<description>What programming language should I teach my kids?  (web dev) I&apos;ve got about 20 interesting and enthusiastic highschool kids in a web design class. I&apos;m having a blast teaching them, and so far we&apos;ve covered some of the basics(html, css, and trappings of JS).&lt;br&gt;
&lt;br&gt;
We&apos;re going to be on Javascript for a while, but at some point we&apos;re going to move on to a little database stuff and I want to be ready.&lt;br&gt;
&lt;br&gt;
My own personal background is in PHP, but I&apos;ve played with ruby and done a decent amount of work in python. I&apos;ve also read that lua is a good choice, and there are some interesting MVCs in that area(plus Lua&apos;s syntax is similar to JS which I like).&lt;br&gt;
&lt;br&gt;
Really though, I want to avoid running around in circles. So what programming language should I teach my kids? Lua, python, ruby, php, something else entirely?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.132523</guid>
	<pubDate>Thu, 10 Sep 2009 17:07:22 -0800</pubDate>
	<category>lua</category>
	<category>php</category>
	<category>programming</category>
	<category>python</category>
	<category>ruby</category>
	<category>teaching</category>
	<dc:creator>satori_movement</dc:creator>
	</item>
	<item>
	<title>Need help extracting links off of a webpage (RuneHQ to be exact). Need to put them in a database.</title>
	<link>http://ask.metafilter.com/131138/Need%2Dhelp%2Dextracting%2Dlinks%2Doff%2Dof%2Da%2Dwebpage%2DRuneHQ%2Dto%2Dbe%2Dexact%2DNeed%2Dto%2Dput%2Dthem%2Din%2Da%2Ddatabase</link>	
	<description>Need help extracting links off of a webpage (RuneHQ to be exact). Need to put them in a database. Hey guys,&lt;br&gt;
&lt;br&gt;
I am working on a little coding project related to an online game called runescape (yes its a legit program), but I am wondering how to go about extracting all the links I want from a webpage, so I can visit them all with my script.&lt;br&gt;
&lt;br&gt;
The webpage in question is &lt;a href=&quot;http://www.runehq.com/databasesearch.php?db=item&amp;query=&amp;field=0&amp;sort=price&amp;order=desc&quot;&gt;RUNEHQ&lt;/a&gt; and I would like to extract every link on the right &quot;Items menu&quot; which scrolls vertically forever.&lt;br&gt;
&lt;br&gt;
An example item link looks like &lt;em&gt;http://www.runehq.com/database.php?type=item&amp;amp;id=008016&lt;/em&gt; but the number on the end does not increase in a logical fashion.&lt;br&gt;
&lt;br&gt;
Does anyone have any ideas to only extract all the links on the right hand &quot;Items&quot; menu? It can be a direct scraping approach or somehow querying their database?&lt;br&gt;
&lt;br&gt;
I will eventually be using these links to do some trend analysis on runescape item prices, using python and urllib2, beautifulsoup etc.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.131138</guid>
	<pubDate>Tue, 25 Aug 2009 17:31:13 -0800</pubDate>
	<category>python</category>
	<category>robot</category>
	<category>runescape</category>
	<category>scrape</category>
	<dc:creator>Javed_Ahamed</dc:creator>
	</item>
	<item>
	<title>Help me with a tricky (for me) Python problem</title>
	<link>http://ask.metafilter.com/130894/Help%2Dme%2Dwith%2Da%2Dtricky%2Dfor%2Dme%2DPython%2Dproblem</link>	
	<description>I am trying to make a python script that takes a CSV file and turns it into an HTML table. I need it to combine a column containing a website name and another column containing a URL into an HTML link. I&apos;m working on a python script that takes a CSV file and turns it into an HTML table.&lt;br&gt;
&lt;br&gt;
The CSV has, among numerous other columns, a column containing a website name and another column containing a URL. I would like to combine the two into an HTML link.&lt;br&gt;
&lt;br&gt;
Here is what I have so far that converts the rows &amp;amp; columns into tables:&lt;br&gt;
&lt;br&gt;
for row in reader:&lt;br&gt;
  html.write(&apos;&amp;lt;tr&amp;gt;&apos;);&lt;br&gt;
  for column in row:&lt;br&gt;
      html.write(&apos;&amp;lt;td&amp;gt;&apos; + column + &apos;&amp;lt;/td&amp;gt;&apos;);&lt;br&gt;
      html.write(&apos;&amp;lt;/tr&amp;gt;&apos;)&lt;br&gt;
&lt;br&gt;
I know the part that makes the HTML link would need to say:&lt;br&gt;
html.write(&apos;&amp;lt;a href=&quot;&apos;+ URLcolumn + &apos;&quot;&amp;gt;&apos; + sitecolumn + &apos;&amp;lt;/a&amp;gt;&amp;lt;/td&amp;gt;&apos;)&lt;br&gt;
&lt;br&gt;
But I am stumped on how to finish implementing this. In particular, I can&apos;t figure out how to &quot;refer&quot; to the URLcolumn and sitecolumn.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.130894</guid>
	<pubDate>Sun, 23 Aug 2009 01:00:06 -0800</pubDate>
	<category>CSV</category>
	<category>HTML</category>
	<category>HTMLtable</category>
	<category>python</category>
	<category>resolved</category>
	<category>script</category>
	<dc:creator>Mjolnir</dc:creator>
	</item>
	<item>
	<title>Attending a Seminar 101</title>
	<link>http://ask.metafilter.com/129551/Attending%2Da%2DSeminar%2D101</link>	
	<description>I need to pick a seminar/conference/class/training/whatever for work to attend within the next 6 months or so, I have until 10PM to choose, and I have no idea where or what the cool stuff is.  It should be at least tangentially related to my job as a Unix Systems Engineer/Python Guy, and preferably within the Northeast (NYC is where I&apos;m located), although feel free to recommend anywhere in the US. I&apos;m a django/python coder, but mainly a linux engineer.  I&apos;d like anything that is cool and interesting, a la DEFCON/HOPE/etc.  It can be anything related to python, linux, AIX (ugh), solaris, high performance computing, clusters, networking, security, etc.&lt;br&gt;
&lt;br&gt;
So, metafilter, what do ya got for me?  Be forewarned that I fall asleep easily when I am bored, so I need something at least halfway interesting, that will also improve my skills.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.129551</guid>
	<pubDate>Fri, 07 Aug 2009 13:38:22 -0800</pubDate>
	<category>class</category>
	<category>conference</category>
	<category>defcon</category>
	<category>hope</category>
	<category>linux</category>
	<category>python</category>
	<category>resolved</category>
	<category>seminar</category>
	<category>training</category>
	<category>unix</category>
	<dc:creator>Mach5</dc:creator>
	</item>
	<item>
	<title>I&apos;m a Python, and I&apos;m a Mac.</title>
	<link>http://ask.metafilter.com/127550/Im%2Da%2DPython%2Dand%2DIm%2Da%2DMac</link>	
	<description>Help me learn Python! On a Mac! I&apos;d like to start getting to &lt;i&gt;really know&lt;/i&gt; a programming language, and I&apos;ve determined Python to be the best choice (it seems to be useful and able to make things and fairly intuitive&#8212;if I&apos;m wrong, tell me!). I&apos;ve got vague backgrounds in Java, a tiny bit of C, and web design.&lt;br&gt;
&lt;br&gt;
I&apos;d prefer to avoid the &quot;Learn something else before Python!&quot; speech unless you have a &lt;i&gt;really&lt;/i&gt; good reason.&lt;br&gt;
&lt;br&gt;
Also, I&apos;m on a Mac. How do I write/compile/etc. in Python? Terminal? Xcode? Something else that&apos;s really cool and I&apos;m unaware of?&lt;br&gt;
&lt;br&gt;
Thanks so much!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.127550</guid>
	<pubDate>Wed, 15 Jul 2009 18:41:20 -0800</pubDate>
	<category>mac</category>
	<category>macosx</category>
	<category>python</category>
	<dc:creator>reductiondesign</dc:creator>
	</item>
	<item>
	<title>Help me learn Perl, Python, Lisp, Haskell, Ruby</title>
	<link>http://ask.metafilter.com/126956/Help%2Dme%2Dlearn%2DPerl%2DPython%2DLisp%2DHaskell%2DRuby</link>	
	<description>Help me learn a few new programming languages. Python, Perl, Lisp, Haskell, Ruby. In college now, been programming for six or seven years already, all self-taught. I started with Java for a couple years, moved on and now consider myself fairly fluent in PHP and its friends (JavaScript, CSS, etc.). I&apos;ve been having a lot of fun with jQuery lately! And now I&apos;m stuck in a summer internship working on an ASP.NET project written in VB.&lt;br&gt;
&lt;br&gt;
I&apos;d love people&apos;s recommendations for books/resources to get started in a few high-level languages: Perl, Python, Lisp, and possibly Haskell or Ruby. I went through an O&apos;Reilly book on Perl (I believe it was &lt;a href=&quot;http://oreilly.com/catalog/9780596000271/?CMP=AFC-ak_book&amp;ATT=Programming+Perl%2c+Third+Edition%2c&quot;&gt;this one&lt;/a&gt; a couple months ago, so I have a handle on the syntax, but am not terribly capable with it.&lt;br&gt;
&lt;br&gt;
Opinions/information on which languages people would recommend (or others) and for what purposes would be incredibly helpful. Other language suggestions are welcome, as well. I don&apos;t really have reasons to learn these specific languages beyond &quot;well, I probably should know enough Python to know what it&apos;s good for, understand what&apos;s going on in Python code if I saw it, and hack something together for a basic task.&quot; I&apos;m perfectly capable of searching for tutorials/books on my own, but people&apos;s personal recommendations have that knack of knowing which ones worked and didn&apos;t for them. ;)&lt;br&gt;
&lt;br&gt;
Books/Internet resources/etc. that anyone could point me to would be awesome. Bonus points for a good crash course in Linux shell scripting.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.126956</guid>
	<pubDate>Thu, 09 Jul 2009 09:39:29 -0800</pubDate>
	<category>haskell</category>
	<category>learning</category>
	<category>lisp</category>
	<category>perl</category>
	<category>programming</category>
	<category>python</category>
	<category>resolved</category>
	<dc:creator>jgunsch</dc:creator>
	</item>
	<item>
	<title>How do I use data from data.gov?</title>
	<link>http://ask.metafilter.com/126881/How%2Ddo%2DI%2Duse%2Ddata%2Dfrom%2Ddatagov</link>	
	<description>I&apos;m a journalist with not much database programming experience. However I have been fascinated by the government and other agencies making their data available for developers to play with, and I think a newspaper could do wonders with this data. How do I get in on the fun? Transit agencies are making their times available the gov&apos;t just released records at &lt;a href=&quot;http://www.data.gov&quot;&gt;data.gov&lt;/a&gt;. &lt;br&gt;
&lt;br&gt;
What languages should I learn to manipulate these datasets to make some good applications and visualizations? Example I have in mind are  the Guardians &lt;a href=&quot;http://www.niemanlab.org/2009/06/four-crowdsourcing-lessons-from-the-guardians-spectacular-expenses-scandal-experiment/&quot;&gt;treatment of PM expenses&lt;/a&gt; and &lt;a href=&quot;http://everyblock.com&quot;&gt;EveryBlock&lt;/a&gt;.&lt;br&gt;
&lt;br&gt;
Should I learn Django, Ruby, Pyton? All? None?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.126881</guid>
	<pubDate>Wed, 08 Jul 2009 11:50:31 -0800</pubDate>
	<category>database</category>
	<category>datagov</category>
	<category>django</category>
	<category>journalism</category>
	<category>python</category>
	<category>ruby</category>
	<dc:creator>Blandanomics</dc:creator>
	</item>
	<item>
	<title>Your experience with ball pythons.</title>
	<link>http://ask.metafilter.com/125875/Your%2Dexperience%2Dwith%2Dball%2Dpythons</link>	
	<description>How is it like to own a ball python? I&apos;m asking for personal experiences only please, as I can always Google for husbandry, etc.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.125875</guid>
	<pubDate>Fri, 26 Jun 2009 09:24:32 -0800</pubDate>
	<category>ball</category>
	<category>python</category>
	<dc:creator>Yasuo</dc:creator>
	</item>
	<item>
	<title>Simple USB control - how to blink an LED via code?</title>
	<link>http://ask.metafilter.com/125812/Simple%2DUSB%2Dcontrol%2Dhow%2Dto%2Dblink%2Dan%2DLED%2Dvia%2Dcode</link>	
	<description>This is something that&apos;s been bugging me for a while....

Given a USB port and an LED (perhaps more components required?), and a program running on the PC, how do you get from here, to the simplest case I can think of - making a line of code flip the state of an LED?   Either a practical example, or some recommendations for topics that would drag me in the right direction. My interest in this is because although I get computers, I don&apos;t entirely get how they control the hardware that is attached.   I have a vague sense of it, but it&apos;s too fuzzy to call knowledge.&lt;br&gt;
&lt;br&gt;
So I guess I&apos;m curious about very simple driver development, just as a conceptual link to understanding what goes on when something gets plugged in.&lt;br&gt;
&lt;br&gt;
If it helps, my language of choice is Python because of the speed and flexibility of development, plus the interpreter which is a great way to get a feel for the language.  Is Python up to the task?   I&apos;d prefer not to code in C/C++, and I&apos;d really like to avoid Java.   Windows preferred, but I&apos;ve got Fedora and Ubuntu on other PC&apos;s if it drastically simplifies it.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.125812</guid>
	<pubDate>Thu, 25 Jun 2009 13:28:48 -0800</pubDate>
	<category>blinkenlights</category>
	<category>python</category>
	<category>usb</category>
	<dc:creator>BishopsLoveScifi</dc:creator>
	</item>
	<item>
	<title>Best language for highschool bioinformatics course?</title>
	<link>http://ask.metafilter.com/125801/Best%2Dlanguage%2Dfor%2Dhighschool%2Dbioinformatics%2Dcourse</link>	
	<description>I&apos;m teaching a course on bioinformatic programming for high schoolers. Which language should I teach it in? And do you have any nifty ideas for easy projects that fall under the bioinformatics header? It&apos;s a six-week, twice-weekly internship for highschoolers with absolutely no programming experience. The catch is, it has to be a bioinformatics course. What language would be best? I think the two contenders are Perl and Python, though I&apos;m open to other options.&lt;br&gt;
&lt;br&gt;
Possible Perl Advantages:&lt;br&gt;
&lt;br&gt;
- I know Perl, so I won&apos;t need to pick up another language and I&apos;d be better at debugging it.&lt;br&gt;
- If the kids go on to AP Comp Sci or a 101 course in college, the language is often Java. Both Perl and Java use C-style syntax.&lt;br&gt;
- The bioinformatics online support for Perl seems better than for Python.&lt;br&gt;
- Long-string manipulation and speed seem much better in Perl.&lt;br&gt;
- Though complex Perl is scary-looking, well-writen basic perl doesn&apos;t seem that intimidating.&lt;br&gt;
&lt;br&gt;
Possible Python Advantages:&lt;br&gt;
&lt;br&gt;
- Less steep learning curve.&lt;br&gt;
- Possibly more resources for beginner programmers.&lt;br&gt;
- The whitespace-is-important thing and there-is-only-one-best-way-of-doing-something thing may be better for teaching good programming techniques.&lt;br&gt;
&lt;br&gt;
Also, any basic bioinformatics projects you can think of are much appreciated. The goal is really to teach programming, but the internship requires that it be done through bioinformatic applications.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.125801</guid>
	<pubDate>Thu, 25 Jun 2009 11:22:31 -0800</pubDate>
	<category>bioinformatics</category>
	<category>highschool</category>
	<category>mylanguageisbetterthanyourlanguage</category>
	<category>perl</category>
	<category>programming</category>
	<category>python</category>
	<dc:creator>bergeycm</dc:creator>
	</item>
	<item>
	<title>Which host offers the most interpreters?</title>
	<link>http://ask.metafilter.com/123965/Which%2Dhost%2Doffers%2Dthe%2Dmost%2Dinterpreters</link>	
	<description>Is there a reliable, not-too-expensive hosting company out there that lets you post server scripts in most open-source languages? This is for personal use. I know PHP and I&apos;m learning Python. Eventually, I want to learn Java and one of the popular functional languages. And maybe some C++.&lt;br&gt;
&lt;br&gt;
I know I could just download the various interpreters and compilers and play around locally, but it&apos;s so much more fun writing web apps for public consumption.&lt;br&gt;
&lt;br&gt;
Currently, I&apos;m with Dreamhost, and they let me code in PHP and Python. Is there another host out there with more options? &lt;br&gt;
&lt;br&gt;
I know I could get my own dedicated server or use Amazon&apos;s cloud service, but those would be expensive solutions -- wouldn&apos;t they? If that&apos;s the only way to go, help me find the most reasonable option. I&apos;m talking personal website stuff here. I currently pay $30 a month to Dreamhost. I&apos;d pay a bit more than that if necessary, but I&apos;d rather not pay hundreds a month.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.123965</guid>
	<pubDate>Fri, 05 Jun 2009 09:20:19 -0800</pubDate>
	<category>dreamhost</category>
	<category>functional</category>
	<category>host</category>
	<category>java</category>
	<category>languages</category>
	<category>php</category>
	<category>python</category>
	<category>server</category>
	<category>webhost</category>
	<dc:creator>grumblebee</dc:creator>
	</item>
	<item>
	<title>generating tables using mako templates</title>
	<link>http://ask.metafilter.com/122776/generating%2Dtables%2Dusing%2Dmako%2Dtemplates</link>	
	<description>Using a Mako template and CSS, I need to generate a m x n grid display from a variable length list of elements. For simplicity&apos;s sake, let&apos;s say what I want is a 2 x n table, but I&apos;m fine with unordered lists as long as they appear on screen aligned as if they were in rows and columns.&lt;br&gt;
&lt;br&gt;
What does the logic look like in mako to create such a structure? I&apos;m having trouble figuring out when to start a new row or close and old one, while still keeping the template simple and readable.&lt;br&gt;
&lt;br&gt;
Please spell things out and use small words as I&apos;m new to both Mako and CSS (but somewhat conversant in Python), and keep me from the temptation to hard-code a solution for a fixed length list of elements.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.122776</guid>
	<pubDate>Fri, 22 May 2009 04:01:42 -0800</pubDate>
	<category>css</category>
	<category>html</category>
	<category>layout</category>
	<category>mako</category>
	<category>python</category>
	<category>resolved</category>
	<category>table</category>
	<category>template</category>
	<category>ul</category>
	<dc:creator>zippy</dc:creator>
	</item>
	<item>
	<title>making a simple GUI to database using available python libraries</title>
	<link>http://ask.metafilter.com/122024/making%2Da%2Dsimple%2DGUI%2Dto%2Ddatabase%2Dusing%2Davailable%2Dpython%2Dlibraries</link>	
	<description>existing python ADT structures within available libraries that are efficient at tagging schemas? Using python, I am looking for make some sort of GUI interface that allows me to make, update and visualize a database on my harddrive, interact with it, add keywords etc.  I am looking for the best platform to that has these concepts so i can do less programming and more scripting!&lt;br&gt;
&lt;br&gt;
For example, i would like to make sure that under the hood, my keyword/tagging schema is comprised of more than one table so it is not slow.&lt;br&gt;
&lt;br&gt;
Any ideas on the best libraries/tools to do this? perhaps there is already an example somewhere of this type of implementation?  I do not know a specific GUI API for python, so im not sure which pick would have the better classes support and documentation for this type of problem.&lt;br&gt;
&lt;br&gt;
thanks for the help!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.122024</guid>
	<pubDate>Wed, 13 May 2009 14:12:56 -0800</pubDate>
	<category>database</category>
	<category>GUI</category>
	<category>python</category>
	<dc:creator>figTree</dc:creator>
	</item>
	<item>
	<title>I think I broke my python installation on Mac OSX 10.5</title>
	<link>http://ask.metafilter.com/119798/I%2Dthink%2DI%2Dbroke%2Dmy%2Dpython%2Dinstallation%2Don%2DMac%2DOSX%2D105</link>	
	<description>I think I broke my python installation on Mac OSX 10.5 Before learning about easy_install, I&apos;ve been trying to compile modules(numpy,scipy) from source.  I then went to python.org to install the current python binaries.  Now, I can&apos;t seem to install things anymore and I now question my overall python installation&apos;s integrity.&lt;br&gt;
&lt;br&gt;
Now i&apos;m trying to install BeautifulSoup and I get errors like&lt;br&gt;
&lt;br&gt;
&lt;code&gt;&lt;br&gt;
www:Current neil$ easy_install BeautifulSoup&lt;br&gt;
Searching for BeautifulSoup&lt;br&gt;
Best match: BeautifulSoup 3.1.0.1&lt;br&gt;
Processing BeautifulSoup-3.1.0.1-py2.5.egg&lt;br&gt;
BeautifulSoup 3.1.0.1 is already the active version in easy-install.pth&lt;br&gt;
Installing testall.sh script to /usr/local/bin&lt;br&gt;
error: /usr/local/bin/testall.sh: Permission denied&lt;br&gt;
&lt;/code&gt;&lt;br&gt;
&lt;br&gt;
If I try and sudo easy_install BeautifulSoup, it looks like everything ran ok but when its time to import the library, it&apos;s not found.  &lt;br&gt;
&lt;br&gt;
I think with all the installing, and compiling, and everything else, I might have hosed my python installation.  How can I fix this?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.119798</guid>
	<pubDate>Fri, 17 Apr 2009 12:15:25 -0800</pubDate>
	<category>mac</category>
	<category>osx</category>
	<category>python</category>
	<dc:creator>neilkod</dc:creator>
	</item>
	<item>
	<title>Python and Math</title>
	<link>http://ask.metafilter.com/119530/Python%2Dand%2DMath</link>	
	<description>Is it worth learning Python for combinatorial mathematics research? I need to (re-)learn a programming language for some future research I plan on doing in combinatorics and discrete mathematics, and the elegance of Python is drawing me towards it.&lt;br&gt;
&lt;br&gt;
How much efficiency/speed would I lose by not using a lower level language, like C++?&lt;br&gt;
&lt;br&gt;
I know this question is very vague, but I do not know exactly what type of problems I plan on tackling. I just want to know if Python can efficiently handle heavy data.&lt;br&gt;
&lt;br&gt;
I&apos;ve read about the excellent math packages for Python, and Sage looks very neat.&lt;br&gt;
&lt;br&gt;
Any (discrete) mathematicians out there use Python on a regular basis? Am I better off re-learning C++? (I&apos;d rather not!)</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.119530</guid>
	<pubDate>Tue, 14 Apr 2009 15:22:10 -0800</pubDate>
	<category>combinatorics</category>
	<category>mathematics</category>
	<category>programming</category>
	<category>python</category>
	<dc:creator>alligatorman</dc:creator>
	</item>
	<item>
	<title>Python or Java  ...</title>
	<link>http://ask.metafilter.com/117289/Python%2Dor%2DJava</link>	
	<description>Help me choose between Python and Java for a specific type of programming. Background: I am a researcher in engineering with a wide scope. Mostly, I perform simulations of (mechanical) systems, behavior of which are governed by differential equations. I also develop models for biology/genetics (but &lt;strong&gt;not &lt;/strong&gt;bioinformatics type stuff). I use Fortran (I know) for programming, write results to output file(s) and read them using Excel or Tecplot to visualize. I also use Matlab and Mathematica for quick models. It gets pretty cumbersome after a while, especially when you want to quickly figure out behavior change (of a phenomenon) depending on the input variables. So I thought maybe it is time for me to learn some OOP and write codes that will allow me to change input variables interactively and see the results simultaneously on the screen.  Following link best describes the type of interface I am looking for:&lt;br&gt;
&lt;br&gt;
http://cmol.nbi.dk/models/igroup/igroup.html&lt;br&gt;
&lt;br&gt;
You see what I mean? There are buttons, sliders, text boxes to change variables and the results change immediately in the &quot;graphics&quot; area. As far as I can tell, it is an applet written using Java. Let&apos;s drop the ability to write applets aside because I am not looking for that. &lt;br&gt;
&lt;br&gt;
First question: can one write a code that would provide similar interface (GUI if you will) using Python?&lt;br&gt;
&lt;br&gt;
If so, would it be pretty straight forward after some Python learning (I understand it is hard to answer this question but give it whirl please)? &lt;br&gt;
&lt;br&gt;
Java appears a little intimidating to me while my initial experience with Python has been pleasant. However, I could not find any applications/codes on Python sites that fits what I am looking for (suggestions are welcome). &lt;br&gt;
&lt;br&gt;
Thanks so much.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.117289</guid>
	<pubDate>Fri, 20 Mar 2009 14:13:52 -0800</pubDate>
	<category>java</category>
	<category>oop</category>
	<category>programming</category>
	<category>python</category>
	<category>science</category>
	<category>simulations</category>
	<dc:creator>eebs</dc:creator>
	</item>
	<item>
	<title>Granular volume data from MP3 files?</title>
	<link>http://ask.metafilter.com/116333/Granular%2Dvolume%2Ddata%2Dfrom%2DMP3%2Dfiles</link>	
	<description>I&apos;m looking for a command-line tool that can return a volume value for specific points of time in an MP3 file. Basically, I need an array of volume values for an MP3 file. Preferably, one value for every 1/30th of a second of audio. The data will be used for visualization, so the values don&apos;t have to be extremely accurate or in any particular unit of measurement.&lt;br&gt;
&lt;br&gt;
In a perfect world, this would be an open source python-based tool.&lt;br&gt;
&lt;br&gt;
Any ideas?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.116333</guid>
	<pubDate>Tue, 10 Mar 2009 10:13:54 -0800</pubDate>
	<category>audio</category>
	<category>mp3</category>
	<category>python</category>
	<category>resolved</category>
	<category>unix</category>
	<category>volume</category>
	<dc:creator>joe vrrr</dc:creator>
	</item>
	
	</channel>
</rss>

