From eric at intellovations.com Sat Jun 12 16:57:28 2010 From: eric at intellovations.com (Eric Floehr) Date: Sat, 12 Jun 2010 10:57:28 -0400 Subject: [CentralOH] Minesweeper in Python and PyQt4 Message-ID: I came across this blog post and thought I would share. It is an implementation of Minesweeper in Python using PyQt4. For anyone who would like an introduction to GUI programming in Python, this would be a good start. http://lionel.textmalaysia.com/minesweeper-in-python-gui.html Be sure to read the comments as there are a few helpful items there. Best Regards, Eric From eric at intellovations.com Sat Jun 12 20:05:45 2010 From: eric at intellovations.com (Eric Floehr) Date: Sat, 12 Jun 2010 14:05:45 -0400 Subject: [CentralOH] [announcements] YAPC is coming! June 21st - 25th! In-Reply-To: <4FCF9864-7D50-48D1-9D5E-2CD0F91BDDA4@cojug.org> References: <4FCF9864-7D50-48D1-9D5E-2CD0F91BDDA4@cojug.org> Message-ID: Not Python, but a little cross-pollination is always good! It costs, but Larry Wall, Damian Conway, and Randal Schwartz will be there. ------------------------------------------------------------------ An international Perl Conference (YAPC) at the Ohio State University, brand new Ohio Union building, June 21st - 23rd, 2010. ?( http://yapc2010.com ) All of the big names in the Perl community will be there: Larry Wall will be there. ?The Creator of Perl. ( http://en.wikipedia.org/wiki/Larry_Wall ) Damian Conway will be there. ?I brought him to Nationwide in 2008 for perl training. ( http://en.wikipedia.org/wiki/Damian_Conway ) Randal Schwartz will be there. ?The author of many O'Reilly Perl Books. ( http://en.wikipedia.org/wiki/Randal_Schwartz ?) The three day conference, June 21st - 23rd, is just $100. ?There are also single day passes available, June 21st - 30$, June 22nd 40$, June 23rd 30$. ( http://yapc2010.com/yn2010/wiki?node=ConferenceSummary ) On Thursday June 24 and Friday June 25th there will be on-site Perl training ($120 per day), taught by Damian, Randal and several other key Perl lecturers. ( http://yapc2010.com/yn2010/wiki?node=Training ) Nationwide, a corporate platinum sponsor, already has 50 employees interested in attending, and we are looking for more interested attendees. ?If you have question please contact Heath Bair or check out the conference details at http://yapc2010.com From eric at intellovations.com Mon Jun 14 00:53:41 2010 From: eric at intellovations.com (Eric Floehr) Date: Sun, 13 Jun 2010 18:53:41 -0400 Subject: [CentralOH] Getting the elevation of a point on the Earth in Python Message-ID: All, Thought I'd share this with you. I needed elevation data as part of a project I'm working on with climate and weather. Specifically, I needed the elevation of a zip code. I have the latitude, longitude of the zip code centroid, but not the elevation at that latitude, longitude pair. I thought I might use the Google Elevation API: http://code.google.com/apis/maps/documentation/elevation/ However, the TOS states it must be used with a map display. I could not ensure that, so I could not use that service. Thankfully, through some searching, I discovered the USGS has an elevation web service interface: http://gisdata.usgs.net/XMLWebServices/TNM_Elevation_Service.php Interacting with a web service with Python is super-easy. I used the "suds" package (https://fedorahosted.org/suds/wiki/Documentation). Just "pip install suds". To create a client, just pass in the web-service description file: >>> from suds.client import Client >>> USGS_Client = Client('http://gisdata.usgs.net/XMLWebServices/TNM_Elevation_service.asmx?WSDL') Python's dynamic nature makes using a web service easy. The client object (USGS_Client) now has methods attached to it that match what is described in the WSDL file. And if you print the USGS_Client object, it's representation is the description of the methods available. In this case, I want to use the "getElevation" method (http://gisdata.usgs.net/XMLWebServices/TNM_Elevation_Service_Methods.php). According to the doc, it takes a longitude, latitude, measurement unit, and which elevation data set to use. A -1 means use the best available elevation. So I can just call: >>> result = USGS_Client.service.getElevation(longitude, latitude, 'FEET', '-1') The result that is returned is also dynamically generated, based on the WSDL file. In this case, it's a number of things: >>> result.USGS_Elevation_Web_Service_Query.Elevation_Query (Elevation_Query){ _y = "40" _x = "-80" Data_Source = "NED 1/9th arc-second: Southwest Pennsylvania" Data_ID = "Elev_PA_Southwest" Elevation = "910.211698276791" Units = "FEET" } So to get elevation, I just had to: >>> elevation = result.USGS_Elevation_Web_Service_Query.Elevation_Query.Elevation Piece of cake! Best Regards, Eric From catherine.devlin at gmail.com Mon Jun 14 21:29:40 2010 From: catherine.devlin at gmail.com (Catherine Devlin) Date: Mon, 14 Jun 2010 15:29:40 -0400 Subject: [CentralOH] Fwd: Full-time RA position at Ohio State with Dirk Bernhardt-Walther In-Reply-To: References: Message-ID: If anybody's interested, here's an opportunity to do Python at OSU (for RA wages, heh) (NO, I have no direct CalTech ties! It's a friend-of-a-friend thing...) ---------- Forwarded message ---------- > > ---------- Forwarded message ---------- > From: Dirk Bernhardt-Walther > Date: Sun, Jun 13, 2010 at 1:28 AM > Subject: [cns-interest] Full-time RA position at Ohio State with Dirk > Bernhardt-Walther > To: cns-interest at cns.caltech.edu > > > Research Assistant Position Available > > A full-time research assistant position is available in Dr. Dirk > Bernhardt-Walther?s laboratory at the Department of Psychology at The > Ohio State University. Our laboratory investigates how humans see and > attend to real-world scenes and objects. We address these research > questions with a multi-disciplinary approach, involving computer > simulations, behavioral and neurophysiological experiments, and novel > data analysis techniques. Duties may include assisting with all > aspects of EEG, fMRI, and eye-tracking experimentation as well as > implementing and performing computer simulations. This includes > designing and preparing of experiments, programming of experiments and > simulations in Matlab and/or Python, recruiting test subjects and > running them, analyzing data using various traditional and more > advanced techniques, including multi-voxel pattern analysis, > presenting results at scientific conferences, supervising > undergraduate students in the lab, setting up and maintaining computer > infrastructure, web design and web programming, and coordinating lab > activities. > > Requirements: > - BA/BS in Electrical Engineering, Psychology, Cognitive Science, > Neuroscience, Computer Science or other related scientific fields > - Strong programming skills, preferably in Matlab and Python > - Interest in learning and developing new experimental and analysis > techniques > - An ability to solve technical problems independently > - Strong organization skills > - Some prior research experience > > This would be an excellent position for a graduating senior who wishes > to hone their research skills before continuing on to graduate school. > A 2-year commitment with a start date in September or early October is > preferred. The Department of Psychology and OSU in general is a > lively, collaborative, supportive intellectual environment. OSU offers > excellent employee benefits, including tuition-free enrollment in OSU > classes. > > If interested, please apply through the OSU jobs web portal at: > > https://www.jobsatosu.com/applicants/jsp/shared/frameset/Frameset.jsp?time=1276405898164 > (Requisition number 351122) > _______________________________________________ > cns-interest mailing list > cns-interest at cns.caltech.edu > http://www.klab.caltech.edu/mailman/listinfo/cns-interest > > > -- - Catherine http://catherinedevlin.blogspot.com/ *** PyOhio 2010 * July 31 - Aug 1 * Columbus, OH * pyohio.org *** -------------- next part -------------- An HTML attachment was scrubbed... URL: From eric at intellovations.com Thu Jun 17 15:27:36 2010 From: eric at intellovations.com (Eric Floehr) Date: Thu, 17 Jun 2010 09:27:36 -0400 Subject: [CentralOH] Fwd: Become a Python contributor at PyOhio Message-ID: Become a Python contributor at PyOhio ===================================== Working *in* Python is awesome. Are you ready to work *on* Python? The quality of Python and the Standard Library depend on volunteers who fix bugs and make improvements to the codebase. If you're interested in joining these volunteers, good for you! Information on core development is right on Python's homepage. However, if you'd like an in-person boost to get you started, come to PyOhio this July 31 - August 3. Two talks will get you up to speed on Python contribution: "Intro to Core Involvement" and "Teach Me Python Bugfixing". Next come two evenings and two full days of Python core sprinting, so you can put your new skills to use with plenty of helpers around. It's classroom learning and real-life practice at one free event! See you there! Core development: http://www.python.org/dev/ PyOhio: http://www.pyohio.org/ Intro to Core Development: http://www.pyohio.org/2010/Talks#A.2320_Intro_to_Core_Involvement Teach Me Python Bugfixing: http://www.pyohio.org/2010/Talks#A.234_Teach_Me_Python_Bugfixing PyOhio sprints: http://www.pyohio.org/Sprints2010 -- - Catherine http://catherinedevlin.blogspot.com/ *** PyOhio 2010 * July 31 - Aug 1 * Columbus, OH * pyohio.org *** -------------- next part -------------- An HTML attachment was scrubbed... URL: From greg at gregmalcolm.com Wed Jun 23 05:43:45 2010 From: greg at gregmalcolm.com (Greg Malcolm) Date: Tue, 22 Jun 2010 23:43:45 -0400 Subject: [CentralOH] Learn Python the Koans Way Message-ID: Hi y'all! I'm really looking forward to taking the Python Koans out at event for the first time. It should be a blast! If anyone wants to get installed prior to the event you will need the following: * Python 2.6 or Python 3.1 (there are 2 flavors of koans) * The Pythons Koans. The Python Koans are available through Mercurial via bitbucket: http://bitbucket.org/gregmalcolm/python_koans ? or through Git via github: http://wiki.github.com/gregmalcolm/python_koans/ Either site will also allow you to download the koans as a zip file if that is your preference. See you Monday! - Greg -------------- next part -------------- An HTML attachment was scrubbed... URL: From eric at intellovations.com Thu Jun 24 17:13:12 2010 From: eric at intellovations.com (Eric Floehr) Date: Thu, 24 Jun 2010 11:13:12 -0400 Subject: [CentralOH] Please register for PyOhio 2010 Message-ID: All, PyOhio is an annual conference for Python programmers and those interested in Python. PyOhio 2010, the third annual conference, will take place July 31 - August 1, 2010 at Ohio State University's Ohio Union. Two optional days of development sprints (August 2 - 3) will follow the main conference. There are 21 scheduled talks, but just as (or more) important are the BoF (Birds of a Feather) discussions, the lightning talks, and all the sharing, helping, and networking that goes on. You can see the talks and more information at the PyOhio website: http://www.pyohio.org/ The conference is free, but we'd like to know if you are coming so that we can plan space appropriately. ?Please register here: http://pyohio2010.eventbrite.com/ It should be a great conference! Best Regards, Eric