Re: Calling Matlab (2016a) function from Python(3.6)

2018-03-28 Thread Rishika Sen
error persists >>> h.Execute ("run('H:\\rishika\\MATLAB\\filewrite.m')") '??? Error using run (line 41)\nH:\\rishika\\MATLAB\\filewrite.m not found.\n\n' >>> h.Execute ("run(r'H:\rishika\MATLAB\filewrite.m')") '??? Error: Unexpected MATLAB expression.\n\n -- https://mail.python.org/mailman/listinf

Re: Calling Matlab (2016a) function from Python(3.6)

2018-03-28 Thread Rishika Sen
I tried these options too as suggested by Paul... >>> h.Execute ("run('H:\\rishika\\MATLAB\\filewrite.m')") '??? Error using run (line 41)\nH:\\rishika\\MATLAB\\filewrite.m not found.\n\n' >>> h.Execute ("run(r'H:\rishika\MATLAB\filewrite.m')") '??? Error: Unexpected MATLAB expression.\n\n -- htt

Re: ***URGENT CONTRACT OPPORTUNITY***

2018-03-28 Thread Gregory Ewing
Ian Kelly wrote: The ad said ASAP, so I guess that now it's already too late. Also they apparently want someone who can start with three exclamation marks. That rules me out, I only have two left over from my last job. -- Greg -- https://mail.python.org/mailman/listinfo/python-list

How to apply LR over gridded time series datasets ?

2018-03-28 Thread shalu . ashu50
Hello all, This code is written for multivariate (multiple independent variables x1,x2,x3..xn and a dependent variable y) time series analysis using logistic regression (correlation and prediction). #Import Libraries import numpy as np import matplotlib.pyplot as plt import pandas as pd #Impo

How to make code space variant with gridded data (lat/long)

2018-03-28 Thread shalu . ashu50
Hello all, This code is written for multivariate (multiple independent variables x1,x2,x3..xn and a dependent variable y) time series analysis using logistic regression (correlation and prediction). #Import Libraries import numpy as np import matplotlib.pyplot as plt import pandas as pd #Impo

[RELEASE] Python 3.6.5 is now available

2018-03-28 Thread Ned Deily
Python 3.6.5 is now available. 3.6.5 is the fifth maintenance release of Python 3.6, which was initially released in 2016-12 to great interest. Detailed information about the changes made in 3.6.5 can be found in its change log. You can find Python 3.6.5 and more information here: https://www.p

Re: please test the new PyPI (now in beta)

2018-03-28 Thread Terry Reedy
On 3/28/2018 10:50 AM, sumana.hariharesw...@gmail.com wrote: People who literally don't see the list of ways to filter on the left-hand side of https://pypi.org/search/ : I ask you the usual list of troubleshooting questions. What OS and browser are you using, what plugins and particularly int

Re: Ruby parens-free function calls [was Re: Accessing parent objects]

2018-03-28 Thread Rick Johnson
On Wednesday, March 28, 2018 at 2:25:42 AM UTC-5, Gregory Ewing wrote: > Rick Johnson wrote: > > The only difference is when you want to make a call from a > > _reference_, which, as you and i well know, is not the > > most common way func/meths are called (these are rare). > > No, but it's the ca

Re: please test the new PyPI (now in beta)

2018-03-28 Thread William Ray Wing
> On Mar 28, 2018, at 10:50 AM, sumana.hariharesw...@gmail.com wrote: > > [byte] > > People who literally don't see the list of ways to filter on the left-hand > side of https://pypi.org/search/ I do see the list of filters, but I only get it AFTER I’ve entered my first search term. I may

Re: ***URGENT CONTRACT OPPORTUNITY***

2018-03-28 Thread Ian Kelly
On Wed, Mar 28, 2018 at 9:02 AM, Tobiah wrote: > > When should I apply? The ad said ASAP, so I guess that now it's already too late. -- https://mail.python.org/mailman/listinfo/python-list

Re: String Formatting with new .format()

2018-03-28 Thread Chris Angelico
On Thu, Mar 29, 2018 at 1:54 AM, Dan Stromberg wrote: > On Wed, Mar 28, 2018 at 7:30 AM, Ganesh Pal wrote: >>> >>> Or maybe they're not giving the same result. I'm a little confused here. >>> >> >> >> My Bad and Apologies , I should be fined for pasting wrong question. >> >> Actually I wanted t

Re: Ruby parens-free function calls [was Re: Accessing parent objects]

2018-03-28 Thread Chris Angelico
On Thu, Mar 29, 2018 at 12:28 AM, Steven D'Aprano wrote: > On Tue, 27 Mar 2018 11:34:17 +1100, Chris Angelico wrote: > >> Question: How do you get a reference to a Ruby function? Or are they not >> first-class objects? > > https://stackoverflow.com/questions/4294485/how-do-i-reference-a-function-

ANN: A new version (0.4.2) of python-gnupg has been released.

2018-03-28 Thread Vinay Sajip via Python-list
A new version of the Python module which wraps GnuPG has been released.  What Changed? = This is an enhancement and bug-fix release, and all users are encouraged to upgrade. See the project website [1] for more information.  Brief summary:  * Subkey information is now collected and re

Re: please test the new PyPI (now in beta)

2018-03-28 Thread Ethan Furman
On 03/28/2018 07:50 AM, sumana.hariharesw...@gmail.com wrote: [snip lots of actions] Cool, thanks! -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: please test the new PyPI (now in beta)

2018-03-28 Thread Tim Golden
On 28/03/2018 15:50, sumana.hariharesw...@gmail.com wrote: I'll give a bit of context on PyPI's new visual design, then talk about specific concerns folks have mentioned in this thread. [... snip ...] At the risk of sounding patronising, can I thank you for coming back to engage with the ideas

