ology.
with thanks
Mark Tarver
www.shenlanguage.org
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
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
>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
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
> > > >
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
>
> > >
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
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
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
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
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
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
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 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
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
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
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))
>
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
>
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
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
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
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 -
> >
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
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>
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
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
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
29 matches
Mail list logo