Am 04.11.2013 01:59, schrieb Ned Deily:
> In article <21110.62791.44734.656...@cochabamba.vanoostrum.org>,
> Piet van Oostrum wrote:
>> I tried to install matplotlib 1.3.1 on the release candidates of Python
>> 2.7.6
>> and 3.3.3.
>
> [...]
>
> Please open an issue on the Python bug tracker f
On 11/03/2013 06:06 PM, yungwong@gmail.com wrote:
Hi, who has some problems to practice using Python?
Thx a lot!
http://projecteuler.net/ is always a good bet
--
https://mail.python.org/mailman/listinfo/python-list
On Sun, Nov 3, 2013 at 8:19 AM, Renato Barbosa Pim Pereira <
renato.barbosa.pim.pere...@gmail.com> wrote:
> I have one .xls file with the values of PV MV and SP, I wanna to calculate
> Kp Ki Kd with python from this file, can anyone give me any suggestion
> about how can I do this? From now, thank
On Sunday, November 3, 2013 9:49:48 PM UTC+5:30, Renato Barbosa Pim Pereira
wrote:
> I have one .xls file with the values of PV MV and SP, I wanna to
> calculate Kp Ki Kd with python from this file, can anyone give me any
> suggestion about how can I do this? From now, thanks.
You need somethin
On Monday, November 4, 2013 12:28:24 AM UTC+5:30, Mark Lawrence wrote:
> On 03/11/2013 18:28, rusi wrote:
> > Which means take something like the pairwise function and code it
> > up in python and julia -- its hardly 10 lines of code. And see
> > what comparative performance you get.
> Solely on
Let's remember that it is the job of the OP to explain his problem so we
can offer solutions.
--
Bob Gailer
919-636-4239
Chapel Hill NC
--
https://mail.python.org/mailman/listinfo/python-list
> Note that I *can* make a "compression" algorithm that takes any
> length-n sequence and compresses all but one sequence by at least one
> bit, and does not ever expand the data.
>
> "00" -> ""
> "01" -> "0"
> "10" -> "1"
> "11" -> "00"
>
> This, obviously, is just 'cause the length is an extra pi
On Sun, Nov 3, 2013 at 2:23 PM, Peter Cacioppi wrote:
> Ian said :
>
> " Whereas in Python, an attribute access is just
> compiled as an attribute access no matter what the underlying
> implementation of that access may end up being at run-time. "
>
> Really? Very nice. Have a good link handy for
Hi, who has some problems to practice using Python?
Thx a lot!
--
https://mail.python.org/mailman/listinfo/python-list
In article <21110.62791.44734.656...@cochabamba.vanoostrum.org>,
Piet van Oostrum wrote:
> I tried to install matplotlib 1.3.1 on the release candidates of Python 2.7.6
> and 3.3.3.
[...]
Please open an issue on the Python bug tracker for the Python component of
this.
http://bugs.python.org
>This is an alternative solution someone else posted on this list for a
> similar problem I had:
>#!/usr/bin/python3
>from itertools import groupby
>def get_lines_from_file(file_name):
>with open(file_name) as reader:
>for line in reader.read
Hello,
I tried to install matplotlib 1.3.1 on the release candidates of Python 2.7.6
and 3.3.3.
I am on Mac OS X 10.6.8.
Although the installation gave no problems, there is a problem with Tcl/Tk.
The new Pythons have their own embedded Tcl/Tk, but when installing matplotlib
it links to the Fra
On 03/11/2013 21:53, Mark Lawrence wrote:
On 03/11/2013 21:22, bob gailer wrote:
On 11/3/2013 11:19 AM, Renato Barbosa Pim Pereira wrote:
I have one .xls file with the values of PV MV and SP, I wanna to
calculate Kp Ki Kd with python from this file, can anyone give me any
suggestion about how c
On Sun, 03 Nov 2013 14:19:48 -0200, Renato Barbosa Pim Pereira wrote:
> I have one .xls file with the values of PV MV and SP, I wanna to
> calculate Kp Ki Kd with python from this file, can anyone give me any
> suggestion about how can I do this? From now, thanks.
Why use Python? Why not simply w
On 2013-11-03, Jim Gibson wrote:
> In article , E.D.G.
> wrote:
>
>>My main, complex programs won't be run at Web sites. They will
>> instead continue to be available as downloadable exe programs. The CGI (or
>> whatever) programming work would involve relatively simple programs. But
>
On 29 Oct 2013 05:22:00 GMT
Steven D'Aprano wrote:
> Does anyone here use slices (or range/xrange) with negative strides
> other than -1?
I have used negative strides for comparing discrete sequences e. g. for
turbulence analysis, and I hope that my code will still run in Python 4.
Martin
--
h
On 11/3/2013 4:48 PM, renato.barbosa.pim.pere...@gmail.com wrote:
http://pastebin.com/N9dgaHTx
With this program I can read a csv file with 3 columns, in one of these columns
I need to read the value more high and multiply by 0.632 and with result,
search in the same column by a value that apr
On Sun, 3 Nov 2013 14:19:48 -0200
Renato Barbosa Pim Pereira wrote:
> I have one .xls file with the values of PV MV and SP, I wanna to calculate
> Kp Ki Kd with python from this file, can anyone give me any suggestion
> about how can I do this? From now, thanks.
Did you looked at http://www.pytho
Antoon Pardon writes:
> Op 03-11-13 06:17, Steven D'Aprano schreef:
> > I'm trying hard to give up threads like this, where people debate
> > the subjective tone of an email and ever more pedantic arguments
> > about the precise wording. Even when all participants are arguing in
> > good faith, t
On 03/11/2013 21:22, bob gailer wrote:
On 11/3/2013 11:19 AM, Renato Barbosa Pim Pereira wrote:
I have one .xls file with the values of PV MV and SP, I wanna to
calculate Kp Ki Kd with python from this file, can anyone give me any
suggestion about how can I do this?
You could start by explainin
http://pastebin.com/N9dgaHTx
With this program I can read a csv file with 3 columns, in one of these columns
I need to read the value more high and multiply by 0.632 and with result,
search in the same column by a value that aproximate with this result, and then
return the vector position.
--
On 11/3/2013 11:19 AM, Renato Barbosa Pim Pereira wrote:
I have one .xls file with the values of PV MV and SP, I wanna to
calculate Kp Ki Kd with python from this file, can anyone give me any
suggestion about how can I do this?
You could start by explaining what those terms mean. They have no di
Op 03-11-13 06:17, Steven D'Aprano schreef:
> On Sat, 02 Nov 2013 18:22:38 +, Joshua Landau wrote:
> [...]
>> Sure, you in all probability didn't mean it like that but rurpy isn't
>> uncalled for in raising the concern. Really I just want to remind you
>> that you're both on the same side here.
Ian said :
" Whereas in Python, an attribute access is just
compiled as an attribute access no matter what the underlying
implementation of that access may end up being at run-time. "
Really? Very nice. Have a good link handy for that? I'm compiling a codex of
"why py is better?".
--
https://ma
I don't think it would be much problem. I can do that when I have spare time.
Yasar.
> Oh, I just noticed that the person using 2to3 wasn't the OP. My
> apologies, my language was aimed at the decorator's primary developer.
> Yasar, are you prepared to take on Python 3 support fully? If it's as
>
Hey everyone,
As time progresses, so does my Redis object mapper.
The "rom" package is a Redis object mapper for Python. It sports an
interface similar to Django's ORM, SQLAlchemy + Elixir, or Appengine's
datastore.
The changelog for recent releases can be seen below my signature.
You can find
On 03/11/2013 18:28, rusi wrote:
Which means take something like the pairwise function and code it up in python
and julia -- its hardly 10 lines of code. And see what comparative performance
you get.
Solely on the grounds that you've mentioned julia how about this
http://blog.leahhanson.u
On Sunday, November 3, 2013 1:13:13 PM UTC+5:30, Steven D'Aprano wrote:
> On Sun, 03 Nov 2013 01:02:24 -0500, E.D.G. wrote:
> [...]
> > Since Perl has a calculation speed
> > limit that is probably not easy to get around, before too long another
> > language will be selected for initially doing ce
In article , E.D.G.
wrote:
>My main, complex programs won't be run at Web sites. They will
> instead continue to be available as downloadable exe programs. The CGI (or
> whatever) programming work would involve relatively simple programs. But
> they would need to be able to generate c
On 11/02/2013 11:17 PM, Steven D'Aprano wrote:
> On Sat, 02 Nov 2013 18:22:38 +, Joshua Landau wrote:
> [...]
>> Sure, you in all probability didn't mean it like that but rurpy isn't
>> uncalled for in raising the concern. Really I just want to remind you
>> that you're both on the same side he
On 11/01/2013 09:52 PM, Steven D'Aprano wrote:
>[...]
> I did not declare as a
> fact that he had no experience, as you claim, but posed it as a question
> and expressed it explicitly as a subjective observation.
This is a key point. Several of your other denials are
true only if you are right
I have one .xls file with the values of PV MV and SP, I wanna to calculate
Kp Ki Kd with python from this file, can anyone give me any suggestion
about how can I do this? From now, thanks.
--
https://mail.python.org/mailman/listinfo/python-list
On 3 November 2013 15:34, Joshua Landau wrote:
>I can genuinely compress
> the whole structure by N log2 Y items.
By which I mean 2N items.
--
https://mail.python.org/mailman/listinfo/python-list
On 3 November 2013 03:17, Steven D'Aprano
wrote:
> On Sat, 02 Nov 2013 14:31:09 -0700, Tim Roberts wrote:
>
>> jonas.thornv...@gmail.com wrote:
>>>
>>>Well then i have news for you.
>>
>> Well, then, why don't you share it?
>>
>> Let me try to get you to understand WHY what you say is impossible.
On 11/03/2013 12:09 AM, Mark Janssen wrote:
>>> Congratulations Jonas. My kill file for this list used to have only one
>>> name, but now has 2.
>>
>> You have more patience than I! Jonas just made mine seven. :)
>
> Gosh, don't kill the guy. It's not an obvious thing to hardly anyone
> but co
On Sun, Nov 3, 2013 at 9:55 PM, Jason Friedman wrote:
>
>> I wrote this decorator: https://gist.github.com/yasar11732/7163528
>>
> I ran it with Python 2 and thought it was neat.
> Most of my work is Python 3.
> I ran 2to3-3.3 against it and I am getting this error:
>
> $ ./simple.py
> Traceback (
On Mon, Nov 4, 2013 at 12:20 AM, Chris Angelico wrote:
> As print is now a function, you're going to need to construct a
> function call element instead of a special 'print' node. I don't know
> how to do that as I'm not an AST expert, but hopefully you can work it
> out from there?
>
> If you nee
On Sun, Nov 3, 2013 at 11:16 PM, Roy Smith wrote:
> The limitation, of course, is that the data is opaque as far as the
> database goes; you can't do queries against it. But, if all you need to
> do is store the list and be able to retrieve it, it's a perfectly
> reasonable thing to do, and a lot
Den lördagen den 2:e november 2013 kl. 21:19:44 UTC+1 skrev Tim Roberts:
> jonas.thornv...@gmail.com wrote:
>
> >
>
> >I certainly do not like the old bracket style it was a catastrophe, but
>
> >in honesty the gui editor of python should have what i propose, a parser
>
> >that indent automati
Den lördagen den 2:e november 2013 kl. 21:19:44 UTC+1 skrev Tim Roberts:
> jonas.thornv...@gmail.com wrote:
>
> >
>
> >I certainly do not like the old bracket style it was a catastrophe, but
>
> >in honesty the gui editor of python should have what i propose, a parser
>
> >that indent automati
In article ,
Gregory Ewing wrote:
> Nick the Gr33k wrote:
> > I just want a mysql column type that can be eligible to store an array
> > of elements, a list that is, no need for having a seperate extra table
> > for that if we can have a column that can store a list of values.
>
> Relational
Op 02-11-13 21:19, Tim Roberts schreef:
> jonas.thornv...@gmail.com wrote:
>>
>> I certainly do not like the old bracket style it was a catastrophe, but
>> in honesty the gui editor of python should have what i propose, a parser
>> that indent automaticly at loops, functions and end.
>
> Many edi
On Sunday 03 November 2013 04:40:45 Ethan Furman did opine:
> On 10/30/2013 01:32 PM, Gene Heskett wrote:
> > Congratulations Jonas. My kill file for this list used to have only
> > one name, but now has 2.
>
> You have more patience than I! Jonas just made mine seven. :)
>
> --
> ~Ethan~
Ye
Op 03-11-13 06:17, Steven D'Aprano schreef:
> On Sat, 02 Nov 2013 18:22:38 +, Joshua Landau wrote:
> [...]
>> Sure, you in all probability didn't mean it like that but rurpy isn't
>> uncalled for in raising the concern. Really I just want to remind you
>> that you're both on the same side here.
> Hi,
> I am having an issue with something that would seem to have an easy
> solution, but which escapes me. I have configuration files that I would
> like to parse. The data I am having issue with is a multi-line attribute
> that has the following structure:
>
> banner
> Banner text
> Banner
> I wrote this decorator: https://gist.github.com/yasar11732/7163528
>
> I ran it with Python 2 and thought it was neat.
Most of my work is Python 3.
I ran 2to3-3.3 against it and I am getting this error:
$ ./simple.py
Traceback (most recent call last):
File "./simple.py", line 3, in
@debug
On 03/11/2013 10:10, capple...@gmail.com wrote:
On Friday, November 1, 2013 10:35:47 PM UTC-4, smhall05 wrote:
I am using a basic multiprocessing snippet I found:
#-
from multiprocessing import Pool
def f(x):
return x*x
if __na
On Friday, November 1, 2013 10:35:47 PM UTC-4, smhall05 wrote:
> I am using a basic multiprocessing snippet I found:
>
>
>
> #-
>
> from multiprocessing import Pool
>
>
>
> def f(x):
>
> return x*x
>
>
>
> if __name__ == '__main__'
On 03/11/2013 09:47, E.D.G. wrote:
"Steven D'Aprano" wrote in
message news:5275fe91$0$29972$c3e8da3$54964...@news.astraweb.com...
http://jakevdp.github.io/blog/2013/06/15/numba-vs-cython-take-2/
http://technicaldiscovery.blogspot.com.au/2011/06/speeding-up-python-numpy-cython-and.html
Op 03-11-13 07:06, Gregory Ewing schreef:
> Nick the Gr33k wrote:
>> I just want a mysql column type that can be eligible to store an array of
>> elements, a list that is, no need for having a seperate extra table for that
>> if we can have a column that can store a list of values.
>
> Relationa
On Sun, Nov 3, 2013 at 1:06 AM, Peter Cacioppi wrote:
> Actually C# is mature enough for this idiom. C# and Python both support
> getter/setter methods that present as direct attribute access to client code,
> and thus allow you to refactor the class without breaking backwards
> compatibility.
"Steven D'Aprano" wrote in message
news:5275fe91$0$29972$c3e8da3$54964...@news.astraweb.com...
http://jakevdp.github.io/blog/2013/06/15/numba-vs-cython-take-2/
http://technicaldiscovery.blogspot.com.au/2011/06/speeding-up-python-numpy-cython-and.html
It appears that Python can do what
Steve said:
"(This isn't Java or Ruby, where data-hiding is compulsory :-) "
At the risk of striking a sessile equine, when the attribute shouldn't be
modified directly by client code, then you hide it and use a property to allow
client code access. It is the idiom of allowing client code to e
On Sun, 03 Nov 2013 01:02:24 -0500, E.D.G. wrote:
[...]
> Since Perl has a calculation speed
> limit that is probably not easy to get around, before too long another
> language will be selected for initially doing certain things such as
> performing calculations and plotting charts. And the existi
Steve said:
"(This isn't Java or Ruby, where data-hiding is compulsory :-) " (You could
add C++ and C# to this list).
This is golden nugget for me. The old synapses are pretty well grooved to think
of data hiding as good hygiene. Even though I've read a fair bit of Python text
I still need to
On Sunday, November 3, 2013 11:15:48 AM UTC+5:30, E.D.G. wrote:
> "rusi" wrote:
> >>Not sure what will… you may look at Julia: http://julialang.org/
>That program language speed comparison table looks quite interesting.
> And I asked some of the other people that I work with to take a l
56 matches
Mail list logo