Dan Stromberg :
>> > The problem can be solved by turning on the SO_REUSEADDR flag of
>> > the socket.
> BTW, it's a security feature you're turning off. If you're on a
> multiuser box, it prevents a second user from stealing lingering
> connections from a first user on the same port.
Can you prov
Hi Guys,
Thanks for all the suggestions. I found the problem. I had saved my program in
IDLE and quit out of the shell, and then tried to run the program in Terminal.
Previously, restarting the shell was enough to break the connection with the
port. This time, I guess, it wasn't. So after think
On behalf of the Python development community and the Python 3.7 release
team, we are pleased to announce the availability of Python 3.7.0.
Python 3.7.0 is the newest feature release of the Python language, and
it contains many new features and optimizations. You can find Python
3.7.0 here:
ht
On 06/27/18 15:19, Steven D'Aprano wrote:
On Wed, 27 Jun 2018 12:15:23 -0700, Jim Lee wrote:
It seems a bit silly to me to worry about arbitrary code execution
in
an interpreted language like Python whose default runtime execution
method is to parse the source code directly. An attac
On Wed, Jun 27, 2018 at 10:44 AM, T Berger wrote:
> On Wednesday, June 27, 2018 at 1:40:20 PM UTC-4, Marko Rauhamaa wrote:
> > Joaquin Henriquez :
> >
> > >>Subject: EXTERNAL: OSError: [Errno 48] Address already in use
> > >
> > > The best way to help if got you to put the relevant code here.
> >
On Wed, 27 Jun 2018 12:15:23 -0700, Jim Lee wrote:
> It seems a bit silly to me to worry about arbitrary code execution
> in
> an interpreted language like Python whose default runtime execution
> method is to parse the source code directly. An attacker would be far
> more likely to simply
On 27Jun2018 10:44, Tamara Berger wrote:
On Wednesday, June 27, 2018 at 1:40:20 PM UTC-4, Marko Rauhamaa wrote:
Joaquin Henriquez :
>>Subject: EXTERNAL: OSError: [Errno 48] Address already in use
> The best way to help if got you to put the relevant code here.
>
> The error you are experiencin
On 06/27/2018 02:14 PM, skybuck2...@hotmail.com wrote:
Now I don't like the French much ! LOL.
But this time they have invented something which will fill programmers with
tears of joy ! =D
http://www.euronews.com/2018/06/27/pizza-making-robot
Hopefully this will lead to cheaper and delicious
i think variables also in the case of
PORT = 12345
Abdur-Rahmaan Janhangeer
https://github.com/Abdur-rahmaanJ
And it doesn't require that the end user have any knowlege of Python
> syntax or sematics.
>
--
https://mail.python.org/mailman/listinfo/python-list
On 06/27/18 08:49, T Berger wrote:
Why am I getting this error? I'm not sure what additional information I need to
supply, so please let me know.
You asked this question two weeks ago and got several answers. Here is
one of them:
On 06/15/18 10:17, Percival John Hackworth wrote:
On 15-
On 2018-06-27, Jim Lee wrote:
> It seems a bit silly to me to worry about arbitrary code
> execution in an interpreted language like Python whose default
> runtime execution method is to parse the source code directly.
Maybe it's not a deliberate attack. Good application design is also
about
On 06/27/2018 12:15 PM, Jim Lee wrote:
On 06/27/18 11:45, Abdur-Rahmaan Janhangeer wrote:
and that closes it,
thanks !!!
Abdur-Rahmaan Janhangeer
https://github.com/Abdur-rahmaanJ
Importing variables from a file is dangerous because it can execute
arbitrary code. It should never be done w
On Tue, Jun 26, 2018 at 8:26 PM, Sharan Basappa
wrote:
> Folks,
>
> I know this is not a machine learning forum but I wanted to see if anyone
> can explain this to me.
>
> In artificial neural network, I can understand why sigmoid is used but I
> see that derivative of sigmoid output function is
On 06/27/18 11:45, Abdur-Rahmaan Janhangeer wrote:
and that closes it,
thanks !!!
Abdur-Rahmaan Janhangeer
https://github.com/Abdur-rahmaanJ
Importing variables from a file is dangerous because it can execute
arbitrary code. It should never be done with files provided by the
user.
Using c
and that closes it,
thanks !!!
Abdur-Rahmaan Janhangeer
https://github.com/Abdur-rahmaanJ
Importing variables from a file is dangerous because it can execute
> arbitrary code. It should never be done with files provided by the
> user.
>
> Using configparser is far, far safer.
>
--
https://mail
On Wednesday, June 27, 2018 at 1:40:20 PM UTC-4, Marko Rauhamaa wrote:
> Joaquin Henriquez :
>
> >>Subject: EXTERNAL: OSError: [Errno 48] Address already in use
> >
> > The best way to help if got you to put the relevant code here.
> >
> > The error you are experiencing means that the Port you are
Joaquin Henriquez :
>>Subject: EXTERNAL: OSError: [Errno 48] Address already in use
>
> The best way to help if got you to put the relevant code here.
>
> The error you are experiencing means that the Port you are trying to
> bind is already taken by another running process.
That error usually ta
Let me add this information to clarify the context in which I got this error
48. It doesn't make sense to me, and it might not to you.
This morning, I opened my webapp (vsearch4web.py in the terminal code above)
and noticed a whole bunch of code I had not typed. I also noticed something
weird a
On Wednesday, June 27, 2018 at 12:17:28 PM UTC-4, Joaquin Henriquez wrote:
> >Subject: EXTERNAL: OSError: [Errno 48] Address already in use
>
> The best way to help if got you to put the relevant code here.
Last login: Wed Jun 27 12:45:08 on ttys000
192:~ TamaraB$ cd Desktop/Webapp/
192:Webapp Ta
>Subject: EXTERNAL: OSError: [Errno 48] Address already in use
The best way to help if got you to put the relevant code here.
The error you are experiencing means that the Port you are trying to bind is
already taken by another running process.
--
https://mail.python.org/mailman/listinfo/pytho
On Wednesday, June 27, 2018 at 11:49:18 AM UTC-4, T Berger wrote:
> Why am I getting this error? I'm not sure what additional information I need
> to supply, so please let me know.
I'm working on a Flask webapp. I know there is another google group
specifically for Flask. Can you please provide
Why am I getting this error? I'm not sure what additional information I need to
supply, so please let me know.
--
https://mail.python.org/mailman/listinfo/python-list
On 2018-06-27, Abdur-Rahmaan Janhangeer wrote:
> what is more recommended and why? using configparser for settings or import
> variables from file?
Importing variables from a file is dangerous because it can execute
arbitrary code. It should never be done with files provided by the
user.
Using
what is more recommended and why? using configparser for settings or import
variables from file?
thanks,
Abdur-Rahmaan Janhangeer
https://github.com/Abdur-rahmaanJ
--
https://mail.python.org/mailman/listinfo/python-list
Enviado desde Correo para Windows 10
--
https://mail.python.org/mailman/listinfo/python-list
[Note: there is a similar thread on Python-Ideas, if you would like to respond
there.]
Consider the following Enum definition:
class Color(Enum):
RED = 1
GREEN = 2
BLUE = 3
@property
def lower(self):
return self.name.lower()
def spam(self):
On 2018-06-25, Alister wrote:
> for i in range(len(list)): is a python anti-pattern it is almost a 100%
> guarantee that you are doing something wrong*
>
> *as with all rules of thumb there is probably at least 1
> exception that the python experts will now point out.
When you need look-ahead or
Hello comp.lang.python,
I am Bart Thate, a 50 year old programming schizofrenic.
I like to annouce version 4 of OB, a pure python3 package you can use to
program bots.
OB has a “no-clause MIT license” that should be the most liberal license you
can get at the year 2018.
I am looking for feedb
On 27/06/2018 12:42, Peter J. Holzer wrote:
On 2018-06-27 11:11:37 +1200, Gregory Ewing wrote:
Bart wrote:
x = set(range(10_000_000))
This used up 460MB of RAM (the original 100M I tried exhausted the memory).
The advantage of Pascal-style sets is that that same set will occupy
only 1.25M
On 2018-06-27 11:11:37 +1200, Gregory Ewing wrote:
> Bart wrote:
> >x = set(range(10_000_000))
> >
> > This used up 460MB of RAM (the original 100M I tried exhausted the memory).
> >
> > The advantage of Pascal-style sets is that that same set will occupy
> > only 1.25MB, as it is a bit-map.
On 06/27/18, Cameron Simpson pondered and said...
CS> On 25Jun2018 18:37, Mark Lawrence wrote:
CS> >More of the flaming things, this time name@1261/38.remove-ij1-this. Any
CS> >as I don't understand this stuff?
CS>
CS> Looks like a FIDONET gateway leaking somehow. I've made an enquiry to
I'm pleased to announce managesieve 0.6, a ManageSieve client library for
remotely managing Sieve scripts, including an user application (the
interactive 'sieveshell').
:Homepage: https://managesieve.readthedocs.io/
Development: https://gitlab.com/htgoebel/managesieve
:Author: Hartmut Goebel
:L
32 matches
Mail list logo