Scott W Dunning writes:
> I had a question regarding functions. Is there a way to call a
> function multiple times without recalling it over and over.
You should ask question like this on the “python-tutor” forum. I say
that because this question suggests you have yet to learn about basic
Pytho
Marcio,
The existence of forum site / mailing list does not guarantee your problem will
be solved. The bitbucket.org doesn’t offer mailing list feature, however you
can subscribe to any changes happening by following me or concrete project
there.
The specific issues can be tracked down to comm
Chris,
Your comments are very valuable. I didn’t find any free mailman lists, so it
appears google groups is the only option.
Thanks.
Andriy Kornatskyy
On Feb 23, 2014, at 12:30 AM, Chris Angelico wrote:
> On Sun, Feb 23, 2014 at 8:48 AM, wrote:
>> Let's open a group for Wheezy.web. I'm ju
On Sat, 22 Feb 2014 22:43:17 -0700, Scott W Dunning wrote:
> Hello,
>
> I had a question regarding functions. Is there a way to call a function
> multiple times without recalling it over and over. Meaning is there a
> way I can call a function and then add *5 or something like that?
Sorry, I
Hello,
I'm sure this is a common question but I can't seem to find a previous thread
that addresses it. If one one exists, please point me to it.
I've been developing with python recreationally for a while on Ubuntu but will
soon be transitioning to full-time python development. I have the o
On Sun, Feb 23, 2014 at 7:21 PM, Andriy Kornatskyy
wrote:
> Chris,
>
> Your comments are very valuable. I didn’t find any free mailman lists, so it
> appears google groups is the only option.
The easiest way is usually to just host one. I couldn't find any
mailing list about Alice in Wonderland,
On Sun, Feb 23, 2014 at 7:43 PM, twiz wrote:
> I'm sure this is a common question but I can't seem to find a previous thread
> that addresses it. If one one exists, please point me to it.
>
> I've been developing with python recreationally for a while on Ubuntu but
> will soon be transitioning
I used to do core python development using debian linux (gnome). All way long
work just fine. However recently I have had a chance to try MacOS X 10.8 and
later 10.9. I used macports.org to setup everything I found “missing”.
Vim works fine regardless the platform… quite happy.
Thanks.
Andriy
Steven D'Aprano :
> The big difference is that in "fixed location" languages, it makes
> sense to talk about the address of a *variable*.
The address could be a symbol, too.
The Python statement
xyz = 3
places a number in the address "xyz".
You can read the value from the address "xyz" wit
glenn.a.is...@gmail.com wrote:
> Is there a way to make sure that whenever you're making google engine app
> iterations to a database that that info does not get wiped/deleted.
> Please advise
It's not clear what you mean here; I'll guess that by "iterations" you mean
"changes" by "database" you
Hi Chris, thanks for the reply.
Yes, I agree. The main consideration is always the development experience.
However, I do know that python has had some problems with other OSs
(notoriously windows) and I want to avoid unnecessary compatibility issues.
Can you elaborate on some of the proble
On Sun, Feb 23, 2014 at 9:17 PM, twiz wrote:
> Can you elaborate on some of the problems running python on OSX (or point me
> to a relavant link)?
You could poke around on the archives of this list and python-dev, but
the best link I have handy is this, which has only a brief note:
http://www.p
On Sun, Feb 23, 2014 at 8:52 PM, Marko Rauhamaa wrote:
> Steven D'Aprano :
>
>> The big difference is that in "fixed location" languages, it makes
>> sense to talk about the address of a *variable*.
>
> The address could be a symbol, too.
>
> The Python statement
>
>xyz = 3
>
> places a number
On Sun, 23 Feb 2014 11:52:05 +0200, Marko Rauhamaa wrote:
> Steven D'Aprano :
>
>> The big difference is that in "fixed location" languages, it makes
>> sense to talk about the address of a *variable*.
>
> The address could be a symbol, too.
>
> The Python statement
>
>xyz = 3
>
> places
Chris Angelico :
> That's the exact line of thinking that leads to problems. You are not
> placing a number at the address "xyz", you are pointing the name "xyz"
> to the number 3. That number still exists elsewhere.
And?
In C, I can say:
Number *o = malloc(sizeof *o);
o->value = 3;
Your
On Sun, Feb 23, 2014 at 10:01 PM, Marko Rauhamaa wrote:
> As for Python, there's nothing in the Python specification that would
> prevent you from having, say, 63-bit integers as representing
> themselves. IOW, you could physically place such integers as themselves
> as the reference and the numbe
twiz wrote:
>I've been developing with python recreationally for a while on Ubuntu but will
>soon be transitioning to full-time python development. I have the option of
>using a Mac or Ubuntu environment and I'd like to hear any thoughts on the
>pros and cons of each.
I've been working with
In article
,
Chris Angelico wrote:
> On Sun, Feb 23, 2014 at 9:17 PM, twiz wrote:
> > Can you elaborate on some of the problems running python on OSX (or point
> > me to a relavant link)?
>
> You could poke around on the archives of this list and python-dev, but
> the best link I have handy i
==
> BREAKING NEWS
==
>
RICHARD LEAKEY RECENTLY SENT TO PRISON AFTER BEING CAUGHT SCAMMING
MILLIONS OF YOUNG PEOPLE INTO THE SCAM OF EVOLUTION.
>
THRINAXODON, WHO WAS THE LEAD PROSECUTOR SAID THIS TO THE NY TIMES:
It strikes me silly that on
Greetings fellow Pythoneers,
I'm happy to announce that pyOpenSSL 0.14 is now available.
pyOpenSSL is a set of Python bindings for OpenSSL. It includes some
low-level cryptography APIs but is primarily focused on providing an API
for using the TLS protocol from Python.
Check out the PyPI pa
Chris Angelico :
> On Sun, Feb 23, 2014 at 10:01 PM, Marko Rauhamaa wrote:
>> As for Python, there's nothing in the Python specification that would
>> prevent you from having, say, 63-bit integers as representing
>> themselves. IOW, you could physically place such integers as
>> themselves as the
On Mon, Feb 24, 2014 at 2:24 AM, Marko Rauhamaa wrote:
> Or id(n) == 2 ** 64 + n for 63-bit integers; other objects get the
> RAM address of the internal ḿemory block:
>
>>>> id(5)
>18446744073709551621
>>>> id([])
>3074657068
>>>> id(id([]))
>18446744076784207372
Assuming
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On behalf of the Python development team, I'm happy to announce
the release of Python 3.3.5, release candidate 1.
Python 3.3.5 includes a fix for a regression in zipimport in 3.3.4
(see http://bugs.python.org/issue20621) and a few other bugs.
Python
On 2/23/2014 6:01 AM, Marko Rauhamaa wrote:
As for Python, there's nothing in the Python specification that would
prevent you from having, say, 63-bit integers as representing
themselves. IOW, you could physically place such integers as themselves
as the reference and the number would not physic
The new home page of python.org is very nice, congratulations !
But there is a problem with the online console provided by PythonAnywhere :
with my azerty keyboard, I can't enter characters such as ) or ] - very
annoying !
It this going to be fixed soon ?
- Pierre
--
https://mail.python.org/m
On Sunday, February 23, 2014 12:06:13 PM UTC+8, Sam wrote:
> My understanding of Python tuples is that they are like immutable lists. If
> this is the cause, why can't we replace tuples with lists all the time (just
> don't reassign the lists)? Correct me if I am wrong.
==
OK, lets be seriou
Chris Angelico :
> id() is (if I recall correctly) supposed to return an integer in the
> native range
That restriction seems beyond the scope of the language definition.
Still, it can be trivially provided for.
> In any case, you'd need some way to pretend that every integer is
> really an obje
Terry Reedy :
> Special-casing ints to store the value in the reference has been
> proposed and rejected. I do not remember how far anyone went in trying
> to code the idea, but I doubt that anyone got as far as getting the
> test suite to pass.
FWIW, elisp essentially does that. Anyway, we are d
On 23/02/2014 21:04, Marko Rauhamaa wrote:
And thus, Python variables are barely distinguishable from C variables.
To repeat what Terry Reedy said earlier, hogwash. Looks as if I've
another member of my dream team, who can proudly sit alongside our self
appointed resident unicode expert.
SpamBayes development has been dormant for several years, however it
still has a reasonably good following among the Outlook crowd. (I
guess Microsoft has still not provided good spam filtering tools for
Outlook?) Anyway, though all of SpamBayes is written in pure Python,
there is still a small amo
On Sun, 23 Feb 2014 23:10:36 +0200, Marko Rauhamaa wrote:
> Terry Reedy :
>
>> Special-casing ints to store the value in the reference has been
>> proposed and rejected. I do not remember how far anyone went in trying
>> to code the idea, but I doubt that anyone got as far as getting the
>> test
On 23/02/2014 3:43 PM, Scott W Dunning wrote:
I had a question regarding functions. Is there a way to call a function
multiple times without recalling it over and over. Meaning is there a way I
can call a function and then add *5 or something like that?
The same way you repeat anything in P
On Sun, 23 Feb 2014 05:43:17 -, Scott W Dunning
wrote:
I had a question regarding functions. Is there a way to call a function
multiple times without recalling it over and over. Meaning is there a
way I can call a function and then add *5 or something like that?
The usual way to ca
On 24/02/2014 00:55, alex23 wrote:
On 23/02/2014 3:43 PM, Scott W Dunning wrote:
I had a question regarding functions. Is there a way to call a
function multiple times without recalling it over and over. Meaning
is there a way I can call a function and then add *5 or something like
that?
The
On 21Feb2014 09:32, 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, "If you think
On Feb 23, 2014, at 1:44 AM, Steven D'Aprano
wrote:
>
> Sorry, I don't really understand your question. Could you show an example
> of what you are doing?
>
> Do you mean "add 5" or "*5"? "Add *5 doesn't really mean anything to me.
Sorry I forgot to add the code that I had to give an example
> 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 24/02/2014 11:09 AM, Mark Lawrence wrote:
On 24/02/2014 00:55, alex23 wrote:
for _ in range(5):
func()
the obvious indentation error above
Stupid cut&paste :(
--
https://mail.python.org/mailman/listinfo/python-list
On Feb 23, 2014, at 12:59 AM, Ben Finney wrote:
>
> You should ask question like this on the “python-tutor” forum.
Thanks Ben, I wasn’t aware of PythonTutor.
--
https://mail.python.org/mailman/listinfo/python-list
On Sun, 23 Feb 2014 10:20:15 -0800, Pierre Quentel wrote:
> The new home page of python.org is very nice, congratulations !
The best I can say about it is that I'm extremely underwhelmed by the
design, which is far more "busy" and colourful than the old design (this
is not a complement), and no
I understood what you meant because I looked up loops in the python
documentation since we haven’t got there yet in school.
On Feb 23, 2014, at 6:39 PM, alex23 wrote:
> On 24/02/2014 11:09 AM, Mark Lawrence wrote:
>> On 24/02/2014 00:55, alex23 wrote:
>>>
>>> for _ in range(5):
>>> f
On Sun, Feb 23, 2014 at 5:39 PM, alex23 wrote:
> On 24/02/2014 11:09 AM, Mark Lawrence wrote:
>>
>> On 24/02/2014 00:55, alex23 wrote:
>>>
>>>
>>> for _ in range(5):
>>> func()
>>
>>
>> the obvious indentation error above
>
>
> Stupid cut&paste :(
> --
Your message came through fine for
On 24/02/2014 02:55, Benjamin Kaplan wrote:
On Sun, Feb 23, 2014 at 5:39 PM, alex23 wrote:
On 24/02/2014 11:09 AM, Mark Lawrence wrote:
On 24/02/2014 00:55, alex23 wrote:
for _ in range(5):
func()
the obvious indentation error above
Stupid cut&paste :(
--
Your message c
On 2014-02-23, twiz wrote:
> I've been developing with python recreationally for a while on
> Ubuntu but will soon be transitioning to full-time python development.
> I have the option of using a Mac or Ubuntu environment and I'd like to
> hear any thoughts on the pros and cons of each. Specifica
On 2014-02-24 03:21, Mark Lawrence wrote:
On 24/02/2014 02:55, Benjamin Kaplan wrote:
On Sun, Feb 23, 2014 at 5:39 PM, alex23 wrote:
On 24/02/2014 11:09 AM, Mark Lawrence wrote:
On 24/02/2014 00:55, alex23 wrote:
for _ in range(5):
func()
the obvious indentation error above
On behalf of the Python development team, I'm delighted to announce
the second and final release candidate of Python 3.4.
This is a preview release, and its use is not recommended for
production settings.
Python 3.4 includes a range of improvements of the 3.x series, including
hundreds of smal
On 02/23/2014 08:21 PM, Mark Lawrence wrote:
> On 24/02/2014 02:55, Benjamin Kaplan wrote:
>> On Sun, Feb 23, 2014 at 5:39 PM, alex23 wrote:
>>> On 24/02/2014 11:09 AM, Mark Lawrence wrote:
On 24/02/2014 00:55, alex23 wrote:
> for _ in range(5):
> func()
the obvious i
47 matches
Mail list logo