This problem has come up for me as well.
$ sudo easy_install pylisp-ng
[sudo] password for _:
install_dir /usr/local/lib/python2.6/dist-packages/
Searching for pylisp-ng
Reading http://pypi.python.org/simple/pylisp-ng/
Reading https://launchpad.net/pylisp-ng
Best match: pyLisp-NG 2.0.0
Downloadin
clear
once I examine the code.
I am guessing that this is the right list for discussing this,
but perhaps python-dev is better. Anyone have feedback?
--
Crypto ergo sum. http://www.subspacefield.org/~travis/
Do unto other faiths as you would have them do unto yours.
If you are a spammer, please e
On Thu, Feb 05, 2009 at 04:40:36PM -0600, Travis wrote:
> 2) In some cases, it will bomb out upon receiving certain greetings
> that it doesn't expect. As I understand it, it actually terminates
> the connection, not allowing for catching an exception or anything.
> I have
rhaps there are other changes which
would make it cleaner.
What does the python community think?
--
Crypto ergo sum. http://www.subspacefield.org/~travis/
Do unto other faiths as you would have them do unto yours.
If you are a spammer, please email j...@subspacefield.org to get black
s that client code has to be cognizant of the possible
exceptions that might be thrown, and so one cannot easily add new
exceptions should the need arise. For example, if we add an exception
to indicate a possible resynchronization point, client code may not
be capable of handling it as a non-fatal
So I've submitted a patch to bugs.python.org to add a new member
called is_finished to the zlib decompression object.
Issue 5210, file 13056, msg 81780
--
Crypto ergo sum. http://www.subspacefield.org/~travis/
Do unto other faiths as you would have them do unto yours.
If you are a sp
.
I saw a "Universal Unix Makefile for Python extensions" that looks promising.
Is this the accepted way to compile python extensions still?
--
Crypto ergo sum. http://www.subspacefield.org/~travis/
Do unto other faiths as you would have them do unto yours.
If you are a spammer, plea
On Apr 24, 11:06 pm, Carl Banks wrote:
> In answering the recent question by Mark Tarver, I think I finally hit
> on why Lisp programmers are the way they are (in particular, why they
> are often so hostile to the "There should only be one obvious way to
> do it" Zen).
>
> Say you put this task to
I've got five pages of information linked to from here:
http://www.subspacefield.org/~travis/
LWMLs
template systems
static web page generators
microframeworks
web app frameworks
It seems like many web app programmers and web authors know one
system, or possibly two, and so you don't
I've come up with a good test for issue5210 and uploaded it to the bug tracker.
This patch should be ready for inclusion now.
--
Obama Nation | My emails do not have attachments; it's a digital signature
that your mail program doesn't understand. |
http://www.subspacefield.org/~
On Fri, Jul 17, 2009 at 04:59:53PM -0400, Jean-Paul Calderone wrote:
> On Fri, 17 Jul 2009 15:01:41 -0500, travis+ml-pyt...@subspacefield.org wrote:
>> I am suggesting that the setresuid function be added to python,
>> perhaps in the OS module, because it has the cleares
api.PyErr_SetFromErrno(py_object(OSError))
?
--
Obama Nation | My emails do not have attachments; it's a digital signature
that your mail program doesn't understand. |
http://www.subspacefield.org/~travis/
If you are a spammer, please email j...@subspacefield.org to get blacklisted.
his seems like "the
quickest thing that could possibly work", but I'm assuming there's a more
pythonic way to approach this general problem.
TIA!
Travis Griggs
"Simplicity is the ultimate sophistication." -- Leonardo Da Vinci
--
http://mail.python.org/mailman/listinfo/python-list
ignatures).
]
The part that doesn't seem to be there in the standard python library is the
idea of an atEnd message for streams, it's inferred as a byproduct of a read().
Please be gentle/kind. I'm still learning. :) TIA
--
Travis Griggs
"A vital ingredient of success is not k
t.unpack('>{}I'.format(valveCount), byteStream.read(4
> * valueCount)))
Thanks, both great ideas. Still does the read/decode slightly different between
the different sites, but at least it's localized better. Much appreciated.
--
Travis Griggs
"History has a habit of changing th
nt that
"internal consistency is preferred", we felt justified in marching on.
--
Travis Griggs
"A vital ingredient of success is not knowing that what you're attempting can't
be done." -Terry Pratchett
--
http://mail.python.org/mailman/listinfo/python-list
I want to be able to connect to a windows share via python. My end goal is
to be able to recursively search through windows shares. I want to do this
in Linux as well. So given a share such as \\computer\test I would like to
search through the test directory and any sub directories for any file
I know the Python syntax pretty well. I know a lot of the libraries
and tools. When I see professional Python programmer's code, I am
often blown away with the code. I realized that even though I know the
language, I know nothing about using it effectively.
I would like to start using Python more
On Aug 26, 8:44 am, Chris Angelico wrote:
> On Fri, Aug 26, 2011 at 10:33 PM, Travis Parks wrote:
> > I know the Python syntax pretty well. I know a lot of the libraries
> > and tools. When I see professional Python programmer's code, I am
> > often blown away with the
On Aug 26, 9:28 am, Chris Angelico wrote:
> On Fri, Aug 26, 2011 at 10:58 PM, Travis Parks wrote:
> > I haven't gotten to the point where I can truly use the language
> > features to my full advantage. I haven't seen enough "tricks" to be
> > effec
On Aug 26, 11:12 am, Roy Smith wrote:
> In article
> <2309ec4b-e9a3-4330-9983-1c621ac16...@ea4g2000vbb.googlegroups.com>,
> Travis Parks wrote:
>
> > I know the Python syntax pretty well. I know a lot of the libraries
> > and tools. When I see professional
I am trying to write an algorithms library in Python. Most of the
functions will accept functions as parameters. For instance, there is
a function called any:
def any(source, predicate):
for item in source:
if predicate(item):
return true;
return false;
There are some
On Aug 28, 5:31 pm, Chris Angelico wrote:
> On Mon, Aug 29, 2011 at 7:20 AM, Travis Parks wrote:
>
> > if source is None: raise ValueError("")
> > if not isinstanceof(source, collections.iterable): raise TypeError("")
> > if not callable(predicate):
On Aug 29, 2:30 am, Nobody wrote:
> On Sun, 28 Aug 2011 14:20:11 -0700, Travis Parks wrote:
> > More importantly, I want to make sure that
> > predicate is callable, accepting a thing, returning a bool.
>
> The "callable" part is do-able, the rest isn't.
>
On Aug 29, 1:42 pm, Ian Kelly wrote:
> On Mon, Aug 29, 2011 at 10:45 AM, Travis Parks wrote:
> > I wanted to allow for calls like this:
>
> > extend(range(0, 1000)).map(lambda x: x * x).where(lambda x: x % 2 ==
> > 0).first(lambda x: x % 7 == 0)
>
> > It
I am writing a simple algorithms library that I want to work for both
Python 2.7 and 3.x. I am writing some functions like distinct, which
work with dictionaries under the hood. The problem I ran into is that
I am calling itervalues or values depending on which version of the
language I am working
I was a little disappointed the other day when I realized that
closures were read-only. I like to use closures quite a bit.
Can someone explain why this limitation exists? Secondly, since I can
cheat by wrapping the thing being closure-ified, how can I write a
simple wrapper that has all the same
On Aug 31, 1:18 pm, Chris Rebert wrote:
> On Wed, Aug 31, 2011 at 9:45 AM, Travis Parks wrote:
> > I was a little disappointed the other day when I realized that
> > closures were read-only. I like to use closures quite a bit.
>
> Assuming I'm intuiting your quest
On Aug 31, 1:51 pm, Travis Parks wrote:
> On Aug 31, 1:18 pm, Chris Rebert wrote:
>
> > On Wed, Aug 31, 2011 at 9:45 AM, Travis Parks
> > wrote:
> > > I was a little disappointed the other day when I realized that
> > > closures were read-only
On Aug 31, 2:18 pm, Ian Kelly wrote:
> On Wed, Aug 31, 2011 at 12:02 PM, Travis Parks wrote:
> > Am I doing something wrong, here? nonlocal isn't registering. Which
> > version did this get incorporated?
>
> 3.0
Ah, okay. It would be really useful for unit testing. Unf
On Aug 31, 2:03 pm, "bruno.desthuilli...@gmail.com"
wrote:
> On 31 août, 18:45, Travis Parks wrote:
>
> > I was a little disappointed the other day when I realized that
> > closures were read-only. I like to use closures quite a bit.
>
> They are not _strictly_
On Aug 31, 7:37 pm, Gregory Ewing wrote:
> Ian Kelly wrote:
> > if sys.version_info < (3,):
> > getDictValues = dict.itervalues
> > else:
> > getDictValues = dict.values
>
> > (which is basically what the OP was doing in the first place).
>
> And which he seemed to think didn't work for so
some feedback. I want
to know if I am following conventions (overall style and quality of
code).
Thanks,
Travis Parks
--
http://mail.python.org/mailman/listinfo/python-list
On Sep 2, 12:36 pm, "Gabriel Genellina"
wrote:
> En Wed, 31 Aug 2011 22:28:09 -0300, Travis Parks
> escribi :
>
> > On Aug 31, 7:37 pm, Gregory Ewing wrote:
> >> Ian Kelly wrote:
> >> > if sys.version_info < (3,):
>
On Sep 2, 4:09 pm, Ian Kelly wrote:
> On Fri, Sep 2, 2011 at 10:59 AM, Travis Parks wrote:
> > Hello:
>
> > I am working on an algorithms library. It provides LINQ like
> > functionality to Python iterators. Eventually, I plan on having
> > feaures that work
On Sep 2, 6:49 pm, Travis Parks wrote:
> On Sep 2, 4:09 pm, Ian Kelly wrote:
>
>
>
>
>
> > On Fri, Sep 2, 2011 at 10:59 AM, Travis Parks
> > wrote:
> > > Hello:
>
> > > I am working on an algorithms library. It provides LINQ like
> > &
On Sep 3, 12:35 am, Chris Torek wrote:
> In article <18fe4afd-569b-4580-a629-50f6c7482...@c29g2000yqd.googlegroups.com>
> Travis Parks wrote:
>
> >[Someone] commented that the itertools algorithms will perform
> >faster than the hand-written ones. Are these algorit
I want to be able to apply different transformations to the first and last
elements of an arbitrary sized finite iterator in python3. It's a custom
iterator so does not have _reversed_. If the first and last elements are the
same (e.g. size 1), it should apply both transforms to the same element
A while ago I chose to use a deque that is shared between two threads. I did so
because the docs say:
"Deques support thread-safe, memory efficient appends and pops from either side
of the deque with approximately the same O(1) performance in either direction.”
(https://docs.python.org/3.11/lib
I've been looking into using a code formatter as a code base size has grown as
well as contributing developers. I've found and played with autopep, black, and
yapf. As well as whatever pycharm has (which may just be gui preferences around
one of those 3).
I have 2 questions:
1) Are there any ma
> On Mar 30, 2021, at 12:11, Stestagg wrote:
>
> For completeness, from 3.5 onwards, you can also do the following:
>
> [{'name': n, **d} for n, d in dod.items()]
>
Reading through these, personally I like this one best. I'm curious what about
it was enabled in 3.5? Was **kwarg expansion in
Doing an "industry experience" talk to an incoming class at nearby university
tomorrow. Have a couple points where I might do some "fun things" with python.
Said students have been learning some python3.
I'm soliciting any *fun* generators people may have seen or written? Not so
much the cool o
> On Apr 23, 2021, at 05:55, Frank Millman wrote:
>
> On 2021-04-23 7:34 AM, Travis Griggs wrote:
>> Doing an "industry experience" talk to an incoming class at nearby
>> university tomorrow. Have a couple points where I might do some "fun things"
I guess this is kind of like mocking for testing. I have a simple module that's
imported in a number of other spots in my program. There's a condition in the
OS/filesystem where I'd like to import a polymorphically compatible variant of
the same module. Can this be accomplished in a sort of once
> On Sep 13, 2016, at 13:57, rgrigo...@gmail.com wrote:
>
> It would help newbies and prevent confusion.
for each in ['cake'] + ['eat', 'it'] * 2:
print(each)
--
https://mail.python.org/mailman/listinfo/python-list
> On Oct 25, 2016, at 5:55 AM, Chris Angelico wrote:
>
> On Tue, Oct 25, 2016 at 11:45 PM, Marko Rauhamaa wrote:
>> Chris Angelico :
>>
>>> On Tue, Oct 25, 2016 at 11:09 PM, Marko Rauhamaa wrote:
Blocking calls are evil.
>>>
>>> Oh, that's why. Got it. So because blocking calls are fund
I posted this on SO, but… yeah…
I'm doing some serial protocol stuff and want to implement a basic byte
stuffing algorithm in python. Though really what this really generalizes to is
“what is the most pythonic way to transform one sequence of bytes where some
bytes are passed through 1:1, but
> On Apr 17, 2018, at 11:15 AM, MRAB wrote:
>
> On 2018-04-17 17:02, Travis Griggs wrote:
>> I posted this on SO, but… yeah…
>> I'm doing some serial protocol stuff and want to implement a basic byte
>> stuffing algorithm in python. Though really what this re
I have a directory structure that might look something like:
Data
Current
A
B
C
Previous
A
X
In as simple/quick a step as possible, I want to rename Current as Previous
including the contents and wiping out the or
I somehow managed to trigger the dialog below by typing in a certain
Python phrase to Google. Anyone know what it's about? It shows up in
what appears to be terminal screen.
Viz:
Google has a code challenge ready for you.
Been here before?
This invitation will expire if you close this page.
> On Mar 30, 2016, at 2:36 PM, Gregory Ewing
> wrote:
>
> Tim Golden wrote:
>
>> (I don't know how other English-speaking groups say the word, but in
>> England the first syllable is stressed and the second is the
>> conventional short "uh" sound).
>
> I can attest that New Zealand follows th
Yesterday, I was pondering how to implement groupby, more in the vein of how
Kotlin, Swift, Objc, Smalltalk do it, where order doesn’t matter. For example:
def groupby(iterable, groupfunc):
result = defaultdict(list)
for each in iterable:
result[groupfunc(each)].ap
I’m using the cryptography module (https://cryptography.io/en/latest/) to try
and generate some cert/key/identities.
It's pretty easy using said module to generate the contents of .pem file for a
private key:
keyPEMBytes = privateKey.private_bytes(
encoding=serialization.Encoding.P
. The
LICENSE is still a BSD style License---the same as old Numeric. More
information can be found at the web-site: http://numeric.scipy.org
The primary developer of scipy core (besides the original creators of
Numeric upon which it is based) is Travis Oliphant
([EMAIL PROTECTED]), but his
7;m storing the
callback, then what the actual callback function is like. Any ideas?
The function being called is a simply to display the string of text, and
execution never seems to reach back to the Python code at all.
Thanks,
Travis B.
/* callback function to the Python code */
static PyObjec
to add the capability for users to update the documentation through
the web-site. But, that functionality is not complete.
The code itself is available in the util directory of scipy which can be
checked out of CVS (or browsed). Go to http://www.scipy.org for mor
details.
-Travis Oliphant
ll again and
it finds the recent build and goes forward). I also don't get the
mysterious errror when I just cut-and-paste the
compile line.
I am very confused. Has anyone seen this or anything like this before?
Any help appreciated.
-Travis Oliphant
--
http://mail.python.org/mailman/listinfo/python-list
OSX (Mavericks) has python2.7 stock installed. But I do all my own personal
python stuff with 3.3. I just flushed my 3.3.2 install and installed the new
3.3.3. So I need to install pyserial again. I can do it the way I've done it
before, which is:
Download pyserial from pypi
untar pyserial.tgz
On Nov 20, 2013, at 6:01 AM, Mark Lawrence wrote:
> On 20/11/2013 06:55, Travis Griggs wrote:
>> OSX (Mavericks) has python2.7 stock installed. But I do all my own
>> personal python stuff with 3.3. I just flushed my 3.3.2 install and
>> installed the new 3.3.3. So I nee
On Nov 19, 2013, at 11:27 PM, Ned Deily wrote:
> In article <6856a21c-57e8-4cdd-a9e8-5dd738c36...@gmail.com>,
> Travis Griggs wrote:
>
>> OSX (Mavericks) has python2.7 stock installed. But I do all my own personal
>> python stuff with 3.3. I just flushed my 3.3.
On Nov 27, 2013, at 3:32 AM, Dan Wissme wrote:
> Hi !
> Am I the only one to get a bug in GUIs using tkinter on my Mac under maverick
> and Python 3.3.3 ?
> When will they get rid of Tcl/Tk which causes recurrent problems at almost
> each new Python version !
> Please, for the rest of us...
I
Sent from my iPhone
> On Nov 28, 2013, at 7:40, Michael Torrie wrote:
>
>> On 11/28/2013 08:08 AM, Chris Angelico wrote:
>> Which is easier, fiddling around with your setup so you can post
>> reasonably on Google Groups, or just getting a better client? With
>> your setup, you have to drop out
On Dec 3, 2013, at 6:18 AM, Colin J. Williams wrote:
> On 03/12/2013 7:58 AM, Mark Lawrence wrote:
>> I thought this might be of interest
>> Http://www.kickstarter.com/projects/214379695/micro-python-python-for-microcontrollers
>>
>>
> Is this intended to be better than the Raspberry PI? RPi
On Dec 4, 2013, at 6:52 AM, Rich Kulawiec wrote:
> Yes, I'm
> aware of web forums: I've used hundreds of them. They suck. They ALL
> suck, they just all suck differently. I could spend the next several
> thousand lines explaining why, but instead I'll just abbreviate: they
> don't handle thre
On Dec 5, 2013, at 2:56 AM, rusi wrote:
> 3. https://groups.google.com/forum/#!forum/python-virtualenv may be a better
> place to ask
Am I the only one that sees the irony in this suggestion? Given the long
running tirades^H^H^H^H^H^H thread about “Managing Google Groups headaches”?
“Pleasss
On Dec 9, 2013, at 1:34 AM, Mark Lawrence wrote:
> On 09/12/2013 05:07, ru...@yahoo.com wrote:
>> On 12/08/2013 05:27 PM, Mark Lawrence wrote:
>>> On 09/12/2013 00:08, ru...@yahoo.com wrote:
On 12/08/2013 12:17 PM, Chris Angelico wrote:
> On Mon, Dec 9, 2013 at 6:06 AM, wrote:>[...]
>
On Dec 11, 2013, at 5:31 AM, rusi wrote:
>
> The classic data structure for this is the trie:
> General idea: http://en.wikipedia.org/wiki/Trie
> In python:
> http://stackoverflow.com/questions/11015320/how-to-create-a-trie-in-python/
My thoughts exactly!
If you wade through the comments ther
On Dec 20, 2013, at 8:00 AM, Mark Lawrence wrote:
> A good point. Shall I write a PEP asking for a language change which
> requires that that stupid = sign is replaced by a keyword reading something
> like thenameonthelefthandsideisassignedtheobjectontherighthandside ?
Or a symbol like :=. As
ute said list”, then… this approach might be appealing.
Travis Griggs
--
https://mail.python.org/mailman/listinfo/python-list
The Python.org site says that the future is Python 3, yet whenever I try
something new in Python, such as Tkinter which I am learning now,
everything seems to default to Python 2. By this I mean that, whenever I
find that I need to install another package, it shows up as Python 2
unless I expli
From Twitter:
RT @cjbrummitt Python kills security guard at Sanur Hyatt, Bali (Ind).
bit.ly/1fLCWvn < bad coding has CONSEQUENCES, ppl!
--
https://mail.python.org/mailman/listinfo/python-list
a non-issue. However, I'd be interested to hear from
anyone who can comment on what the problem is.
Thanks,
Travis
--
https://mail.python.org/mailman/listinfo/python-list
Here we go again…
On Jan 14, 2014, at 11:33 AM, Staszek wrote:
> Hi
>
> What's the problem with Python 3.x? It was first released in 2008, but
> web hosting companies still seem to offer Python 2.x rather.
>
> For example, Google App Engine only offers Python 2.7.
>
> What's wrong?...
Maybe
On Jan 15, 2014, at 4:50 AM, Robin Becker wrote:
> On 15/01/2014 12:13, Ned Batchelder wrote:
>
>>> On my utf8 based system
>>>
>>>
robin@everest ~:
$ cat ooo.py
if __name__=='__main__':
import sys
s='A̅B'
print('version_info=%s\nlen(%s)=%d' % (s
On Jan 16, 2014, at 2:51 AM, Robin Becker wrote:
> I assure you that I fully understand my ignorance of ...
Robin, donât take this personally, I totally got what you meant.
At the same time, I got a real chuckle out of this line. That beats âarmy
intelligenceâ any day.
--
https://mail.
Looks like the 2/3 topic has lain fallow for a couple of days, gotta keep it
burning…
I’m a relatively recent python convert, but been coding and talking to others
about coding for many moons on this big blue orb. I think the industrial side
of this debate has been talked up quite a bit. We ha
On Feb 10, 2014, at 10:30 PM, Steven D'Aprano wrote:
>>
>>1. Parenthesis should not be required for parameter- less functions.
>
> Of course they should. Firstly, parameter-less functions are a code-
> smell, and ought to be discouraged. Secondly, even if you have a good
> reason for usin
On Feb 11, 2014, at 7:52 AM, Chris Angelico wrote:
> On Wed, Feb 12, 2014 at 2:36 AM, Travis Griggs wrote:
>> OTOH, I’m not sure I’ve heard the parameters-less functions are a code one?
>> Is it just loose functions that you’re referring to? As opposed to methods
>>
The discussion about niladic functions, made me want to follow a segue and do
some reflection/introspective programming in Python. I’ve not done a lot of
that yet, and it seemed like an educational (well, at least entertaining) goose
chase.
If I run the following code:
import datetime
datetime
After the recent discussion about the classic error:
if self.isFooBar:
return 42
Among many thing, the OPs contention was that the ability to have this kind of
error was a Bad Thing (tm). Which led to me asking about code smells and
parameterless functions/methods.
So I got curious. Semantic
This may not be a great list for this question (which would be?); it’s a big
group, and I’m hoping there’s some people here that cross into these same areas.
I’m new to dbus, it seems it’s a sort of CORBA for the Linux world. :) Python
seems to be a popular way to interact with it. I’m trying to
> On Jan 10, 2016, at 9:48 AM, Bernardo Sulzbach
> wrote:
>
> Essentially, classes (as modules) are used mainly for organizational purposes.
>
> Although you can solve any problem you would solve using classes
> without classes, solutions to some big problems may be cheaper and
> more feasible
I wrote a simple set of python3 files for emulating a small set of mongodb
features on a 32 bit platform. I fired up PyCharm and put together a directory
that looked like:
minu/
client.py
database.py
collection.py
test_client.py
test_database.py
test_client.py
My imports
> On Oct 23, 2014, at 2:11 PM, sohcahto...@gmail.com wrote:
>
> On Thursday, October 23, 2014 10:07:26 AM UTC-7, jkn wrote:
>> Hi all
>>I haven't heard in mentioned here, but since I saw one of the boards
>> today thought I'd pass on the news:
>>
>> The Kickstarter 'MicroPython' project, wh
> On Feb 2, 2015, at 5:20 AM, Antoon Pardon
> wrote:
>
> I need to have a program construct a number of designs. Of course I can
> directly
> use a pfd surface and later use a pdf viewer to check. But that becomes rather
> cumbersome fast. But if I use a cairo-surface for on the screen I sudde
> On Feb 3, 2015, at 1:00 PM, Poul Riis wrote:
>
> I just tried the Cairo Python module.
> I ran the test file below.
> It works perfectly but instead of saving the resulting image as a file I want
> to see it displayed directly on the screen.
> How can I do that?
>
I have quiet a bit of expe
I really like pymongo. And I really like Python. But one thing my fingers
really get tired of typing is
someDoc[‘_’id’]
This just does not roll of the fingers well. Too many “reach for modifier keys”
in a row. I would rather use
someDoc._id
Googling shows that I’m not the first to want to do
> On Feb 4, 2015, at 9:22 AM, Ian Kelly wrote:
>
> On Wed, Feb 4, 2015 at 9:50 AM, Travis Griggs wrote:
>> I really like pymongo. And I really like Python. But one thing my fingers
>> really get tired of typing is
>>
>> someDoc[‘_’id’]
>>
>> Thi
I'm new to python and peewee and was looking for an example on how to query a
mysql table with a datetime column only returning rows that are 30 days old.
--
https://mail.python.org/mailman/listinfo/python-list
On Monday, February 16, 2015 at 12:35:00 PM UTC-6, Travis VanDame wrote:
> I'm new to python and peewee and was looking for an example on how to query a
> mysql table with a datetime column only returning rows that are 30 days old.
Well this is what I've come up with
@cla
ility.
Sorry Dave, couldn’t resist. Clearly a balance between extremes is desirable.
(Mark, I intentionally put the blank lines in this time )
Travis Griggs
"“Every institution tends to perish by an excess of its own basic principle.” —
Lord Acton
--
https://mail.python.org/mailman/listinfo/python-list
On Feb 21, 2014, at 6:32 AM, Roy Smith wrote:
> In article ,
> Peter Otten <__pete...@web.de> wrote:
>
>
>> [x*x for (x,) in lst]
>>
>> [paraphrasing...] can be better written as:
>>
>> [x*x for [x] in items]
>
> I'm torn between, "Yes, the second form is distinctly easier to read"
> and,
On Feb 21, 2014, at 4:13 AM, Ned Batchelder wrote:
> Man, do I hate this idea that Python has no variables. It has variables
> (names associated with values, and the values can change over the course of
> the program), they just don't work the same as C or Fortran variables. In
> fact, they w
> On Feb 23, 2014, at 17:09, Mark Lawrence wrote:
>
> For the benefit of newbies, besides the obvious indentation error above, the
> underscore basically acts as a dummy variable. I'll let the language lawyers
> give a very detailed, precise description :)
You mean a dummy name binding, rig
> On Mar 15, 2014, at 14:24, Mark H Harris wrote:
>
> test
Pass
--
https://mail.python.org/mailman/listinfo/python-list
Python(3) let me down today. Better to be explicit, and all that, didn’t pan
out for me.
I have time series data being recorded in a mongo database (I love pymongo). I
have an iOS app that consumes the data. Since JSON doesn’t have a time format,
I have to stringify the times when transmitting
Sent from my iPhone
> On May 24, 2014, at 7:35, blindanagram wrote:
>
>> On 24/05/2014 08:13, wxjmfa...@gmail.com wrote:
>> Le vendredi 23 mai 2014 22:16:10 UTC+2, Mark Lawrence a écrit :
>>> An article by Brett Cannon that I thought might be of interest
>>>
>>> http://nothingbutsnark.svbtle
> On May 28, 2014, at 3:43, Sameer Rathoud wrote:
>
> Hello everyone,
>
> I am new to python.
>
> I am currently using python 3.3
>
> With python I got IDLE, but I am not very comfortable with this.
>
> Please suggest, if we have any free ide for python development.
> --
> https://mail.pyt
On Sep 16, 2013, at 4:33 PM, William Bryant wrote:
> Hey I am new to python so go easy, but I wanted to know how to make a program
> that calculates the maen.
>
> List = [15, 6, 6, 7, 8, 9, 40]
> def mean():
>global themean, thesum
>for i in List:
>thecount = List.count(i)
>
er, here's how to take it to
the semi secure public level using a real web framework."
Travis Griggs
-- I multiple all estimates by pi to account from running around in circles.
--
https://mail.python.org/mailman/listinfo/python-list
1 - 100 of 239 matches
Mail list logo