New user group: Rochester, MN, USA

2016-01-20 Thread Jonathan Hartley
http://www.meetup.com/PyRochesterMN First meeting planned for Thu 28th January 2016 -- Jonathan Hartley tart...@tartley.com +1 507-513-1101 -- https://mail.python.org/mailman/listinfo/python-list

Re: easy_install doesn't install non-package *.py file

2011-11-10 Thread Jonathan Hartley
Hey. I don't know the details, but your setup.py needs to use either the 'package_data' or the 'data_files' entry in the dict you pass to setup. These can specify files you want included in the sdist which aren't package files. There are many complications with using them though. One of them in

Re: leftover pyc files

2011-11-04 Thread Jonathan Hartley
Apologies for all my messasges appearing twice. I'm using google groups web ui and have no idea why it's doing that. I'll stop using it. -- http://mail.python.org/mailman/listinfo/python-list

Re: leftover pyc files

2011-11-04 Thread Jonathan Hartley
I like to install a Bash shell of some kind on windows boxes I work on, specifically so I can use shell commands like this, just like on any other operating system. Cywin works just fine for this. svn also has hooks, but sadly not a checkout hook: http://svnbook.red-bean.com/en/1.1/ch05s02.html

Re: leftover pyc files

2011-11-03 Thread Jonathan Hartley
This can be added to your project's .git/hooks/post-checkout: #!/usr/bin/env bash cd ./$(git rev-parse --show-cdup) find . -name '*.pyc' -exec rm '{}' ';' -- http://mail.python.org/mailman/listinfo/python-list

Re: leftover pyc files

2011-11-03 Thread Jonathan Hartley
This can be added to git as a post-checkout hook: In your project's .git/hooks/post-checkout: #!/usr/bin/env bash cd ./$(git rev-parse --show-cdup) find . -name '*.pyc' -exec rm '{}' ';' -- http://mail.python.org/mailman/listinfo/python-list

Re: leftover pyc files

2011-11-03 Thread Jonathan Hartley
A task like this is more suited to bash than Python: find . -name '*.pyc' -exec rm '{}' ';' -- http://mail.python.org/mailman/listinfo/python-list

Re: executing arbitrary statements

2011-10-03 Thread Jonathan Hartley
Fair points Steven. Thanks for further refining my initial refinement. :-) -- http://mail.python.org/mailman/listinfo/python-list

Re: executing arbitrary statements

2011-10-02 Thread Jonathan Hartley
On Saturday, October 1, 2011 8:06:43 AM UTC+1, Chris Rebert wrote: > On Fri, Sep 30, 2011 at 11:31 PM, Jason Swails wrote: > > I'm probably missing something pretty obvious, but I was wondering if there > > was a way of executing an arbitrary line of code somehow (such as a line of > > code based

Re: cause __init__ to return a different class?

2011-09-15 Thread Jonathan Hartley
Perhaps a more idiomatic way of achieving the same thing is to use a factory function, which returns instances of different classes: def PersonFactory(foo): if foo: return Person() else: return Child() Apologies if the code is messed up, I'm posting from Google g

Re: How to structure packages

2011-09-08 Thread Jonathan Hartley
On Thursday, September 8, 2011 1:29:26 AM UTC+1, Steven D'Aprano wrote: > Steven D'Aprano wrote: > > Other than that, is there any justification > for this rule? Any Java fans want to defend this? > > If "one class per file", why not "one method per class" too? Why is the > second rule any more si

Re: Can someone help please

2011-07-22 Thread Jonathan Hartley
Hey Billy. That may not be the important part of the code, but the many people giving up their free time to read it and help you don't know that. It's probably most helpful to give them a working example so as not to waste their time. Just sayin for future, is all. :-) Best regards, Jonathan -

Re: Can someone help please

2011-07-22 Thread Jonathan Hartley
Hey! Is Billy a responder, rather than the OP? Sorry then! My previous point is entirely nullified. -- http://mail.python.org/mailman/listinfo/python-list

