On 10/12/2015 06:07 PM, Steven D'Aprano wrote:
> Where is the "vast amounts of noise" added to the code?
Well in Java code for one. No wonder they require auto-completion.
Java class-based namespaces must be a nightmare to work with. That and
all the over-use of design patterns that Java librari
On 13/10/2015 01:07, Steven D'Aprano wrote:
On Tue, 13 Oct 2015 04:20 am, Marko Rauhamaa wrote:
As for managing complexity, many people believe static typing is a
crucial tool. I disagree. Static typing adds vast amounts of noise to
the code.
Only if you are stuck in the 1970s. And even then,
On Tue, 13 Oct 2015 04:20 am, Marko Rauhamaa wrote:
> As for managing complexity, many people believe static typing is a
> crucial tool. I disagree. Static typing adds vast amounts of noise to
> the code.
Only if you are stuck in the 1970s. And even then, it is not always noise,
type declarations
On Mon, Oct 12, 2015 at 4:42 PM, Glenn Schultz wrote:
> Hello All,
>
> I have an application written in R for the analysis of mortgage-backed and
> asset-backed securities. I am in the process of writing it in Python. I
> need some help getting started.Here is the repository
>
> https://gi
Hello All,
I have an application written in R for the analysis of mortgage-backed and
asset-backed securities. I am in the process of writing it in Python. I need
some help getting started.Here is the repository
https://github.com/glennmschultz/Bond_Lab
I think I have the deployment setu
On Monday, October 12, 2015 at 10:02:13 PM UTC+11, Laura Creighton wrote:
> In a message of Sun, 11 Oct 2015 17:56:33 -0700, Victor Hooi writes:
> >Hi,
> >
> >I'm attempting to parse MongoDB loglines.
> >
> >The formatting of these loglines could best be described as JSON-like...
> >
> >For example
Sibylle Koczian writes:
> Am 12.10.2015 um 13:39 schrieb Steven D'Aprano:
> > Auto-complete is a fine and useful tool. But if you are crippled as a
> > programmer without it, well, then you can hardly claim to understand the
> > language or framework you are programming in if you cannot use it wi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
On 10/12/2015 3:58 AM, Chris Angelico wrote:
> On Mon, Oct 12, 2015 at 6:17 PM, Anthony Papillion
> wrote:
>> I'm writing a script that will have email with attachments passed
>> to it via Postfix. Postfix is properly passing the email to the
>> s
On 10/12/2015 12:08 PM, Michael Torrie wrote:
Also many Python editing environments do support basic completion.
However completion is actually very difficult to implement in a static
manner because Python is so dynamic. I can import any standard library
module and rename it as needed. Since s
On Mon, Oct 12, 2015 at 1:50 PM, Bartc wrote:
> On 12/10/2015 18:20, Marko Rauhamaa wrote:
>
>> Bartc :
>>
>> (Example, calling fib(40) on the example below took 90 seconds on
>>> Python 3.4, 11 seconds with PyPy, but only 1.8 seconds running the
>>> equivalent with FreeBasic:
>>>
>>
>> I don't k
On 12/10/2015 18:20, Marko Rauhamaa wrote:
Bartc :
(Example, calling fib(40) on the example below took 90 seconds on
Python 3.4, 11 seconds with PyPy, but only 1.8 seconds running the
equivalent with FreeBasic:
I don't know what you need fibonacci numbers for,
It's a benchmark that gives yo
Bartc :
> (Example, calling fib(40) on the example below took 90 seconds on
> Python 3.4, 11 seconds with PyPy, but only 1.8 seconds running the
> equivalent with FreeBasic:
I don't know what you need fibonacci numbers for, but speed is not the
essence of most programming tasks. Rather, the key i
On 12/10/2015 16:47, Michael Torrie wrote:
On 10/12/2015 07:30 AM, Bartc wrote:
On 12/10/2015 03:45, Michael Torrie wrote:
C++ introduced it a while ago (C++11), and D has had it from the
beginning. Even lowly FreeBasic has it.
[I'm] surprised Basic needs it. The last time I looked, $A was
On Mon, Oct 12, 2015 at 2:47 AM, John Michael Lafayette
wrote:
> Now that Python has static type checking and support for IDE auto-complete
> (PEP 484?), I beg you to please use it. In your standard library, in your
> production code, in everywhere. I cannot type without auto-complete.
*Decent* P
Hi Johannes,
On 10/10/2015 08:24 AM, Johannes Bauer wrote:
> I'm running an Apache 2.4 webserver using mod_wsgi 4.3.0. There are two
> different applications running in there running on two completely
> separate vhosts.
>
> I'm seeing some weird crosstalk between them which I do not understand.
>
Il giorno lunedì 12 ottobre 2015 10:51:50 UTC+2, John Michael Lafayette ha
scritto:
> Now that Python has static type checking and support for IDE auto-complete
> (PEP 484?), I beg you to please use it. In your standard library, in your
> production code, in everywhere. I cannot type without aut
On 10/12/2015 02:47 AM, John Michael Lafayette wrote:
> Now that Python has static type checking and support for IDE auto-complete
> (PEP 484?), I beg you to please use it. In your standard library, in your
> production code, in everywhere. I cannot type without auto-complete.
>
> I know that soun
On 10/12/2015 07:30 AM, Bartc wrote:
> On 12/10/2015 03:45, Michael Torrie wrote:
>> On 10/11/2015 06:34 PM, Steven D'Aprano wrote:
>>> That's called type inference, and there's nothing innovative about Swift to
>>> include that as a feature. Type inference is *old*. The theory behind type
>>> infe
On Tue, Oct 13, 2015 at 1:37 AM, Michiel Overtoom wrote:
> Hi,
>
>> excel_book=Excel.Workbooks.Open('D:\WebPython\Config3.xlsx')
>
> Shouldn't this be:
>
> excel_book=Excel.Workbooks.Open('D:\\WebPython\\Config3.xlsx')
> or
> excel_book=Excel.Workbooks.Open(r'D:\WebPython\Config3.xlsx')
>
Hi,
> excel_book=Excel.Workbooks.Open('D:\WebPython\Config3.xlsx')
Shouldn't this be:
excel_book=Excel.Workbooks.Open('D:\\WebPython\\Config3.xlsx')
or
excel_book=Excel.Workbooks.Open(r'D:\WebPython\Config3.xlsx')
?
--
https://mail.python.org/mailman/listinfo/python-list
Hi Guys,
I need get update of files through SVN, that is called from python-script.
could you show me example https connection ? :)
i searched in google, but without success :(
i had tried do next:
import pysvn
def get_login(username, save, password,retcode):
return retcode, username, passwo
Very Thanks Irmen!
It's helped me.
--
https://mail.python.org/mailman/listinfo/python-list
Am 12.10.2015 um 13:39 schrieb Steven D'Aprano:
Auto-complete is a fine and useful tool. But if you are crippled as a
programmer without it, well, then you can hardly claim to understand the
language or framework you are programming in if you cannot use it without
an IDE doing half the work for y
On 12/10/2015 03:45, Michael Torrie wrote:
On 10/11/2015 06:34 PM, Steven D'Aprano wrote:
That's called type inference, and there's nothing innovative about Swift to
include that as a feature. Type inference is *old*. The theory behind type
inference goes back to 1958, and languages such as ML a
Chris Angelico writes:
> I'm fairly sure most arguments about "readable" or "unreadable" code
> follow the same definitions.
Does it ever. I never thought annotating names one added with one's
initials or copy-pasting code instead of having a boolean expression in
an if statement or keeping old
On Mon, 12 Oct 2015 07:47 pm, John Michael Lafayette wrote:
> Now that Python has static type checking
It certainly does not. It appears you have misunderstood the purpose and
meaning of PEP 484.
PEP 484 provides a *standard meaning for function annotations* as
type-hints, which may be useful f
In a message of Sun, 11 Oct 2015 17:56:33 -0700, Victor Hooi writes:
>Hi,
>
>I'm attempting to parse MongoDB loglines.
>
>The formatting of these loglines could best be described as JSON-like...
>
>For example - arrays
>
>Anyhow, say I had the following logline snippet:
>
>{ Global: { acquireC
John Michael Lafayette :
> Now that Python has static type checking and support for IDE
> auto-complete (PEP 484?), I beg you to please use it. In your standard
> library, in your production code, in everywhere. I cannot type without
> auto-complete.
>
> I know that sounds ridiculous,
It sure doe
On 08/10/2015 10:26, Robin Becker wrote:
On 06/10/2015 16:31, Robin Becker wrote:
.
well it seems someone can build these extensions properly. I used Christoph
Gohlke's reportlab build and although there are 3 failures in the latest tests I
don't see any crashes etc etc and all the fail
On Mon, Oct 12, 2015 at 6:17 PM, Anthony Papillion
wrote:
> I'm writing a script that will have email with attachments passed to it via
> Postfix. Postfix is properly passing the email to the script but I'm not
> quite sure how to get at the attachment. What I need to do is save the
> attachm
Now that Python has static type checking and support for IDE auto-complete
(PEP 484?), I beg you to please use it. In your standard library, in your
production code, in everywhere. I cannot type without auto-complete.
I know that sounds ridiculous, but I have been coding on a daily basis for
the l
On Mon, Oct 12, 2015 at 6:27 PM, Marcos Dione wrote:
> So far I managed to do the first part, but not the second. I managed
> to transfer the locals back from the remote. My problem is modifying the
> locals in remote()'s __exit__() method. As I'm running the code using
> exec(), it's not just
No. Python now has static type checking and IDE auto-complete support. All
you have to do is put the type name in the function declaration.
On Oct 11, 2015 3:45 PM, "Matt Wheeler" wrote:
> On 9 October 2015 at 17:26, John Michael Lafayette
> wrote:
> > I would like Python to have a strong typing
I repost this here, as somebody in python-help told it was probably
out of their league.
- Forwarded message from Marcos Dione -
Date: Sun, 11 Oct 2015 15:30:05 +0200
From: Marcos Dione
Subject: modifying locals
To: h...@python.org
Message-ID: <20151011133005.GC2798@diablo.grulicu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
I'm writing a script that will have email with attachments passed to it via
Postfix. Postfix is properly passing the email to the script but I'm not quite
sure how to get at the attachment. What I need to do is save the attachment
out to the fil
35 matches
Mail list logo