Luckily application supports headless automation now question is how to
> invoke those jar using python.
On 29 Jan 2018 10:45 pm, "Prahallad Achar" wrote:
Thanks for the kind response.
Sure.. Definitely I shall ask development team for the same.
Regards
Prahallad
On 29 Jan 2018 7:48 pm, "Steve
I am using python 2.6.7 to do a little network programming, but it seems I don't
get all the results.
When I call socket.gethostbyaddr(IP) entry [1] of the result is a list of 34
addresses.
However when I use: dig -x IP I get a list of 46 addresses.
Am I using the wrong function? Is this a bug?
On Tuesday, January 30, 2018 at 1:02:12 PM UTC+5:30, Steven D'Aprano wrote:
> On Mon, 29 Jan 2018 21:32:11 -0800, Rustom Mody wrote:
>
> > On Sunday, January 28, 2018 at 8:37:11 PM UTC+5:30, Steven D'Aprano
> > wrote:
> >> I'm seeing this annoying practice more and more often. Even for trivial
> >
On Tue, 30 Jan 2018 05:48:15 -0800, Rustom Mody wrote:
[...]
>> Ah, yes, the Dutch Reach. That would be like the French Pox (which
>> isn't French), the Spanish Flu (that didn't start in Spain), the
>> Jerusalem artichoke (which is neither an artichoke nor from Jerusalem),
>> and the turkey (the b
On Tue, 30 Jan 2018 at 15:39 Steven D'Aprano <
steve+comp.lang.pyt...@pearwood.info> wrote:
> This effectively and completely undermines the supposed claim that this
> technique makes it *automatic* to look behind you for on-coming cyclists.
> That simply isn't the case. Whether you use the arm cl
Dear List,
I have a strange problem on python 3.6.1
I am using the multiprocessing function to parallelize an expensive
operation, using the multiprocessing.Pool() and Pool.map() functions.
The function I am passing to map calls a function in another file
within the same model. And that file ha
On Tue, 30 Jan 2018 05:48:15 -0800, Rustom Mody wrote:
> Text is a highly stylized unnatural medium
Hmmm. I think it is no more "unnatural" than whale songs or the extremely
formalised dancing rituals of birds or any other animal communication.
Our species just takes this communication to a hig
On Tue, 30 Jan 2018 15:48:29 +, Matt Wheeler wrote:
> Checking the side mirrors isn't particularly helpful advice if you're
> sitting in any seat other than the driver's seat, however.
That's a fair point.
But it really only applies to those sitting on the driver's side in the
back seat. On
On Wed, Jan 31, 2018 at 3:09 AM, Steven D'Aprano
wrote:
> On Tue, 30 Jan 2018 05:48:15 -0800, Rustom Mody wrote:
>
>> Text is a highly stylized unnatural medium
> [chomp]
>
>> That people who have not been cultured in a certain way can do
>> aggravating things like talking with pics instead of tex
On Tue, 30 Jan 2018 15:54:30 +, Nicholas Cole wrote:
[...]
> The function I am passing to map calls a function in another file within
> the same model. And that file has a
>
> from .some_file_in_the_package import *
>
> line at the top.
>
> However, in each function called in that file, I
On 2018-01-30, Steven D'Aprano wrote:
> On Tue, 30 Jan 2018 15:48:29 +, Matt Wheeler wrote:
>
>> Checking the side mirrors isn't particularly helpful advice if you're
>> sitting in any seat other than the driver's seat, however.
>
> That's a fair point.
>
> But it really only applies to those
On Tue, Jan 30, 2018 at 4:23 PM, Steven D'Aprano
wrote:
> On Tue, 30 Jan 2018 15:54:30 +, Nicholas Cole wrote:
> I would say you're probably misinterpreting the nature of the problem.
> Import * isn't a directive that can be ignored.
>
> Can you show us a *simplified* demonstration? A minimal
On Tue, Jan 30, 2018 at 4:33 PM, Nicholas Cole wrote:
> On Tue, Jan 30, 2018 at 4:23 PM, Steven D'Aprano
> wrote:
>> On Tue, 30 Jan 2018 15:54:30 +, Nicholas Cole wrote:
>
>> I would say you're probably misinterpreting the nature of the problem.
>> Import * isn't a directive that can be ignor
On Tue, 30 Jan 2018 07:28:58 +, Steven D'Aprano wrote:
> On Mon, 29 Jan 2018 21:32:11 -0800, Rustom Mody wrote:
>
>> On Sunday, January 28, 2018 at 8:37:11 PM UTC+5:30, Steven D'Aprano
>> wrote:
>>> I'm seeing this annoying practice more and more often. Even for
>>> trivial pieces of text, a
On 2018-01-30, Steven D'Aprano wrote:
> We're talking about *programmers* here -- if they can't cope with the
> highly stylised textual medium in which they work, they're going to
> really struggle to, you know, actually program.
Well, to be fair, many of them do (struggle to actually program,
dig -x should return a single PTR in all cases, shouldn't it?
What IP are you using?
2.6 is very old. You probably should move to at Least 2.7, and plan a
move to 3.x.
On Tue, Jan 30, 2018 at 4:05 AM, Antoon Pardon wrote:
> I am using python 2.6.7 to do a little network programming, but it see
On 30/01/18 16:47, alister via Python-list wrote:
The British TV show QI seemed to think this is actually part of the Dutch
driving test although they have been known to make mistakes
It has to be noted that the QI Elves did not do particularly well in
Only Connect...
--
Rhodri James *-* Kyn
On 2018-01-30 15:39, Steven D'Aprano wrote:
On Tue, 30 Jan 2018 05:48:15 -0800, Rustom Mody wrote:
[...]
Ah, yes, the Dutch Reach. That would be like the French Pox (which
isn't French), the Spanish Flu (that didn't start in Spain), the
Jerusalem artichoke (which is neither an artichoke nor fro
On Tue, 30 Jan 2018 11:24:07 +0100, jak wrote:
> Hello everybody,
> I'm using python 2.7.14 and calculating the checksum with the sha1
> algorithm and this happens: the checksum is wrong until I read the whole
> file in one shot. Here is a test program:
>
> import hashlib
>
> def Checksum(fname,
On 1/30/2018 10:54 AM, Nicholas Cole wrote:
I have a strange problem on python 3.6.1
[involving multiprocessing]
I think the first thing you should do is upgrade to 3.6.4 to get all the
bugfixes since 3.6.4. I am pretty sure there have been some for
multiprocessing itself. *Then* see if you
On Wed, Jan 31, 2018 at 6:21 AM, Peter Pearson
wrote:
> On Tue, 30 Jan 2018 11:24:07 +0100, jak wrote:
>> with open(fname, "rb") as fh:
>> for data in fh.read(m.block_size * blocks):
>> m.update(data)
>> return m.hexdigest()
>>
>
> I believe your "for data in fh.re
Hi,
I managed to patch Schevo and Durus to run under PyPy 5.9. However, I'm
afraid the changes is breaking Python 2.7 compatibility.
I'm not sure how I should distribute my changes to the respective projects.
Since I decided to use more PyPy in my Django projects, should I drop
Python 2.7 su
On Tue, Jan 30, 2018 at 9:24 AM, Grant Edwards
wrote:
> On 2018-01-30, Steven D'Aprano wrote:
>> On Tue, 30 Jan 2018 15:48:29 +, Matt Wheeler wrote:
>>
>>> Checking the side mirrors isn't particularly helpful advice if you're
>>> sitting in any seat other than the driver's seat, however.
>>
>
link as follow:
https://www.udemy.com/complete-package-of-python-course-mastery-in-python-course/?couponCode=PYTHONFORUM
--
https://mail.python.org/mailman/listinfo/python-list
On Mon, 29 Jan 2018 14:46:59 -0500, Dennis Lee Bieber wrote:
> On 29 Jan 2018 17:26:32 GMT, Peter Pearson
> declaimed the following:
>
>>
>>In 1964, the IBM exhibit at the World's Fair in New York demonstrated
>>a system that read dates that visitors wrote by hand. (You were
>>supposed to write y
On Wed, Jan 31, 2018 at 6:35 AM, Etienne Robillard wrote:
> Hi,
>
> I managed to patch Schevo and Durus to run under PyPy 5.9. However, I'm
> afraid the changes is breaking Python 2.7 compatibility.
>
> I'm not sure how I should distribute my changes to the respective projects.
>
> Since I decided
Hi Chris,
Le 2018-01-30 à 14:53, Chris Angelico a écrit :
If you're supporting Python 3, I don't think there's any problem with
saying "Python 2.7 support ceases as of Schevo v4.0, so if you need Py
2.7 use Schevo 3.x". (It's not as if the old versions will suddenly
cease working or anything.)
On 1/30/18 2:35 PM, Etienne Robillard wrote:
Hi,
I managed to patch Schevo and Durus to run under PyPy 5.9. However,
I'm afraid the changes is breaking Python 2.7 compatibility.
I'm curious what you had to change for PyPy? (Unless it's a Py2/Py3
thing as Chris mentions.)
I'm not sure how I
On 01/29/2018 03:48 PM, alister via Python-list wrote:
On Mon, 29 Jan 2018 15:20:06 +0100, Jugurtha Hadjar wrote:
On 01/28/2018 04:43 PM, Skip Montanaro wrote:
I've never been a Windows user, but at my current job, Windows is core
to just about everything, so I am forced to use it for a lot of
Hi Ned,
Le 2018-01-30 à 15:14, Ned Batchelder a écrit :
I'm curious what you had to change for PyPy? (Unless it's a Py2/Py3
thing as Chris mentions.)
Please take a look at the changesets:
https://bitbucket.org/tkadm30/libschevo/commits/745d1aeab5c6ee0d336790cf13d16f327e10c2f8
https://bitbuc
On Wed, Jan 31, 2018 at 7:58 AM, Etienne Robillard wrote:
> Hi Ned,
>
>
> Le 2018-01-30 à 15:14, Ned Batchelder a écrit :
>>
>> I'm curious what you had to change for PyPy? (Unless it's a Py2/Py3 thing
>> as Chris mentions.)
>
>
> Please take a look at the changesets:
>
> https://bitbucket.org/tka
On 1/30/18 4:08 PM, Chris Angelico wrote:
On Wed, Jan 31, 2018 at 7:58 AM, Etienne Robillard wrote:
Hi Ned,
Le 2018-01-30 à 15:14, Ned Batchelder a écrit :
I'm curious what you had to change for PyPy? (Unless it's a Py2/Py3 thing
as Chris mentions.)
Please take a look at the changesets:
ht
On Mon, 29 Jan 2018 22:41:36 + (UTC), Steven D'Aprano
declaimed the following:
Its the component of the router that actually handles the
telecommunications side of things. Legend has it that once upon a time
they were a stand alone device.
Even more distant legend suggests that modems ex
On 2018-01-30, Ian Kelly wrote:
>
>> Unless the bike lane is between the "parallel parking lane" and the
>> curb[*], in which case it's the passenger side doors that are used to
>> catch bicycles rather than the driver's side doors.
>>
>> [*] This seems to be increasingly common here in the Minnea
On Tue, 30 Jan 2018 09:39:26 -0700, Ian Kelly wrote:
> Also, I just wanted to add that if you're going to use the side mirror
> then you need to watch it for a couple of seconds rather than a quick
> glance. Most people's mirrors are not particularly well adjusted to
> capture the car's blind spot
On Tue, 30 Jan 2018 16:00:43 +0530, Prahallad Achar wrote:
> Luckily application supports headless automation now question is how to
> invoke those jar using python.
I can see two approaches:
(1) Calling the jar directly from Python.
I don't think you can do that from CPython, but you might be
Thank you.
Indeed I did a search but couldn't find a right approach.
Jython! Yes.. It supports to call jar file.
As you said... Application support team has to modify few things on
application side where object creation should be public rather protected
On 31 Jan 2018 7:12 am, "Steven D'Aprano"
I am going to create a Python wrapper around a generally useful C library.
So the wrapper needs to contain some C code to glue them together.
Can I upload a package containing C sources to PyPi?
If not, what is the proper way to distribute it?
--
Victor Porton - http://portonvictor.org
--
htt
Lawrence D’Oliveiro wrote:
> On Wednesday, January 31, 2018 at 6:13:00 PM UTC+13, Victor Porton wrote:
>> I am going to create a Python wrapper around a generally useful C
>> library. So the wrapper needs to contain some C code to glue them
>> together.
>
> Not necessarily. It’s often possible to
Victor Porton writes:
> I am going to create a Python wrapper around a generally useful C library.
> So the wrapper needs to contain some C code to glue them together.
>
> Can I upload a package containing C sources to PyPi?
You can.
This is documented in "https://docs.python.org/2/extending/b
40 matches
Mail list logo