Shen video appeal - generating type secure Python

2013-08-16 Thread Mark Tarver
ology. with thanks Mark Tarver www.shenlanguage.org -- http://mail.python.org/mailman/listinfo/python-list

Re: a little parsing challenge ☺

2011-07-19 Thread Mark Tarver
On Jul 17, 8:47 am, Xah Lee wrote: > 2011-07-16 > > folks, this one will be interesting one. > > the problem is to write a script that can check a dir of text files > (and all subdirs) and reports if a file has any mismatched matching > brackets. > > • The files will be utf-8 encoded (unix style l

Re: Fascinating interview by Richard Stallman at KTH on emacs history and internals

2010-07-16 Thread Mark Tarver
On 15 July, 23:21, bolega wrote: > http://www.gnu.org/philosophy/stallman-kth.html > > RMS lecture at KTH (Sweden), 30 October 1986 > > (Kungliga Tekniska Högskolan (Royal Institute of Technology)) > Stockholm, Sweden > > Arranged by the student society > “Datorföreningen Stacken” > 30 October 198

Re: C interpreter in Lisp/scheme/python

2010-07-08 Thread Mark Tarver
On 14 June, 00:07, bolega wrote: > I am trying to compare LISP/Scheme/Python for their expressiveness. > > For this, I propose a vanilla C interpreter. I have seen a book which > writes C interpreter in C. > > The criteria would be the small size and high readability of the code. > > Are there alr

Re: the Python Foundation

2010-03-29 Thread Mark Tarver
On 24 Mar, 22:18, "Steve Holden, Chairman, PSF" wrote: > MarkTarver wrote: > >>From the website > > > The Python Software Foundation (PSF) is a 501(c)(3) non-profit > > corporation that > > holds the intellectual property rights behind the Python programming > > language. We manage the open source

the Python Foundation

2010-03-24 Thread Mark Tarver
>From the website The Python Software Foundation (PSF) is a 501(c)(3) non-profit corporation that holds the intellectual property rights behind the Python programming language. We manage the open source licensing for Python version 2.1 and later and own and protect the trademarks associated with P

Re: strange python scripting error

2009-07-25 Thread Mark Tarver
On 25 July, 10:30, Mark Tarver wrote: > On 24 July, 15:45, nn wrote: > > > > > > > On Jul 23, 7:03 pm, Dave Angel wrote: > > > > Mark Tarver wrote: > > > > I have a very strange error.  I have two test python files test.py and > > > >

Re: strange python scripting error

2009-07-25 Thread Mark Tarver
On 24 July, 15:45, nn wrote: > On Jul 23, 7:03 pm, Dave Angel wrote: > > > > > > > Mark Tarver wrote: > > > I have a very strange error.  I have two test python files test.py and > > > python.py which contain the following code > > > >

Re: strange python scripting error

2009-07-23 Thread Mark Tarver
On 23 July, 18:01, Dennis Lee Bieber wrote: > On Thu, 23 Jul 2009 08:48:46 -0700 (PDT), Mark Tarver > declaimed the following in > gmane.comp.python.general: > > > The only hint at a difference I can see is that my ftp program says > > the files are of unequal lengths.  t

Re: strange python scripting error

2009-07-23 Thread Mark Tarver
On 23 July, 18:01, Dennis Lee Bieber wrote: > On Thu, 23 Jul 2009 08:48:46 -0700 (PDT), Mark Tarver > declaimed the following in > gmane.comp.python.general: > > > I have a very strange error.  I have two test python files test.py and > > python.py which co

strange python scripting error

2009-07-23 Thread Mark Tarver
I have a very strange error. I have two test python files test.py and python.py which contain the following code #!/usr/bin/python print "Content-type: text/html" print print "" print "Hello, Linux.com!" print "" One file (test.py) works; you call it up and it shows a web page with Hello, Linux

scripting and uploading in Python

2009-05-26 Thread Mark Tarver
I've recently purchased a site on a Linux server which runs Python. Generally I'd like to bring myself up to speed on scripting in Python. Any good reads - dead tree or otherwise? One thing I need to learn is to be able to give folks the power to upload files onto their own disk space using pas

Re: unbinding a global variable in Python

2009-04-30 Thread Mark Tarver
On 30 Apr, 12:36, "Diez B. Roggisch" wrote: > Mark Tarver wrote: > > In Lisp this is done so > > >> (setq *g* 0) > > 0 > > >> *g* > > 0 > > >> (makunbound '*g*) > > *g* > > >> *g* > > error: unbound

unbinding a global variable in Python

2009-04-30 Thread Mark Tarver
In Lisp this is done so > (setq *g* 0) 0 > *g* 0 > (makunbound '*g*) *g* > *g* error: unbound variable How is this done in Python? Mark -- http://mail.python.org/mailman/listinfo/python-list

Re: how to coerce to a string in Python?

2009-04-28 Thread Mark Tarver
On 28 Apr, 19:58, Mark Tarver wrote: > How do you coerce an object to a string in Python? > > 123 --> "1 2 3" > [1,2,3] -> "[1,2,3]" etc > > Mark Ah , 'str' a pure guess but it worked. Mark -- http://mail.python.org/mailman/listinfo/python-list

how to coerce to a string in Python?

2009-04-28 Thread Mark Tarver
How do you coerce an object to a string in Python? 123 --> "1 2 3" [1,2,3] -> "[1,2,3]" etc Mark -- http://mail.python.org/mailman/listinfo/python-list

Re: python list handling and Lisp list handling

2009-04-25 Thread Mark Tarver
What is different is the concept of "all globals that > reference G".  For example: > > >>> a = [1, 2, 3] > >>> b = a > >>> a[0] = 0 > >>> print b > > [0, 2, 3] I see that Python had an id too ;). Mark -- http://mail.python.org/mailman/listinfo/python-list

Re: python list handling and Lisp list handling

2009-04-25 Thread Mark Tarver
On 25 Apr, 05:01, Carl Banks wrote: > On Apr 24, 8:19 am, Mark Tarver wrote: > > > > > > > This page says that Python lists are often flexible arrays > > >http://www.brpreiss.com/books/opus7/html/page82.html > > > but also says that their representation

Re: python list handling and Lisp list handling

2009-04-24 Thread Mark Tarver
On 24 Apr, 19:54, Arnaud Delobelle wrote: > Mark Tarver writes: > > Ah;  so this > > > def cons (x,y): > >   return [x] + y > > > is not accurate? > > Depends what you mean by accurate! > > in lisp, if you do: > >     (setq a '(1 2)) >

Re: python list handling and Lisp list handling

2009-04-24 Thread Mark Tarver
On 24 Apr, 17:19, Paul Rubin <http://phr...@nospam.invalid> wrote: > Mark Tarver writes: > > But are Python lists also indistinguishable from conventional > > Lisplists for list processing.   > > Forgot to add: you might look athttp://norvig.com/python-lisp.html >

python list handling and Lisp list handling

2009-04-24 Thread Mark Tarver
This page says that Python lists are often flexible arrays http://www.brpreiss.com/books/opus7/html/page82.html but also says that their representation is implementation dependent. As far as I see this should mean that element access in Python should run in constant time. Now if so this is a boo

Re: Python is slow

2008-06-08 Thread Mark Tarver
On 22 May, 17:14, cm_gui <[EMAIL PROTECTED]> wrote: > Python is slow.    Almost all of the web applications written in > Python are slow.   Zope/Plone is slow, sloow, so very slooow.  Even > Google Apps is not faster.   Neither is Youtube. > Facebook and Wikipedia (Mediawiki), written in PHP, are s

Lisp for the C21

2007-05-04 Thread Mark Tarver
QUOTE Python has readable syntax, a huge library, and bindings for what seems like every major in linux. Perl has CPAN. It seems with those languages if you want to do something all you have to do is import functionality from a library someone had written and use that. In lisp you'd have to "roll

Re: merits of Lisp vs Python

2006-12-08 Thread Mark Tarver
Kaz Kylheku wrote: > Mark Tarver wrote: > > I don't mind controversy - as long as there is intelligent argument. > > And since it involves Python and Lisp, well it should be posted to both > > groups. The Lispers will tend to say that Lisp is better for sure - > >

Re: merits of Lisp vs Python

2006-12-08 Thread Mark Tarver
Bill Atkins wrote: > "Mark Tarver" <[EMAIL PROTECTED]> writes: > > > How do you compare Python to Lisp? What specific advantages do you > > think that one has over the other? > > > > Note I'm not a Python person and I have no axes to grin

Re: merits of Lisp vs Python

2006-12-08 Thread Mark Tarver
Paul Rubin wrote: > "Mark Tarver" <[EMAIL PROTECTED]> writes: > > How do you compare Python to Lisp? What specific advantages do you > > think that one has over the other? > ><http://google.com/search?q=python+lisp&btnI=I'm+feeling+lucky>

merits of Lisp vs Python

2006-12-08 Thread Mark Tarver
How do you compare Python to Lisp? What specific advantages do you think that one has over the other? Note I'm not a Python person and I have no axes to grind here. This is just a question for my general education. Mark -- http://mail.python.org/mailman/listinfo/python-list

Re: Programming challenge: wildcard exclusion in cartesian products

2006-03-20 Thread Mark Tarver
Interesting. But you probably need to post this as a new message, since it is a distinctly different problem from the one driving this thread. Mark -- http://mail.python.org/mailman/listinfo/python-list

Re: Programming challenge: wildcard exclusion in cartesian products

2006-03-20 Thread Mark Tarver
Hi, You wrote into the Qilang News group with your problem. This is a solution in 17 lines of Qi for any n-product >= 2. It falls short of your complete requirement since it uses generate and then test, rather than interleaving the two. (define challenge Patterns N X -> (filter (/. Y (member Y