Re: IDLE, TCP/IP problem.

2020-01-16 Thread Greg Ewing
On 16/01/20 10:06 pm, Muju's message wrote: “IDLE cannot bind to a TCP/IP port, which is necessary to communicate with its Python execution server. This might be because no networking is installed on this computer. There might be firewall settings or anti-virus software preventing the port fro

Re: Extension type inherit from Python int

2020-01-16 Thread Greg Ewing
On 17/01/20 11:12 am, Random832 wrote: pure-python types that derive from int place __dict__ at the end of the object, I don't know if it's possible for you to do the same with the fields you intend to add (for some reason it isn't done with __slots__), but if all else fails you could do the sam

Re: Python ABI typeslots for buffer protocol

2020-01-16 Thread Barry
> On 16 Jan 2020, at 16:12, nerdynels...@gmail.com wrote: > > Still hoping a Python developer can weigh in on this or point me where to > get this issue addressed. Does this tell you what you want to know? https://docs.python.org/3/c-api/buffer.html Barry > -- > https://mail.python.org/ma

Re: Calculator

2020-01-16 Thread Chris Angelico
On Fri, Jan 17, 2020 at 9:17 AM Python wrote: > > Le 16/01/2020 à 11:56, samna...@gmail.com a écrit : > > On Wednesday, 15 January 2020 17:09:56 UTC, Python wrote: > >> Le 15/01/2020 à 16:34, andersh...@gmail.com a écrit : > >>> Thanks! > >> > >> Do not try it, though, with a expression such as >

Re: Calculator

2020-01-16 Thread Python
Le 16/01/2020 à 11:56, samna...@gmail.com a écrit : On Wednesday, 15 January 2020 17:09:56 UTC, Python wrote: Le 15/01/2020 à 16:34, andersh...@gmail.com a écrit : Thanks! Do not try it, though, with a expression such as import os; os.system('rm -rf ~/*'). If you want something safer, http

Re: Extension type inherit from Python int

2020-01-16 Thread Random832
On Thu, Jan 16, 2020, at 12:33, Mathias Enzensberger via Python-list wrote: > Has anyone already done something like that? Is there some trick to > work around that issue, or is it simply not possible to inherit from > PyLongObject? pure-python types that derive from int place __dict__ at the en

Re: Asking for help in forward and backward propagiation in neural network.

2020-01-16 Thread Tamás Tóthpál
attached picture: https://drive.google.com/open?id=1RnUcEhP8BEoIlsrstV3q40uUd0IuV-6v -- https://mail.python.org/mailman/listinfo/python-list

Re: Asking for help in forward and backward propagiation in neural network.

2020-01-16 Thread Tamás Tóthpál
2020. január 16., csütörtök 18:25:16 UTC+1 időpontban Tamás Tóthpál a következőt írta: > I have been doing an online course in data science, especially in neural > networks. But I got stuck in the programming assignment: > > > Could anyone hep me out what the code will look like in this case?

Extension type inherit from Python int

2020-01-16 Thread Mathias Enzensberger via Python-list
Hello, I am trying to write an extension type that inherits from Pythons int. Based on the documentation, this should be possible, but I checked Pythons implementation and the struct defining a PyLongObject u

Asking for help in forward and backward propagiation in neural network.

2020-01-16 Thread Tamás Tóthpál
I have been doing an online course in data science, especially in neural networks. But I got stuck in the programming assignment: Could anyone hep me out what the code will look like in this case? -- https://mail.python.org/mailman/listinfo/python-list

Re: How to compare in python an input value with an hashed value in mysql table?

2020-01-16 Thread centredeformationfrance
Thank you so much Pieter! Danku well Where can I write you a review 5/5! Linkedin? Google business? Facebook page? Thank you!Thank you!Thank you!Thank you!Thank you! X 1! :-) -- https://mail.python.org/mailman/listinfo/python-list

Re: How to compare in python an input value with an hashed value in mysql table?

2020-01-16 Thread Pieter van Oostrum
Growth Hacking Formation writes: > Thanks for helping. That is what I thought. > Lets say it is the case and I get the key. We know it uses sha256 and it > apply to the ascii code. > What should be the python code in this scenario? > I am novice and the hash python module is a bit too complex fo

Re: Python ABI typeslots for buffer protocol

2020-01-16 Thread nerdynelsons
Still hoping a Python developer can weigh in on this or point me where to get this issue addressed. -- https://mail.python.org/mailman/listinfo/python-list

Re: Help

2020-01-16 Thread Pieter van Oostrum
kiran chawan writes: > Whenever Iam trying to run this 'New latest version python software 3.8.4 > python ' but it doesn't show any install option and it say ' modify set up > ' So tell what to do sir plz help me out. There is no Python 3.8.4. -- Pieter van Oostrum www: http://pieter.vanoostru

Re: Understanding of GIL

2020-01-16 Thread Amitesh Sahay via Python-list
Hi, You should also undertand that Python uses GIL for Threading purpose. Yes, if you have functiosn that needs simulataneous execution you should use Threading approach. As well as if Huge data is involved then also use multi-processing concept as well On Thursday, 19 December, 2019, 7

IDLE, TCP/IP problem.

2020-01-16 Thread Muju's message
Sent from Mail for Windows 10 When I open IDLE a popup appears, which says “IDLE cannot bind to a TCP/IP port, which is necessary to communicate with its Python execution server. This might be because no networking is installed on this computer. Run IDLE with the -n command line switch to sta

Re: Calculator

2020-01-16 Thread samnalty
On Wednesday, 15 January 2020 17:09:56 UTC, Python wrote: > Le 15/01/2020 à 16:34, andersh...@gmail.com a écrit : > > Thanks! > > Do not try it, though, with a expression such as > import os; os.system('rm -rf ~/*'). If you want something safer, https://github.com/pydata/numexpr has an expressi

How to specify sqlite engine path in sqlalchemy using Zipapp

2020-01-16 Thread Abdur-Rahmaan Janhangeer
I don't know how to specify sqlalchemy's engine path for sqlite within zipapp. Using: engine = create_engine('sqlite:///{}'.format( os.path.join(dirp, 'db/items.db') )) i get unable to open database file I've rounded the problem with as much info as possible here: https://stackove