From cbc at unc.edu Mon Dec 1 17:27:04 2008 From: cbc at unc.edu (Chris Calloway) Date: Mon, 01 Dec 2008 11:27:04 -0500 Subject: [TriZPUG] [Fwd: CS oppurtunity for development in West Africa] Message-ID: <49341058.8040903@unc.edu> I'm forwarding this to you from our friend Jonah Bossewitch at Columbia as I know there are a lot of you on this list active in the field of public health. -------- Original Message -------- Subject: CS oppurtunity for development in West Africa Date: Mon, 1 Dec 2008 07:56:42 -0800 (PST) From: Jonah Bossewitch To: Chris Calloway This is an interesting position that you or someone you know may be interested in. ---------------------------------------------------------------------- Columbia University?s Mailman School of Public Health, the Department of Computer Science of the University of Southern Maine, the Ghana Health Service, and the Grameen Foundation have formed a partnership for health information systems development. To be known as the Ghana Health Information Systems Development (GHISD) Initiative, the project will develop, test, and scale up technology for health information management. In particular, GHISD will test whether the adaptation of existing mobile phone technology can help address these problems by significantly easing information capture for community-based health care workers and providing a mechanism for communication between front-line health care workers and their supervisors. Little is known about the feasibility of utilizing mobile phone technology for reforming routine health information operations and even less is known about the use of information systems as a tool for reforming community health care worker efficiency and health service effectiveness. Filling these critical knowledge gaps, the project will test whether promising technology can strengthen the community-based health care services that are increasingly being implemented throughout the developing world. The GHISD project seeks to hire a computer scientist who will be posted at the Dodowa Health Research Centre (DHRC) in the Dangbe West District of Ghana. As one of the key members of a software development team, the computer scientist will be involved in the design, implementation, and testing of server-based health information systems software to support the use of mobile devices. This important position will form the collaborative link between research scientists at Columbia University, the University of Southern Maine and the Ghana Health Service. The computer scientist will help identify significant use cases, identify problems in the deployment of software, and form the critical link between developers and users. QUALIFICATIONS The Computer Scientist will possess the following qualifications: ? Bachelors Degree in Computer Science required ? Masters Degree in Computer Science preferred ? Advanced quantitative research skills in health, statistics, or population sciences; experience with health systems qualitative research desirable. ? Experience with health information applications in Africa desirable SKILLS / EXPERIENCE ? Work experience in Africa desirable. ? Willingness to work and live in Ghana. ? Able to effectively communicate with stakeholders. ? Experience and interest in developing server side software systems that manage databases. ? Experience working with a team of experts in various technical/managerial areas ? Fluency in English, knowledge of an African language desirable. Contact: James Phillips School of Public Health Columbia University jfp2113 ta columbia tod edu Bruce MacLeod U. of Southern Maine macleod ta usm tod maine tod edu Ryan Kelsey CCNMTL ryan ta columbia tod edu -- Sincerely, Chris Calloway http://www.secoora.org office: 332 Chapman Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 From edv at unc.edu Wed Dec 3 22:06:39 2008 From: edv at unc.edu (Ed Van Duinen) Date: Wed, 03 Dec 2008 16:06:39 -0500 Subject: [TriZPUG] UNC Carolina Population Center is looking for Plone programmers Message-ID: <4936F4DF.2040405@unc.edu> The UNC Carolina Population Center (CPC) is looking for two Plone programmers to come join our team. The CPC is a great place to work -- interesting and challenging projects, friendly staff, and convenient access to Franklin St. for lunch and more. If you are a qualified Zope/Plone/Python/web programmer who is interested in a fulltime, permanent position at UNC, please consider one of the following: Applications Analyst Journey (0056145) =========================== The primary responsibility of this Web Programmer is to develop and maintain complex, web-based applications in the Plone content management system. These applications involve management information systems (e.g., research project reporting, tracking, and financial management tools), knowledge management systems, and distance learning systems. A strong technical knowledge is required to implement these products in an efficient, user-friendly, and programmer sustainable manner. In addition to programming tasks, the Web Programmer will also take a lead on project management functions for the project's programmer team project by working with the team, project staff, and faculty investigators to identify the programming goals for the project and by tracking the agreed to deliverables. The Web Programmer must be able to consult with and communicate effectively with project staff to determine requirements, priorities, and desired timelines and work independently with minimal instruction. Read more at https://s4.its.unc.edu/RAMS4/details.do?reqId=0811280&type=S Applications Analyst Contributing (0058842) ============================== The primary responsibility of this Web Programmer is to work with a team of programmers to develop and maintain web-based applications in the Plone content management system. The primary applications this programmer will manage are systems used by the targeted users of the website in international settings, such as a knowledge management tools, distance learning courses, and publications databases. This programmer will also assist other members of the team on programming management information systems for project workflow, scheduling, financial management, etc. Strong technical knowledge is required to implement these products in an efficient, user-friendly, and programmer sustainable manner. The Web Programmer will work with a team of programmers, project staff, and faculty investigators to identify the programming goals for the project. The Web Programmer must be able to communicate effectively with project staff to determine requirements, priorities, and desired timelines and work independently with minimal instruction. Read more at https://s4.its.unc.edu/RAMS4/details.do?reqId=0811278&type=S For more information about the Carolina Population Center, please visit our web site at http://www.cpc.unc.edu Thanks, Ed -- Ed Van Duinen Head, Web Services Carolina Population Center University of North Carolina at Chapel Hill edv at unc.edu From stephan_altmueller at unc.edu Thu Dec 4 16:12:45 2008 From: stephan_altmueller at unc.edu (Stephan Altmueller) Date: Thu, 04 Dec 2008 10:12:45 -0500 Subject: [TriZPUG] Second Plone Jam on Friday Dec 05 @ Howell Hall Room 04 Message-ID: <4937F36D.40507@unc.edu> Hi ! Sorry for any cross listings ! We are going to have our second Plone Jam this Friday at Howell Hall. We are taking another attempt to work on Plone LDAP/ONYEN integration. All the Ethernet ports in that room are working now so we'll have reliable Internet ! Please bring a (long) Ethernet cable, we have some though ! See here for more information: http://plonedev.unc.edu/unc-plone-jams/unc-plone-jam-002 Hope to see you there ! -- Stephan -- -------------------------------------------------------- Stephan Altmueller Applications Analyst OASIS - Office of Arts and Sciences Information Services University of North Carolina at Chapel Hill Phone: 919-448-5936 Email: stephan_altmueller at unc.edu From cbc at unc.edu Thu Dec 4 18:06:48 2008 From: cbc at unc.edu (Chris Calloway) Date: Thu, 4 Dec 2008 12:06:48 -0500 Subject: [TriZPUG] Python 3 released Message-ID: <02565C15-E999-49C6-AE02-25F8546FCD73@unc.edu> Nine years in the making, Python 3 was released late last night: http://python.org/download/releases/3.0/ What's new: http://docs.python.org/dev/3.0/whatsnew/3.0.html What is special about this release, the first backwards incompatible release of Python, are the things it did *not* change in order to, above all, keep Python as simple as possible: http://www.python.org/dev/peps/pep-3099/ See you tomorrow at the Jam. -- Sincerely, Chris Calloway http://www.secoora.org office: 332 Chapman Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 From cbc at unc.edu Thu Dec 4 18:29:32 2008 From: cbc at unc.edu (Chris Calloway) Date: Thu, 4 Dec 2008 17:29:32 +0000 (UTC) Subject: [TriZPUG] Nov / Dec TriZPUG Meeting References: <4914B95C.40305@unc.edu> <596B4E7E-07E5-4864-839C-36AA2D6E8110@semanchuk.com> <49185C8E.6040002@unc.edu> <0CDBC4E5-BA97-467D-BA19-20505741CCFF@semanchuk.com> <4919A62D.6040400@email.unc.edu> <4919DB9F.1000200@unc.edu> Message-ID: Oh, yeah, and there's a meeting tonight at Duke where Phillip is going to talk about something interesting: http://trizpug.org/Members/mrevoir/novdec-08-mtg Cheers, Chris From philip at semanchuk.com Thu Dec 4 18:38:21 2008 From: philip at semanchuk.com (Philip Semanchuk) Date: Thu, 4 Dec 2008 12:38:21 -0500 Subject: [TriZPUG] Nov / Dec TriZPUG Meeting In-Reply-To: References: <4914B95C.40305@unc.edu> <596B4E7E-07E5-4864-839C-36AA2D6E8110@semanchuk.com> <49185C8E.6040002@unc.edu> <0CDBC4E5-BA97-467D-BA19-20505741CCFF@semanchuk.com> <4919A62D.6040400@email.unc.edu> <4919DB9F.1000200@unc.edu> Message-ID: On Dec 4, 2008, at 12:29 PM, Chris Calloway wrote: > Oh, yeah, and there's a meeting tonight at Duke where Phillip is > going to talk > about something interesting: > > http://trizpug.org/Members/mrevoir/novdec-08-mtg And I've got a little bonus to what's mentioned there. See you all at 7 Philip From cbc at unc.edu Thu Dec 4 21:02:34 2008 From: cbc at unc.edu (Chris Calloway) Date: Thu, 4 Dec 2008 20:02:34 +0000 (UTC) Subject: [TriZPUG] Nov / Dec TriZPUG Meeting References: <4914B95C.40305@unc.edu> <596B4E7E-07E5-4864-839C-36AA2D6E8110@semanchuk.com> <49185C8E.6040002@unc.edu> <0CDBC4E5-BA97-467D-BA19-20505741CCFF@semanchuk.com> <4919A62D.6040400@email.unc.edu> <4919DB9F.1000200@unc.edu> Message-ID: Philip Semanchuk writes: > And I've got a little bonus to what's mentioned there. Door prizes, too! Cheers, Chris From josh_johnson at unc.edu Fri Dec 5 14:50:38 2008 From: josh_johnson at unc.edu (Josh Johnson) Date: Fri, 05 Dec 2008 08:50:38 -0500 Subject: [TriZPUG] Links from tonight's meeting Message-ID: <493931AE.5060802@unc.edu> I've been keeping a running list of links and stuff mentioned during tonight's meeting. Enjoy! Links from the intros: Chris Rossi's project to sell music to benefit Cy Rawls: http://www.cytunes.org/ (Be sure to come out to the CyTunes launch party at Local 506! (next Friday, 12/12, 9pm, FREEEEE) IPC Stuff Global Interpreter Lock (why IPC instead of ITC) http://www.python.org/doc/2.5.2/api/threads.html Philip's POSIX IPC implementation: http://semanchuk.com/philip/posix_ipc Monty Python sketch that was his inspiration for naming his example code: http://www.youtube.com/watch?v=crIJvcWkVcs Philip's System V IPC implementation: http://semanchuk.com/philip/sysv_ipc/ Info on the "classic" shm module that Philip has adopted: http://nikitathespider.com/python/shm/ Some other alternatives Philip mentioned during his talk: http://poshmodule.sourceforge.net/ http://docs.python.org/library/multiprocessing.html A past endeavor of Philip's that contains some articles and code related to IPC: http://nikitathespider.com/ The definition of a Semaphore (looking at the disambiguation speaks to the origins of the term): http://en.wikipedia.org/wiki/Semaphore Specifically to programming: http://en.wikipedia.org/wiki/Semaphore_(programming) JJ From josh_johnson at unc.edu Fri Dec 5 17:32:59 2008 From: josh_johnson at unc.edu (Josh Johnson) Date: Fri, 05 Dec 2008 11:32:59 -0500 Subject: [TriZPUG] Links from tonight's meeting In-Reply-To: <493931AE.5060802@unc.edu> References: <493931AE.5060802@unc.edu> Message-ID: <493957BB.8030109@unc.edu> Also, Chris hooked me up with the issue tracker for content rules, so we can start thinking about what we want to work on during the MLK weekend sprint! http://dev.plone.org/plone/search?q=contentrules&ticket=on JJ Josh Johnson wrote: > I've been keeping a running list of links and stuff mentioned during > tonight's meeting. Enjoy! > > Links from the intros: > Chris Rossi's project to sell music to benefit Cy Rawls: > http://www.cytunes.org/ (Be sure to come out to the CyTunes launch > party at Local 506! (next Friday, 12/12, 9pm, FREEEEE) > > IPC Stuff > Global Interpreter Lock (why IPC instead of ITC) > http://www.python.org/doc/2.5.2/api/threads.html > > Philip's POSIX IPC implementation: http://semanchuk.com/philip/posix_ipc > Monty Python sketch that was his inspiration for naming his example > code: http://www.youtube.com/watch?v=crIJvcWkVcs > Philip's System V IPC implementation: > http://semanchuk.com/philip/sysv_ipc/ > > Info on the "classic" shm module that Philip has adopted: > http://nikitathespider.com/python/shm/ > > Some other alternatives Philip mentioned during his talk: > http://poshmodule.sourceforge.net/ > http://docs.python.org/library/multiprocessing.html > > A past endeavor of Philip's that contains some articles and code > related to IPC: > http://nikitathespider.com/ > > The definition of a Semaphore (looking at the disambiguation speaks to > the origins of the term): > http://en.wikipedia.org/wiki/Semaphore > Specifically to programming: > http://en.wikipedia.org/wiki/Semaphore_(programming) > > JJ > > _______________________________________________ > TriZPUG mailing list > TriZPUG at python.org > http://mail.python.org/mailman/listinfo/trizpug > http://trizpug.org is the Triangle Zope and Python Users Group From cshicks71 at gmail.com Sat Dec 6 02:34:29 2008 From: cshicks71 at gmail.com (Scott Hicks) Date: Fri, 5 Dec 2008 20:34:29 -0500 Subject: [TriZPUG] jump start needed Message-ID: <4cd347450812051734t25d46df0q204d2a7126a4d308@mail.gmail.com> Hi, I wanted to send out a message to see if anyone in Trizpug would be gracious enough to answer a few questions and/or provide a little help to get me started with Python. I recently took the plunge and bought a new MacBook Pro. So, I am also learning the Mac OSx environment. Here's is what I am interested in: * Getting a python development environment setup correctly on the Mac. I would like to start with 3.0 since I am new, but do not yet see a Mac image available yet on Python.org * I have purchased TextMate and would like to learn tips and tricks of that editor * I have a particular project in mind. Pretty simple html parsing / processing and reading and writing to an sqlite database (database is complete). I have looked at and played around with HTMLParser, urllib, and other libraries such as twill. They all seem to do the same job and I am not sure which one would best suit my needs. Eventually, I want to get into driving Selenium Grid with Python. I realize it is the holiday season and I do not want to get started until January. Hopefully, Python 3 will be available for the Mac by then. If anyone is willing to help me out, it would be much appreciated. I will make sure Santa is extra nice to you..... Thanks, Scott Hicks -------------- next part -------------- An HTML attachment was scrubbed... URL: From tomclark at shawu.edu Sat Dec 6 02:48:54 2008 From: tomclark at shawu.edu (Clark, Tom) Date: Fri, 5 Dec 2008 20:48:54 -0500 Subject: [TriZPUG] jump start needed References: <4cd347450812051734t25d46df0q204d2a7126a4d308@mail.gmail.com> Message-ID: <360FAA5E865EBC489759790145A448A908B05B2F@bear.shawu.edu> Gosh, Scott...from the subject line, I thought you were by the side of the road somewhere, emailing for help from your smartphone... ; ) [Good luck, with the project...I'm a newbie myself or I'd offer to help...] TC Tom Clark, MLS Librarian, Wiggins Divinity Library Shaw University 919-716-5518 tomclark at shawu.edu -----Original Message----- From: trizpug-bounces+tomclark=shawu.edu at python.org on behalf of Scott Hicks Sent: Fri 12/5/2008 8:34 PM To: Triangle (North Carolina) Zope and Python Users Group Subject: [TriZPUG] jump start needed Hi, I wanted to send out a message to see if anyone in Trizpug would be gracious enough to answer a few questions and/or provide a little help to get me started with Python. I recently took the plunge and bought a new MacBook Pro. So, I am also learning the Mac OSx environment. Here's is what I am interested in: * Getting a python development environment setup correctly on the Mac. I would like to start with 3.0 since I am new, but do not yet see a Mac image available yet on Python.org * I have purchased TextMate and would like to learn tips and tricks of that editor * I have a particular project in mind. Pretty simple html parsing / processing and reading and writing to an sqlite database (database is complete). I have looked at and played around with HTMLParser, urllib, and other libraries such as twill. They all seem to do the same job and I am not sure which one would best suit my needs. Eventually, I want to get into driving Selenium Grid with Python. I realize it is the holiday season and I do not want to get started until January. Hopefully, Python 3 will be available for the Mac by then. If anyone is willing to help me out, it would be much appreciated. I will make sure Santa is extra nice to you..... Thanks, Scott Hicks -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 3700 bytes Desc: not available URL: From philip at semanchuk.com Sat Dec 6 23:11:18 2008 From: philip at semanchuk.com (Philip Semanchuk) Date: Sat, 6 Dec 2008 17:11:18 -0500 Subject: [TriZPUG] jump start needed In-Reply-To: <4cd347450812051734t25d46df0q204d2a7126a4d308@mail.gmail.com> References: <4cd347450812051734t25d46df0q204d2a7126a4d308@mail.gmail.com> Message-ID: On Dec 5, 2008, at 8:34 PM, Scott Hicks wrote: > Hi, > > I wanted to send out a message to see if anyone in Trizpug would be > gracious > enough to answer a few questions and/or provide a little help to get > me > started with Python. I recently took the plunge and bought a new > MacBook > Pro. So, I am also learning the Mac OSx environment. Here's is > what I am > interested in: > > * Getting a python development environment setup correctly on the > Mac. I > would like to start with 3.0 since I am new, but do not yet see a > Mac image > available yet on Python.org Hi Scott, Congrats on your new purchase. I really like my Macbook Pro as a user tool (email, surfing the Web, etc.) and as a development tool (Python, gcc, SSH, Unix-y goodness, etc.) You already have a Python development on your Mac, v2.5 if I'm not mistaken. You can have multiple versions installed. In fact, I have two versions of 2.5 installed right now on my machine. I use my Mac as a standard Unix environment with /usr/local/src holding packages that I've downloaded and compiled. I downloaded the source for Python 2.5.1 to /usr/local/src/Python-2.5.1 and ran the standard unix build steps of configure and make. I think Python will find and make use of readline libs if it finds them already installed. This is what allows you to do command history & editing in the Python interpreter. You might want to download, compile & install that before compiling & installing Python. The README that comes with Python 2.x has some specifics related to OS X. You probably want to pass the --enable-framework option to configure. (I'm assuming Py3k has similar options to Py2.x). AFAIK there's no penalty to doing so, and it will give you more flexibility later. I don't remember whether or not this will create links in /usr/local/ bin, but if it doesn't, you probably want to do that. On my system, / usr/local/bin/python is a symlink to this: /Library/Frameworks/Python.framework/Versions/2.5/bin/python Note that OS X expects /usr/bin/python to point to the system Python, so you probably want to leave that symlink alone. Then in ~/.profile I added this: export PATH=/usr/local/bin:$PATH So in Terminal when I type "Python" it finds "my" Python in /usr/local/ bin first. You could of course create symlinks called python25 and python3 or some such if you want to be able to invoke both interpreters. I've never used Idle or any of the other apps that come along with Python. > * I have purchased TextMate and would like to learn tips and tricks > of that > editor It's a nice editor. Let me know if you find a code completer that works. I've always been disappointed. I did a fair amount of coding in VB in the 90s and the excellent code completion was a nice aid. > * I have a particular project in mind. Pretty simple html parsing / > processing and reading and writing to an sqlite database (database is > complete). I have looked at and played around with HTMLParser, > urllib, and > other libraries such as twill. They all seem to do the same job and > I am > not sure which one would best suit my needs. Eventually, I want to > get into > driving Selenium Grid with Python. Dunno about twill but HTMLParser and urllib are entirely different tools. Urllib is a semi-low level library for fetching things from the Net. HTMLParser parses HTML. They're complementary -- you could use urllib to fetch files and HTMLParser to parse them. That said, HTMLParser is notoriously fussy, or that's my understanding of it. It is based on SGMLParser which complains if the SGML is malformed, and most Web pages are. [1] The canonical recommendation is to use a package called BeautifulSoup to parse messy Web HTML. I had used a library called htmldata that I liked and found a bit simpler than BeautifulSoup, but it's a little neglected at this point, I think: http://www.connellybarnes.com/code/htmldata/ Hope that helps. I think the Mac is a fine development environment for Python. I hope you do too. bye P PS - Thanks for putting in a good word about me to Santa; I'll need it. [1] - Of the pages submitted to my validator Nikita the Spider, just 38% were error free: http://NikitaTheSpider.com/articles/ByTheNumbers/fall2008.html#basics > > > I realize it is the holiday season and I do not want to get started > until > January. Hopefully, Python 3 will be available for the Mac by then. > > If anyone is willing to help me out, it would be much appreciated. > I will > make sure Santa is extra nice to you..... > > Thanks, > > Scott Hicks > _______________________________________________ > TriZPUG mailing list > TriZPUG at python.org > http://mail.python.org/mailman/listinfo/trizpug > http://trizpug.org is the Triangle Zope and Python Users Group From pmclanahan at gmail.com Sun Dec 7 21:57:06 2008 From: pmclanahan at gmail.com (Paul McLanahan) Date: Sun, 7 Dec 2008 15:57:06 -0500 Subject: [TriZPUG] jump start needed In-Reply-To: <4cd347450812051734t25d46df0q204d2a7126a4d308@mail.gmail.com> References: <4cd347450812051734t25d46df0q204d2a7126a4d308@mail.gmail.com> Message-ID: <21096c180812071257q58febd8aq73d04e137124b6a4@mail.gmail.com> On Fri, Dec 5, 2008 at 8:34 PM, Scott Hicks wrote: > * I have a particular project in mind. Pretty simple html parsing / > processing and reading and writing to an sqlite database (database is > complete). I have looked at and played around with HTMLParser, urllib, and > other libraries such as twill. They all seem to do the same job and I am > not sure which one would best suit my needs. Eventually, I want to get into > driving Selenium Grid with Python. Congrats on getting a Mac :) I have a 3GHz 24" iMac as my primary machine and I love it. I'm no Python veteran, but I am starting to use it a lot at work. My only suggestion is in the HTML parsing realm. I've looked into this some and a lot of people love the Beautiful Soup library for HTML parsing. It's very easy and pythonic to use, and it also will power through really bad HTML in the case where you don't control the HTML code you'll be parsing. Good luck! http://www.crummy.com/software/BeautifulSoup/ Paul From cbc at unc.edu Mon Dec 8 00:30:42 2008 From: cbc at unc.edu (Chris Calloway) Date: Sun, 7 Dec 2008 18:30:42 -0500 Subject: [TriZPUG] jump start needed In-Reply-To: <4cd347450812051734t25d46df0q204d2a7126a4d308@mail.gmail.com> References: <4cd347450812051734t25d46df0q204d2a7126a4d308@mail.gmail.com> Message-ID: On Dec 5, 2008, at 8:34 PM, Scott Hicks wrote: > * Getting a python development environment setup correctly on the > Mac. I would like to start with 3.0 since I am new, but do not yet > see a Mac image available yet on Python.org You don't want to start out with Python 3K. Most third party packages you'd want to use don't work with it yet. For instance, the lastest ez_setup.py for installing setuptools isn't ported to 3.0 yet. If you want to set up a development environment, the first thing to do is compile a Python separate from your built-in system framework Python. There is a minor problem here. Readline is not distributed with OSX because of license problems. And you really want readline to be used by Python. So you have to install a private readline library and then compile Python to use it. The simplest way to install readline is to use MacPorts. You can get a dmg file to install from the MacPorts site. Except to install MacPorts, you'll need Xcode and X installed first. The X that comes with OSX will have some problems with many programs (like WIng, for one). So install the latest XQuartz after installing and updating XCode. You can get a pkg file to install from the XQuartz site. So when you get readline from MacPorts, it will likely be installed in a default location like /opt/local rather than /usr/local. This is good, actually. Then you can download a Python tarball. The following works with either Python 3.0 or > 2.5 by changing the version number in the commands: cd ~ tar -xvzf Python-3.0 cd Python-3.0 export CC="gcc -I/opt/local/include -L/opt/local/lib" Then edit setup.py. Find the statement that says: if do_readline: and right before it, add the following line: do_readline = True Then you can perform the following: ./configure --prefix=/opt/python3.0 2>&1 | tee configure.stdout make 2>&1 | tee make.stdout make test 2>&1 | tee test.stdout # this step is optional and takes some time sudo make install 2>&1 | tee install.stdout cd /opt/python3.0/bin sudo ln ~sf python3.0 python Then your development python will be available as /opt/python3.0/bin/ python If you installed a Python in the 2.x series, you'll be able to install easy_install and virtualenv, to make real development workbenches. Don't use the --enable-framework option with ./configure if you plan on using virtualenv. curl http://peak.telecommunity.com/dist/ez_setup.py > ez_setup.py sudo /opt/python2.5/bin/python ez_setup.py sudo /opt/python2.5/bin/easy_install virtualenv /opt/python2.5/bin/virtualenv my-python cd my-python bin/easy_install BeautifulSoup bin/python import BeautifulSoup /opt/python2.5/bin/python > * I have purchased TextMate and would like to learn tips and tricks > of that editor Another good reason not to use Python 3K right now. You'd need to right a TextMate grammar bundle for it. Also, the TextMate Python bundle responds to the TM_PYTHON and PYTHONPATH environment variables a lot, although it is hard coded to things like /usr/bin/python2.3 in places. It requires a lot of fix up to use with development workspaces and having a global PYTHONPATH environment variable is generally not a good thing. > * I have a particular project in mind. Pretty simple html parsing / > processing and reading and writing to an sqlite database (database > is complete). I have looked at and played around with HTMLParser, > urllib, and other libraries such as twill. They all seem to do the > same job and I am not sure which one would best suit my needs. > Eventually, I want to get into driving Selenium Grid with Python. I second the BeautifulSoup recommendations. Which isn't ready for Python 3K, either. > I realize it is the holiday season and I do not want to get started > until January. Hopefully, Python 3 will be available for the Mac by > then. Well, it's available for OSX now as a tarball to compile. When you get those Python for Mac installers, they create an alternate framework python in OSX, which is not good for development because it becomes your default system python instead of an isolated private python. -- Sincerely, Chris Calloway http://www.secoora.org office: 332 Chapman Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 From pmclanahan at gmail.com Mon Dec 8 17:04:58 2008 From: pmclanahan at gmail.com (Paul McLanahan) Date: Mon, 8 Dec 2008 11:04:58 -0500 Subject: [TriZPUG] jump start needed In-Reply-To: References: <4cd347450812051734t25d46df0q204d2a7126a4d308@mail.gmail.com> Message-ID: <21096c180812080804i6d3e5fe2h7dbf89a36c3b38df@mail.gmail.com> I just saw this little gem in a post on Simon Willison's blog (simonwillison.net) and thought of this thread. How I Use TextMate http://www.al3x.net/2008/12/03/how-i-use-textmate.html It's a nice little writeup on a couple of addons for TextMate that make life better. I found it interesting, and thought other Mac/Textmate Python users might as well. Paul -- "When buying and selling are controlled by legislation, the first things to be bought and sold are legislators." - P. J. O'Rourke From cbc at unc.edu Tue Dec 9 03:01:24 2008 From: cbc at unc.edu (Chris Calloway) Date: Mon, 08 Dec 2008 21:01:24 -0500 Subject: [TriZPUG] jump start needed In-Reply-To: <21096c180812080804i6d3e5fe2h7dbf89a36c3b38df@mail.gmail.com> References: <4cd347450812051734t25d46df0q204d2a7126a4d308@mail.gmail.com> <21096c180812080804i6d3e5fe2h7dbf89a36c3b38df@mail.gmail.com> Message-ID: <493DD174.5060006@unc.edu> I found a good reason to use Python 3K right away. Try this in Python 3: import antigravity Also, here's another easter egg that somehow got by me. But I confirmed it goes back for several releases: import __hello__ -- Sincerely, Chris Calloway http://www.secoora.org office: 332 Chapman Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 From bgailer at gmail.com Tue Dec 9 15:09:06 2008 From: bgailer at gmail.com (bob gailer) Date: Tue, 09 Dec 2008 09:09:06 -0500 Subject: [TriZPUG] jump start needed In-Reply-To: <493DD174.5060006@unc.edu> References: <4cd347450812051734t25d46df0q204d2a7126a4d308@mail.gmail.com> <21096c180812080804i6d3e5fe2h7dbf89a36c3b38df@mail.gmail.com> <493DD174.5060006@unc.edu> Message-ID: <493E7C02.9000103@gmail.com> Chris Calloway wrote: > I found a good reason to use Python 3K right away. Try this in Python 3: > > import antigravity > > Also, here's another easter egg that somehow got by me. But I > confirmed it goes back for several releases: > > import __hello__ It does import but does not seem to contain anything significant. What's the point? -- Bob Gailer Chapel Hill NC 919-636-4239 From eric.leary at gmail.com Tue Dec 9 15:14:36 2008 From: eric.leary at gmail.com (Eric Leary) Date: Tue, 9 Dec 2008 09:14:36 -0500 Subject: [TriZPUG] jump start needed In-Reply-To: <493E7C02.9000103@gmail.com> References: <4cd347450812051734t25d46df0q204d2a7126a4d308@mail.gmail.com> <21096c180812080804i6d3e5fe2h7dbf89a36c3b38df@mail.gmail.com> <493DD174.5060006@unc.edu> <493E7C02.9000103@gmail.com> Message-ID: <3d9738190812090614ida94883q9b293b2f9be32619@mail.gmail.com> antigravity does me no good until I can get the linux drivers anyway. On Tue, Dec 9, 2008 at 9:09 AM, bob gailer wrote: > Chris Calloway wrote: > >> I found a good reason to use Python 3K right away. Try this in Python 3: >> >> import antigravity >> >> Also, here's another easter egg that somehow got by me. But I confirmed it >> goes back for several releases: >> >> import __hello__ >> > > It does import but does not seem to contain anything significant. What's > the point? > > > -- > Bob Gailer > Chapel Hill NC 919-636-4239 > > > _______________________________________________ > TriZPUG mailing list > TriZPUG at python.org > http://mail.python.org/mailman/listinfo/trizpug > http://trizpug.org is the Triangle Zope and Python Users Group > -------------- next part -------------- An HTML attachment was scrubbed... URL: From philip at semanchuk.com Tue Dec 9 15:47:15 2008 From: philip at semanchuk.com (Philip Semanchuk) Date: Tue, 9 Dec 2008 09:47:15 -0500 Subject: [TriZPUG] jump start needed In-Reply-To: <493E7C02.9000103@gmail.com> References: <4cd347450812051734t25d46df0q204d2a7126a4d308@mail.gmail.com> <21096c180812080804i6d3e5fe2h7dbf89a36c3b38df@mail.gmail.com> <493DD174.5060006@unc.edu> <493E7C02.9000103@gmail.com> Message-ID: On Dec 9, 2008, at 9:09 AM, bob gailer wrote: > Chris Calloway wrote: >> I found a good reason to use Python 3K right away. Try this in >> Python 3: >> >> import antigravity >> >> Also, here's another easter egg that somehow got by me. But I >> confirmed it goes back for several releases: >> >> import __hello__ > > It does import but does not seem to contain anything significant. > What's the point? On my Python (2.5) it replies with "Hello world". Probably just an Easter Egg so that Python can lay claim to the simplest "Hello world" program, which does a nice job of showing how silly that discussion is. From Tom_Roche at pobox.com Mon Dec 15 19:24:30 2008 From: Tom_Roche at pobox.com (Tom Roche) Date: Mon, 15 Dec 2008 13:24:30 -0500 Subject: OT? recommend course(s) for modeler manqué Message-ID: <200812151824.mBFIOUU5008623@bc13-n13.isis.unc.edu> Care to recommend courses that might be useful for someone intending to get hands-on with scientific models? What I mean: I'm a grad student @ UNC; just finished first semester. I want to do a dual degree in Environmental Sciences and Engineering (ESE) and City and Regional Planning (CRP). My goal is (eventually) to develop one or more tools that will help planners to predict the effects of development decisions on greenhouse-gas (GHG) emissions. As a first step I'd like to investigate integration of an air-quality (AQ) model with an LUT (land-use/transportation) model, i.e. one from CRP and one from ESE. I'm pitching this as a project to a couple of professors (one on each side), and they seem amenable. The models would likely be * on the CRP/LUT side, UrbanSim http://www.urbansim.org/ which is pure python, and looks pretty sweet. * on the ESE/AQ side, one or more of several older fortran-based models, probably CMAQ and its ecosystem http://www.cmaq-model.org/ My background is coding (mostly web apps in perl and eclipse plugins in java) but I took Chris' bootcamp this summer and have been doing python in shell since then. My background in scientific computing and math is pretty weak. As an undergrad (computer science major) I took a semester course on "scientific computing" that was basically an introduction to fortran plus coding a few algorithms therein. I'm also pretty weak in diff eq, having taken only the required 4th semester math course combining diff eq and linear algebra (in addition to the usual 3-semester slog through calculus). So I'm seeking advice regarding courses that would help me get skilled in integrating, using, and fiddling with scientific models. I'd like to do as much as possible with python, since numpy, scipy, and the netCDF libraries seem widely used in this space. (That being said, at least some fortran seems inevitable.) Feel free to contact me offline, or to forward this post. TIA, Tom Roche From krausr at mail.fpg.unc.edu Tue Dec 30 21:34:44 2008 From: krausr at mail.fpg.unc.edu (Robert Kraus) Date: Tue, 30 Dec 2008 15:34:44 -0500 Subject: [TriZPUG] Buildout script consultation needed Message-ID: <495A85E4.7010600@mail.fpg.unc.edu> Group, We had SixFeet Up generate a buildout script for our current pilot Plone server. We had them do this a couple of months ago so we could migrate it more easily to a new server platform (we had hoped to do this by Dec 08). I have tried running the script recently on our new server and the it throws a number errors and will not complete. I have done a good bit of exploring, reading, and studying to get a general handle on the structure and process of a buildout, and on trying to get this script to work. I resolve one error only to have another one show up. Like many of you no doubt, SixFeet Up has their own particular way of scripting a buildout--which does not follow closely Martin Aspeli's model--and so not all of what they are doing corresponds to the other documentation I have been studying (Aspeli's own documentation, while solid, also leaves many questions unanswered). Bottom line: We need to have a working buildout script very soon so we can get our server into production; we are behind schedule. I am looking for someone to work with me, to answer some general and some very specific questions regarding the buildout structure and process. FPG IT Services is willing to pay for someone to consult with me. Much of this could probably be handled over the phone. (SixFeet Up has not responded to my pleas for help thus far--I am sure they have much larger fish to fry and I realize it is the 'holiday's afterall). Anyone interested in working with me on this? I would greatly appreciate it. Give me a buzz. I am in the office most of tomorrow. Email me or call 919-448-4559. Thanks, and happy new year to you all, Robert -- Robert Kraus, Web Services Administrator FPG Child Development Institute University of North Carolina at Chapel Hill Campus Box 8040 Chapel Hill, NC 27599-8040 email: krausr at mail.fpg.unc.edu phone: 919.962.7310 From chris at christophermrossi.com Tue Dec 30 23:42:29 2008 From: chris at christophermrossi.com (Chris Rossi) Date: Tue, 30 Dec 2008 17:42:29 -0500 Subject: [TriZPUG] Buildout script consultation needed In-Reply-To: <495A85E4.7010600@mail.fpg.unc.edu> References: <495A85E4.7010600@mail.fpg.unc.edu> Message-ID: <60bf02c00812301442n623ff175l93dbfed9fd01796d@mail.gmail.com> Hi Robert, I don't think I'd be much help over the phone--my answer would be, invariably, "I don't know, I'd have to take a look at it." However, I'm fairly confident I can debug your script if given some hands on time with it. My corporate rate is $100/hr and my rate for non-profits is $75/hr. Ah, I see you're at the University, so that's the non-profit rate. I can spend a day looking at it, at the end of which I can either provide you a solution or an estimate for how much longer I think it will take. I'd be really surprised if it took longer than a day. If you refuse the estimate, that day is free, so you only pay if I actually solve your problem. Things are a little slow around here for the holidays so I have some extra time. Let me know if you'd like to me to pursue this further. Thanks, Chris Rossi +1 919 403 5502 On Tue, Dec 30, 2008 at 3:34 PM, Robert Kraus wrote: > Group, > We had SixFeet Up generate a buildout script for our current pilot Plone > server. We had them do this a couple of months ago so we could migrate it > more easily to a new server platform (we had hoped to do this by Dec 08). I > have tried running the script recently on our new server and the it throws a > number errors and will not complete. I have done a good bit of exploring, > reading, and studying to get a general handle on the structure and process > of a buildout, and on trying to get this script to work. I resolve one error > only to have another one show up. Like many of you no doubt, SixFeet Up has > their own particular way of scripting a buildout--which does not follow > closely Martin Aspeli's model--and so not all of what they are doing > corresponds to the other documentation I have been studying (Aspeli's own > documentation, while solid, also leaves many questions unanswered). > > Bottom line: We need to have a working buildout script very soon so we can > get our server into production; we are behind schedule. I am looking for > someone to work with me, to answer some general and some very specific > questions regarding the buildout structure and process. FPG IT Services is > willing to pay for someone to consult with me. Much of this could probably > be handled over the phone. (SixFeet Up has not responded to my pleas for > help thus far--I am sure they have much larger fish to fry and I realize it > is the 'holiday's afterall). > > Anyone interested in working with me on this? I would greatly appreciate > it. Give me a buzz. I am in the office most of tomorrow. Email me or call > 919-448-4559. > Thanks, and happy new year to you all, > > Robert > > -- > > Robert Kraus, Web Services Administrator > FPG Child Development Institute University of North Carolina at Chapel Hill > Campus Box 8040 > Chapel Hill, NC 27599-8040 > email: krausr at mail.fpg.unc.edu phone: 919.962.7310 > > _______________________________________________ > TriZPUG mailing list > TriZPUG at python.org > http://mail.python.org/mailman/listinfo/trizpug > http://trizpug.org is the Triangle Zope and Python Users Group > -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris at christophermrossi.com Tue Dec 30 23:44:17 2008 From: chris at christophermrossi.com (Chris Rossi) Date: Tue, 30 Dec 2008 17:44:17 -0500 Subject: [TriZPUG] Buildout script consultation needed In-Reply-To: <60bf02c00812301442n623ff175l93dbfed9fd01796d@mail.gmail.com> References: <495A85E4.7010600@mail.fpg.unc.edu> <60bf02c00812301442n623ff175l93dbfed9fd01796d@mail.gmail.com> Message-ID: <60bf02c00812301444y7a4c994ft49c7701dcd0cccec@mail.gmail.com> Sorry, I didn't mean to send that to everyone. Darn it. Chris On Tue, Dec 30, 2008 at 5:42 PM, Chris Rossi wrote: > Hi Robert, > > I don't think I'd be much help over the phone--my answer would be, > invariably, "I don't know, I'd have to take a look at it." However, I'm > fairly confident I can debug your script if given some hands on time with > it. My corporate rate is $100/hr and my rate for non-profits is $75/hr. > Ah, I see you're at the University, so that's the non-profit rate. I can > spend a day looking at it, at the end of which I can either provide you a > solution or an estimate for how much longer I think it will take. I'd be > really surprised if it took longer than a day. If you refuse the estimate, > that day is free, so you only pay if I actually solve your problem. > > Things are a little slow around here for the holidays so I have some extra > time. Let me know if you'd like to me to pursue this further. > > Thanks, > Chris Rossi +1 919 403 5502 > > > On Tue, Dec 30, 2008 at 3:34 PM, Robert Kraus wrote: > >> Group, >> We had SixFeet Up generate a buildout script for our current pilot Plone >> server. We had them do this a couple of months ago so we could migrate it >> more easily to a new server platform (we had hoped to do this by Dec 08). I >> have tried running the script recently on our new server and the it throws a >> number errors and will not complete. I have done a good bit of exploring, >> reading, and studying to get a general handle on the structure and process >> of a buildout, and on trying to get this script to work. I resolve one error >> only to have another one show up. Like many of you no doubt, SixFeet Up has >> their own particular way of scripting a buildout--which does not follow >> closely Martin Aspeli's model--and so not all of what they are doing >> corresponds to the other documentation I have been studying (Aspeli's own >> documentation, while solid, also leaves many questions unanswered). >> >> Bottom line: We need to have a working buildout script very soon so we can >> get our server into production; we are behind schedule. I am looking for >> someone to work with me, to answer some general and some very specific >> questions regarding the buildout structure and process. FPG IT Services is >> willing to pay for someone to consult with me. Much of this could probably >> be handled over the phone. (SixFeet Up has not responded to my pleas for >> help thus far--I am sure they have much larger fish to fry and I realize it >> is the 'holiday's afterall). >> >> Anyone interested in working with me on this? I would greatly appreciate >> it. Give me a buzz. I am in the office most of tomorrow. Email me or call >> 919-448-4559. >> Thanks, and happy new year to you all, >> >> Robert >> >> -- >> >> Robert Kraus, Web Services Administrator >> FPG Child Development Institute University of North Carolina at Chapel >> Hill Campus Box 8040 >> Chapel Hill, NC 27599-8040 >> email: krausr at mail.fpg.unc.edu phone: 919.962.7310 >> >> _______________________________________________ >> TriZPUG mailing list >> TriZPUG at python.org >> http://mail.python.org/mailman/listinfo/trizpug >> http://trizpug.org is the Triangle Zope and Python Users Group >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From krausr at mail.fpg.unc.edu Wed Dec 31 21:55:29 2008 From: krausr at mail.fpg.unc.edu (Robert Kraus) Date: Wed, 31 Dec 2008 15:55:29 -0500 Subject: [TriZPUG] Buildout script consultation Message-ID: <495BDC41.7070804@mail.fpg.unc.edu> Carol Ludwig wrote me: "It would be great if the rest of us who are struggling with our own buildout scripts could view and learn from the fix, whoever helps..." Note: I have had several very positive and generous responses regarding my post yesterday seeking Plone buildout script help. Rest assured I will gladly share whatever is learned from this transaction with anyone who wishes to know. I already have a lot of documentation regarding the problem(s) and will also document the solution(s). Let me know (personally) if you wish to be in the group with whom I share what comes of this. Happy new year to you all, Robert -- Robert Kraus, Web Services Administrator FPG Child Development Institute University of North Carolina at Chapel Hill Campus Box 8040 Chapel Hill, NC 27599-8040 email: fpgwebmaster at mail.fpg.unc.edu krausr at mail.fpg.unc.edu phone: 919.962.7310