Re: please test the new PyPI (now in beta)

2018-03-28 Thread Sumana Harihareswara
On Wednesday, March 28, 2018 at 1:47:11 AM UTC-4, dieter wrote: > Someone asked for feedback here. At least he should look for it here. I'm a woman. Please use "she" to refer to me. -Sumana Harihareswara -- https://mail.python.org/mailman/listinfo/python-list

Re: ***URGENT CONTRACT OPPORTUNITY***

2018-03-28 Thread Tobiah
On 03/28/2018 06:45 AM, cagdenw...@gmail.com wrote: opportunity in Tours, France starting ASAP!!! and able to start ASAP!!! contact me ASAP When should I apply? -- https://mail.python.org/mailman/listinfo/python-list

Re: please test the new PyPI (now in beta)

2018-03-28 Thread Sumana Harihareswara
On Tuesday, March 27, 2018 at 6:19:57 AM UTC-4, Wolfgang Maier wrote: > For me, that's a window width issue. The sidebar with the filters only > shows when the window is wide enough. Unfortunately, the text mentioning > it doesn't change, so this should be fixed. Thanks. Filed as https://github.

Re: please test the new PyPI (now in beta)

2018-03-28 Thread sumana . harihareswara
On Tuesday, March 27, 2018 at 6:03:27 AM UTC-4, Paul Moore wrote: > Digging into this further, the design work on the Warehouse site has > been ongoing since late 2015, and there was an extensive user testing > phase, so honestly, I think it's too late to be arguing that the site > design is a pr

Re: String Formatting with new .format()

2018-03-28 Thread Dan Stromberg
On Wed, Mar 28, 2018 at 7:30 AM, Ganesh Pal wrote: >> >> Or maybe they're not giving the same result. I'm a little confused here. >> > > > My Bad and Apologies , I should be fined for pasting wrong question. > > Actually I wanted to know if its ok to use just empty {} with .format() > or use {

Re: String Formatting with new .format()

2018-03-28 Thread Frank Millman
"Ganesh Pal" wrote in message news:CACT3xuUmOzR=5G9=zaf3fp2lytbgjv74vsyjfsvsifo77lf...@mail.gmail.com... Actually I wanted to know if its ok to use just empty {} with .format() or use {} with values i.e {0} {1} both will give the same results anyway The benefit of using empty {} is that yo

Re: please test the new PyPI (now in beta)

2018-03-28 Thread Ethan Furman
On 03/27/2018 03:49 AM, Steven D'Aprano wrote: On Tue, 27 Mar 2018 11:03:00 +0100, Paul Moore wrote: Digging into this further, the design work on the Warehouse site has been ongoing since late 2015, and there was an extensive user testing phase, (And yes, I hate the front page of the main

Re: String Formatting with new .format()

2018-03-28 Thread Ganesh Pal
> > Or maybe they're not giving the same result. I'm a little confused here. > My Bad and Apologies , I should be fined for pasting wrong question. Actually I wanted to know if its ok to use just empty {} with .format() or use {} with values i.e {0} {1} both will give the same results anyway

Re: please test the new PyPI (now in beta)

2018-03-28 Thread Ethan Furman
On 03/26/2018 03:16 PM, Sumana Harihareswara wrote: The new Python Package Index at https://pypi.org is now in beta. The banner says: --> This is a beta deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org). Why is a beta instance affecting the

Re: Ruby parens-free function calls [was Re: Accessing parent objects]

2018-03-28 Thread Steven D'Aprano
On Tue, 27 Mar 2018 11:34:17 +1100, Chris Angelico wrote: > Question: How do you get a reference to a Ruby function? Or are they not > first-class objects? https://stackoverflow.com/questions/4294485/how-do-i-reference-a-function- in-ruby Especially this answer, which is worth reading: https://

Re: Pep8 for long pattern

2018-03-28 Thread Rhodri James
On 27/03/18 22:02, Dan Stromberg wrote: On Tue, Mar 27, 2018 at 8:18 AM, Michael Torrie wrote: But when it's exactly what you need, why do you need to shoehorn the expression into 79 characters? Seems pointless in a case like this. PEP8 is a guideline, not an absolute rule. It's okay to bend

Re: Calling Matlab (2016a) function from Python(3.6)

2018-03-28 Thread Paul Moore
On 28 March 2018 at 10:23, wrote: > So I am using the following code to call a Matlab(2016a) function from > python(3.6). > >>>import win32com.client >>>h = win32com.client.Dispatch('matlab.application') >>>h.Execute ("plot([0 18], [7 23])") > > When I am using the 'Execute' statement to run a m

Re: Calling Matlab (2016a) function from Python(3.6)

2018-03-28 Thread rishika21sen
I am using WinPython 3.6 -- https://mail.python.org/mailman/listinfo/python-list

Calling Matlab (2016a) function from Python(3.6)

2018-03-28 Thread rishika21sen
So I am using the following code to call a Matlab(2016a) function from python(3.6). >>import win32com.client >>h = win32com.client.Dispatch('matlab.application') >>h.Execute ("plot([0 18], [7 23])") When I am using the 'Execute' statement to run a matlab file from python, I use the statement on

Re: Ruby parens-free function calls [was Re: Accessing parent objects]

2018-03-28 Thread Gregory Ewing
Rick Johnson wrote: The only difference is when you want to make a call from a _reference_, which, as you and i well know, is not the most common way func/meths are called (these are rare). No, but it's the case we're talking about here. If functions don't behave the same way in all circumstanc