Re: Functional style programming in python: what will you talk about if you have an hour on this topic?

2011-07-14 Thread Jonathan Hartley
On Jul 14, 4:32 am, Gregory Ewing wrote: > Anthony Kong wrote: > > So I have picked this topic for one of my presentation. It is because > > functional programming technique is one of my favorite in my bag  of python > > trick. > > I'm not sure it's a good idea to emphasise functional > programmi

Re: Functional style programming in python: what will you talk about if you have an hour on this topic?

2011-07-14 Thread Jonathan Hartley
On Jul 13, 1:39 pm, Anthony Kong wrote: > (My post did not appear in the mailing list, so this is my second try. > Apology if it ends up posted twice) > > Hi, all, > > If you have read my previous posts to the group, you probably have some idea > why I asked this question. > > I am giving a few

Re: lightweight way to create new projects from templates

2011-05-12 Thread Jonathan Hartley
Hey Chris, Thanks for the thoughts. I must confess I had already given up on a 'single file' approach, because I want to make it easy for people to create their own templates, so I have to handle copying a template defined by creating a new directory full of diles. If I'm already handling this

lightweight way to create new projects from templates

2011-05-11 Thread Jonathan Hartley
nt templates for applications than for libraries? For console apps vs GUI apps? What do you think of my choice of 'G{name}' for replaceable tags in the template? I wanted something that would not be valid Python, and would be unlikely to occur naturally in a project. Best regards,

Re: Development tools and practices for Pythonistas

2011-05-06 Thread Jonathan Hartley
.net/docs/pph/ Also, where I work we have tried many IDEs, but happily and productively use GVim and very little else, so don't feel you *have* to use an IDE. Best regards, Jonathan Hartley -- http://mail.python.org/mailman/listinfo/python-list

Re: Vectors

