On 2010-01-28, exar...@twistedmatrix.com wrote:
> Have you actually looked at any of the standard library?
Not recently or in depth, no. I would have thought that it would be of
high quality. I must have been mistaken.
--
Josh "dutchie" Holland
http://www.joshh.co.uk/
http://twitter.com/jshholl
On 2010-01-28, Big Stu wrote:
> I'm hoping someone on here can point me to an example of a python
> package that is a great example of how to put it all together. I'm
> hoping for example code that demonstrates:
Surely most of the Standard Library should satisfy all your
requirements?
--
Josh
On 2010-01-28, Joan Miller wrote:
> I've to call to many functions with the format:
>
run("cmd")
Check the docs on os.system().
--
Josh "dutchie" Holland
http://www.joshh.co.uk/
http://twitter.com/jshholland
http://identi.ca/jshholland
--
http://mail.python.org/mailman/listinfo/python-l
On 2010-01-02, VanceE wrote:
> for x in []:
> assert type(x) == type(())
>
> I expected an AssertionError but get no errors at all.
> Any explaination?
That loop never runs. It immediately raises a StopIteration and the body
is never executed.
cf.
for x in []:
print "In loop body"
You w
Sorry, I meant to write "How *many* people ..."
--
Josh Holland
http://joshh.co.uk
madmartian on irc.freenode.net
--
http://mail.python.org/mailman/listinfo/python-list
y reply (about his pseudocode looking like C), I
hope you realise that it was tongue-in-cheek. For the record, I intend
to learn C in the near future and know it is a very powerful language.
How people would write a kernel in Python?
--
Josh Holland
http://joshh.co.uk
madmartian on irc.freenode.
strings that
look like identifiers and small integers. This has been discussed here
a lot; have a look at the archives.
--
Josh Holland
http://joshh.co.uk
madmartian on irc.freenode.net
--
http://mail.python.org/mailman/listinfo/python-list
ore like C than pseudocode to me...
Someone's been spending far too much time on C-like languages, if that's
what your idea of simply readable code looks like. Thank heavens you
found Python before it was too late!
--
Josh Holland
http://joshh.co.uk
madmartian on irc.freenode.net