Christopher,
I've found myself doing the same thing. You could do something like this:
blah = type('Struct', (), {})()
blah.some_field = x
I think I'd only do this if I needed to construct objects at runtime
based on information that I don't have at compile time, since the two
lines of code for
']
ips_new = []
for ip in ips:
if '255' not in ip:
ips_new.append(ip)
print ips_new
Or this:
ips_new = [ip for ip in ips if '255' not in ip]
print ips_new
Hope this helps,
Alan McIntyre
http://www.esrgtech.com
rbt wrote:
Either I'm crazy and I'm missi
Wow, that's cool; I'd never seen that before. :) Thanks, Steve..
Steve Holden wrote:
You are modifying the list as you iterate over it. Instead, iterate over
a copy by using:
for ip in ips[:]:
...
regards
Steve
--
http://mail.python.org/mailman/listinfo/python-list
Steve,
Yeah, in this particular application the ordering and reoccurrence of a
value in a non-contiguous way does matter; if those two things weren't
required I think the method you suggested would be a good way to remove
the duplicates.
Thanks!
Coates, Steve (ACHE) wrote:
It's not _exactly_ wh
occurrences of groups of the same item.
If I didn't need those two qualities of the list to be preserved,
though, I think I'd use something like your solution (if I was using a
Python older than 2.3) or Steve Coats' solution posted above using Set.
Thanks!
Alan
Tony wrote:
Here is
Alex,
Wow, that method turns out to be the fastest so far in a simple
benchmark on Python2.3 (on my machine, of course, YMMV); it takes 14%
less time than the one that I deemed most straightforward. :)
Thanks,
Alan
Alex Martelli wrote:
H, what role does the enumeration play here? I don
mple:
>>> struct.unpack('f', '\x00\x00(B')
(42.0,)
Hope this helps,
Alan
Earl Eiland wrote:
I'm trying to process the IP packet length field, as recorded by pcap
(Ethereal) and recovered using pcapy. When I slice out those bytes, I
get a value that shows in '\
riables
aren't typed anyway.
So I am curious as to why anyone would feel the need to introduce
these kinds of notational features into Python. What is the
problem that you are trying to solve?
--
Alan G
Author of the Learn to Program web tutor
http://www.freenetpages.co.uk/hp/alan.gauld
--
http://mail.python.org/mailman/listinfo/python-list
re! I certainly didn't find
us rewriting Lisp code rather than enhancing what was there,
and Lisp shares much of Python's approach to life.
--
Alan G
Author of the Learn to Program web tutor
http://www.freenetpages.co.uk/hp/alan.gauld
--
http://mail.python.org/mailman/listinfo/python-list
n cinema.
get-orff-moy-lahnd-ly y'rs
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
7;Type 4 numbers separated by spaces: ')
numbers = [int(n) for n in line.split(' ')]
HTH,
Alan G.
--
http://mail.python.org/mailman/listinfo/python-list
ns as to where to start with these two? Does
anybody have other solutions to suggest?
Alan.
--
http://mail.python.org/mailman/listinfo/python-list
Ric Da Force wrote:
> Hi guys,
>
> Thank you all for your input! It was good to see so much convergence in the
> approach!
Just for divergence, you can also do this with regular expressions:
>>> import re
>>> re.sub("(.*),(.*)", r"\1 and\2&quo
...
> >>> items.index(Key(lambda x: x[2] == 20))
> 1
Neat solution.
I'd add an extra kind of Key, since finding tuples where a given
position is equal to a given value seems to be the common case:
>>> class EqualKey(Key):
... def __init__(self, pos, val):
...
ion?
B: Use one that's already been written?
If the answer is the latter, I recommend you take a look at PyLinda.
PyLinda - Distributed Computing Made Easy
http://www-users.cs.york.ac.uk/~aw/pylinda/
--
alan kennedy
------
email
Alan Green wrote:
> I am writing a Python script that uses the win32all winsound package to
> play a .wav file. I [need] the sound come out of the left hand speaker, but
> not the right hand speaker.
I eventually got out ctypes and used it to access the Windows
multi-media libraries.
/basic/hwbapy01.mspx
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
How to talk between the
PC and the JBus instrument-manager" rather than "How to talk between the
PC and JBus instruments". Depending on the protocol used by the
"instrument-manager", you may be able to use python to control that.
HTH,
--
alan kennedy
-
b = openBrowser()
> b.goToUrl(url)
> return True
>
def goToGoogle():
import webbrowser
webbrowser.open("www.google.com");
Alan
--
http://mail.python.org/mailman/listinfo/python-list
http://starship.python.net/crew/theller/py2exe/ to convert into a native
executable. Of course this depends on whether your question was intended
as "how can people run some python script", or "how can people run my
python script".
Alan
--
http://mail.python.org/mailman/listinfo/python-list
-is-in-the-eye-of-the-beholder-ly y'rs
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
grad thesis in
1988, but when I realised the complexity of the problem, I picked a
hypertext project instead ;-)
http://en.wikipedia.org/wiki/Occam_programming_language
IMHO, python generators (which BTW are implemented with a JVM goto
instruction in jython 2.2) are a ni
t.txt")
>
> My error message is:
> AttributeError: 'module' object has no attribute 'command'
>
> I also could not find os.command in the help files. My Python version
> is 2.4 (latest is 2.4.1, just a bug-fix release).
>
I imagine thats was a t
p JSON strings, which
means that you cannot be strict about things like double (") vs. single
(') quotes, etc.
JSON is so simple, I think it best to write a tokeniser and parser for
it, either using a parsing library, or just coding your own.
--
alan kennedy
--
Why on earth was this cross-posted to comp.lang.c.? Followups set.
On Mon, 29 Aug 2005 12:26:11 GMT, [EMAIL PROTECTED] wrote:
>In comp.lang.perl.misc Mike Meyer <[EMAIL PROTECTED]> wrote:
>> [EMAIL PROTECTED] writes:
>>> In comp.lang.perl.misc John Bokma <[EMAIL PROTECTED]> wrote:
Chris Head
On Fri, 26 Aug 2005 16:47:10 GMT, Chris Head <[EMAIL PROTECTED]>
wrote:
>This point I agree with. There are some situations - 'net cafes included
>- - where thick e-mail clients don't work. Even so, see below.
I use Portable Thunderbird, on a USB memory stick. All I need is a USB
port and an inte
"revision_text\t%s" % new_page.revision_text
print
if __name__ == "__main__":
parser = xml.sax.make_parser()
parser.setContentHandler(page_matcher(page_handler))
parser.setFeature(xml.sax.handler.feature_namespaces, 0)
parser.feed(testdoc)
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
HTH,
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
[Alan Kennedy]
>>SAX is perfect for the job. See code below.
[Fredrik Lundh]
> depends on your definition of perfect...
Obviously, perfect is the eye of the beholder ;-)
[Fredrik Lundh]
> using a 20 MB version of jog's sample, and having replaced
> the print statements
On 29 Aug 2005 21:12:13 GMT, John Bokma <[EMAIL PROTECTED]> wrote:
>> Now, go away. And please, stay away.
>
>Like I already said, it doesn't work that way.
Goodbye, John. Filters set.
--
Al Balmer
Balmer Consulting
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
he review, and the "Python Powered" logo
is right there for all to see).
Congratulations!
Unfortunately, PCW don't seem to have made the review available online
(yet), so I can't provide a URL. Maybe someone else will have more
success finding a URL?
thought-ye'd-like-to-know-ly'
On Tue, 30 Aug 2005 11:30:19 GMT, [EMAIL PROTECTED] wrote:
>In comp.lang.perl.misc John Bokma <[EMAIL PROTECTED]> wrote:
>> Alan Balmer <[EMAIL PROTECTED]> wrote:
>
>>> On 29 Aug 2005 21:12:13 GMT, John Bokma <[EMAIL PROTECTED]> wrote:
>
>>>&
[Alan Kennedy]
>> (PCW, for those who don't know it, is sort of the UK's equivalent
>> of Byte Magazine,except that it's still publishing after almost 25
>> years).
[Paul Boddie]
> Hmmm. Even Byte at its lowest point was far better than PCW ever was.
Wel
[Alan Kennedy]
>> ... PCW ran a story this time last year
>> about Michael Sparks, python and python's use in the BBC's future
>> distribution plans for digital TV.
[Paul Boddie]
> Well, I didn't even notice the story! ;-)
Here's the message I posted h
[Alan Kennedy]
>>IMHO, there is a great opportunity here for the python community:
>
> [...]
>
>>Surely that's worth a simple team name, for mnemonic purposes
>>if nothing else. Something different or unusual, like one of my
>>favourites, "Legion of
On 1 Sep 2005 03:51:55 -0700, "Xah Lee" <[EMAIL PROTECTED]> wrote:
>On Python's Documentation
Thinking about it, I can't imagine why I've waited so long to filter
this idiot.
--
Al Balmer
Balmer Consulting
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
llection.
Read this thread to see what Matz has to say about threading in Ruby.
http://groups.google.com/group/comp.lang.ruby/msg/dcf5ca374e6c5da8
One of these years I'm going to have to set aside a month or two to go
through and understand the cpython interpreter code, so that I
sourceforge.net
Xpath tutorials from here
http://www.zvon.org/xxl/XPathTutorial/General/examples.html
http://www.w3schools.com/xpath/
there-are-other-ways-to-do-it-but-i-like-xpath-ly'yrs,
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
still aren't 100% stable.
http://www.djangoproject.com/screencasts/model_syntax_change/
--
alan kennedy
------
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
nes I've written
for custom projects - in C or PL/1, it has been necessary to
perform very high speed operations on highly compressed binary
structures - which is not Python's forte.
You might be able to put a Python interface over an engine written
in another language.
Alan
--
http://mail.python.org/mailman/listinfo/python-list
"Alan Meyer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
...
> I stand ready to be corrected, but I think Python would not be a
> good language for writing search engines. In the ones I've written
> for custom projects - in C or PL/1, it has been ne
k/hp/alan.gauld/tutdbms.htm
As in the rest of my tutorial it's aimed at those with
no experience in databases and limited Python experience
(basically the earlier bit of my tutor!). It attempts to
teach enough to make other more complete tutorials
accessible.
Hopefully it will be useful
--
a way around this??
If you must do this then I'd suggest you need to launch a
separate
thread per shell then use commands/subprocess to launch each
interpreter/script invocation from within its own thread.
[ If you are not interested in the results you could just use
the Unix '&'
Thanks to everybody that responded; I appreciate all the input, even if
I didn't respond to all of it individually. :)
--
http://mail.python.org/mailman/listinfo/python-list
Hope this helps,
Alan McIntyre
ESRG LLC
http://www.esrgtech.com
--
http://mail.python.org/mailman/listinfo/python-list
"tuple space", where objects live. The objects
can be located and sent messages. But (Py)Linda hides most of gory
details of how objects actually get distributed, and the mechanics of
actually connecting with those remote objects.
http://www-users.cs.york.ac.uk/~aw
?
If I remeber correctly I used to type "Wait 10" and QBasic waits
10 seconds before proceeding to next command.
Ahh, a simple question! :-)
import time
time.sleep(10.0)
HTH,
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
gards,
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
[Alan Kennedy]
What I find particularly intriguing is the JSON-RPC protocol, which
looks like a nice lightweight alternative to XML-RPC.
http://oss.metaparadigm.com/jsonrpc/
Also interesting is the browser embeddable JSON-RPC client written in
javascript, for which you can see a demo here
http
[Irmen de Jong]
>>> I need a fast and safe (secure) marshaler.
[Alan Kennedy]
>> , would something JSON be suitable for your need?
>>
>> http://json.org
[Irmen de Jong]
> Looks very interesting indeed, but in what way would this be
> more secure than say, pickl
uperb tools.
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
acronym right?-) It seems that VSS provides viRTual
source-safety...
In my circles, VSS is most often referred to as Visual Source Unsafe.
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
[Alan Kennedy]
>> Well, the python JSON codec provided appears to use eval, which might
>> make it *seem* unsecure.
>>
>> http://www.json-rpc.org/pyjsonrpc/index.xhtml
>>
>> But a more detailed examination of the code indicates, to this reader
>> at le
d think of.
Hope this helps,
Alan McIntyre
ESRG LLC
http://www.esrgtech.com
Cyril BAZIN wrote:
Hello,
I want to build a function which return values which appear two or
more times in a list:
So, I decided to write a little example which doesn't work:
#l = [1, 7, 3, 4, 3, 2, 1]
#i = iter(l)
#for
nds promising!
Well, I'm always dubious of OSS projects that don't even have any bugs
reported, let alone fixed: no patches submitted, etc, etc.
http://sourceforge.net/tracker/?group_id=82591
Though maybe I'm missing something obvious?
--
alan kennedy
--
4
and "mega" is 1024*1024 and so forth...
Maybe you missed these?
http://en.wikipedia.org/wiki/Kibibyte
http://en.wikipedia.org/wiki/Mebibyte
http://en.wikipedia.org/wiki/Gibibyte
kilo-mega-giga-etc-should-be-powers-of-10-ly y'rs,
--
alan kennedy
--
I tried this:
>>>class test(object):
... def __call1(self):
... print 1
... __call__ = __call1
...
>>>t = test()
>>>t()
1
>>>
Is that what you were looking for?
--
Alan McIntyre
ESRG LLC
http://www.esrgtech.com
Stefan Behnel wrote:
Hi!
This
questions being asked a *second* time without some
form of reasonable answer .
As already mentioned by another poster, have you considered using ODBC?
There are several python ODBC implementations.
HTH,
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
[John Fabiani]
> Since this is (sort of) my second request it must not be an easy
> solution. Are there others using Python to connect MsSQL?
[jdonnell]
http://sourceforge.net/projects/mysql-python
Note that "MsSQL" != "My
Thanks; I didn't read close enough. :)
--
Alan McIntyre
ESRG LLC
http://www.esrgtech.com
Michael Hoffman wrote:
Alan McIntyre wrote:
>>>class test(object):
...def __call1(self):
...print 1
...__call__ = __call1
Is that what you were looking for?
That still only allo
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/65203
HTH,
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
t .
It's no wonder the spammers can ply their trade with such ease.
grumpily-y'rs,
--
alan kennedy
------
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
Is there a canonical way of iterating over the lines of a file that
are null-separated rather than newline-separated? Sure, I can
implement my own iterator using read() and split(), etc., but
considering that using "find -print0" is so common, it seems like
there should be a more cannonical way.
Christopher De Vries <[EMAIL PROTECTED]> writes:
> I'm not sure if there is a canonical method, but I would
> recommending using a generator to get something like this, where 'f'
> is a file object:
Thanks for the generator. It returns an extra blank line at the end
when used with "find -print0"
Okay, here's the definitive version (or so say I). Some good doobie
please make sure it makes its way into the standard library:
def fileLineIter(inputFile, newline='\n', leaveNewline=False, readSize=8192):
"""Like the normal file iter but you can set what string indicates newline.
You can
I wrote:
> Okay, here's the definitive version (or so say I). Some good doobie
> please make sure it makes its way into the standard library:
Oops, I just realized that my previously definitive version did not
handle multi-character newlines. So here is a new definition
version. Oog, now my br
different answers I'm getting?
FWIW the behaviour I expected was what seems to happen inside
the for loop... It seems to somehow be related to the
last value in the range(), am I somehow picking that up as y?
If so why? Or is that just a coincidence? And why did it work
inside the for loop?
On Sun, 27 Feb 2005 09:07:28 + (UTC), Alan Gauld
<[EMAIL PROTECTED]> wrote:
> >>> adds = [lambda y: (y + n) for n in range(10)]
> >>> adds[0](0)
> 9
> >>> for n in range(5): print adds[n](42)
> ...
> 42
> 43
> the for loop... It seem
ion. I
just forgot the default argument trick! And then confused myself
by coincidentally using n both inside and outside the LC, thus
apparently getting inconsistent results!
Thanks again,
Alan G.
Author of the Learn to Program website
http://www.freenetpages.co.uk/hp/alan.gauld
--
http://mail.python.org/mailman/listinfo/python-list
t into
either a Canvas or a Text widget.
> Any help or sample code would be much appreciated.
If you find the file hmgui.zip on Useless Python you will find
the code for my games framework with an example Hangman game in
Tkinter. It includes the display of a set of images(the hanged
man)
HTH
While writing a generator, I was just thinking how Python needs a
"yield_all" statement. With the help of Google, I found a
pre-existing discussion on this from a while back in the Lightweight
Languages mailing list. I'll repost it here in order to improve the
chances of this enhancement actually
I wrote:
> Oops, I just realized that my previously definitive version did not
> handle multi-character newlines. So here is a new definitive
> version. Oog, now my brain hurts:
I dunno what I was thinking. That version sucked! Here's a version
that's actually comprehensible, a fraction of th
Andrew Dalke <[EMAIL PROTECTED]> writes:
> On Mon, 28 Feb 2005 18:25:51 -0500, Douglas Alan wrote:
>> While writing a generator, I was just thinking how Python needs a
>> "yield_all" statement. With the help of Google, I found a
>> pre-existing discus
"Terry Reedy" <[EMAIL PROTECTED]> writes:
> Cetainly, if iterator> == , I don't see how anything
> is gained except for a few keystrokes.
What's gained is making one's code more readable and maintainable,
which is the one of the primary reasons that I use Python.
|>oug
--
http://mail.python.or
"John Machin" <[EMAIL PROTECTED]> writes:
>>lines = (partialLine + charsJustRead).split(newline)
> The above line is prepending a short string to what will typically be a
> whole buffer full. There's gotta be a better way to do it.
If there is, I'm all ears. In a previous post I provide
Duncan Booth <[EMAIL PROTECTED]> writes:
> Douglas Alan wrote:
>> "Terry Reedy" <[EMAIL PROTECTED]> writes:
>>> Cetainly, if >> iterator> == , I don't see how anything
>>> is gained except for a few keystrokes.
>> What'
Francis Girard <[EMAIL PROTECTED]> writes:
> Therefore, the suggestion you make, or something similar, would have
> actually ease my learning, at least for me.
Yes, I agree 100%. Not having something like "yield_all" hurt my
ability to learn to use Python's generators quickly because I figured
t
David Eppstein <[EMAIL PROTECTED]> writes:
> In article <[EMAIL PROTECTED]>,
> Douglas Alan <[EMAIL PROTECTED]> wrote:
>> > Cetainly, if > > iterator> == , I don't see how anything
>> > is gained except for a few keystrokes.
>> Wha
Steve Holden <[EMAIL PROTECTED]> writes:
> Guido has generally observed a parsimony about the introduction of
> features such as the one you suggest into Python, and in particular
> he is reluctant to add new keywords - even in cases like decorators
> that cried out for a keyword rather than the u
"John Machin" <[EMAIL PROTECTED]> writes:
>> In Python,
>>longString + "" is longString
>> evaluates to True. I don't know how you can do nothing more
>> gracefully than that.
> And also "" + longString is longString
> The string + operator provides those graceful *external* results by
>
Steven Bethard <[EMAIL PROTECTED]> writes:
> I'm guessing the * syntax is pretty unlikely to win Guido's
> approval. There have been a number of requests[1][2][3] for syntax
> like:
> x, y, *rest = iterable
Oh, it is so wrong that Guido objects to the above. Python needs
fully destructurin
Isaac To <[EMAIL PROTECTED]> writes:
>> "Isaac" == Isaac To <[EMAIL PROTECTED]> writes:
>
> def gen_all(gen):
> for e in gen:
> yield e
>
> def foogen(arg1):
> def foogen1(arg2):
> # Some code here
> # Some code here
> gen_all(arg3)
> ^ I mean foogen
Nick Coghlan <[EMAIL PROTECTED]> writes:
> If you do write a PEP, try to get genexp syntax supported by the
> yield keyword.
> That is, the following currently triggers a syntax error:
>def f():
> yield x for x in gen1(arg)
Wouldn't
yield *(x for x in gen1(arg))
be sufficient, and
e in the newsgroup
or otherwise communicate this interest to the PSF so they have a feel
for how many people would take advantage of the donation option if they
offered it.
For those not familiar with the PSF, plenty of info can be found here:
http://python.org/psf/
Thanks!
Alan McIntyre
cond only to Perl programming.
And using WSH is so much easier, even JavaScript and VBScript are
pleasant compared to CMD language... And of course Python can be
used if appropriately installed, but then you'd probably just use
Python!
Alan G.
Author of the Learn to Program website
htt
e them
for different jobs. Vive la difference...
Oh yes, and don't forget to include Lisp/Scheme/Guile in
your considerations... :-)
Alan G
Author of the Learn to Program website
http://www.freenetpages.co.uk/hp/alan.gauld
--
http://mail.python.org/mailman/listinfo/python-list
rceforge.net
running-to-find-my-flame-retardant-suit-ly'yrs
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
.
I am trying to think of more robust and less costly (in coding time)
approaches. Maybe some form of text-matching algorithm, such as
1. Bayesian classification?
2. Keyword recognition?
I'd be grateful for any pointers or suggestions
e", "gt1200"),
("taxonomy", "rdpHome"), ("browse", "Browse"),]
>
> params = urllib.urlencode(options)
>
> rdpbrowsepage = urllib.urlopen(
> "http://rdp.cme.msu.edu/hierarchy/HierarchyControllerServlet/start";,
> params)
>
> pagehtml = rdpbrowsepage.read()
>
> print pagehtml
> -end Python test code--
HTH,
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
d be
like an Electronics professor spending a lecture dismantling
an oscilloscope and discussing the circuit diagram - mildy
interesting, but ultimately pointless!
Alan G.
Author of the Learn to Program website
http://www.freenetpages.co.uk/hp/alan.gauld
--
http://mail.python.org/mailman/listinfo/python-list
/doc-html/dir-handlers.html
4: http://www.mems-exchange.org/software/scgi/
5: http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html
> Did I miss anything?
I am sure there are other approaches as well.
HTH,
--
alan kennedy
------
email alan:
l in all, a great little package. I recommend that you take a close look.
Regards,
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
der some circumstances.
IMHO, "loves perl" doesn't mesh with either "old school" or "cares
about overhead", but that's just me.
Alan
--
Defendit numerus
--
http://mail.python.org/mailman/listinfo/python-list
I'm trying to write a generic weblog update notifier using xmlrpclib,
starting with technorati. What I want to do is something like this :
XML config file that would look like this:
http://mail.python.org/mailman/listinfo/python-list
..
If C can do it I'm sure it must be feasible in python!
Alan G.
Author of the Learn to Program website
http://www.freenetpages.co.uk/hp/alan.gauld
--
http://mail.python.org/mailman/listinfo/python-list
gory here. Can debug, if not produce code
> from scratch:
COBOL, Fortran, BASIC
> > Have toyed with?
Smalltalk, Haskell, Prolog, Snoball, 68xxx assembler, Scheme,
Occam, vim macros, Objective C
> > Want to forget?
COBOL, Occam, Robot, DOS batch, RatFor, vim macros
Al
training course for C++ that I
realized I'd forgotten how to do string handling in C - we only
had LEDs for I/O...! :-)
Alan G.
Author of the Learn to Program website
http://www.freenetpages.co.uk/hp/alan.gauld
--
http://mail.python.org/mailman/listinfo/python-list
h in their
Sparc workstations. Their system prompt is really a Forth
interpreter... I don;t know where the interpreter resides,
presumably not in Sparc since its a RISC but interesting that
they still use it. (Or they did last time I used a
Sparc - 4 years ago?)
Alan G.
Author of the Learn to Program w
hink we've had any trolls in the NG lately, although
perhaps one or two people have been *extremely* grumpy ;-)
pining-for-the-tropics-ly y'rs,
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
[-4:] == 'Type' and isinstance(l.__delattr__, getattr(types, t)):
... print "It's a '%s'" % str(t)
...
It's a 'ObjectType'
>>>
I also am interested in what is.
regards,
--
alan kennedy
--
email alan: http://xhaus.com/contact/alan
--
http://mail.python.org/mailman/listinfo/python-list
s suitably impressed.
Well, things are getting better then .
It used to be that grandiose manifestos and suitably impressive plans
were all you needed to make billions through a stock flotation ;-)
<0.5 wink>-ly y'rs,
--
alan kennedy
201 - 300 of 1267 matches
Mail list logo