2011-04-25 Thread Jonathan Hartley
On Apr 20, 2:43 pm, Andreas Tawn wrote: > > Algis Kabaila writes: > > > > Are there any modules for vector algebra (three dimensional > > > vectors, vector addition, subtraction, multiplication [scalar > > > and vector]. Could you give me a reference to such module? > > > NumPy has array (and mat

Re: Efficient python 2-d arrays?

2011-01-18 Thread Jonathan Hartley
On Jan 17, 10:20 pm, Jake Biesinger wrote: > Hi all, > > Using numpy, I can create large 2-dimensional arrays quite easily. > > >>> import numpy > >>> mylist = numpy.zeros((1,2), dtype=numpy.int32) > > Unfortunately, my target audience may not have numpy so I'd prefer not to use > it. > >

Re: is py2exe still active ?

2010-12-08 Thread Jonathan Hartley
On Dec 8, 10:09 am, "Octavian Rasnita" wrote: > Hi Steve, > > I may put some stupid questions because I am very new to Python, but... I > heard about pypi/pip. Aren't all these Python libraries (like cxFreeze) > provided on a central archive where we can get them and also report the bugs > usin

Re: is py2exe still active ?

2010-12-08 Thread Jonathan Hartley
On Dec 8, 10:09 am, "Octavian Rasnita" wrote: > Hi Steve, > > I may put some stupid questions because I am very new to Python, but... I > heard about pypi/pip. Aren't all these Python libraries (like cxFreeze) > provided on a central archive where we can get them and also report the bugs > usin

Re: unittests with different parameters

2010-11-23 Thread Jonathan Hartley
On Nov 22, 11:38 am, Ulrich Eckhardt wrote: > Hi! > > I'm writing tests and I'm wondering how to achieve a few things most > elegantly with Python's unittest module. > > Let's say I have two flags invert X and invert Y. Now, for testing these, I > would write one test for each combination. What I

Re: Ways of accessing this mailing list?

2010-11-11 Thread Jonathan Hartley
On Nov 3, 9:27 pm, Ben Finney wrote: > Grant Edwards writes: > > On 2010-11-02, John Bond wrote: > > > My normal inbox is getting unmanageable, and I think I need to find > > > a new way of following this and other lists. > > > Point an NNTP client at new.gmane.org. > > Ditto, but the correct ho

Re: playful coding problems for 10 year olds

2010-11-02 Thread Jonathan Hartley
On Nov 1, 8:31 pm, Daniel Fetchinson wrote: > Hi folks, > > My niece is interested in programming and python looks like a good > choice (she already wrote a couple of lines :)) She is 10 and I > thought it would be good to have a bunch of playful coding problems > for her, stuff that she could cod

Re: OO and game design questions

2010-10-21 Thread Jonathan Hartley
On Oct 20, 12:11 pm, dex wrote: > On Oct 20, 12:25 pm, Jonathan Hartley wrote: > > > > > On Oct 18, 8:28 am, dex wrote: > > > > I'm building a turn based RPG game as a hobby. The design is becoming > > > increasingly complicated and confusing, a

Re: OO and game design questions

2010-10-21 Thread Jonathan Hartley
On Oct 20, 12:11 pm, dex wrote: > On Oct 20, 12:25 pm, Jonathan Hartley wrote: > > > > > On Oct 18, 8:28 am, dex wrote: > > > > I'm building a turn based RPG game as a hobby. The design is becoming > > > increasingly complicated and confusing, a

Re: OO and game design questions

2010-10-21 Thread Jonathan Hartley
On Oct 20, 12:11 pm, dex wrote: > On Oct 20, 12:25 pm, Jonathan Hartley wrote: > > > > > On Oct 18, 8:28 am, dex wrote: > > > > I'm building a turn based RPG game as a hobby. The design is becoming > > > increasingly complicated and confusing, a

Re: OO and game design questions

2010-10-20 Thread Jonathan Hartley
On Oct 20, 11:25 am, Jonathan Hartley wrote: > On Oct 18, 8:28 am, dex wrote: > > > > > I'm building a turn based RPG game as a hobby. The design is becoming > > increasingly complicated and confusing, and I think I may have > > tendency to over-engineer simp

Re: OO and game design questions

2010-10-20 Thread Jonathan Hartley
On Oct 18, 8:28 am, dex wrote: > I'm building a turn based RPG game as a hobby. The design is becoming > increasingly complicated and confusing, and I think I may have > tendency to over-engineer simple things. Can anybody please check my > problems-solutions and point me to more elegant solution?

Re: Hide DOS console for .pyc file

2010-09-13 Thread Jonathan Hartley
On Sep 11, 11:32 am, Lawrence D'Oliveiro wrote: > In message , Peter Otten wrote: > > > Lawrence D'Oliveiro wrote: > > >> In message > >> <3a2d194c-9b34-4b84-8680-28bdfb53b...@y3g2000vbm.googlegroups.com>, Muddy > >> Coder wrote: > > >>> For a quick testing purpose, I deliver .pyc files to my cust

Re: Printing the name of a variable

2010-09-10 Thread Jonathan Hartley
On Sep 9, 9:11 pm, Albert Hopkins wrote: > On Thu, 2010-09-09 at 12:43 -0700, Stephen Boulet wrote: > > Does an arbitrary variable carry an attribute describing the text in > > its name? I'm looking for something along the lines of: > > > x = 10 > > print x.name > > >>> 'x' > > > Perhaps the x.__g

Re: Why is there no platform independent way of clearing a terminal?

2010-07-28 Thread Jonathan Hartley
On Jul 28, 5:47 pm, Thomas Jollans wrote: > On 07/28/2010 06:01 PM, Jonathan Hartley wrote: > > > > > Oh, plus, while we're on this subject: > > > Am I right that curses in Python stdlib doesn't work on Windows, and > > there is currently no simple

Re: Why is there no platform independent way of clearing a terminal?

2010-07-28 Thread Jonathan Hartley
On Jul 28, 4:45 pm, Jonathan Hartley wrote: > On Jul 28, 8:08 am, Ulrich Eckhardt wrote: > > > > > Daniel Fetchinson wrote: > > > After getting the technicalities out of the way, maybe I should have > > > asked: > > > > Is it only me or oth

Re: Why is there no platform independent way of clearing a terminal?

2010-07-28 Thread Jonathan Hartley
On Jul 28, 8:08 am, Ulrich Eckhardt wrote: > Daniel Fetchinson wrote: > > After getting the technicalities out of the way, maybe I should have > > asked: > > > Is it only me or others would find a platform independent python API > > to clear the terminal useful? > > There are two kinds of programs

Re: Why is there no platform independent way of clearing a terminal?

2010-07-28 Thread Jonathan Hartley
On Jul 28, 8:08 am, Ulrich Eckhardt wrote: > Daniel Fetchinson wrote: > > After getting the technicalities out of the way, maybe I should have > > asked: > > > Is it only me or others would find a platform independent python API > > to clear the terminal useful? > > There are two kinds of programs

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-07 Thread Jonathan Hartley
On Jul 7, 8:22 pm, "Martin v. Loewis" wrote: > > I presume this problem would go away if future versions of Python > > itself were compiled on Windows with something like MinGW gcc. Also, > > this would solve the pain of Python developers attempting to > > redistribute py2exe versions of their pro

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-07 Thread Jonathan Hartley
attempting to redistribute py2exe versions of their programs (i.e. they have to own a Visual Studio license to legally be able to redistribute the required C runtime) I don't understand enough to know why Visual Studio was chosen instead of MinGW. Can anyone shed any light on that decision? Ma

Re: if, continuation and indentation

2010-05-28 Thread Jonathan Hartley
On 28/05/2010 11:34, Jean-Michel Pichavant wrote: Jonathan Hartley wrote: On May 27, 1:57 pm, Jean-Michel Pichavant wrote: HH wrote: I have a question about best practices when it comes to line wrapping/ continuation and indentation, specifically in the case of an if statement. When I

Re: if, continuation and indentation

2010-05-28 Thread Jonathan Hartley
On May 27, 1:57 pm, Jean-Michel Pichavant wrote: > HH wrote: > > I have a question about best practices when it comes to line wrapping/ > > continuation and indentation, specifically in the case of an if > > statement. > > > When I write an if statement with many conditions, I prefer to use a > >

Re: cross-platform coloured text in terminal

2010-04-19 Thread Jonathan Hartley
On Apr 17, 11:52 am, Jonathan Hartley wrote: > On Apr 16, 5:59 pm, Lie Ryan wrote: > > > > > On 04/16/10 19:28, Jonathan Hartley wrote: > > > > I'm playing with ideas of what API to expose. My favourite one is to > > > simply embed ANSI codes

Re: cross-platform coloured text in terminal

2010-04-17 Thread Jonathan Hartley
On Apr 16, 5:59 pm, Lie Ryan wrote: > On 04/16/10 19:28, Jonathan Hartley wrote: > > > I'm playing with ideas of what API to expose. My favourite one is to > > simply embed ANSI codes in the stream to be printed. Then this will > > work as-is on Mac and *nix. To make

Re: cross-platform coloured text in terminal

2010-04-16 Thread Jonathan Hartley
On Apr 16, 10:28 am, Jonathan Hartley wrote: > Hi, > > It irks me that I know of no simple cross-platform way to print > colored terminal text from Python. > > As I understand it, printing ANSI escape codes (as wrapped nicely by > module termcolor and others) works on Ma

cross-platform coloured text in terminal

2010-04-16 Thread Jonathan Hartley
Hi, It irks me that I know of no simple cross-platform way to print colored terminal text from Python. As I understand it, printing ANSI escape codes (as wrapped nicely by module termcolor and others) works on Macs and *nix, but only works on Windows if one has installed the ANSI.SYS device drive

Re: missing dll follow-up

2010-04-15 Thread Jonathan Hartley
On Apr 15, 12:11 pm, Jonathan Hartley wrote: > The installer puts the DLL in the directory C:\WINDOWS\WinSxS > (or at least it does for me, on WinXP) I shall update the py2exe > tutorial page to reflect this. Done. Final para of section 5.2.2 now reads: """ The installer

Re: missing dll follow-up

2010-04-15 Thread Jonathan Hartley
On Apr 15, 12:11 pm, Jonathan Hartley wrote: > Alex Hall wrote: > > The vcredist_x86 was, I thought, supposed to give me > > the dll, but it does not seem to have done so. > > The installer puts the DLL in the directory C:\WINDOWS\WinSxS > (or at least it does for me, on W

Re: missing dll follow-up

2010-04-15 Thread Jonathan Hartley
Alex Hall wrote: > The vcredist_x86 was, I thought, supposed to give me > the dll, but it does not seem to have done so. The installer puts the DLL in the directory C:\WINDOWS\WinSxS (or at least it does for me, on WinXP) I shall update the py2exe tutorial page to reflect this. Under that dir, th

Re: Creating a standalone application

2010-04-14 Thread Jonathan Hartley
On Apr 13, 10:42 pm, Lawrence D'Oliveiro wrote: > In message , Luis Quesada wrote: > > > I am getting an "expected string without null bytes" error when using > > cxfreeze for creating a standalone application (in Linux-Ubuntu). > > Why bother? Every decent Linux system will have Python available.

Re: Classes as namespaces?

2010-03-27 Thread Jonathan Hartley
On Mar 26, 6:26 pm, Luis M. González wrote: > On 26 mar, 11:49, kj wrote: > > > What's the word on using "classes as namespaces"?  E.g. > > > class _cfg(object): > >     spam = 1 > >     jambon = 3 > >     huevos = 2 > > > breakfast = (_cfg.spam, _cfg.jambon, _cfg.huevos) > > I see no problem. >

Re: python to exe

2010-03-14 Thread Jonathan Hartley
On Mar 13, 1:45 pm, pyt...@bdurham.com wrote: > Robin, > > > do you of an alternate compilter it doesn't work (py2exe) on my windows 7 > > box > > I can assure you that Py2exe does work on Windows 7 (my firm develops > commercial Python applications packaged using Py2exe running on Windows > 7), b

Re: py2exe deal with python command line inside a program

2010-01-24 Thread Jonathan Hartley
On Jan 22, 7:35 pm, susan_kij...@yahoo.ca wrote: > Hi, > > I need to create a python subprogress, like this: > myProcess = subprocess.Popen([sys.executable, 'C:\myscript.py'], >                                        env=env, stdin=subprocess.PIPE, >                                        stdout=su

Re: Is python not good enough?

2010-01-13 Thread Jonathan Hartley
On Jan 13, 9:06 am, ta...@mongo.net (tanix) wrote: > Well, as soon as they restore the braces to identify the code > blocks and provide the functionality of advanced statically > type languages, such as threads, async processing, all synchronization > primitives, garbage collection, events and GUI,

Re: Which version of MSVC?90.DLL's to distribute with Python 2.6 based Py2exe executables?

2010-01-01 Thread Jonathan Hartley
> the method involves editing python26.dll in order to remove > dependency references and then dropping msvcr90.dll in the same > directory as the py2exe produced executable. Clever idea Waldemar, thanks for that, but for the moment, using the dll as a win32 assembly (ie. with a manifest file, as

Re: Any way to use cProfile in a multi-threaded program?

2009-12-30 Thread Jonathan Hartley
On Dec 30, 3:00 pm, mk wrote: > I'm stumped; I read somewhere that one would have to modify Thread.run() >   method but I have never modified Python methods nor would I really > want to do it. > > Is there any way to start cProfile on each thread and then combine the > stats? > > Regards, > mk W

Re: Which version of MSVC?90.DLL's to distribute with Python 2.6 based Py2exe executables?

2009-12-29 Thread Jonathan Hartley
earlier, from the cheapest copy of Visual Studio I can lay my hands on. Thanks to everyone for their help on this, it's been plaguing me for ages. Jonathan Hartley Made of meat. http://tartley.com tart...@tartley.com +44 7737 062 225 twitter/skype: tartley -- http://mail.python.org/mailman/listinfo/python-list

Re: Which version of MSVC?90.DLL's to distribute with Python 2.6 based Py2exe executables?

2009-12-29 Thread Jonathan Hartley
On Dec 29, 2:24 pm, Jonathan Hartley wrote: > On Dec 27, 1:51 pm, pyt...@bdurham.com wrote: > > > > > Hi Martin, > > > > You'll need to include Microsoft.VC90.CRT.manifest and msvcr90.dll. > > > Thank you for your answers. From my research and testin

Re: Which version of MSVC?90.DLL's to distribute with Python 2.6 based Py2exe executables?

2009-12-29 Thread Jonathan Hartley
On Dec 27, 1:51 pm, pyt...@bdurham.com wrote: > Hi Martin, > > > You'll need to include Microsoft.VC90.CRT.manifest and msvcr90.dll. > > Thank you for your answers. From my research and testing on this topic: > > 1. Can I safely place these 2 files in the same folder as my Py2exe > generated EXE fi

Re: Which version of MSVC?90.DLL's to distribute with Python 2.6 based Py2exe executables?

2009-12-29 Thread Jonathan Hartley
On 27/12/2009 05:18, Stephen Hansen wrote: Jonathan Hartley mailto:tart...@tartley.com>> writes: These are non-technical users, so I'd rather send them a single executable that 'just works', [break] rather than asking them to install Python and then

Re: Which version of MSVC?90.DLL's to distribute with Python 2.6 based Py2exe executables?

2009-12-26 Thread Jonathan Hartley
On Dec 26, 3:14 pm, Ross Ridge wrote: > Jonathan Hartley   wrote: > > >Am I right to infer that if I want to distribute a py2exe'd > >application legally, and have half a chance of it working on a non- > >developer's machine, then I have to: > &

Re: Which version of MSVC?90.DLL's to distribute with Python 2.6 based Py2exe executables?

2009-12-24 Thread Jonathan Hartley
On Dec 21, 2:56 pm, Ross Ridge wrote: > Jonathan Hartley   wrote: > > >Many thanks for that, but my issue is that my programs work fine for > >me on my computer - but then fail on other people's computers. I'd > >very strongly prefer for my user

Re: Which version of MSVC?90.DLL's to distribute with Python 2.6 based Py2exe executables?

2009-12-21 Thread Jonathan Hartley
On Dec 17, 11:16 pm, Mark Hammond wrote: > On 18/12/2009 7:44 AM, Ross Ridge wrote: > > > The "P" DLL is for C++ and so the original poster may not actually need > > it.  I'm pretty sure Python itself doesn't need it, and py2exe shouldn't > > either, but wxPython, or more precisely wxWidgets, almo

Re: Which version of MSVC?90.DLL's to distribute with Python 2.6 based Py2exe executables?

2009-12-21 Thread Jonathan Hartley
On Dec 17, 8:39 pm, Christian Heimes wrote: > Jonathan Hartley wrote: > > Only this week I sent a py2exe-derived executable to someone else (a > > non-developer) and it would not run on their WinXP machine ("'The > > system cannot execute the specified pr

Re: Which version of MSVC?90.DLL's to distribute with Python 2.6 based Py2exe executables?

2009-12-17 Thread Jonathan Hartley
On Dec 17, 5:36 pm, Ross Ridge wrote: > wrote: > >Does anyone have any recommendations on which version of the > >MSVC?90.DLL's need to be distributed with a Python 2.6.4 PY2EXE (0.6.9) > >based executable? (I assume I need just a matching pair of MSVCR90.DLL > >and MSVCP90.DLL?) > > Either the o

Re: Python without wrapper script

2009-12-03 Thread Jonathan Hartley
On Dec 3, 3:13 pm, Jonathan Hartley wrote: > On Dec 2, 4:12 pm, Ulrich Eckhardt wrote: > > > > > eric.frederich wrote: > > > Is there a way to set up environment variables in python itself > > > without having a wrapper script. > > > Yes, sure, you

Re: Python without wrapper script

2009-12-03 Thread Jonathan Hartley
On Dec 2, 4:12 pm, Ulrich Eckhardt wrote: > eric.frederich wrote: > > Is there a way to set up environment variables in python itself > > without having a wrapper script. > > Yes, sure, you can set environment variables... > > > The wrapper script is now something like > > > #!/bin/bash > > >

Re: Anything equivalent to cassert in C++?

2009-11-27 Thread Jonathan Hartley
On Nov 26, 6:08 pm, Jean-Michel Pichavant wrote: > Peng Yu wrote: > > There are some assertion code (testing if a condition is false, if it > > is false, raise an Error object) in my python, which is useful when I > > test my package.  But such case would never occur when in the produce > > code.

Re: IDE for python

2009-11-16 Thread Jonathan Hartley
On Nov 16, 5:09 am, sturlamolden wrote: > On 15 Nov, 18:09, Peng Yu wrote: > > > There had been some discussion on IDE. But I'm not sure what pros and > > cons of each choice. Current, I'm using vim and ctags. > > > Could somebody give some advices on choosing the best IDE for me? > > There is a

Re: Vote on PyPI comments

2009-11-15 Thread Jonathan Hartley
comments system at all. Can comments accrue which complain about bugs or missing features of old versions of the package? If so, they could be misleading for users coming to view a package before trying it. Or do comments and ratings only apply to a particular version of a package, and get removed from the package's 'front page' every time a new version is released? Thanks, Jonathan Hartley -- http://mail.python.org/mailman/listinfo/python-list

Re: bootstrapping on machines without Python

2009-11-14 Thread Jonathan Hartley
On Nov 13, 10:25 pm, mma...@gmx.net wrote: > On Fri, 13 Nov 2009 02:40:28 -0800 (PST) > > Jonathan Hartley wrote: > > Even my very limited understanding of the issues is enough to see that > > the idea is far from trivial. Thanks heaps for the input from everyone. Mart

Re: bootstrapping on machines without Python

2009-11-14 Thread Jonathan Hartley
On Nov 13, 1:57 pm, Tim Golden wrote: > Jonathan Hartley wrote: > > While examining py2exe et al of late, my thoughts keep returning to > > the idea of writing, in C or similar, a compiled stand-alone > > executable 'bootstrapper', which: > > 1) downloads and

bootstrapping on machines without Python

2009-11-13 Thread Jonathan Hartley
While examining py2exe et al of late, my thoughts keep returning to the idea of writing, in C or similar, a compiled stand-alone executable 'bootstrapper', which: 1) downloads and install a Python interpreter if none exists 2) runs the application's Python source code using this interpreter. An ap

Re: comparing alternatives to py2exe

2009-11-12 Thread Jonathan Hartley
On Nov 10, 1:34 pm, Philip Semanchuk wrote: > On Nov 9, 2009, at 9:16 PM, Gabriel Genellina wrote: > > > > > En Fri, 06 Nov 2009 17:00:17 -0300, Philip Semanchuk > > escribió: > >> On Nov 3, 2009, at 10:58 AM, Jonathan Hartley wrote: > > >>> Re

comparing alternatives to py2exe

2009-11-03 Thread Jonathan Hartley
Hi, Recently I put together this incomplete comparison chart in an attempt to choose between the different alternatives to py2exe: http://spreadsheets.google.com/pub?key=tZ42hjaRunvkObFq0bKxVdg&output=html Columns represent methods of deploying to end-users such that they don't have to worry abo

Re: file system iteration

2006-10-09 Thread Jonathan Hartley
' /proc' type complexities by not doing anything to walked directories that '/proc' type entries cannot deal with. I think (no sarcasm intended) the point of offering a directory-like interface to '/proc' was so one can perform directory-like operations on