From bram at legalsense.nl Fri Oct 2 14:48:10 2009 From: bram at legalsense.nl (Bram Braakman) Date: Fri, 2 Oct 2009 14:48:10 +0200 Subject: [python-nl] Python at Schools In-Reply-To: References: <64160c70909271248wb8992f9oa4466f9a4266e47a@mail.gmail.com> Message-ID: <55e98cf30910020548q4b8fee7ci917fc05293e56f3a@mail.gmail.com> Hi, I often read about schools in the US using Python as a first introduction to computer programming. For high school level I know they often use http://openbookproject.net//thinkCSpy/ as a reference. For younger kids I think this is a popular one: http://rur-ple.sourceforge.net/en/rur.htm In the US they seem to be a lot more "advanced" with educating their kids these things. Apart from the occasional hobbyist teacher, I never got the impression that in Dutch schools there are activities like this. Anyone know of examples where they are doing this (in Holland)? On a side note: I admire how (in the US) they know how to make it sort of fun for the kids to learn programming (through games, game-programming or things like LEGO Mindstorms/Robotics). I always felt that Dutch schools lacked this kind of approach to teaching. Cheers, Bram On Sun, Sep 27, 2009 at 9:55 PM, Perica Zivkovic wrote: > Hi there, > I had contact with several schools/universities in US which are using > Portable Python in their classrooms. They install it on USB (or local) > drives and everything works, no permissions/ configuration hassle. If kids > broke installation it is simple matter of re-extracting Portable Python > again and viola they can continue programming. > > On the homepage of the project in "Useful links" you can find couple of > links to free python books. > > In the next version I plan to include (optional) documentation together > with Portable Python (http://www.PortablePython.com). > > regards, > > Perica > > On Sun, Sep 27, 2009 at 9:48 PM, Abhishek Mishra wrote: > >> Hi, >> >> >From some source that I can't remember at this moment, I remember >> hearing about how Python is popularly used as a beginner's language to >> teach kids programming in European countries. Could some one verify >> this for me? >> And if yes, it is true that Python is being used in such a nice way, >> then I would like to ask as to what kind of teaching materials are >> being used for the purpose? >> Are they tutorials picked from the internet, or modified and >> simplified versions of guides like 'Dive into Python' ? >> Could someone point to Python teaching material for kids, if available >> on the internet ? >> >> Thanks, >> Abhishek Mishra >> _______________________________________________ >> Python-nl mailing list >> Python-nl at python.org >> http://mail.python.org/mailman/listinfo/python-nl >> > > > _______________________________________________ > Python-nl mailing list > Python-nl at python.org > http://mail.python.org/mailman/listinfo/python-nl > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From roger at erens-krekels.net Fri Oct 2 19:23:14 2009 From: roger at erens-krekels.net (Roger Erens) Date: Fri, 2 Oct 2009 19:23:14 +0200 Subject: [python-nl] Python at Schools In-Reply-To: <55e98cf30910020548q4b8fee7ci917fc05293e56f3a@mail.gmail.com> References: <64160c70909271248wb8992f9oa4466f9a4266e47a@mail.gmail.com> <55e98cf30910020548q4b8fee7ci917fc05293e56f3a@mail.gmail.com> Message-ID: <58ab5feb0910021023u457f782g8ce03dcba92f4abb@mail.gmail.com> On Fri, Oct 2, 2009 at 14:48, Bram Braakman wrote: ... > On a side note: I admire how (in the US) they know how to make it sort of > fun for the kids to learn programming (through games, game-programming or > things like LEGO Mindstorms/Robotics). I always felt that Dutch schools > lacked this kind of approach to teaching. > Cheers, Bram Maybe it would help if the keywords of the programming languages were localized. Dutch kids could then create a module in Dutch (e.g. in the programming language 'Slang') which a lexer/interpreter/compiler could translate into 'Python'. German kids might then re-use that Python-module by having it translated into their own localized Python-version 'Schlange'. I think it would also be far easier for a teacher to explain the programming concepts without English getting in their way. Roger From vm at klankschap.nl Fri Oct 2 23:33:57 2009 From: vm at klankschap.nl (Floris van Manen) Date: Fri, 2 Oct 2009 23:33:57 +0200 Subject: [python-nl] Python at Schools In-Reply-To: <58ab5feb0910021023u457f782g8ce03dcba92f4abb@mail.gmail.com> References: <64160c70909271248wb8992f9oa4466f9a4266e47a@mail.gmail.com> <55e98cf30910020548q4b8fee7ci917fc05293e56f3a@mail.gmail.com> <58ab5feb0910021023u457f782g8ce03dcba92f4abb@mail.gmail.com> Message-ID: <4EEE1DEC-1B13-42A1-B9F0-46F983DCB2EB@klankschap.nl> Localization of programming languages is a bad idea. If you have to learn a new language, switch context, never start translating. You don't want to write in fortran-python either. F On Oct 2, 2009, at 19:23, Roger Erens wrote: > On Fri, Oct 2, 2009 at 14:48, Bram Braakman > wrote: > > ... > >> On a side note: I admire how (in the US) they know how to make it >> sort of >> fun for the kids to learn programming (through games, game- >> programming or >> things like LEGO Mindstorms/Robotics). I always felt that Dutch >> schools >> lacked this kind of approach to teaching. >> Cheers, Bram > > Maybe it would help if the keywords of the programming languages were > localized. Dutch kids could then create a module in Dutch (e.g. in the > programming language 'Slang') which a lexer/interpreter/compiler could > translate into 'Python'. German kids might then re-use that > Python-module by having it translated into their own localized > Python-version 'Schlange'. > I think it would also be far easier for a teacher to explain the > programming concepts without English getting in their way. > > Roger > _______________________________________________ > Python-nl mailing list > Python-nl at python.org > http://mail.python.org/mailman/listinfo/python-nl From stef.mientki at gmail.com Sat Oct 3 01:05:04 2009 From: stef.mientki at gmail.com (Stef Mientki) Date: Sat, 03 Oct 2009 01:05:04 +0200 Subject: [python-nl] Python at Schools In-Reply-To: <4EEE1DEC-1B13-42A1-B9F0-46F983DCB2EB@klankschap.nl> References: <64160c70909271248wb8992f9oa4466f9a4266e47a@mail.gmail.com> <55e98cf30910020548q4b8fee7ci917fc05293e56f3a@mail.gmail.com> <58ab5feb0910021023u457f782g8ce03dcba92f4abb@mail.gmail.com> <4EEE1DEC-1B13-42A1-B9F0-46F983DCB2EB@klankschap.nl> Message-ID: <4AC68720.8040307@gmail.com> Floris van Manen wrote: > Localization of programming languages is a bad idea. > If you have to learn a new language, switch context, never start > translating. > You don't want to write in fortran-python either. so what about visual programming ? Stef > > F > > > On Oct 2, 2009, at 19:23, Roger Erens wrote: > >> On Fri, Oct 2, 2009 at 14:48, Bram Braakman wrote: >> >> ... >> >>> On a side note: I admire how (in the US) they know how to make it >>> sort of >>> fun for the kids to learn programming (through games, >>> game-programming or >>> things like LEGO Mindstorms/Robotics). I always felt that Dutch schools >>> lacked this kind of approach to teaching. >>> Cheers, Bram >> >> Maybe it would help if the keywords of the programming languages were >> localized. Dutch kids could then create a module in Dutch (e.g. in the >> programming language 'Slang') which a lexer/interpreter/compiler could >> translate into 'Python'. German kids might then re-use that >> Python-module by having it translated into their own localized >> Python-version 'Schlange'. >> I think it would also be far easier for a teacher to explain the >> programming concepts without English getting in their way. >> >> Roger >> _______________________________________________ >> Python-nl mailing list >> Python-nl at python.org >> http://mail.python.org/mailman/listinfo/python-nl > > _______________________________________________ > Python-nl mailing list > Python-nl at python.org > http://mail.python.org/mailman/listinfo/python-nl From thisfred at gmail.com Sat Oct 3 02:28:43 2009 From: thisfred at gmail.com (eric casteleijn) Date: Fri, 02 Oct 2009 20:28:43 -0400 Subject: [python-nl] Python at Schools In-Reply-To: <4EEE1DEC-1B13-42A1-B9F0-46F983DCB2EB@klankschap.nl> References: <64160c70909271248wb8992f9oa4466f9a4266e47a@mail.gmail.com> <55e98cf30910020548q4b8fee7ci917fc05293e56f3a@mail.gmail.com> <58ab5feb0910021023u457f782g8ce03dcba92f4abb@mail.gmail.com> <4EEE1DEC-1B13-42A1-B9F0-46F983DCB2EB@klankschap.nl> Message-ID: <4AC69ABB.4040609@gmail.com> Floris van Manen wrote: > Localization of programming languages is a bad idea. > If you have to learn a new language, switch context, never start > translating. > You don't want to write in fortran-python either. Iedereen die aan deze wijze woorden twijfelt moet verplicht voor altijd terug naar 1997 en een programmeren in Nederlandse Visual Basic for Applications. Ik denk dat dat het dichtste bij de hel is wat je op aarde kunt komen, met de mogelijke uitzondering van Venlo. -- - eric casteleijn http://thisfred.blogspot.com From roger at erens-krekels.net Sat Oct 3 02:22:42 2009 From: roger at erens-krekels.net (Roger Erens) Date: Sat, 3 Oct 2009 02:22:42 +0200 Subject: [python-nl] Python at Schools In-Reply-To: <4EEE1DEC-1B13-42A1-B9F0-46F983DCB2EB@klankschap.nl> References: <64160c70909271248wb8992f9oa4466f9a4266e47a@mail.gmail.com> <55e98cf30910020548q4b8fee7ci917fc05293e56f3a@mail.gmail.com> <58ab5feb0910021023u457f782g8ce03dcba92f4abb@mail.gmail.com> <4EEE1DEC-1B13-42A1-B9F0-46F983DCB2EB@klankschap.nl> Message-ID: <58ab5feb0910021722t620ff8a7u9275f8d7107a55d6@mail.gmail.com> Hi Floris, On Fri, Oct 2, 2009 at 23:33, Floris van Manen wrote: > Localization of programming languages is a bad idea. Do you have some more convincing evidence? > If you have to learn a new language, switch context, never start > translating. Is switching context how you started learning English at school, for example? I think not. In the end, switching context is probably needed to become fluent. Anyway, my aim was to teach kids programming, not a programming language. So even pseudo-code would do, right? Python is appraised for looking very much like pseudo-code (I don't have references at hand), meaning there's almost no context switching needed, merely translating. But programming in pseudo-code only isn't much fun. The proof of the pudding is in the eating: you want to see a computer perform the algorithm you feed it. It's only in that step where you need a programming language. > You don't want to write in fortran-python either. I agree. But it's besides the point: you're assuming a context-switch indeed. I was hoping to preserve the semantics and therefore was proposing something like translating: for item in my_list: print my_item into: voor_elk ding in mijn_lijst: toon ding and not into: doe_zolang_elk ding in mijn_lijst toon ding doe-einde or whatever you implied... Best regards, Roger From perica.zivkovic at gmail.com Sat Oct 3 08:31:51 2009 From: perica.zivkovic at gmail.com (Perica Zivkovic) Date: Sat, 3 Oct 2009 08:31:51 +0200 Subject: [python-nl] Python at Schools In-Reply-To: <58ab5feb0910021722t620ff8a7u9275f8d7107a55d6@mail.gmail.com> References: <64160c70909271248wb8992f9oa4466f9a4266e47a@mail.gmail.com> <55e98cf30910020548q4b8fee7ci917fc05293e56f3a@mail.gmail.com> <58ab5feb0910021023u457f782g8ce03dcba92f4abb@mail.gmail.com> <4EEE1DEC-1B13-42A1-B9F0-46F983DCB2EB@klankschap.nl> <58ab5feb0910021722t620ff8a7u9275f8d7107a55d6@mail.gmail.com> Message-ID: don't underestimate our kids, I bet you beer that they can understand hybrid of your examples, e.g.: for ding in mijn_list: print ding full translation is I think bad idea because people (read this as small-people :) ) get used to it and don't want to let go so after couple of years you have team of dutch, indonesian, bulgarian, russian programmers and good luck with explaining them simple piece of code (or even doing code review). Don't get me wrong using "translated" code is ok for examples in first couple of days (I did it also with couple of children groups in Bosnia) but after that you MUST switch to the real thing. cheers Perica Zivkovic http://www.PortablePython.com On Sat, Oct 3, 2009 at 2:22 AM, Roger Erens wrote: > Hi Floris, > > On Fri, Oct 2, 2009 at 23:33, Floris van Manen wrote: > > Localization of programming languages is a bad idea. > > Do you have some more convincing evidence? > > > If you have to learn a new language, switch context, never start > > translating. > > Is switching context how you started learning English at school, for > example? I think not. In the end, switching context is probably needed > to become fluent. > Anyway, my aim was to teach kids programming, not a programming > language. So even pseudo-code would do, right? Python is appraised for > looking very much like pseudo-code (I don't have references at hand), > meaning there's almost no context switching needed, merely > translating. But programming in pseudo-code only isn't much fun. The > proof of the pudding is in the eating: you want to see a computer > perform the algorithm you feed it. It's only in that step where you > need a programming language. > > > You don't want to write in fortran-python either. > > I agree. But it's besides the point: you're assuming a context-switch > indeed. I was hoping to preserve the semantics and therefore was > proposing something like translating: > > for item in my_list: > print my_item > > into: > > voor_elk ding in mijn_lijst: > toon ding > > and not into: > > doe_zolang_elk ding in mijn_lijst > toon ding > doe-einde > > or whatever you implied... > > Best regards, > > Roger > _______________________________________________ > Python-nl mailing list > Python-nl at python.org > http://mail.python.org/mailman/listinfo/python-nl > -------------- next part -------------- An HTML attachment was scrubbed... URL: From roger at erens-krekels.net Sat Oct 3 15:09:35 2009 From: roger at erens-krekels.net (Roger Erens) Date: Sat, 3 Oct 2009 15:09:35 +0200 Subject: [python-nl] Python at Schools In-Reply-To: References: <64160c70909271248wb8992f9oa4466f9a4266e47a@mail.gmail.com> <55e98cf30910020548q4b8fee7ci917fc05293e56f3a@mail.gmail.com> <58ab5feb0910021023u457f782g8ce03dcba92f4abb@mail.gmail.com> <4EEE1DEC-1B13-42A1-B9F0-46F983DCB2EB@klankschap.nl> <58ab5feb0910021722t620ff8a7u9275f8d7107a55d6@mail.gmail.com> Message-ID: <58ab5feb0910030609y5ac812b8h22d60987ee4fc112@mail.gmail.com> On Sat, Oct 3, 2009 at 08:31, Perica Zivkovic wrote: > don't underestimate our kids, I bet you beer that they can understand hybrid > of your examples, e.g.: > for ding in mijn_list: > ?? ?print ding > full translation is I think bad idea because people (read this as > small-people :) ) get used to it and don't want to let go LOL: it's just like big-people who don't want to let go programming with English keywords, which they're used to. > so after couple of > years you have team of dutch, indonesian, bulgarian, russian programmers and > good luck with explaining them simple piece of code (or even doing code > review). Those are very clearly edge cases :-) You are throwing in requirements for a programming language that are irrelevant for kids of about 9-10 years old in Dutch schools. I assumed we wanted to teach them how to program a computer, not to discuss computer programs with other kids around the world. > Don't get me wrong using "translated" code is ok for examples in first > couple of days (I did it also with couple of children groups in Bosnia) but > after that you MUST switch to the real thing. Also *me* did not propose that they keep on programming in Dutch for the rest of their life/career. I'd rather substitute /couple of days/ in your opinion by /couple of months/ or whenever the concepts have sunk in their minds. Then we can throw in the extra requirements for programming languages (like: being able to reason about & discuss them in real-time in an international setting) and make them switch to a lingua franca. As a note aside: a small voice in my head is still questioning why for heaven's sake English would be _the_ language of choice to interact with a computer. I mean, most computers are built in China, so Chinese would be a more 'natural fit' :-) And most of us have left the era of assembly languages behind. Python probably isn't here to stay forever, too. Cheers, Roger From peter.weghorst at wolmail.nl Sat Oct 3 16:10:22 2009 From: peter.weghorst at wolmail.nl (Peter Weghorst) Date: Sat, 03 Oct 2009 16:10:22 +0200 Subject: [python-nl] Python at Schools Message-ID: <1254579022.6532.10.camel@peter-laptop> Al eens gekeken naar http://gvr.sourceforge.net/ ? Groeten Peter From stappers at stappers.nl Sun Oct 4 09:22:50 2009 From: stappers at stappers.nl (Geert Stappers) Date: Sun, 4 Oct 2009 09:22:50 +0200 Subject: [python-nl] Python at Schools In-Reply-To: <58ab5feb0910030609y5ac812b8h22d60987ee4fc112@mail.gmail.com> References: <64160c70909271248wb8992f9oa4466f9a4266e47a@mail.gmail.com> <55e98cf30910020548q4b8fee7ci917fc05293e56f3a@mail.gmail.com> <58ab5feb0910021023u457f782g8ce03dcba92f4abb@mail.gmail.com> <4EEE1DEC-1B13-42A1-B9F0-46F983DCB2EB@klankschap.nl> <58ab5feb0910021722t620ff8a7u9275f8d7107a55d6@mail.gmail.com> <58ab5feb0910030609y5ac812b8h22d60987ee4fc112@mail.gmail.com> Message-ID: <20091004072250.GG2340@gpm.stappers.nl> Op 20091003 om 15:09 schreef Roger Erens: > On Sat, Oct 3, 2009 at 08:31, Perica Zivkovic wrote: > > don't underestimate our kids, I bet you beer that they can understand hybrid > > of your examples, e.g.: > > for ding in mijn_list: > > ?? ?print ding > As a note aside: a small voice in my head is still questioning why for > heaven's sake English would be _the_ language of choice to interact > with a computer. I mean, most computers are built in China, so Chinese > would be a more 'natural fit' :-) And most of us have left the era of > assembly languages behind. Python probably isn't here to stay > forever, too. Het toverwoord is inderdaad 'hybride'. En laat je zeker niet verleiden tot de grootste groep omdat het de grootste groep is. Denk zelf. Gegroet Geert Stappers From vm at klankschap.nl Sun Oct 4 22:52:16 2009 From: vm at klankschap.nl (Floris van Manen) Date: Sun, 4 Oct 2009 22:52:16 +0200 Subject: [python-nl] bomen & bos Message-ID: Er zijn van die momenten dat je plotseling de broodkruimels niet meer zo snel terug vindt. Van die eenvoudige dingen met enorme verbose output ... Zo probeer ik om mijn MBP 10.6 met daarop python 2.6.3 met behulp van easy_install een eenvoudig pakket te installeren... Maar wat er dan precies mis gaat is niet 1,2,3 op te maken (voor een amateur :-) Wie heeft een hint ? Floris $ sudo easy_install appscript Searching for appscript Reading http://pypi.python.org/simple/appscript/ Reading http://appscript.sourceforge.net Reading http://freespace.virgin.net/hamish.sanderson/appscript.html Best match: appscript 0.20.0 Downloading http://pypi.python.org/packages/source/a/appscript/appscript-0.20.0.tar.gz#md5=c803c36665bfe8c8ae55f0ebaf7de684 Processing appscript-0.20.0.tar.gz Running appscript-0.20.0/setup.py -q bdist_egg --dist-dir /tmp/ easy_install-RDJOdG/appscript-0.20.0/egg-dist-tmp-QkOeVE Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.6/bin/ easy_install", line 8, in load_entry_point('setuptools==0.6c9', 'console_scripts', 'easy_install')() File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/ easy_install.py", line 1671, in main File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/ easy_install.py", line 1659, in with_ei_usage File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/ easy_install.py", line 1675, in File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/distutils/core.py", line 152, in setup dist.run_commands() File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/distutils/dist.py", line 975, in run_commands self.run_command(cmd) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/distutils/dist.py", line 995, in run_command cmd_obj.run() File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/ easy_install.py", line 211, in run File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/ easy_install.py", line 446, in easy_install File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/ easy_install.py", line 476, in install_item File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/ easy_install.py", line 655, in install_eggs File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/ easy_install.py", line 930, in build_and_install File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/ easy_install.py", line 919, in run_setup File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/ sandbox.py", line 27, in run_setup File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/ sandbox.py", line 63, in run File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/ sandbox.py", line 29, in File "setup.py", line 51, in File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/distutils/core.py", line 152, in setup dist.run_commands() File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/distutils/dist.py", line 975, in run_commands self.run_command(cmd) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/distutils/dist.py", line 995, in run_command cmd_obj.run() File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/ bdist_egg.py", line 174, in run File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/ bdist_egg.py", line 161, in call_command File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/distutils/cmd.py", line 333, in run_command self.distribution.run_command(command) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/distutils/dist.py", line 995, in run_command cmd_obj.run() File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/ install_lib.py", line 20, in run File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/distutils/command/install_lib.py", line 113, in build self.run_command('build_ext') File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/distutils/cmd.py", line 333, in run_command self.distribution.run_command(command) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/distutils/dist.py", line 995, in run_command cmd_obj.run() File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/ build_ext.py", line 46, in run File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/distutils/command/build_ext.py", line 340, in run self.build_extensions() File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/distutils/command/build_ext.py", line 449, in build_extensions self.build_extension(ext) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/ build_ext.py", line 175, in build_extension File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/distutils/command/build_ext.py", line 460, in build_extension ext_path = self.get_ext_fullpath(ext.name) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/distutils/command/build_ext.py", line 633, in get_ext_fullpath filename = self.get_ext_filename(modpath[-1]) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/ build_ext.py", line 85, in get_ext_filename KeyError: 'ae' From roger at erens-krekels.net Mon Oct 5 10:10:10 2009 From: roger at erens-krekels.net (Roger Erens) Date: Mon, 5 Oct 2009 10:10:10 +0200 Subject: [python-nl] bomen & bos In-Reply-To: References: Message-ID: <58ab5feb0910050110n761eec73q51772f03c0a198ba@mail.gmail.com> Hoi Floris, Zit er een C-extensie erbij? Een goede reden om setuptools te vervangen door Distribute. Zie ook http://mail.python.org/pipermail/distutils-sig/2009-October/013535.html Roger ... > Zo probeer ik om mijn MBP 10.6 met daarop python 2.6.3 met behulp van > easy_install een eenvoudig pakket te installeren... > Maar wat er dan precies mis gaat is niet 1,2,3 op te maken (voor een amateur > :-) > > Wie heeft een hint ? > > Floris ... > ?File > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/build_ext.py", > line 85, in get_ext_filename > KeyError: 'ae' From vm at klankschap.nl Mon Oct 5 10:43:05 2009 From: vm at klankschap.nl (Floris van Manen) Date: Mon, 5 Oct 2009 10:43:05 +0200 Subject: [python-nl] bomen & bos In-Reply-To: <58ab5feb0910050110n761eec73q51772f03c0a198ba@mail.gmail.com> References: <58ab5feb0910050110n761eec73q51772f03c0a198ba@mail.gmail.com> Message-ID: <1BDAAD97-CCCA-4661-81EC-2C1241631C17@klankschap.nl> > > Zit er een C-extensie erbij? Geen idee wat erbij zit. Als eindgebruiker wil je dat ook niet weten. > Een goede reden om setuptools te > vervangen door Distribute. > Zie ook http://mail.python.org/pipermail/distutils-sig/2009-October/013535.html en hoe installeer je zo'n package dan met distribute ? of moet de package eerst al zijn aangemaakt met distribute ? F From vm at klankschap.nl Mon Oct 5 11:15:05 2009 From: vm at klankschap.nl (Floris van Manen) Date: Mon, 5 Oct 2009 11:15:05 +0200 Subject: [python-nl] bomen & bos In-Reply-To: <58ab5feb0910050110n761eec73q51772f03c0a198ba@mail.gmail.com> References: <58ab5feb0910050110n761eec73q51772f03c0a198ba@mail.gmail.com> Message-ID: <2958993F-D636-42D9-A8D7-2BD333F86929@klankschap.nl> On Oct 5, 2009, at 10:10, Roger Erens wrote: > Hoi Floris, > > Zit er een C-extensie erbij? Een goede reden om setuptools te > vervangen door Distribute. > Zie ook http://mail.python.org/pipermail/distutils-sig/2009-October/013535.html het beeld veranderd in elk geval wel. (al werkt het nog niet) $sudo easy_install appscript Searching for appscript Reading http://pypi.python.org/simple/appscript/ Reading http://appscript.sourceforge.net Reading http://freespace.virgin.net/hamish.sanderson/appscript.html Best match: appscript 0.20.0 Downloading http://pypi.python.org/packages/source/a/appscript/appscript-0.20.0.tar.gz#md5=c803c36665bfe8c8ae55f0ebaf7de684 Processing appscript-0.20.0.tar.gz Running appscript-0.20.0/setup.py -q bdist_egg --dist-dir /tmp/ easy_install-Q718i3/appscript-0.20.0/egg-dist-tmp-i4dMxa Compiling with an SDK that doesn't seem to exist: /Developer/SDKs/ MacOSX10.4u.sdk Please check your Xcode installation ld: library not found for -lbundle1.o collect2: ld returned 1 exit status ld: library not found for -lbundle1.o collect2: ld returned 1 exit status lipo: can't open input file: /var/tmp//ccIKoK9k.out (No such file or directory) error: Setup script exited with error: command 'gcc-4.0' failed with exit status 1 From vm at klankschap.nl Mon Oct 5 11:18:03 2009 From: vm at klankschap.nl (Floris van Manen) Date: Mon, 5 Oct 2009 11:18:03 +0200 Subject: [python-nl] bomen & bos In-Reply-To: <58ab5feb0910050110n761eec73q51772f03c0a198ba@mail.gmail.com> References: <58ab5feb0910050110n761eec73q51772f03c0a198ba@mail.gmail.com> Message-ID: On Oct 5, 2009, at 10:10, Roger Erens wrote: > Hoi Floris, > > Zit er een C-extensie erbij? Een goede reden om setuptools te > vervangen door Distribute. > Zie ook http://mail.python.org/pipermail/distutils-sig/2009-October/013535.html >>> Compiling with an SDK that doesn't seem to exist: /Developer/SDKs/ MacOSX10.4u.sdk Please check your Xcode installation <<< Dat klopt want ik heb MacOSX10.6 op mijn machine. Hoe is dat (eenvoudig) in de scripts te wijzigen ? F From wichert at wiggy.net Mon Oct 5 11:21:13 2009 From: wichert at wiggy.net (Wichert Akkerman) Date: Mon, 05 Oct 2009 11:21:13 +0200 Subject: [python-nl] bomen & bos In-Reply-To: References: <58ab5feb0910050110n761eec73q51772f03c0a198ba@mail.gmail.com> Message-ID: <4AC9BA89.30203@wiggy.net> On 10/5/09 11:18 , Floris van Manen wrote: > > On Oct 5, 2009, at 10:10, Roger Erens wrote: > >> Hoi Floris, >> >> Zit er een C-extensie erbij? Een goede reden om setuptools te >> vervangen door Distribute. >> Zie ook >> http://mail.python.org/pipermail/distutils-sig/2009-October/013535.html > > > >>> > Compiling with an SDK that doesn't seem to exist: > /Developer/SDKs/MacOSX10.4u.sdk > Please check your Xcode installation > <<< > > > Dat klopt want ik heb MacOSX10.6 op mijn machine. > Hoe is dat (eenvoudig) in de scripts te wijzigen ? Python opnieuw compileren met de nieuwe XCode zou dat moeten oplossen. Wichert. From tim at timmolendijk.nl Mon Oct 5 11:28:33 2009 From: tim at timmolendijk.nl (Tim Molendijk) Date: Mon, 5 Oct 2009 11:28:33 +0200 Subject: [python-nl] bomen & bos In-Reply-To: References: Message-ID: Als je niet met de native Python install werkt, maar in plaats daarvan met een install uit MacPorts, dan heb je als het goed is minder last van incompatibility issues. -- http://timmolendijk.nl ? http://twitter.com/timmolendijk 2009/10/4 Floris van Manen > Er zijn van die momenten dat je plotseling de broodkruimels niet meer zo > snel terug vindt. > Van die eenvoudige dingen met enorme verbose output ... > > Zo probeer ik om mijn MBP 10.6 met daarop python 2.6.3 met behulp van > easy_install een eenvoudig pakket te installeren... > Maar wat er dan precies mis gaat is niet 1,2,3 op te maken (voor een > amateur :-) > > Wie heeft een hint ? > > Floris > > > > $ sudo easy_install appscript > Searching for appscript > Reading http://pypi.python.org/simple/appscript/ > Reading http://appscript.sourceforge.net > Reading http://freespace.virgin.net/hamish.sanderson/appscript.html > Best match: appscript 0.20.0 > Downloading > http://pypi.python.org/packages/source/a/appscript/appscript-0.20.0.tar.gz#md5=c803c36665bfe8c8ae55f0ebaf7de684 > Processing appscript-0.20.0.tar.gz > Running appscript-0.20.0/setup.py -q bdist_egg --dist-dir > /tmp/easy_install-RDJOdG/appscript-0.20.0/egg-dist-tmp-QkOeVE > Traceback (most recent call last): > File "/Library/Frameworks/Python.framework/Versions/2.6/bin/easy_install", > line 8, in > load_entry_point('setuptools==0.6c9', 'console_scripts', > 'easy_install')() > File > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", > line 1671, in main > File > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", > line 1659, in with_ei_usage > File > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", > line 1675, in > File > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py", > line 152, in setup > dist.run_commands() > File > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", > line 975, in run_commands > self.run_command(cmd) > File > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", > line 995, in run_command > cmd_obj.run() > File > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", > line 211, in run > File > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", > line 446, in easy_install > File > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", > line 476, in install_item > File > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", > line 655, in install_eggs > File > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", > line 930, in build_and_install > File > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", > line 919, in run_setup > File > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/sandbox.py", > line 27, in run_setup > File > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/sandbox.py", > line 63, in run > File > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/sandbox.py", > line 29, in > File "setup.py", line 51, in > File > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py", > line 152, in setup > dist.run_commands() > File > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", > line 975, in run_commands > self.run_command(cmd) > File > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", > line 995, in run_command > cmd_obj.run() > File > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/bdist_egg.py", > line 174, in run > File > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/bdist_egg.py", > line 161, in call_command > File > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/cmd.py", > line 333, in run_command > self.distribution.run_command(command) > File > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", > line 995, in run_command > cmd_obj.run() > File > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/install_lib.py", > line 20, in run > File > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/install_lib.py", > line 113, in build > self.run_command('build_ext') > File > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/cmd.py", > line 333, in run_command > self.distribution.run_command(command) > File > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", > line 995, in run_command > cmd_obj.run() > File > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/build_ext.py", > line 46, in run > File > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/build_ext.py", > line 340, in run > self.build_extensions() > File > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/build_ext.py", > line 449, in build_extensions > self.build_extension(ext) > File > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/build_ext.py", > line 175, in build_extension > File > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/build_ext.py", > line 460, in build_extension > ext_path = self.get_ext_fullpath(ext.name) > File > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/build_ext.py", > line 633, in get_ext_fullpath > filename = self.get_ext_filename(modpath[-1]) > File > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/build_ext.py", > line 85, in get_ext_filename > KeyError: 'ae' > > _______________________________________________ > Python-nl mailing list > Python-nl at python.org > http://mail.python.org/mailman/listinfo/python-nl > ------------- volgend deel ------------ Een HTML-bijlage is gescrubt... URL: From asmodai at in-nomine.org Mon Oct 5 11:20:35 2009 From: asmodai at in-nomine.org (Jeroen Ruigrok van der Werven) Date: Mon, 5 Oct 2009 11:20:35 +0200 Subject: [python-nl] bomen & bos In-Reply-To: References: <58ab5feb0910050110n761eec73q51772f03c0a198ba@mail.gmail.com> Message-ID: <20091005092034.GE7162@nexus.in-nomine.org> -On [20091005 11:18], Floris van Manen (vm at klankschap.nl) wrote: >Dat klopt want ik heb MacOSX10.6 op mijn machine. >Hoe is dat (eenvoudig) in de scripts te wijzigen ? De juiste SDK installeren. Zie o.a. http://cd34.com/blog/programming/python/mysql-python-and-snow-leopard/ voor een vergelijkbaar probleem inclusief stappen hoe het te fixen. -- Jeroen Ruigrok van der Werven / asmodai ????? ?????? ??? ?? ?????? http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B Earth to earth, ashes to ashes, dust to dust... From vm at klankschap.nl Mon Oct 5 11:44:54 2009 From: vm at klankschap.nl (Floris van Manen) Date: Mon, 5 Oct 2009 11:44:54 +0200 Subject: [python-nl] bomen & bos In-Reply-To: References: Message-ID: On Oct 5, 2009, at 11:28, Tim Molendijk wrote: > Als je niet met de native Python install werkt, maar in plaats > daarvan met een install uit MacPorts, dan heb je als het goed is > minder last van incompatibility issues. ik gebruik de meest recente distributie vanaf python.org (2.6.3) From vm at klankschap.nl Mon Oct 5 11:48:22 2009 From: vm at klankschap.nl (Floris van Manen) Date: Mon, 5 Oct 2009 11:48:22 +0200 Subject: [python-nl] bomen & bos In-Reply-To: <20091005092034.GE7162@nexus.in-nomine.org> References: <58ab5feb0910050110n761eec73q51772f03c0a198ba@mail.gmail.com> <20091005092034.GE7162@nexus.in-nomine.org> Message-ID: <17CCA4BE-0A89-4905-8B9B-A7E95245A142@klankschap.nl> On Oct 5, 2009, at 11:20, Jeroen Ruigrok van der Werven wrote: > -On [20091005 11:18], Floris van Manen (vm at klankschap.nl) wrote: >> Dat klopt want ik heb MacOSX10.6 op mijn machine. >> Hoe is dat (eenvoudig) in de scripts te wijzigen ? > > De juiste SDK installeren. Ik heb de meest recente versie van de SDK voor snow leopard. Als een package alleen met een oude versie zou kunnen werken, dan verwacht je (als gebruiker) een iets meer to the point antwoord voor de installer (zou ik zeggen). En bij voorkeur een oplossing :-) F From matthijs at kadijk.com Mon Oct 5 12:17:06 2009 From: matthijs at kadijk.com (Matthijs Kadijk) Date: Mon, 5 Oct 2009 12:17:06 +0200 Subject: [python-nl] Python at Schools Message-ID: > > > If you want to teach kids the principles of programming (variables, loops, functions) it can be done independent of the programming language. I suggest to have a look a scratch, a x platform (smalltalk based ?) visual programming environment. You build small (object oriented) script using drag en drop, like solving a jig saw puzzle. The GUI is available in multiple languages, including the command pieces you can use. So this can be used by even very young programmers. It also has a strong visual bias, you can draw spites and program their behaviour. I think you should be able to show that programming is FUN, and it does not really matter wich language you use to express yourself .. you can find it here: http://scratch.mit.edu/ I am sure you will like it and so will your pupils ... Regards, Matthijs Kadijk http://tng.appspot.com ------------- volgend deel ------------ Een HTML-bijlage is gescrubt... URL: From ronaldoussoren at mac.com Mon Oct 5 13:19:48 2009 From: ronaldoussoren at mac.com (Ronald Oussoren) Date: Mon, 05 Oct 2009 13:19:48 +0200 Subject: [python-nl] bomen & bos In-Reply-To: <2958993F-D636-42D9-A8D7-2BD333F86929@klankschap.nl> References: <58ab5feb0910050110n761eec73q51772f03c0a198ba@mail.gmail.com> <2958993F-D636-42D9-A8D7-2BD333F86929@klankschap.nl> Message-ID: <31254707968951962033250365797153169103-Webmail@me.com> On Monday, 05 October, 2009, at 11:15AM, "Floris van Manen" wrote: > >On Oct 5, 2009, at 10:10, Roger Erens wrote: > >> Hoi Floris, >> >> Zit er een C-extensie erbij? Een goede reden om setuptools te >> vervangen door Distribute. >> Zie ook http://mail.python.org/pipermail/distutils-sig/2009-October/013535.html > >het beeld veranderd in elk geval wel. >(al werkt het nog niet) > > >$sudo easy_install appscript >Searching for appscript >Reading http://pypi.python.org/simple/appscript/ >Reading http://appscript.sourceforge.net >Reading http://freespace.virgin.net/hamish.sanderson/appscript.html >Best match: appscript 0.20.0 >Downloading http://pypi.python.org/packages/source/a/appscript/appscript-0.20.0.tar.gz#md5=c803c36665bfe8c8ae55f0ebaf7de684 >Processing appscript-0.20.0.tar.gz >Running appscript-0.20.0/setup.py -q bdist_egg --dist-dir /tmp/ >easy_install-Q718i3/appscript-0.20.0/egg-dist-tmp-i4dMxa >Compiling with an SDK that doesn't seem to exist: /Developer/SDKs/ >MacOSX10.4u.sdk >Please check your Xcode installation >ld: library not found for -lbundle1.o >collect2: ld returned 1 exit status >ld: library not found for -lbundle1.o >collect2: ld returned 1 exit status >lipo: can't open input file: /var/tmp//ccIKoK9k.out (No such file or >directory) >error: Setup script exited with error: command 'gcc-4.0' failed with >exit status 1 Dat is irritant, distutils hoort in python 2.6.3 door te hebben de 10.4u SDK niet geinstalleerd is en moet deze dan niet gebruiken. Ik ga een testje maken om uit te zoeken of dit een probleem in distutils of in distribute is. Als workaround kan je de 10.4u SDK installeren: herinstalleer Xcode van de 10.6 installatie DVD, bij een van de stappen zit linksonder een knop "Customize...", als je hierop klikt kan je de componenten kiezen die geinstalleerd moeten worden. Selecteer hier dan ook de ondersteuning voor MacOSX 10.4. Ronald From ivo.timmermans at treparel.nl Mon Oct 5 14:46:30 2009 From: ivo.timmermans at treparel.nl (Ivo Timmermans) Date: Mon, 5 Oct 2009 14:46:30 +0200 (CEST) Subject: [python-nl] bomen & bos In-Reply-To: <31254707968951962033250365797153169103-Webmail@me.com> References: <58ab5feb0910050110n761eec73q51772f03c0a198ba@mail.gmail.com> <2958993F-D636-42D9-A8D7-2BD333F86929@klankschap.nl> <31254707968951962033250365797153169103-Webmail@me.com> Message-ID: Ronald Oussoren wrote: > On Monday, 05 October, 2009, at 11:15AM, "Floris van Manen" > wrote: [...] >>Compiling with an SDK that doesn't seem to exist: /Developer/SDKs/ >>MacOSX10.4u.sdk >>Please check your Xcode installation >>ld: library not found for -lbundle1.o >>collect2: ld returned 1 exit status >>ld: library not found for -lbundle1.o >>collect2: ld returned 1 exit status >>lipo: can't open input file: /var/tmp//ccIKoK9k.out (No such file or >>directory) >>error: Setup script exited with error: command 'gcc-4.0' failed with >>exit status 1 > > Dat is irritant, distutils hoort in python 2.6.3 door te hebben de 10.4u > SDK niet geinstalleerd is en moet deze dan niet gebruiken. Ik ga een > testje maken om uit te zoeken of dit een probleem in distutils of in > distribute is. > > Als workaround kan je de 10.4u SDK installeren: herinstalleer Xcode van de > 10.6 installatie DVD, bij een van de stappen zit linksonder een knop > "Customize...", als je hierop klikt kan je de componenten kiezen die > geinstalleerd moeten worden. Selecteer hier dan ook de ondersteuning voor > MacOSX 10.4. Je zou het ook kunnen proberen met export MACOS_DEPLOYMENT_TARGET=10.6 -- Ivo Timmermans +31 (0)6-1400 5987 ivo.timmermans at treparel.nl Treparel Information Solutions Delftechpark 26, Suite 2-26 2628XH Delft, Netherlands KvK Haaglanden: 27285728 www.treparel.com From tim at timmolendijk.nl Mon Oct 5 15:45:34 2009 From: tim at timmolendijk.nl (Tim Molendijk) Date: Mon, 5 Oct 2009 15:45:34 +0200 Subject: [python-nl] Debugging tactics Message-ID: Hey all, At the recent PUN in Amsterdam I did a short session on tactics for debugging web apps in Python and Django, based on my personal experiences from working on http://SmartPR.nl/. There was a lot of interesting input from the audience, which I would like to share with you all here: - print or logging - the Python debugger (pdb) or its enhanced variant ipdb: http://pypi.python.org/pypi/ipdb/0.1dev-r1716 - django-debug-toolbar; a Django app providing a feedback bar overlaying your web app: http://github.com/robhudson/django-debug-toolbar - Werkzeug's interactive debugger page: http://werkzeug.pocoo.org/documentation/0.5.1/debug.html. django-command-extensions (another Django app) provides a test server with Werkzeug's debugger baked in: http://code.google.com/p/django-command-extensions/ - Winpdb is an interactive debugger with a GUI, which can be attached to a Python process. This means you can do live debugging on a web app that is running exactly like it would be running in production. I've tried this approach myself last week and it works pretty neat. It might be a bit of a hassle to get Winpdb running, as it depends on wxPython, but on OS X I got it working pretty quickly using MacPorts. http://pypi.python.org/pypi/winpdb/1.3.8 - Pydev (Eclipse plugin): http://pydev.org/ - Then there were some tips for web app testing clients: - Twill: http://pypi.python.org/pypi/twill/0.9 - zc.testbrowser: http://pypi.python.org/pypi/zc.testbrowser/1.0.0a5 - Selenium: http://seleniumhq.org/ To me the result of my lightning talk has already been extremely useful. I hope it will do the same for some other people. Cheers, Tim -- http://timmolendijk.nl ? http://twitter.com/timmolendijk ------------- volgend deel ------------ Een HTML-bijlage is gescrubt... URL: From wichert at wiggy.net Mon Oct 5 15:53:04 2009 From: wichert at wiggy.net (Wichert Akkerman) Date: Mon, 05 Oct 2009 15:53:04 +0200 Subject: [python-nl] Debugging tactics In-Reply-To: References: Message-ID: <4AC9FA40.6010307@wiggy.net> On 10/5/09 15:45 , Tim Molendijk wrote: > * django-debug-toolbar; a Django app providing a feedback bar > overlaying your web app: > http://github.com/robhudson/django-debug-toolbar Just to be clear: if I see things correctly this only works for Django apps, not all python web apps. > * Werkzeug's interactive debugger page: > http://werkzeug.pocoo.org/documentation/0.5.1/debug.html. FWIW WebError has a similar debugger. Pylons configures it by default for apps in debug mode, but it works in any WSGI stack. Wichert. From reinout at vanrees.org Mon Oct 5 19:09:18 2009 From: reinout at vanrees.org (Reinout van Rees) Date: Mon, 5 Oct 2009 19:09:18 +0200 Subject: [python-nl] bomen & bos In-Reply-To: References: <58ab5feb0910050110n761eec73q51772f03c0a198ba@mail.gmail.com> <2958993F-D636-42D9-A8D7-2BD333F86929@klankschap.nl> <31254707968951962033250365797153169103-Webmail@me.com> Message-ID: <2b52d5bf0910051009h71ca5621tb99c880734ceb77e@mail.gmail.com> 2009/10/5 Ivo Timmermans : > Ronald Oussoren wrote: >> On Monday, 05 October, 2009, at 11:15AM, "Floris van Manen" >> wrote: > [...] >>>Compiling with an SDK that doesn't seem to exist: /Developer/SDKs/ >>>MacOSX10.4u.sdk >>>Please check your Xcode installation >>>ld: library not found for -lbundle1.o >>>collect2: ld returned 1 exit status >>>ld: library not found for -lbundle1.o >>>collect2: ld returned 1 exit status >>>lipo: can't open input file: /var/tmp//ccIKoK9k.out (No such file or >>>directory) >>>error: Setup script exited with error: command 'gcc-4.0' failed with >>>exit status 1 >> >> Dat is irritant, distutils hoort in python 2.6.3 door te hebben de 10.4u >> SDK niet geinstalleerd is en moet deze dan niet gebruiken. Ik ga een >> testje maken om uit te zoeken of dit een probleem in distutils of in >> distribute is. >> >> Als workaround kan je de 10.4u SDK installeren: herinstalleer Xcode van de >> 10.6 installatie DVD, bij een van de stappen zit linksonder een knop >> "Customize...", als je hierop klikt kan je de componenten kiezen die >> geinstalleerd moeten worden. Selecteer hier dan ook de ondersteuning voor >> MacOSX 10.4. > > Je zou het ook kunnen proberen met > export MACOS_DEPLOYMENT_TARGET=10.6 Ik heb laatst de python bij een collega gefixt. Probleem 1 was dat bij de update naar snow leopard ("snuipaard" zoals het bij ons intern wordt genoemd...) xcode niet meer ge?nstalleerd was. Naar wat ik las mistten er alleen symlinks, maar in ieder geval fixte een nieuwe xcode install dat deel van het probleem. Verder heb ik een lokale python versie gebakken met een speciale buildout die de benodigde settings voor OSX snuipaard goed regelt (python 2.4, 2.5 en 2.6). Zie http://reinout.vanrees.org/weblog/2009/09/28/python-snowleopard-rescue.html Reinout -- Reinout van Rees - reinout at vanrees.org http://reinout.vanrees.org/ - http://www.thehealthagency.com "I can be googled, therefore I am." From vm at klankschap.nl Tue Oct 6 01:59:22 2009 From: vm at klankschap.nl (Floris van Manen) Date: Tue, 6 Oct 2009 01:59:22 +0200 Subject: [python-nl] bomen & bos In-Reply-To: <2b52d5bf0910051009h71ca5621tb99c880734ceb77e@mail.gmail.com> References: <58ab5feb0910050110n761eec73q51772f03c0a198ba@mail.gmail.com> <2958993F-D636-42D9-A8D7-2BD333F86929@klankschap.nl> <31254707968951962033250365797153169103-Webmail@me.com> <2b52d5bf0910051009h71ca5621tb99c880734ceb77e@mail.gmail.com> Message-ID: <354F7846-0A77-46E7-B696-D7C1F7D8EF33@klankschap.nl> De xcode developer wordt nooit standaard onder osx ge?nstalleerd. Dat moet je zelf doen. Maar dan draait het wel. Eigenaardig is dat easy_install in combinatie met python 2.6.3 niet meer correct werkt. Ik zie het als (eind) gebruiker niet direct tot mijn taak om een versche python te genereren... Dus ik wacht wel tot de fix voor iedereen beschikbaar komt... (2.6.3.1) F > > Ik heb laatst de python bij een collega gefixt. Probleem 1 was dat > bij de update naar snow leopard ("snuipaard" zoals het bij ons intern > wordt genoemd...) xcode niet meer ge?nstalleerd was. Naar wat ik las > mistten er alleen symlinks, maar in ieder geval fixte een nieuwe xcode > install dat deel van het probleem. > > Verder heb ik een lokale python versie gebakken met een speciale > buildout die de benodigde settings voor OSX snuipaard goed regelt > (python 2.4, 2.5 en 2.6). Zie > http://reinout.vanrees.org/weblog/2009/09/28/python-snowleopard-rescue.html > > Reinout > > -- > Reinout van Rees - reinout at vanrees.org > http://reinout.vanrees.org/ - http://www.thehealthagency.com > "I can be googled, therefore I am." > _______________________________________________ > Python-nl mailing list > Python-nl at python.org > http://mail.python.org/mailman/listinfo/python-nl > > From reinout at vanrees.org Tue Oct 6 06:52:43 2009 From: reinout at vanrees.org (Reinout van Rees) Date: Tue, 6 Oct 2009 06:52:43 +0200 Subject: [python-nl] bomen & bos In-Reply-To: <354F7846-0A77-46E7-B696-D7C1F7D8EF33@klankschap.nl> References: <58ab5feb0910050110n761eec73q51772f03c0a198ba@mail.gmail.com> <2958993F-D636-42D9-A8D7-2BD333F86929@klankschap.nl> <31254707968951962033250365797153169103-Webmail@me.com> <2b52d5bf0910051009h71ca5621tb99c880734ceb77e@mail.gmail.com> <354F7846-0A77-46E7-B696-D7C1F7D8EF33@klankschap.nl> Message-ID: <2b52d5bf0910052152h71de339al99fa4ea7fc132322@mail.gmail.com> 2009/10/6 Floris van Manen : > De xcode developer wordt nooit standaard onder osx ge?nstalleerd. > Dat moet je zelf doen. > Maar dan draait het wel. > Eigenaardig is dat easy_install in combinatie met python 2.6.3 niet meer > correct werkt. > Ik zie het als (eind) gebruiker niet direct tot mijn taak om een versche > python te genereren... > Dus ik wacht wel tot de fix voor iedereen beschikbaar komt... (2.6.3.1) Naar wat ik begreep is het geen bug in python 2.6.3, maar eigenlijk in setuptools. En dat wordt door zijn beheerder effectief niet meer beheerd en hij staat (idioot genoeg) ook geen bugfixes toe. setuptools werkt ook niet als je subversion 1.6 gebruikt, bijvoorbeeld. Distribute is een drop-in replacement die zich voordoet als setuptools. Het is ook gewoon dezelfde code, maar dan met eindelijk die al maanden klaarliggende bugfixes erin. Reinout -- Reinout van Rees - reinout at vanrees.org http://reinout.vanrees.org/ - http://www.thehealthagency.com "I can be googled, therefore I am." From ronaldoussoren at mac.com Tue Oct 6 07:55:44 2009 From: ronaldoussoren at mac.com (Ronald Oussoren) Date: Tue, 06 Oct 2009 07:55:44 +0200 Subject: [python-nl] bomen & bos In-Reply-To: <354F7846-0A77-46E7-B696-D7C1F7D8EF33@klankschap.nl> References: <58ab5feb0910050110n761eec73q51772f03c0a198ba@mail.gmail.com> <2958993F-D636-42D9-A8D7-2BD333F86929@klankschap.nl> <31254707968951962033250365797153169103-Webmail@me.com> <2b52d5bf0910051009h71ca5621tb99c880734ceb77e@mail.gmail.com> <354F7846-0A77-46E7-B696-D7C1F7D8EF33@klankschap.nl> Message-ID: <4208977A-F527-467C-A4E7-6ECF63892017@mac.com> On 6 Oct, 2009, at 1:59, Floris van Manen wrote: > De xcode developer wordt nooit standaard onder osx ge?nstalleerd. > Dat moet je zelf doen. > Maar dan draait het wel. > Eigenaardig is dat easy_install in combinatie met python 2.6.3 niet > meer correct werkt. > Ik zie het als (eind) gebruiker niet direct tot mijn taak om een > versche python te genereren... > Dus ik wacht wel tot de fix voor iedereen beschikbaar komt... > (2.6.3.1) Easy_install (of beter gezegt setuptools) brengt bij het draaien wat patches aan in distutils, een van de bugfixes in 2.6.3 heeft er voor gezorgt dat een deel van die patches niet meer werkt, en dat zorgt dat easy_install niet meer werkt. In de NEWS file van de 2.6.x branch staat onder andere: - Issue #7064: Fixed the incompatibility with Setuptools in distutils when running the build_ext command. Deze fix zal in 2.6.4 zitten, en die release zit al in de pijplijn (primair vanwege een andere bug) Ronald > > F > > >> >> Ik heb laatst de python bij een collega gefixt. Probleem 1 was dat >> bij de update naar snow leopard ("snuipaard" zoals het bij ons intern >> wordt genoemd...) xcode niet meer ge?nstalleerd was. Naar wat ik las >> mistten er alleen symlinks, maar in ieder geval fixte een nieuwe >> xcode >> install dat deel van het probleem. >> >> Verder heb ik een lokale python versie gebakken met een speciale >> buildout die de benodigde settings voor OSX snuipaard goed regelt >> (python 2.4, 2.5 en 2.6). Zie >> http://reinout.vanrees.org/weblog/2009/09/28/python-snowleopard-rescue.html >> >> Reinout >> >> -- >> Reinout van Rees - reinout at vanrees.org >> http://reinout.vanrees.org/ - http://www.thehealthagency.com >> "I can be googled, therefore I am." >> _______________________________________________ >> Python-nl mailing list >> Python-nl at python.org >> http://mail.python.org/mailman/listinfo/python-nl >> >> > > _______________________________________________ > Python-nl mailing list > Python-nl at python.org > http://mail.python.org/mailman/listinfo/python-nl From remco at diji.biz Tue Oct 6 10:46:29 2009 From: remco at diji.biz (Remco Wendt) Date: Tue, 6 Oct 2009 10:46:29 +0200 Subject: [python-nl] Debugging tactics In-Reply-To: References: Message-ID: On Mon, Oct 5, 2009 at 3:45 PM, Tim Molendijk wrote: > > > - Winpdb is an interactive debugger with a GUI, which can be attached > to a Python process. This means you can do live debugging on a web app that > is running exactly like it would be running in production. I've tried this > approach myself last week and it works pretty neat. It might be a bit of a > hassle to get Winpdb running, as it depends on wxPython, but on OS X I got > it working pretty quickly using MacPorts. > http://pypi.python.org/pypi/winpdb/1.3.8 > > On the site of winpdb itself is a newer version (version 1.4.6) available: http://winpdb.org/download/ > > - Pydev (Eclipse plugin): http://pydev.org/ > > With version 1.50 of pydev also pydev extensions, which brings more advanced python integration to eclipse, got open sourced! Remco -- Maykin Media Herengracht 416, 1017 BZ Amsterdam tel.: +31 (0)6 187 967 06 http://www.maykinmedia.nl -------------- next part -------------- An HTML attachment was scrubbed... URL: From andre at vandervlies.xs4all.nl Tue Oct 6 16:36:40 2009 From: andre at vandervlies.xs4all.nl (andre at vandervlies.xs4all.nl) Date: Tue, 6 Oct 2009 16:36:40 +0200 (CEST) Subject: [python-nl] HTMLgen... Message-ID: <39230.62.194.182.35.1254839800.squirrel@vandervlies.xs4all.nl> Bestaat dat nog?? Ik zoek een 'nieuwe' versie... -- Andre van der Vlies Certifiable Linux/UNIX engineer (CLUE) Homepage: http://vandervlies.xs4all.nl/~andre Books: http://www.lulu.com/andre14 Key fingerprint = 397C 7479 67DB 9306 23DC B423 7B58 CD5A 6EFF 5CF8 -- "Programming isn't a craft, it's an art." () ascii ribbon campaign - against html e-mail /\ - against microsoft attachments ^[^#] -- From remco at maykinmedia.nl Tue Oct 6 16:48:16 2009 From: remco at maykinmedia.nl (Remco Wendt) Date: Tue, 6 Oct 2009 16:48:16 +0200 Subject: [python-nl] HTMLgen... In-Reply-To: <39230.62.194.182.35.1254839800.squirrel@vandervlies.xs4all.nl> References: <39230.62.194.182.35.1254839800.squirrel@vandervlies.xs4all.nl> Message-ID: On Tue, Oct 6, 2009 at 4:36 PM, wrote: > > Bestaat dat nog?? Ik zoek een 'nieuwe' versie... > > zoiets: http://pypi.python.org/pypi/mext.htmlgen/3.0.r1070 ? -- Maykin Media Herengracht 416, 1017 BZ Amsterdam tel.: +31 (0)6 187 967 06 http://www.maykinmedia.nl -------------- next part -------------- An HTML attachment was scrubbed... URL: From andre at vandervlies.xs4all.nl Tue Oct 6 22:01:57 2009 From: andre at vandervlies.xs4all.nl (andre at vandervlies.xs4all.nl) Date: Tue, 6 Oct 2009 22:01:57 +0200 (CEST) Subject: [python-nl] HTMLgen... In-Reply-To: References: <39230.62.194.182.35.1254839800.squirrel@vandervlies.xs4all.nl> Message-ID: <57266.192.168.54.1.1254859317.squirrel@vandervlies.xs4all.nl> > On Tue, Oct 6, 2009 at 4:36 PM, wrote: > >> >> Bestaat dat nog?? Ik zoek een 'nieuwe' versie... >> >> > zoiets: http://pypi.python.org/pypi/mext.htmlgen/3.0.r1070 > ? Ik bedoelde eigenlijk dat spul van Robin Friedich... (zie bijv. http://starship.python.net/crew/friedrich/HTMLgen/html/main.html of http://vandervlies.xs4all.nl/~andre/Docs/HTMLgen/main.html) -- Andre van der Vlies Certifiable Linux/UNIX engineer (CLUE) Homepage: http://vandervlies.xs4all.nl/~andre Books: http://www.lulu.com/andre14 Key fingerprint = 397C 7479 67DB 9306 23DC B423 7B58 CD5A 6EFF 5CF8 -- "Programming isn't a craft, it's an art." () ascii ribbon campaign - against html e-mail /\ - against microsoft attachments ^[^#] -- From brian.zaal at me.com Wed Oct 7 22:15:34 2009 From: brian.zaal at me.com (Brian Zaal) Date: Wed, 07 Oct 2009 22:15:34 +0200 Subject: [python-nl] snow leopard probleem Message-ID: <446D66D4-FF79-4449-8F5A-062EECE240B8@me.com> Hallo, Als beginnend python gebruiker heb ik wat vragen. Na een clean install van snow leopard, krijg ik onderstaande warning bij het gebruik van eclipse en Pydev. pydev debugger: CRITICAL WARNING: This version of python seems to be incorrectly compiled (internal generated filenames are not absolute) pydev debugger: The debugger may still function, but it will work slower and may miss breakpoints. pydev debugger: Related bug: http://bugs.python.org/issue1666807 ------------------------------------------------------------------------------- pydev debugger: warning: psyco not available for speedups (the debugger will still work correctly, but a bit slower) pydev debugger: starting pydev debugger: Unable to find real location for: /System/Library/ Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py Moet ik hier wat aan gaan doen, of is dit een python bug? Alvast bedankt. Groeten, Brian ------------- volgend deel ------------ Een HTML-bijlage is gescrubt... URL: From ben at creue.co.uk Thu Oct 8 15:03:00 2009 From: ben at creue.co.uk (Ben Corke) Date: Thu, 8 Oct 2009 14:03:00 +0100 Subject: [python-nl] Python + CherryPy + TurboGears2 project support Message-ID: <743ebe1b0910080603w31d89a3cte2955d0a6db82a69@mail.gmail.com> Dear Python NL users. Firstly, this a is a Job post for a Freelance Python Job in Belgium, I know this is frowned upon by some, so I am very sorry if it is not well received, but as it is such a great job, I have been encouraged to post this to the Python NL list. So, apology done, and hopefully accepted, I need a Python *guru*, ideally with CherryPy & TurboGears 2/AJAX experince. This Python developer is required to develop embedded device configuration interfaces to manage a real time digital content delivery device, supporting features such as multi format high throughput video encoding on the fly. (think DVB broadcast and IP TV on demand) The project is to start ASAP, Duration 6 months with possible extension and future project work. Location: Belgium. If you are interested in knowing more pls. contact Ben Corke on the details below Kind regards, Ben Corke Director Creue Consulting Ltd. tel. +44 (0) 207 193 5520 skype. ben.creue email. ben AT creue DOT com linkedIn: linkedin.com/in/bencorke web. python.creue - python jobs and recruitment -------------- next part -------------- An HTML attachment was scrubbed... URL: From reinout at vanrees.org Mon Oct 5 19:13:08 2009 From: reinout at vanrees.org (Reinout van Rees) Date: Mon, 5 Oct 2009 19:13:08 +0200 Subject: [python-nl] Debugging tactics In-Reply-To: References: Message-ID: <2b52d5bf0910051013w65dfa74fh196c964f2e6e9172@mail.gmail.com> On Mon, Oct 5, 2009 at 3:45 PM, Tim Molendijk wrote: > Hey all, > At the recent PUN in Amsterdam I did a short session on tactics for > debugging web apps in Python and Django, based on my personal experiences And of course, as a professional developer, you have reasonable tests in place already so that you can verify the bug in a new test once you've found it. And experimenting in your tests can also help you a lot. If you don't have tests, all the debugging tools you can find won't avail you much. See http://reinout.vanrees.org/weblog/2009/09/29/testing.html if anyone things I ridicule those that do not test :-) Reinout -- Reinout van Rees - reinout at vanrees.org http://reinout.vanrees.org/ - http://www.thehealthagency.com "I can be googled, therefore I am." From tim at timmolendijk.nl Fri Oct 9 11:54:51 2009 From: tim at timmolendijk.nl (Tim Molendijk) Date: Fri, 9 Oct 2009 11:54:51 +0200 Subject: [python-nl] Debugging tactics In-Reply-To: <2b52d5bf0910051013w65dfa74fh196c964f2e6e9172@mail.gmail.com> References: <2b52d5bf0910051013w65dfa74fh196c964f2e6e9172@mail.gmail.com> Message-ID: > > And of course, as a professional developer, you have reasonable tests > in place already so that you can verify the bug in a new test once > you've found it. And experimenting in your tests can also help you a > lot. > > If you don't have tests, all the debugging tools you can find won't > avail you much. I'm not much of a fan of TDD (test driven development). I do believe that tests can be very useful and sometimes indispensable, but mainly for protecting rather stable library-like software components from regressions. Writing tests before or while building something; no thanks, it will waste too much time on creating tests for code that might morph or disappear any moment. ------------- volgend deel ------------ Een HTML-bijlage is gescrubt... URL: From thijs at cq2.nl Fri Oct 9 20:50:37 2009 From: thijs at cq2.nl (Thijs Janssen) Date: Fri, 9 Oct 2009 20:50:37 +0200 Subject: [python-nl] Debugging tactics In-Reply-To: References: <2b52d5bf0910051013w65dfa74fh196c964f2e6e9172@mail.gmail.com> Message-ID: <22d27c6a0910091150s3ae36596i6fb05ea219313f8a@mail.gmail.com> Hi, For me adding tests works especially well when building something. It helps to get the idea of what you want to achieve right. Thijs (Oh and yes I am a TDD fan :-) On Fri, Oct 9, 2009 at 11:54, Tim Molendijk wrote: >> And of course, as a professional developer, you have reasonable tests >> in place already so that you can verify the bug in a new test once >> you've found it. ?And experimenting in your tests can also help you a >> lot. >> >> If you don't have tests, all the debugging tools you can find won't >> avail you much. > > I'm not much of a fan of TDD (test driven development). I do believe that > tests can be very useful and sometimes indispensable, but mainly for > protecting rather stable library-like software components from regressions. > Writing tests before or while building something; no thanks, it will waste > too much time on creating tests for code that might morph or disappear any > moment. > > _______________________________________________ > Python-nl mailing list > Python-nl at python.org > http://mail.python.org/mailman/listinfo/python-nl > > -- Thijs Janssen +31 6 2500 6316 >Seek You Too< twitter: @thijsj From Jack.Jansen at cwi.nl Sun Oct 11 01:06:03 2009 From: Jack.Jansen at cwi.nl (Jack Jansen) Date: Sun, 11 Oct 2009 01:06:03 +0200 Subject: [python-nl] Python at Schools In-Reply-To: References: Message-ID: <8AB8916C-AA78-46D1-9A2C-FD34D7F454D1@cwi.nl> On 5 okt 2009, at 12:17, Matthijs Kadijk wrote: > > If you want to teach kids the principles of programming (variables, > loops, functions) it can be done independent of the programming > language. I suggest to have a look a scratch, a x platform > (smalltalk based ?) visual programming environment. You build small > (object oriented) script using drag en drop, like solving a jig saw > puzzle. The GUI is available in multiple languages, including the > command pieces you can use. So this can be used by even very young > programmers. It also has a strong visual bias, you can draw spites > and program their behaviour. I think you should be able to show that > programming is FUN, and it does not really matter wich language you > use to express yourself .. > > you can find it here: http://scratch.mit.edu/ I am sure you will > like it and so will your pupils ... Scratch is really really nice. I only wish it had a "python escape": if there was a way to implement code for each of the block types (statement, conditional, expression, etc) in Python it would be a very nice way to gradually lead kids from the visual building block paradigm to textual languages. -- Jack Jansen, , http://www.cwi.nl/~jack If I can't dance I don't want to be part of your revolution -- Emma Goldman From roger at erens-krekels.net Mon Oct 12 13:58:40 2009 From: roger at erens-krekels.net (Roger Erens) Date: Mon, 12 Oct 2009 13:58:40 +0200 Subject: [python-nl] Python at Schools In-Reply-To: References: Message-ID: <58ab5feb0910120458w79f8ff36n2c168e8f5cf8f489@mail.gmail.com> On Mon, Oct 5, 2009 at 12:17, Matthijs Kadijk wrote: >> ... > you can find it here: http://scratch.mit.edu/ I am sure you will like it and > so will your pupils ... Bedankt voor de link naar deze interessante omgeving! Alice ( http://www.alice.org ) is een soortgelijke programmeeromgeving, maar (nog?) meer gericht op beginnelingen op middelbare schoolnivo. Een van de ontwikkelaars van schreef onlangs: "The general observation [on ap-computerscience listserv] is that students find Scratch to be very accessible, and can do many cool things very quickly. The downside is that they will hit the limits of Scratch relatively soon. Alice has a richer set of capabilities but that students need a lot more initial support and training to fully utilize its capabilities. I believe that this reflects the original goals of the groups responsible for the design of both tools. I do not wish to speak too strongly for the Scratch team, but my understanding is that Scratch was initially designed with informal educational settings in mind (after-school tech club houses, etc.), and Alice was specifically signed to be a more part of a CS 0 course offering." http://blog.alice.org/?p=102 Het project Storytelling maakt programmeren in Alice blijkbaar weer wat toegangkelijker, vooral ook voor meisjes. http://www.alice.org/kelleher/storytelling/ Als je ze maar niet verteld dat ze aan het programmeren zijn! Dat doen ze onbewust, terwijl ze met verhaallijnen bezig zijn. Alice3 is nu nog wat 'te beta' maar op den duur moet Looking Glass dat ook weer toegankelijker maken, en generatie van Jython-code ligt ook in het vooruitschiet. Terwijl Scratch en GvR meer 2D-gericht zijn, zijn Alice en het volgende meer 3D-gericht: Kodu (voorheen Boku); voor degenen met een Xbox360 of een onderwijs/onderzoek-betrekking wellicht ook een interessant project. http://research.microsoft.com/en-us/projects/kodu/ Programmeren met je controller! Zou wat zijn als pyGame of pyglet dit ook voor elkaar kreeg op PS3 of WII :-) Roger From tim at timmolendijk.nl Tue Oct 13 14:20:37 2009 From: tim at timmolendijk.nl (Tim Molendijk) Date: Tue, 13 Oct 2009 14:20:37 +0200 Subject: [python-nl] Ervaring met Lamson Message-ID: Hey mensen, Heeft iemand van jullie wel eens met Lamson (http://lamsonproject.org/) gewerkt? Ik zou graag in contact komen met een ervaringsdeskundige. B.v.d., Tim -- http://timmolendijk.nl ? http://twitter.com/timmolendijk ------------- volgend deel ------------ Een HTML-bijlage is gescrubt... URL: From cyberco at media2b.net Wed Oct 14 19:47:51 2009 From: cyberco at media2b.net (Berco Beute) Date: Wed, 14 Oct 2009 19:47:51 +0200 Subject: [python-nl] =?utf-8?q?Python_baan_bij_Accept=C3=A9_in_Groningen?= In-Reply-To: References: Message-ID: Beste Pythonistas, Bij mijn werkgever Accept? (accepte.nl) in Groningen hebben we een (in mijn ogen) prachtige vacature voor een gepassioneerde Pythonista. Bedrijf ===== Met ongeveer zestig werknemers is Accept? een van de grootste IT bedrijven in Nederland waar Python het belangrijkste gereedschap is (alhoewel je dat aan de website niet af kunt lezen :). Er is dan ook geen gebrek aan interessante en uitdagende Python gerelateerde vraagstukken. Onder het merk Getlogic ontwikkelt Accept? weboplossingen voor de evenementenmarkt, en onder het merk Paylogic verkoopt ze een online, self-service ticketing oplossing. Met Paylogic zijn we ondertussen het op twee na grootste partij ticketing bedrijf en hard op weg om de grootste te worden. Daarnaast zijn we bezig met een uitbreiding naar het buitenland. Paylogic is een groot en complex online systeem waar hoge eisen aan gesteld worden. Baan ==== De vacature is voor een software ontwikkelaar in het Paylogic team. Hij of zij zal met name met Paylogic bezig zijn, maar af en toe ook met Getlogic opdrachten moeten uitvoeren. Kernwoorden van de baan: - Voltijds - Kantoor in het centrum van Groningen - Marktconform salaris - Samenwerking met een grote club (vaak zeer ervaren) Python ontwikkelaars - Zeer dynamische (en commerciele) omgeving - Gezellige werksfeer - Ruime voorraad complexe Python vraagstukken - Gebruik van met name open source technologien - TechTalks (onze eigen TED talks :) - Conferenties (PyGrun, de eerste Python conferntie in Groningen zijn we van plan te organiseren) - Moderne software ontwikkeltechnieken (agile, 1-click build & deploy, strak release beleid, continuous integration, gedistribueerd versiebeheer met gatekeepers, ) Een aantal tools/technieken waarmee je te maken zult krijgen: SQLAlchemy, Django, bazaar, buildbot, epydoc, py.test, mysql/postgres, database sharding/replication, cloud computing (amazon), virtualizatie, etc. Gezocht ====== Eigenlijk komt het erop neer dat wij een gepassioneerde en ervaren Pythonista zoeken die een open, positieve houding heeft en die graag complexe problemen te lijf gaat. Onze voorkeur gaat uit naar een hacker (wat een positieve titel is) die zich bewezen heeft in de open source gemeenschap in plaats van een programmeur met een 9 tot 5 mentaliteit. Mensen met kennis van/ervaring met het volgende hebben een streepje voor: - Grootschalige webapplicaties - High availability - Een breed scale aan Python gebasseerde tools (SQLAlchemy, Django, etc) - Werken in teamverband - Gedistribueerde systemen - Brede kijk op het vak software development Neem voor vragen contact met mij op of stuur direct je CV met motivatie. Stuur dit bericht gerust door aan iemand anders waarvan je denkt dat die geschikt is voor deze baan. Bedankt en vriendelijke groeten, Berco Beute Accept? berco.beute at accepte.nl From vm at klankschap.nl Thu Oct 15 00:54:15 2009 From: vm at klankschap.nl (Floris van Manen) Date: Thu, 15 Oct 2009 00:54:15 +0200 Subject: [python-nl] ? Message-ID: <23092834-5842-4062-B973-7BD3269111E6@klankschap.nl> Heeft iemand inmiddels de setuptools al aan de praat gekregen voor osx 10.6 ? F From berco at media2b.net Wed Oct 14 16:20:28 2009 From: berco at media2b.net (Berco Beute) Date: Wed, 14 Oct 2009 16:20:28 +0200 Subject: [python-nl] =?utf-8?q?Python_baan_bij_Accept=C3=A9_in_Groningen?= Message-ID: Beste Pythonistas, Bij mijn werkgever Accept? (accepte.nl) in Groningen hebben we een (in mijn ogen) prachtige vacature voor een gepassioneerde Pythonista. Bedrijf ===== Met ongeveer zestig werknemers is Accept? een van de grootste IT bedrijven in Nederland waar Python het belangrijkste gereedschap is (alhoewel je dat aan de website niet af kunt lezen :). Er is dan ook geen gebrek aan interessante en uitdagende Python gerelateerde vraagstukken. Onder het merk Getlogic ontwikkelt Accept? weboplossingen voor de evenementenmarkt, en onder het merk Paylogic verkoopt ze een online, self-service ticketing oplossing. Met Paylogic zijn we ondertussen het op twee na grootste partij ticketing bedrijf en hard op weg om de grootste te worden. Daarnaast zijn we bezig met een uitbreiding naar het buitenland. Paylogic is een groot en complex online systeem waar hoge eisen aan gesteld worden. Baan ==== De vacature is voor een software ontwikkelaar in het Paylogic team. Hij of zij zal met name met Paylogic bezig zijn, maar af en toe ook met Getlogic opdrachten moeten uitvoeren. Kernwoorden van de baan: - Voltijds - Kantoor in het centrum van Groningen - Marktconform salaris - Samenwerking met een grote club (vaak zeer ervaren) Python ontwikkelaars - Zeer dynamische (en commerciele) omgeving - Gezellige werksfeer - Ruime voorraad complexe Python vraagstukken - Gebruik van met name open source technologien - TechTalks (onze eigen TED talks :) - Conferenties (PyGrun, de eerste Python conferntie in Groningen zijn we van plan te organiseren) - Moderne software ontwikkeltechnieken (agile, 1-click build & deploy, strak release beleid, continuous integration, gedistribueerd versiebeheer met gatekeepers, ) Een aantal tools/technieken waarmee je te maken zult krijgen: SQLAlchemy, Django, bazaar, buildbot, epydoc, py.test, mysql/postgres, database sharding/replication, cloud computing (amazon), virtualizatie, etc. Gezocht ====== Eigenlijk komt het erop neer dat wij een gepassioneerde en ervaren Pythonista zoeken die een open, positieve houding heeft en die graag complexe problemen te lijf gaat. Onze voorkeur gaat uit naar een hacker (wat een positieve titel is) die zich bewezen heeft in de open source gemeenschap in plaats van een programmeur met een 9 tot 5 mentaliteit. Mensen met kennis van/ervaring met het volgende hebben een streepje voor: - Grootschalige webapplicaties - High availability - Een breed scale aan Python gebasseerde tools (SQLAlchemy, Django, etc) - Werken in teamverband - Gedistribueerde systemen - Brede kijk op het vak software development Neem voor vragen contact met mij op of stuur direct je CV met motivatie. Stuur dit bericht gerust door aan iemand anders waarvan je denkt dat die geschikt is voor deze baan. Bedankt en vriendelijke groeten, Berco Beute Accept? berco.beute at accepte.nl From motoom at xs4all.nl Thu Oct 15 01:34:06 2009 From: motoom at xs4all.nl (Michiel Overtoom) Date: Thu, 15 Oct 2009 01:34:06 +0200 Subject: [python-nl] =?utf-8?q?Python_baan_bij_Accept=C3=A9_in_Groningen?= In-Reply-To: References: Message-ID: <200910150134.06868.motoom@xs4all.nl> On Wednesday 14 October 2009 16:20:28 Berco Beute wrote: > PyGrun, de eerste Python conferentie in Groningen Leuk! Waar gaat die plaatsvinden? In welk cafe? Groets, -- "The ability of the OSS process to collect and harness the collective IQ of thousands of individuals across the Internet is simply amazing." - Vinod Valloppillil http://www.catb.org/~esr/halloween/halloween4.html From reinout at vanrees.org Thu Oct 15 06:53:53 2009 From: reinout at vanrees.org (Reinout van Rees) Date: Thu, 15 Oct 2009 06:53:53 +0200 Subject: [python-nl] ? In-Reply-To: <23092834-5842-4062-B973-7BD3269111E6@klankschap.nl> References: <23092834-5842-4062-B973-7BD3269111E6@klankschap.nl> Message-ID: <2b52d5bf0910142153s24a80779g3adb2e03fbbfe56c@mail.gmail.com> 2009/10/15 Floris van Manen : > Heeft iemand inmiddels de setuptools al aan de praat gekregen voor osx 10.6 Een paar collega's werken daar al mee zonder dat ik geweeklaag hoor. Wat is bij jou het probleem? Er was een specifiek probleem met python 2.6.3. Of heeft 10.6 soms subversion 1.6? In alle gevallen kan je een "easy_install distribute" doen, die zegt dat 'ie setuptools is want dat is 'ie ook alleen dan met bugfixes. Als je buildout gebruikt nog even een paar uur wachten, dan is distribute 0.6.5 uit :-) Reinout -- Reinout van Rees - reinout at vanrees.org http://reinout.vanrees.org/ - http://www.thehealthagency.com "I can be googled, therefore I am." From vm at klankschap.nl Thu Oct 15 10:05:37 2009 From: vm at klankschap.nl (Floris van Manen) Date: Thu, 15 Oct 2009 10:05:37 +0200 Subject: [python-nl] ? In-Reply-To: <2b52d5bf0910142153s24a80779g3adb2e03fbbfe56c@mail.gmail.com> References: <23092834-5842-4062-B973-7BD3269111E6@klankschap.nl> <2b52d5bf0910142153s24a80779g3adb2e03fbbfe56c@mail.gmail.com> Message-ID: On Oct 15, 2009, at 06:53, Reinout van Rees wrote: > 2009/10/15 Floris van Manen : >> Heeft iemand inmiddels de setuptools al aan de praat gekregen voor >> osx 10.6 > > Een paar collega's werken daar al mee zonder dat ik geweeklaag hoor. > Wat is bij jou het probleem? > > Er was een specifiek probleem met python 2.6.3. Of heeft 10.6 soms > subversion 1.6? osx 10.6.2 python 2.6.3 het probleem wordt al uitgebreid op het internet beschreven, bibliotheken die niet gevonden kunnen worden. > > In alle gevallen kan je een "easy_install distribute" doen, die zegt > dat 'ie setuptools is want dat is 'ie ook alleen dan met bugfixes. dat helpt niet > Als je buildout gebruikt nog even een paar uur wachten, dan is > distribute 0.6.5 uit :-) ik wacht :-) F From reinout at vanrees.org Thu Oct 15 14:05:51 2009 From: reinout at vanrees.org (Reinout van Rees) Date: Thu, 15 Oct 2009 14:05:51 +0200 Subject: [python-nl] ? In-Reply-To: References: <23092834-5842-4062-B973-7BD3269111E6@klankschap.nl> <2b52d5bf0910142153s24a80779g3adb2e03fbbfe56c@mail.gmail.com> Message-ID: <2b52d5bf0910150505u32b65a44xa7c88524ef530c88@mail.gmail.com> 2009/10/15 Floris van Manen : > > python 2.6.3 Yep, da's het probleem. >> In alle gevallen kan je een "easy_install distribute" doen, die zegt >> dat 'ie setuptools is want dat is 'ie ook alleen dan met bugfixes. > > dat helpt niet ? juist het 2.6.3 probleem is gefixt door distribute. Wat gaat er mis? Heb je er een bug voor aangemaakt? (Tarek is *erg* snel met fixen als er een bug is). Reinout -- Reinout van Rees - reinout at vanrees.org http://reinout.vanrees.org/ - http://www.thehealthagency.com "I can be googled, therefore I am." From wichert at wiggy.net Thu Oct 15 14:12:44 2009 From: wichert at wiggy.net (Wichert Akkerman) Date: Thu, 15 Oct 2009 14:12:44 +0200 Subject: [python-nl] ? In-Reply-To: <2b52d5bf0910150505u32b65a44xa7c88524ef530c88@mail.gmail.com> References: <23092834-5842-4062-B973-7BD3269111E6@klankschap.nl> <2b52d5bf0910142153s24a80779g3adb2e03fbbfe56c@mail.gmail.com> <2b52d5bf0910150505u32b65a44xa7c88524ef530c88@mail.gmail.com> Message-ID: <4AD711BC.9050005@wiggy.net> On 10/15/09 14:05 , Reinout van Rees wrote: > 2009/10/15 Floris van Manen: >> >> python 2.6.3 > > Yep, da's het probleem. > >>> In alle gevallen kan je een "easy_install distribute" doen, die zegt >>> dat 'ie setuptools is want dat is 'ie ook alleen dan met bugfixes. >> >> dat helpt niet > > ? juist het 2.6.3 probleem is gefixt door distribute. Wat gaat er > mis? Heb je er een bug voor aangemaakt? (Tarek is *erg* snel met > fixen als er een bug is). FWIW je kan ook python 2.6.2 of 2.6.4c0 installeren. Dat was voor mij in ieder geval verreweg de makkstelijkste optie. Wichert. From gijs at pythonic.nl Thu Oct 15 18:08:23 2009 From: gijs at pythonic.nl (Gijs Molenaar) Date: Thu, 15 Oct 2009 18:08:23 +0200 Subject: [python-nl] python system administration In-Reply-To: <2b52d5bf0910142153s24a80779g3adb2e03fbbfe56c@mail.gmail.com> References: <23092834-5842-4062-B973-7BD3269111E6@klankschap.nl> <2b52d5bf0910142153s24a80779g3adb2e03fbbfe56c@mail.gmail.com> Message-ID: <96ECFDED-9113-4EBE-95AF-1624C89DEB38@pythonic.nl> Hallo iedereen, Ik ben momenteel bezig om wat beheertools te schrijven voor mijn server. Ik wil geautomatiseerd een user kunnen toevoegen, een svn aanmaken (of whatever), apache configureren, awstats configureren, dat soort dingen. Ik ben nu zelf allemaal tools aan het schrijven om dit te doen, maar ik begin het idee te krijgen dat ik het wiel opnieuw aan het uitvinden ben. Kent een van jullie een python library waarmee dit allemaal wat makkelijk wordt? Een soort van unix system admin module, zoiets als fabric is voor het deployen van je project. Het liefst dat je ook abstracter naar dit soort dingen kan kijken (zoals enable/ disable awstats). Ik zit al een tijdje te brouwsen maar kan niet echt iets vinden. Ik bedoel dan dingen als: * directories aanmaken * permissies goed zetten * permissies controleren * files copieren * string replace in files * losse commando's aanroepen * users aanmaken / verwijderen * user gegevens aanpassen * Bovenstaande punten dan weer groeperen * Groupen actieveren, deactiveren Ik kan het zelf maken, maar ik heb het idee dat meer mensen dit soort problemen hebben gehad. Het doet me een beetje aan zoiets als CFEngine denken. Ik kijk uit naar een antwoord, - Gijs Molenaar From janwijbrand at gmail.com Thu Oct 15 20:27:37 2009 From: janwijbrand at gmail.com (Jan-Wijbrand Kolman) Date: Thu, 15 Oct 2009 20:27:37 +0200 Subject: [python-nl] python system administration In-Reply-To: <96ECFDED-9113-4EBE-95AF-1624C89DEB38@pythonic.nl> References: <23092834-5842-4062-B973-7BD3269111E6@klankschap.nl> <2b52d5bf0910142153s24a80779g3adb2e03fbbfe56c@mail.gmail.com> <96ECFDED-9113-4EBE-95AF-1624C89DEB38@pythonic.nl> Message-ID: <5B8BF216-9FA2-4BE7-819C-1A423CD198C3@gmail.com> On Oct 15, 2009, at 18:08 PM, Gijs Molenaar wrote: > Ik ben momenteel bezig om wat beheertools te schrijven voor mijn > server. Ik wil geautomatiseerd een user kunnen toevoegen, een svn > aanmaken (of whatever), apache configureren, awstats configureren, > dat soort dingen. Ik ben nu zelf allemaal tools aan het schrijven om > dit te doen, maar ik begin het idee te krijgen dat ik het wiel > opnieuw aan het uitvinden ben. Kent een van jullie een python > library waarmee dit allemaal wat makkelijk wordt? Een soort van unix > system admin module, zoiets als fabric is voor het deployen van je > project. Het liefst dat je ook abstracter naar dit soort dingen kan > kijken (zoals enable/disable awstats). Ik zit al een tijdje te > brouwsen maar kan niet echt iets vinden. > > Ik bedoel dan dingen als: > * directories aanmaken > * permissies goed zetten > * permissies controleren > * files copieren > * string replace in files > * losse commando's aanroepen > * users aanmaken / verwijderen > * user gegevens aanpassen > * Bovenstaande punten dan weer groeperen > * Groupen actieveren, deactiveren > > Ik kan het zelf maken, maar ik heb het idee dat meer mensen dit > soort problemen hebben gehad. Het doet me een beetje aan zoiets als > CFEngine denken. Hhm, tja, het is geen Python, maar bij The Health Agency gebruiken we daar puppet[1] voor. Het kan alles wat je beschrijft en meer. Het biedt een zeer configureerbare en declaratieve manier van systeem-beheer. Al is de learning curve soms wat steil. Persoonlijk zou ik puppet zeker grondig bekijken. Zelf dingen bouwen (in Python!) is erg leuk, maar als er al een soepel draaiend wiel te vinden is, is het misschien handiger het niet zelf uit te vinden... Da's mijn 2 euro cent :-) Succes, groeten, jw [1] http://reductivelabs.com/products/puppet/ -- Jan-Wijbrand Kolman From gijs at pythonic.nl Thu Oct 15 21:16:53 2009 From: gijs at pythonic.nl (Gijs Molenaar) Date: Thu, 15 Oct 2009 21:16:53 +0200 Subject: [python-nl] python system administration In-Reply-To: <5B8BF216-9FA2-4BE7-819C-1A423CD198C3@gmail.com> References: <23092834-5842-4062-B973-7BD3269111E6@klankschap.nl> <2b52d5bf0910142153s24a80779g3adb2e03fbbfe56c@mail.gmail.com> <96ECFDED-9113-4EBE-95AF-1624C89DEB38@pythonic.nl> <5B8BF216-9FA2-4BE7-819C-1A423CD198C3@gmail.com> Message-ID: <4AD77525.1040705@pythonic.nl> Jan-Wijbrand Kolman wrote: > On Oct 15, 2009, at 18:08 PM, Gijs Molenaar wrote: >> Ik ben momenteel bezig om wat beheertools te schrijven voor mijn >> server. Ik wil geautomatiseerd een user kunnen toevoegen, een svn >> aanmaken (of whatever), apache configureren, awstats configureren, >> dat soort dingen. Ik ben nu zelf allemaal tools aan het schrijven om >> dit te doen, maar ik begin het idee te krijgen dat ik het wiel >> opnieuw aan het uitvinden ben. Kent een van jullie een python >> library waarmee dit allemaal wat makkelijk wordt? Een soort van unix >> system admin module, zoiets als fabric is voor het deployen van je >> project. Het liefst dat je ook abstracter naar dit soort dingen kan >> kijken (zoals enable/disable awstats). Ik zit al een tijdje te >> brouwsen maar kan niet echt iets vinden. >> >> Ik bedoel dan dingen als: >> * directories aanmaken >> * permissies goed zetten >> * permissies controleren >> * files copieren >> * string replace in files >> * losse commando's aanroepen >> * users aanmaken / verwijderen >> * user gegevens aanpassen >> * Bovenstaande punten dan weer groeperen >> * Groupen actieveren, deactiveren >> >> Ik kan het zelf maken, maar ik heb het idee dat meer mensen dit soort >> problemen hebben gehad. Het doet me een beetje aan zoiets als >> CFEngine denken. > > Hhm, tja, het is geen Python, maar bij The Health Agency gebruiken we > daar puppet[1] voor. > > Het kan alles wat je beschrijft en meer. Het biedt een zeer > configureerbare en declaratieve manier van systeem-beheer. Al is de > learning curve soms wat steil. Persoonlijk zou ik puppet zeker grondig > bekijken. Zelf dingen bouwen (in Python!) is erg leuk, maar als er al > een soepel draaiend wiel te vinden is, is het misschien handiger het > niet zelf uit te vinden... > > Da's mijn 2 euro cent :-) Top, dank je wel. Achteraf hoeft het eigenlijk ook niet perse python te zijn. Het leek me alleen erg makkelijk, omdat ik er dan van alles aan kan hangen. Nogmaals bedankt voor de tip! -- Gijs Molenaar http://gijs.pythonic.nl ------------- volgend deel ------------ Een niet-tekst bijlage is gescrubt... Naam: signature.asc Type: application/pgp-signature Grootte: 259 bytes Omschrijving: OpenPGP digital signature URL : From bram at bramd.nl Thu Oct 15 22:34:03 2009 From: bram at bramd.nl (Bram Duvigneau) Date: Thu, 15 Oct 2009 22:34:03 +0200 Subject: [python-nl] python system administration In-Reply-To: <5B8BF216-9FA2-4BE7-819C-1A423CD198C3@gmail.com> References: <23092834-5842-4062-B973-7BD3269111E6@klankschap.nl> <2b52d5bf0910142153s24a80779g3adb2e03fbbfe56c@mail.gmail.com> <96ECFDED-9113-4EBE-95AF-1624C89DEB38@pythonic.nl> <5B8BF216-9FA2-4BE7-819C-1A423CD198C3@gmail.com> Message-ID: <4AD7873B.4020901@bramd.nl> On 15-10-2009 20:27, Jan-Wijbrand Kolman wrote: > On Oct 15, 2009, at 18:08 PM, Gijs Molenaar wrote: >> Ik ben momenteel bezig om wat beheertools te schrijven voor mijn >> server. Ik wil geautomatiseerd een user kunnen toevoegen, een svn >> aanmaken (of whatever), apache configureren, awstats configureren, dat >> soort dingen. Ik ben nu zelf allemaal tools aan het schrijven om dit >> te doen, maar ik begin het idee te krijgen dat ik het wiel opnieuw aan >> het uitvinden ben. Kent een van jullie een python library waarmee dit >> allemaal wat makkelijk wordt? Een soort van unix system admin module, >> zoiets als fabric is voor het deployen van je project. Het liefst dat >> je ook abstracter naar dit soort dingen kan kijken (zoals >> enable/disable awstats). Ik zit al een tijdje te brouwsen maar kan >> niet echt iets vinden. >> [...] >> Ik kan het zelf maken, maar ik heb het idee dat meer mensen dit soort >> problemen hebben gehad. Het doet me een beetje aan zoiets als CFEngine >> denken. > > Hhm, tja, het is geen Python, maar bij The Health Agency gebruiken we > daar puppet[1] voor. > > Het kan alles wat je beschrijft en meer. Het biedt een zeer > configureerbare en declaratieve manier van systeem-beheer. Al is de > learning curve soms wat steil. Persoonlijk zou ik puppet zeker grondig > bekijken. Zelf dingen bouwen (in Python!) is erg leuk, maar als er al > een soepel draaiend wiel te vinden is, is het misschien handiger het > niet zelf uit te vinden... Puppet staat bij deze ook op mijn "moet ik eens bekijken" lijstje. Ik heb onlangs een fabfile gemaakt om een kale machine om te toveren tot de Django ready webserver zoals wij die vaak hebben. Veel gebruik van sed en andere enge tools. Fabric leek niet echt de perfecte tool om dit te doen, maar altijd nog stukken beter dan alles handmatig doen, zoals men dat al jaren deed. Bedankt voor de tip, Bram -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature URL: From vm at klankschap.nl Sun Oct 18 23:07:53 2009 From: vm at klankschap.nl (Floris van Manen) Date: Sun, 18 Oct 2009 23:07:53 +0200 Subject: [python-nl] ? Message-ID: <3C95A818-B8B3-44FD-BCD2-99C5AC0EA987@klankschap.nl> L.S. Een interessant gegeven voor de beheerders ? Door omstandigheden heb ik toevallig twee MBP met osx 10.6 waar python 2.6 op draait. Dus dacht ik op ??n van die machines python 3.1 te plaatsen. Om te kijken hoe het zit met de nodige aanpassingen en zo. De dmg van de python site gehaald, en ge?nstalleerd, staat erop. Maar er wordt nog steeds naar de vorige 2.6 versie gewezen. Als (eind)gebruiker is dat niet vanzelfsprekend. Je verwacht bij het installeren tenminste een vraag welke versie moet worden gebruikt... Ook is het niet triviaal waar je de oplossing moet gaan zoeken. Als zelfs google geen antwoord hoest, waar dan wel (behalve hier :-) Misschien toch handig om dit in op de python site ergens (prominent) te vermelden. Als je tenminste wilt dat mensen python 3.1 willen gaan gebruiken ... (Roept u maar voor de eenvoudige hints.) Floris From ronaldoussoren at mac.com Mon Oct 19 07:49:04 2009 From: ronaldoussoren at mac.com (Ronald Oussoren) Date: Mon, 19 Oct 2009 07:49:04 +0200 Subject: [python-nl] ? In-Reply-To: <3C95A818-B8B3-44FD-BCD2-99C5AC0EA987@klankschap.nl> References: <3C95A818-B8B3-44FD-BCD2-99C5AC0EA987@klankschap.nl> Message-ID: On 18 Oct, 2009, at 23:07, Floris van Manen wrote: > L.S. > > Een interessant gegeven voor de beheerders ? > Door omstandigheden heb ik toevallig twee MBP met osx 10.6 waar > python 2.6 op draait. > Dus dacht ik op ??n van die machines python 3.1 te plaatsen. > Om te kijken hoe het zit met de nodige aanpassingen en zo. > De dmg van de python site gehaald, en ge?nstalleerd, staat erop. > Maar er wordt nog steeds naar de vorige 2.6 versie gewezen. > > Als (eind)gebruiker is dat niet vanzelfsprekend. > Je verwacht bij het installeren tenminste een vraag welke versie > moet worden gebruikt... > Ook is het niet triviaal waar je de oplossing moet gaan zoeken. > Als zelfs google geen antwoord hoest, waar dan wel (behalve hier :-) > > Misschien toch handig om dit in op de python site ergens (prominent) > te vermelden. > Als je tenminste wilt dat mensen python 3.1 willen gaan gebruiken ... De readme van de 3.1 installer zegt al expliciet dat dit het geval is: NOTE: This package will by default not update your shell profile and will also not install files in /usr/local. Double-click Update Shell Profile at any time to make 3.1 the default Python. "Update Shell Profile" staat in "/Applications/Python 3.1". Er is gekozen om Python 3 niet vooraan op je pad te plaatsen omdat veel bestaande Python code niet zondermeer werkt met Python 3. Ronald > > (Roept u maar voor de eenvoudige hints.) > > Floris > > _______________________________________________ > Python-nl mailing list > Python-nl at python.org > http://mail.python.org/mailman/listinfo/python-nl -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3567 bytes Desc: not available URL: From tim at timmolendijk.nl Mon Oct 19 10:13:13 2009 From: tim at timmolendijk.nl (Tim Molendijk) Date: Mon, 19 Oct 2009 10:13:13 +0200 Subject: [python-nl] ? In-Reply-To: <3C95A818-B8B3-44FD-BCD2-99C5AC0EA987@klankschap.nl> References: <3C95A818-B8B3-44FD-BCD2-99C5AC0EA987@klankschap.nl> Message-ID: > > (Roept u maar voor de eenvoudige hints.) > Haha, bespeur ik hier ironie? ------------- volgend deel ------------ Een HTML-bijlage is gescrubt... URL: From vm at klankschap.nl Mon Oct 19 11:19:55 2009 From: vm at klankschap.nl (Floris van Manen) Date: Mon, 19 Oct 2009 11:19:55 +0200 Subject: [python-nl] ? In-Reply-To: References: <3C95A818-B8B3-44FD-BCD2-99C5AC0EA987@klankschap.nl> Message-ID: <6BF8554B-77BA-426A-A8E2-5169FD848D1A@klankschap.nl> On Oct 19, 2009, at 07:49, Ronald Oussoren wrote: > Double-click > Update Shell Profile at any time to make 3.1 the default Python. Ja die had ik gevonden, en geklikt, maar zonder merkbaar resultaat... F From vm at klankschap.nl Mon Oct 19 11:21:12 2009 From: vm at klankschap.nl (Floris van Manen) Date: Mon, 19 Oct 2009 11:21:12 +0200 Subject: [python-nl] ? In-Reply-To: References: <3C95A818-B8B3-44FD-BCD2-99C5AC0EA987@klankschap.nl> Message-ID: <395BF63A-3903-4696-86C9-E2E6B6C0F16B@klankschap.nl> On Oct 19, 2009, at 10:13, Tim Molendijk wrote: > (Roept u maar voor de eenvoudige hints.) > > Haha, bespeur ik hier ironie? geen leven zonder ironie :-) ;-) ,-) From ronaldoussoren at mac.com Mon Oct 19 11:56:56 2009 From: ronaldoussoren at mac.com (Ronald Oussoren) Date: Mon, 19 Oct 2009 11:56:56 +0200 Subject: [python-nl] ? In-Reply-To: <6BF8554B-77BA-426A-A8E2-5169FD848D1A@klankschap.nl> References: <3C95A818-B8B3-44FD-BCD2-99C5AC0EA987@klankschap.nl> <6BF8554B-77BA-426A-A8E2-5169FD848D1A@klankschap.nl> Message-ID: <163172112531795573213995132919280978981-Webmail@me.com> On Monday, October 19, 2009, at 11:19AM, "Floris van Manen" wrote: > >On Oct 19, 2009, at 07:49, Ronald Oussoren wrote: > >> Double-click >> Update Shell Profile at any time to make 3.1 the default Python. > >Ja die had ik gevonden, en geklikt, maar zonder merkbaar resultaat... Je moet na het draaien een nieuwe Terminal venster openen. Als het goed is staat /Library/Frameworks/Python.frameworks/Versions/3.1/bin dan vooraan in $PATH. Zou je als dat niet zo is een bug willen openen op bugs.python.org, dan kan ik niet vergeten om het probleem op te lossen voor een volgende release. Ronald > >F >_______________________________________________ >Python-nl mailing list >Python-nl at python.org >http://mail.python.org/mailman/listinfo/python-nl > > From vm at klankschap.nl Mon Oct 19 13:16:09 2009 From: vm at klankschap.nl (Floris van Manen) Date: Mon, 19 Oct 2009 13:16:09 +0200 Subject: [python-nl] ? In-Reply-To: <163172112531795573213995132919280978981-Webmail@me.com> References: <3C95A818-B8B3-44FD-BCD2-99C5AC0EA987@klankschap.nl> <6BF8554B-77BA-426A-A8E2-5169FD848D1A@klankschap.nl> <163172112531795573213995132919280978981-Webmail@me.com> Message-ID: <68E7240D-0FC5-42F1-B2ED-3FB00E07507C@klankschap.nl> On Oct 19, 2009, at 11:56, Ronald Oussoren wrote: > Je moet na het draaien een nieuwe Terminal venster openen. Als het > goed is staat /Library/Frameworks/Python.frameworks/Versions/3.1/bin > dan vooraan in $PATH. > dat staat er: PATH=/Library/Frameworks/Python.framework/Versions/3.1/bin:/Library/ Frameworks/Python.framework/Versions/2.6/bin:/usr/bin:/bin:/usr/sbin:/ sbin:/usr/local/bin:... maar vervolgens (na herstarten terminal): $ python Python 2.6.3 (r263:75184, Oct 2 2009, 07:56:03) [GCC 4.0.1 (Apple Inc. build 5493)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> From ronaldoussoren at mac.com Mon Oct 19 15:19:13 2009 From: ronaldoussoren at mac.com (Ronald Oussoren) Date: Mon, 19 Oct 2009 15:19:13 +0200 Subject: [python-nl] ? In-Reply-To: <68E7240D-0FC5-42F1-B2ED-3FB00E07507C@klankschap.nl> References: <3C95A818-B8B3-44FD-BCD2-99C5AC0EA987@klankschap.nl> <6BF8554B-77BA-426A-A8E2-5169FD848D1A@klankschap.nl> <163172112531795573213995132919280978981-Webmail@me.com> <68E7240D-0FC5-42F1-B2ED-3FB00E07507C@klankschap.nl> Message-ID: <3258808823785217461866212315850960739-Webmail@me.com> On Monday, October 19, 2009, at 01:16PM, "Floris van Manen" wrote: > >On Oct 19, 2009, at 11:56, Ronald Oussoren wrote: > >> Je moet na het draaien een nieuwe Terminal venster openen. Als het >> goed is staat /Library/Frameworks/Python.frameworks/Versions/3.1/bin >> dan vooraan in $PATH. >> > >dat staat er: > >PATH=/Library/Frameworks/Python.framework/Versions/3.1/bin:/Library/ >Frameworks/Python.framework/Versions/2.6/bin:/usr/bin:/bin:/usr/sbin:/ >sbin:/usr/local/bin:... > >maar vervolgens (na herstarten terminal): > >$ python >Python 2.6.3 (r263:75184, Oct 2 2009, 07:56:03) >[GCC 4.0.1 (Apple Inc. build 5493)] on darwin >Type "help", "copyright", "credits" or "license" for more information. > >>> Dat klopt, de interpreter heet "python3". En nu ik dat schrijf, ik kan dus gewoon zorgen dat het shell-profiel bij installatie al wordt aangepast, de namen van de geinstalleerde binaries conflicteren niet. Ronald > > > > >_______________________________________________ >Python-nl mailing list >Python-nl at python.org >http://mail.python.org/mailman/listinfo/python-nl > > From vm at klankschap.nl Mon Oct 19 15:28:20 2009 From: vm at klankschap.nl (Floris van Manen) Date: Mon, 19 Oct 2009 15:28:20 +0200 Subject: [python-nl] ? In-Reply-To: <3258808823785217461866212315850960739-Webmail@me.com> References: <3C95A818-B8B3-44FD-BCD2-99C5AC0EA987@klankschap.nl> <6BF8554B-77BA-426A-A8E2-5169FD848D1A@klankschap.nl> <163172112531795573213995132919280978981-Webmail@me.com> <68E7240D-0FC5-42F1-B2ED-3FB00E07507C@klankschap.nl> <3258808823785217461866212315850960739-Webmail@me.com> Message-ID: On Oct 19, 2009, at 15:19, Ronald Oussoren wrote: > Dat klopt, de interpreter heet "python3". En nu ik dat schrijf, ik > kan dus gewoon zorgen dat het shell-profiel bij installatie al wordt > aangepast, de namen van de geinstalleerde binaries conflicteren niet. en je hoeft kennelijk ook het script niet te draaien om het in het bin pad te zetten... $set PATH=/Library/Frameworks/Python.framework/Versions/2.6/bin:/usr/bin:/ bin:/usr/sbin:/sbin:/usr/local/bin:... $ python3 Python 3.1.1 (r311:74543, Aug 24 2009, 18:44:04) [GCC 4.0.1 (Apple Inc. build 5493)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> (of gaat het dan straks ergens anders toch nog mis?) F From vm at klankschap.nl Sat Oct 24 21:40:26 2009 From: vm at klankschap.nl (Floris van Manen) Date: Sat, 24 Oct 2009 21:40:26 +0200 Subject: [python-nl] ?? Message-ID: <9352C92F-2CFB-4D34-B629-52C28D3194BA@klankschap.nl> In de serie onverwachte momenten... Hoe kun je easy_install vertellen dat er onder OSX naar een meer recente versie van de SDK gekeken moet worden ? Compiling with an SDK that doesn't seem to exist: /Developer/SDKs/ MacOSX10.4u.sdk Please check your Xcode installation Onder xcode snow leopard is sprake van versie MacOSX10.6.sdk F