From issac.kelly at gmail.com Tue Feb 1 04:12:12 2011 From: issac.kelly at gmail.com (Issac Kelly) Date: Mon, 31 Jan 2011 22:12:12 -0500 Subject: [CentralOH] My "Welcome to Django" note. and notes on tonight's talk. Message-ID: ## My Talk The site is at: http://cohpy.o1.gondor.io You have to be an administrator to add books, so if you want to do that, let me know and I'll up your privleges. This is pretty close to markdown, so it might look better if you paste it into a markdown viewer like http://www.raindance.co.nz/markdown/demo.lsd The code is at: http://github.com/issackelly/cohpy2011 To build the project: * A] Have Python * B] have virtualenv + virtualenvwrapper * C] mkvirtualenv cohpy * D] git clone http://github.com/issackelly/cohpy2011.git * E] cd cohpy/cohpy_project * F] pip install -r requirements/project.txt * G] createdb cohpy # postgres * OR * G] touch local_settings.py # copy DATABASES to local_settings.py * * change postgres_psycopg2 to sqlite3 * * change name to dev.db * H] python manage.py upgradedb --execute # This is nashvegas, what my deployment environment uses for migrations * OR # normal (no migration framework would be) * H] python manage.py syncdb --noinput * OR # South -- my current preferred way to migrate * H] python manage.py syncdb --noinput && python manage.py migrate * I] python manage.py createsuperuser (makes your first user..) * J] python manage.py runserver ----- go to http://localhost:8000 in your browser to try it out. ---- next time you work on the project A] workon cohpy; cd Projects/cohpy/cohpy_project B] python manage.py runserver ## If you need help. there is a django-users mailing list, and a #django room on irc.freenode.net We also have a #cohpy room on irc.freenode.net, that i'm in basically anytime I'm working, I promise to be helpful if I can. ## Welcome To Django, I Hope you like it Here. Other Developer Driven Interactive Agencies Focused on Django. ------------------------------------------------------------- * Kelly Creative Tech * Revsys * Eldarion * Lincoln Loop * Urban Airship * Caktus * Bread-And-Pepper * Maykin Media * Oddbird Individual Developers of Note ----------------------------- * Jacob Kaplan-Moss (jacobian.org) * Alex Gaynor (Alex_Gaynor kingkilr) * Jannis Leidel (jezdez) * Russell Keith-Macgee (freakboy3742) * Eric Holscher (ericholscher // surfingkansas.com) * Danny Greenfeld (pydanny) * Brian Rosner (brosner) * Carl Meyer (carljm) * James Tauber (jtauber) * Simon Wilison (simonw) * Adrian Hovolati (?) * Kevin Fricovsky (montylounge) * Luke Hatcher (lukeman) * Malcolm Trednick * Justin Lilly (jlilly) * Daniel Lindsey (toastdriven) * James Bennett (ubernostrum) * Eric Floranzo (ericflo) * Idan Gazit (idan) * Curt Micol (asenchi) ... lots lots more. Some Cool Projects built on Django ---------------------------------- * Disqus * Rdio * ReadTheDocs * MochiGames * Layar * Everyblock The Django Pony --------------- The Django Pony is the unofficial mascot. Some people think it's too silly to be proper. Those people don't have souls. For a language named after a very silly acting group, a web app framework built on top of it can have a silly mascot. Media and Sites of Interest --------------------------- * [Official Django Docs][docs] * [Django Packages][dp] * [Reddit][reddit] * [DjangoDose][djangodose] * [Django Weekly][djangoweekly] Some Big Organizations that use a lot of Django ----------------------------------------------- * NASA * PBS * Discovery * Vodafone * Sanoma Digital Great Projects worth looking into/reading the docs of ----------------------------------------------------- * South - db migrations (Schema/Code) * Tastypie - api creation * Haystack * django-pagination - very easy pagination * django-filter - nice filter library for lists of objects * Pinax * Taggit - tagging library * django-uni-form - I have a fork of this that works with the fieldsets from django-form-utils listed below... I use my own fork of this project * django-basic-apps - this is where I got the library from * django-model-utils and django-form-utils - Great projects for some small, but often-used use cases. * easy-thumbnails -- this is a fork of sorl.thumbnail, the most recent one is different than the one I started with, I happen to like easy-thumbnails more, and it has the same API. * django-servee - wysiwyg editing of your models. the documentation is currently way too sparce for this, but suffice it to say, I'm working on that. Watch These Talks ----------------- * Reusable Apps (James Bennett) * State of Pinax (Brian Rosner) Things you should know about Python ------------------------------------ * PEP-8 * virtualenv - virtualenvwrapper * pip Jobs ------ * [Django Gigs] [djangogigs] * [django community page] [dcp] [dcp]: http://www.djangoproject.com/community/ [djangogigs]: http://djangogigs.com/ [djangodose]: http://djangodose.com/ [djangoweekly]: http://djangoweek.ly/ [docs]: http://docs.djangoproject.com [reddit]: http://reddit.com/r/django/ [dp]: http://djangopackages.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From eric at intellovations.com Wed Feb 2 17:19:23 2011 From: eric at intellovations.com (Eric Floehr) Date: Wed, 2 Feb 2011 11:19:23 -0500 Subject: [CentralOH] My "Welcome to Django" note. and notes on tonight's talk. In-Reply-To: References: Message-ID: Issac, Thanks so much for your talk and the wealth of information in this post! The library app is quite useful and helpful and I would love to see it integrated into the COhPy site. It would also be cool to just put in ISBN and have it pull the rest of the information from Amazon or somewhere. I think it would be cool to take the information from your post and make a reference page on COhPy so folks can easily refer to it. All, Who is up for cutting their teeth on a little Django project for COhPy? Best Regards, Eric On Mon, Jan 31, 2011 at 10:12 PM, Issac Kelly wrote: > ## My Talk > > The site is at: > http://cohpy.o1.gondor.io > > You have to be an administrator to add books, so if you want to do that, let > me know and I'll up your privleges. > > This is pretty close to markdown, so it might look better if you paste it > into a markdown viewer like?http://www.raindance.co.nz/markdown/demo.lsd > > The code is at: > > http://github.com/issackelly/cohpy2011 > > To build the project: > > * A] Have Python > > * B] have virtualenv + virtualenvwrapper > > * C] mkvirtualenv cohpy > > * D] git clone http://github.com/issackelly/cohpy2011.git > > * E] cd cohpy/cohpy_project > > * F] pip install -r requirements/project.txt > > * G] createdb cohpy # postgres > * OR > > * G] touch local_settings.py # copy DATABASES to local_settings.py > > * * change postgres_psycopg2 to sqlite3 > > * * change name to dev.db > > * H] python manage.py upgradedb --execute # This is nashvegas, what my > deployment environment uses for migrations > > * OR # ? normal (no migration framework would be) > > * H] python manage.py syncdb --noinput > > * OR # South -- my current preferred way to migrate > > * H] python manage.py syncdb --noinput && python manage.py migrate > > * I] python manage.py createsuperuser (makes your first user..) > > * J] python manage.py runserver > > ----- > > go to http://localhost:8000 in your browser to try it out. > > ---- > > next time you work on the project > > A] workon cohpy; cd Projects/cohpy/cohpy_project > > B] python manage.py runserver > > > ## If you need help. > > there is a django-users mailing list, and a #django room on irc.freenode.net > > We also have a #cohpy room on irc.freenode.net, that i'm in basically > anytime I'm working, I promise to be helpful if I can. > > ## Welcome To Django, I Hope you like it Here. > > Other Developer Driven Interactive Agencies Focused on Django. > > ------------------------------------------------------------- > > * Kelly Creative Tech > > * Revsys > > * Eldarion > > * Lincoln Loop > > * Urban Airship > > * Caktus > > * Bread-And-Pepper > > * Maykin Media > > * Oddbird > > Individual Developers of Note > > ----------------------------- > > * Jacob Kaplan-Moss (jacobian.org) > > * Alex Gaynor (Alex_Gaynor kingkilr) > > * Jannis Leidel (jezdez) > > * Russell Keith-Macgee (freakboy3742) > > * Eric Holscher (ericholscher // surfingkansas.com) > > * Danny Greenfeld (pydanny) > > * Brian Rosner (brosner) > > * Carl Meyer (carljm) > > * James Tauber (jtauber) > > * Simon Wilison (simonw) > > * Adrian Hovolati (?) > > * Kevin Fricovsky (montylounge) > > * Luke Hatcher (lukeman) > > * Malcolm Trednick > > * Justin Lilly (jlilly) > > * Daniel Lindsey (toastdriven) > > * James Bennett (ubernostrum) > > * Eric Floranzo (ericflo) > > * Idan Gazit (idan) > > * Curt Micol (asenchi) > > ... lots lots more. > > Some Cool Projects built on Django > > ---------------------------------- > > * Disqus > > * Rdio > > * ReadTheDocs > > * MochiGames > > * Layar > > * Everyblock > > The Django Pony > > --------------- > > The Django Pony is the?unofficial?mascot. ?Some people think it's too silly > to be proper. ?Those people don't have souls. > > For a language named after a very silly acting group, a web app framework > built on top of it can have a silly mascot. > > Media and Sites of Interest > > --------------------------- > > * [Official Django Docs][docs] > > * [Django Packages][dp] > > * [Reddit][reddit] > > * [DjangoDose][djangodose] > > * [Django Weekly][djangoweekly] > > Some Big Organizations that use a lot of Django > > ----------------------------------------------- > > * NASA > > * PBS > > * Discovery > > * Vodafone > > * Sanoma Digital > > Great Projects worth looking into/reading the docs of > > ----------------------------------------------------- > > * South - db migrations (Schema/Code) > > * Tastypie - api creation > > * Haystack > > * django-pagination - very easy pagination > > * django-filter - nice filter library for lists of objects > > * Pinax > > * Taggit - tagging library > > * django-uni-form - I have a fork of this that works with the fieldsets from > django-form-utils listed below... I use my own fork of this project > > * django-basic-apps - this is where I got the library from > > * django-model-utils and django-form-utils - Great projects for some small, > but often-used use cases. > > * easy-thumbnails -- this is a fork of sorl.thumbnail, the most recent one > is different than the one I started with, I happen to like easy-thumbnails > more, and it has the same API. > > * django-servee - wysiwyg editing of your models. ?the documentation is > currently way too sparce for this, but suffice it to say, I'm working on > that. > > Watch These Talks > > ----------------- > > * Reusable Apps (James Bennett) > > * State of Pinax (Brian Rosner) > > Things you should know about Python > > ------------------------------------ > > * PEP-8 > > * virtualenv - virtualenvwrapper > > * pip > > Jobs > > ------ > > * [Django Gigs] [djangogigs] > > * [django community page] [dcp] > > ?? ?[dcp]:?http://www.djangoproject.com/community/ > > ?? ?[djangogigs]: http://djangogigs.com/ > > ??? [djangodose]: http://djangodose.com/ > > ??? [djangoweekly]: http://djangoweek.ly/ > > ??? [docs]: http://docs.djangoproject.com > > ??? [reddit]: http://reddit.com/r/django/ > > ??? [dp]: http://djangopackages.com > > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > http://mail.python.org/mailman/listinfo/centraloh > > From brian.curtin at gmail.com Wed Feb 9 02:01:04 2011 From: brian.curtin at gmail.com (Brian Curtin) Date: Tue, 8 Feb 2011 19:01:04 -0600 Subject: [CentralOH] PyCon 2011 news - going strong, sign up today! Message-ID: Hello group! PyCon 2011 looks like it may very well break every single record in the past - making it one of the biggest and best PyCons of all time. We've gone all out this year - including Extreme Talks, a Startup Row, amazing talks, tutorials, Poster sessions. Extreme talks: http://us.pycon.org/2011/speaker/extreme/ Startup Row: http://us.pycon.org/2011/blog/2011/01/19/announcing-startup-row-pycon-2011/ Also just announced - "Startup Stories": http://us.pycon.org/2011/blog/2011/02/07/pycon-2011-announcing-startup-stories/ If you haven't bought your PyCon tickets, it's time to do so. This year we're limited to 1500 attendees, and with a faster than average sales rate compared to previous years, you may not have the luxury of leaving registration until just before the conference -- places may sell out in advance! Check out http://us.pycon.org/2011/tickets/ for rates and details. Not sold on the conference? Not sure what it's all about? We are confident this year's conference will surpass anything that has gone before, and we think there's something for everyone. Looking for education? This year's tutorial selection features a range of topics and an all-star cast of presenters. From the cloud to the GUI, from beginner to advanced, we have it. Check out courses taught by book authors Wesley Chun and David Beazley, web framework master Jacob Kaplan-Moss, core developer and guru Raymond Hettinger, hacker extraordinaire Zed Shaw and many more: http://us.pycon.org/2011/schedule/tutorials/ -- and at flat fees that wouldn't buy you an hour of training by less-qualified instructors elsewhere! The conference talks are some of the best we've seen in years, coming from a record number of submissions. We've got talks on using Python for airplane tuning and massive telescopes. All of the major web frameworks will be discussed. Numerous databases are covered. PyPy, IronPython and Jython are in. We'll be talking about IDEs, testing, security, scalability, and documentation. Have a look: http://us.pycon.org/2011/schedule/lists/talks/ We've also got an amazing array of poster presentations - everything from Arduino hacking, Geospatial Python, Open Government and Microsoft Kinect hacking. Check out: http://us.pycon.org/2011/schedule/lists/posters/ Meanwhile we've got the awesome sprints (http://us.pycon.org/2011/sprints/ ), and open spaces (http://us.pycon.org/2011/openspaces/) everyone knows and loves. This is shaping up to be the best PyCon yet, and we think it's a great value, both cost-wise, and community-wise. We can guarantee that you'll come away with a head full of knowledge and amazing new friends and contacts. Get your tickets before they are gone: http://us.pycon.org/2011/tickets/ If you have any questions, comments or concerns - feel free to email Van Lindberg (van at python.org) or Jesse Noller (jnoller at python.org) or pycon-organizers (pycon-organizers at python.org). See you in Atlanta, Van Lindberg Jesse Noller The entire PyCon 2011 team http://us.pycon.org/2011 -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian.curtin at gmail.com Wed Feb 9 15:38:19 2011 From: brian.curtin at gmail.com (Brian Curtin) Date: Wed, 9 Feb 2011 08:38:19 -0600 Subject: [CentralOH] PyCon 2011 news - going strong, sign up today! Message-ID: Hello group! PyCon 2011 looks like it may very well break every single record in the past - making it one of the biggest and best PyCons of all time. We've gone all out this year - including Extreme Talks, a Startup Row, amazing talks, tutorials, Poster sessions. Extreme talks: http://us.pycon.org/2011/speaker/extreme/ Startup Row: http://us.pycon.org/2011/blog/2011/01/19/announcing-startup-row-pycon-2011/ Also just announced - "Startup Stories": http://us.pycon.org/2011/blog/2011/02/07/pycon-2011-announcing-startup-stories/ If you haven't bought your PyCon tickets, it's time to do so. This year we're limited to 1500 attendees, and with a faster than average sales rate compared to previous years, you may not have the luxury of leaving registration until just before the conference -- places may sell out in advance! Check out http://us.pycon.org/2011/tickets/ for rates and details. Not sold on the conference? Not sure what it's all about? We are confident this year's conference will surpass anything that has gone before, and we think there's something for everyone. Looking for education? This year's tutorial selection features a range of topics and an all-star cast of presenters. From the cloud to the GUI, from beginner to advanced, we have it. Check out courses taught by book authors Wesley Chun and David Beazley, web framework master Jacob Kaplan-Moss, core developer and guru Raymond Hettinger, hacker extraordinaire Zed Shaw and many more: http://us.pycon.org/2011/schedule/tutorials/ -- and at flat fees that wouldn't buy you an hour of training by less-qualified instructors elsewhere! The conference talks are some of the best we've seen in years, coming from a record number of submissions. We've got talks on using Python for airplane tuning and massive telescopes. All of the major web frameworks will be discussed. Numerous databases are covered. PyPy, IronPython and Jython are in. We'll be talking about IDEs, testing, security, scalability, and documentation. Have a look: http://us.pycon.org/2011/schedule/lists/talks/ We've also got an amazing array of poster presentations - everything from Arduino hacking, Geospatial Python, Open Government and Microsoft Kinect hacking. Check out: http://us.pycon.org/2011/schedule/lists/posters/ Meanwhile we've got the awesome sprints (http://us.pycon.org/2011/sprints/ ), and open spaces (http://us.pycon.org/2011/openspaces/) everyone knows and loves. This is shaping up to be the best PyCon yet, and we think it's a great value, both cost-wise, and community-wise. We can guarantee that you'll come away with a head full of knowledge and amazing new friends and contacts. Get your tickets before they are gone: http://us.pycon.org/2011/tickets/ If you have any questions, comments or concerns - feel free to email Van Lindberg (van at python.org) or Jesse Noller (jnoller at python.org) or pycon-organizers (pycon-organizers at python.org). See you in Atlanta, Van Lindberg Jesse Noller The entire PyCon 2011 team http://us.pycon.org/2011 -------------- next part -------------- An HTML attachment was scrubbed... URL: From scott.scites at railcar88.com Fri Feb 11 01:02:02 2011 From: scott.scites at railcar88.com (Scott Scites) Date: Thu, 10 Feb 2011 19:02:02 -0500 Subject: [CentralOH] Hacker Session Notes - 02-08-11 Message-ID: I'm late in getting this out but... Jason Denzin, Justin Rolston and I were at the DoJoe this morning. Jason is writing unit tests using UnitTest2 while refactoring a script he had previously written into a more structured program. Justin worked on the Python Koans and wrote a new Template and Route for a Flask application. I installed SQLAlchemy-migrations and pulled down the documentation for migration scripts I'll be writing for a PostgreSQL database. Next week, I'll continue to build out a Flask application with Justin. What's on your agenda for the next Python DoJoe? -------------- next part -------------- An HTML attachment was scrubbed... URL: From james at atlantixeng.com Mon Feb 14 19:24:41 2011 From: james at atlantixeng.com (James -- Atlantix) Date: Mon, 14 Feb 2011 13:24:41 -0500 Subject: [CentralOH] Adobe and win32com Message-ID: <004301cbcc74$7308f2b0$591ad810$@com> I'm having trouble displaying an Adobe .pdf file using win32com. I can open it, but not display it. If anyone has experience with this, please could you point me to a website or other documentation reference. I have scoured the web and have not been able to find a definitive reference on this. In addition, I have used win32com extensively with Excel & Outlook, and have had a great deal of success, but Adobe is being stubborn . . . Thanks, James -------------- next part -------------- An HTML attachment was scrubbed... URL: From issac.kelly at gmail.com Mon Feb 14 19:29:54 2011 From: issac.kelly at gmail.com (Issac Kelly) Date: Mon, 14 Feb 2011 13:29:54 -0500 Subject: [CentralOH] Adobe and win32com In-Reply-To: <004301cbcc74$7308f2b0$591ad810$@com> References: <004301cbcc74$7308f2b0$591ad810$@com> Message-ID: I've had success turning PDF files into JPGs with imagemagick. I know this doesn't answer your question, but maybe it's another direction you could explore. On Mon, Feb 14, 2011 at 1:24 PM, James -- Atlantix wrote: > I'm having trouble displaying an Adobe .pdf file using win32com. I can open > it, but not display it. If anyone has experience with this, please could you > point me to a website or other documentation reference. I have scoured the > web and have not been able to find a definitive reference on this. In > addition, I have used win32com extensively with Excel & Outlook, and have > had a great deal of success, but Adobe is being stubborn . . . Thanks, > James > > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > http://mail.python.org/mailman/listinfo/centraloh > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark at microenh.com Mon Feb 14 20:53:01 2011 From: mark at microenh.com (Mark Erbaugh) Date: Mon, 14 Feb 2011 14:53:01 -0500 Subject: [CentralOH] Adobe and win32com In-Reply-To: <004301cbcc74$7308f2b0$591ad810$@com> References: <004301cbcc74$7308f2b0$591ad810$@com> Message-ID: On Feb 14, 2011, at 1:24 PM, James -- Atlantix wrote: > I'm having trouble displaying an Adobe .pdf file using win32com. I can open it, but not display it. If anyone has experience with this, please could you point me to a website or other documentation reference. I have scoured the web and have not been able to find a definitive reference on this. In addition, I have used win32com extensively with Excel & Outlook, and have had a great deal of success, but Adobe is being stubborn . . . Thanks, James > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > http://mail.python.org/mailman/listinfo/centraloh James, I've not used win32com, but I have used Adobe Reader to display PDF data by saving the PDF data to a disk file and spawning a new process to launch Adobe Reader passing the file name as a parameter. I think I found I had to pass a blank file name between the Reader command and my file name to get Reader to see it. Perhaps that was needed as Reader assumed that the first things after the command were flags. Here are a couple of Reader flags that may be useful: /n - open a new window rather than reusing an existing one /s - bypass splash screen I also found that the default install of Reader does not add it's location to the PATH variable so I had to use a full path to launch it. Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: