On 21/08/2019 04:09, Grant Edwards wrote:
On 2019-08-21, Richard Damon wrote:
I think gmane feed the newsgroup comp.lang.python which feeds
python-list@python.org.
No, gmane is a gateway to python-list@python.org.
--
Grant
I use https://mail.python.org/pipermail/python-list/ to confirm tha
Noah writes:
> I place a get request and the response from the API is "{'id': 32,
> 'description': u'Firewall Outside', 'address': u'10.10.10.230/30'}"
>
> I then take that information and attempt post it to the other API.
> The data is not accepted and the result is an HTTP 400 code.
>
> I tried
On Wednesday, 21 August 2019 03:16:01 UTC+10, Ian wrote:
> Or use the "pairwise" recipe from the itertools docs:
>
> from itertools import tee
>
> def pairwise(iterable):
> "s -> (s0,s1), (s1,s2), (s2, s3), ..."
> a, b = tee(iterable)
> next(b, None)
> return zip(a, b)
>
> for n
On 21/08/19 9:11 AM, Michael F. Stemper wrote:
I recently wrote a couple of modules (more to come) to help me
use the tikz package in TeX/LaTeX. Since it's all to do with
drawing, I have a lot of points in R^2. Being unimaginative, I
implemented them as ordered pairs (2-tuples) of floats. E.g.:
p
On 2019-08-21, Richard Damon wrote:
> I think gmane feed the newsgroup comp.lang.python which feeds
> python-list@python.org.
No, gmane is a gateway to python-list@python.org.
--
Grant
--
https://mail.python.org/mailman/listinfo/python-list
The Zen of Python is readability? Does this look neater?
x11, y11, x12, y12, x21, y21, x22, y22 = line1[0] + line1[1] + line2[0] +
line2[1]
Compared to tuples, lists are maybe more useful if you need to manipulate
the coordinates.
line1 = [ [1, 2], [3, 4] ]
line1[1][0] = 5
line1[0] = [2, 3]
or
> Then, I can only download the older version 2016.2.3 for my old 32 bit
system:-(
You could always use VSCode with the Python extension instead:
https://code.visualstudio.com/Download. There's support for 32bit Windows
as long as you're on 7, 8, or 10. I haven't used it myself though, I most
use
On 8/20/19 5:56 PM, Cameron Simpson wrote:
>
> Hmm. I've been getting some of your posts directly to me as email with
> no obvious python-list@python.org to/cc header. Maybe some interaction
> with gmane? If you've been posting to the gmane newsgroup and CCing me
> privately that is likely fine, an
Nick Sarbicki於 2019年8月20日星期二 UTC+8下午1時33分32秒寫道:
> Yes the community edition works fine.
>
> It seems to require a 64 bit version of Windows 7 or higher (I'm not sure
> as I haven't used Windows in years).
>
> On Tue, 20 Aug 2019, 03:27 , wrote:
>
> > Nick Sarbicki於 2019年8月19日星期一 UTC+8下午5時33分27秒
On 20Aug2019 21:06, Paul St George wrote:
On 20/08/2019 11:43, Cameron Simpson wrote:
Please remember to CC the list.
Instead of 'Post a followup to this newsgroup' or 'To:
python-list@python.org'?
Hmm. I've been getting some of your posts directly to me as email with
no obvious python-list
I recently wrote a couple of modules (more to come) to help me
use the tikz package in TeX/LaTeX. Since it's all to do with
drawing, I have a lot of points in R^2. Being unimaginative, I
implemented them as ordered pairs (2-tuples) of floats. E.g.:
p1 = 3,4
p2 = 5,6
Naturally, lines are implement
On 20/08/2019 11:43, Cameron Simpson wrote:
Please remember to CC the list.
Instead of 'Post a followup to this newsgroup' or 'To:
python-list@python.org'?
On 19Aug2019 22:06, Paul St George wrote:
On 19/08/2019 14:16, Cameron Simpson wrote:
[...]
There's a remark on that web page I menti
There are two main ways of creating a plot in matplotlib: the pyplot
MATLAB-style system and an object-oriented system. Although many
tutorials online use the MATLAB interface, it is usually a good idea to
use the object-oriented system.
I mention this here because after one calls `plt.plot()`,
Or use the "pairwise" recipe from the itertools docs:
from itertools import tee
def pairwise(iterable):
"s -> (s0,s1), (s1,s2), (s2, s3), ..."
a, b = tee(iterable)
next(b, None)
return zip(a, b)
for num1, num2 in pairwise(a):
print(num1, num2)
On Tue, Aug 20, 2019 at 7:42 AM
Hi Chris,
Want to run a command line on the remote windows machine [on powershell
command line] from linux device
I want to check what are the drivers are installed on the remote window
machine from a Linux machine using python.
Thanks,
On Tue, Aug 20, 2019 at 5:05 PM Chris Green wrote:
> Ira
Sayth Renshaw wrote:
> I want to do basic math with a list.
>
> a = [1, 2, 3, 4, 5, 6, 7, 8]
>
> for idx, num in enumerate(a):
> print(idx, num)
>
> This works, but say I want to print the item value
> at the next index as well as the current.
>
> for idx, num in enumerate(a):
>
> print(n
On 20/08/2019 13:00, Sayth Renshaw wrote:
> Hi
>
> I want to do basic math with a list.
>
>
> for idx, num in enumerate(a):
> print(idx, num)
>
> This works, but say I want to print the item value at the next index as well
> as the current.
>
> for idx, num in enumerate(a):
> print(
On 2019-08-20 2:00 PM, Sayth Renshaw wrote:
Hi
I want to do basic math with a list.
a = [1, 2, 3, 4, 5, 6, 7, 8]
for idx, num in enumerate(a):
print(idx, num)
This works, but say I want to print the item value at the next index as well as
the current.
for idx, num in enumerate(a):
Hi
I want to do basic math with a list.
a = [1, 2, 3, 4, 5, 6, 7, 8]
for idx, num in enumerate(a):
print(idx, num)
This works, but say I want to print the item value at the next index as well as
the current.
for idx, num in enumerate(a):
print(num[idx + 1], num)
I am expecting 2, 1
Iranna Mathapati wrote:
> Hi Team,
>
> can you please let me know , is there any module to connect the remote
> Windows system from Linux using python module?
>
We need more information, what sort of 'connect' to a remote Windows
system do you want? I.e.:-
Do you want to run a Windows des
Thanks Kyle
Its working fine
On Tue, Aug 20, 2019 at 2:45 PM Iranna Mathapati
wrote:
> Hi Kyle,
>
> I have tried with as per above attached links and it leads following error:
> NOTE: Its able to connect local
>
> Failed to connect remote windows
> >>> import wmi
> >>> c = wmi.WMI("XX.XX.XX.XX
Hi Team,
can you please let me know , is there any module to connect the remote
Windows system from Linux using python module?
Thanks,
Iranna M
--
https://mail.python.org/mailman/listinfo/python-list
Sorry, I meant to trim the older portion :-(
Bev in TX
> On Aug 20, 2019, at 4:53 AM, Bev In TX wrote:
>
> Search for “Choose” (without the quote marks) on the following webpage to see
> the differences between the community and commercial versions:
> https://www.jetbrains.com/pycharm/features
Search for “Choose” (without the quote marks) on the following webpage to see
the differences between the community and commercial versions:
https://www.jetbrains.com/pycharm/features/
From the following webpage, “Microsoft Windows 7 SP1 or later”
https://www.jetbrains.com/help/pycharm/installati
Please remember to CC the list.
On 19Aug2019 22:06, Paul St George wrote:
On 19/08/2019 14:16, Cameron Simpson wrote:
[...]
There's a remark on that web page I mentioned that suggests that the
leading '//' indicates the filename is relative to the Blender model,
so the context directory for
On Tue, Aug 20, 2019 at 6:59 PM Noah wrote:
>
> Hi,
>
> I am trying to migrate information and data between two systems using
> their corresponding APIs. I am using python requests.
>
> I place a get request and the response from the API is "{'id': 32,
> 'description': u'Firewall Outside', 'addres
Hi Kyle,
I have tried with as per above attached links and it leads following error:
NOTE: Its able to connect local
Failed to connect remote windows
>>> import wmi
>>> c = wmi.WMI("XX.XX.XX.XX", user=r"XXX\XXX", password="")
Traceback (most recent call last):
File "", line 1, in
Hi,
I am trying to migrate information and data between two systems using
their corresponding APIs. I am using python requests.
I place a get request and the response from the API is "{'id': 32,
'description': u'Firewall Outside', 'address': u'10.10.10.230/30'}"
I then take that information
> On 19 Aug 2019, at 20:37, Dennis Lee Bieber wrote:
>
> On Mon, 19 Aug 2019 18:01:17 +, dboland9 via Python-list
> declaimed the following:
>
>> Wow, what happened here? I posted this to the Python discussion group as it
>> is a Python question, not an SQL question. That said, I agre
29 matches
Mail list logo