Re: python.org wiki, not allowing me to log in?

2022-06-11 Thread Mats Wichmann
On 6/11/22 16:45, Dan Stromberg wrote:
> Hi folks.
> 
> I have a little elbow grease available, so I thought I'd edit
> https://wiki.python.org/moin/BeginnersGuide/Download
> 
> ...a little.
> 
> However, signing in with my google creds by clicking the little Google
> button, gives me:
> OpenID discovery failure, not a valid OpenID.
> 
> 
> Does this mean I'm unauthorized to edit the page, or does it mean there's
> some sort of OpenID problem?

"Yes"

I don't know what the current state of the openid logins there is, for a
while there were known problems.

In any case, in order to edit you have to be added to the editors' list
(it's a minimal anti-spam protection, you just tell the team you'd like
to edit something particular and they add you).  I admit I don't know
how to do that with a login that isn't a wiki login.

In any case, you want to write to pydotorg-...@python.org if you want to
edit the wiki.


-- 
https://mail.python.org/mailman/listinfo/python-list


python.org wiki, not allowing me to log in?

2022-06-11 Thread Dan Stromberg
Hi folks.

I have a little elbow grease available, so I thought I'd edit
https://wiki.python.org/moin/BeginnersGuide/Download

...a little.

However, signing in with my google creds by clicking the little Google
button, gives me:
OpenID discovery failure, not a valid OpenID.


Does this mean I'm unauthorized to edit the page, or does it mean there's
some sort of OpenID problem?

Thanks.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Need help in blockchain coding.

2022-06-11 Thread Mats Wichmann
On 6/11/22 15:29, dn wrote:
> On 12/06/2022 02.51, Ayesha Tassaduq wrote:
>> I am a beginner in python I want to transfer generated hash to a local 
>> database. I try it with socket programming but I fail. can anyone please 
>> help me ow I can do this?
> 
> Where is the database?
> Where is the socket?
> What are the (full) error messages?

Indeed... what you've posted, with the exception that we don't see what
these two _df values are:

t1 = Time_sensitive_df
...
t3 = normal_df

looks basically workable for what it is.

Guessing at your intent here - presumably you want your chain to be
persistent and not be created from scratch each time you go to access
it. You *could* use a database for this, and there are lots of Python
technologies for talking to databases, but there's none of that in your
code so we can't comment on it.

For early experiments you could just use a text file.  Then you need to
code a way to load the existing chain from the file into your working
copy, if the file exists, rather than instantiating a copy of
Blockchain, which will always start over:

def __init__( self ):
self.chain = [ ]
self.generate_genesis_block()

since the chain itself is a list, perhaps you could dump that list to a
json file, and reload it into self.chain if the json file is found to
exist, instead of doing the initial-setup?

Apologies if I have completely misunderstood what you are seeking...
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Need help in blockchain coding.

2022-06-11 Thread dn
On 12/06/2022 02.51, Ayesha Tassaduq wrote:
> I am a beginner in python I want to transfer generated hash to a local 
> database. I try it with socket programming but I fail. can anyone please help 
> me ow I can do this?

Where is the database?
Where is the socket?
What are the (full) error messages?


> class Block:
> def __init__( self, previous_block_hash, transaction_list ):
> self.previous_block_hash = previous_block_hash
> self.transaction_list = transaction_list
> 
> self.block_data = f"{' - '.join(transaction_list)} - 
> {previous_block_hash}"
> self.block_hash = hashlib.sha256(self.block_data.encode()).hexdigest()
> 
> 
> class Blockchain:
> def __init__( self ):
> self.chain = [ ]
> self.generate_genesis_block()
> 
> def generate_genesis_block( self ):
> self.chain.append(Block("0", [ 'Genesis Block' ]))
> 
> def create_block_from_transaction( self, transaction_list ):
> previous_block_hash = self.last_block.block_hash
> self.chain.append(Block(previous_block_hash, transaction_list))
> 
> def display_chain( self ):
> for i in range(len(self.chain)):
> print(f"Hash {i + 1}: {self.chain [ i ].block_hash}\n")
> 
> @property
> def last_block( self ):
> return self.chain [ -1 ]
> 
> 
> **t1 = Time_sensitive_df
> t2 = "abcdefghijklmnopqrstuvwxyz"
> t3 = normal_df
> myblockchain = Blockchain()
> myblockchain.create_block_from_transaction(t1)
> myblockchain.create_block_from_transaction(t2)
> myblockchain.create_block_from_transaction(t3)
> myblockchain.display_chain()**

-- 
Regards,
=dn
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: installing

2022-06-11 Thread jak

Il 10/06/2022 10:51, Yusuf Özdemir ha scritto:

?

 


000?
  3f
  63
 077
001
--
https://mail.python.org/mailman/listinfo/python-list


Re: installing

2022-06-11 Thread Barry


> On 10 Jun 2022, at 17:32, Yusuf Özdemir  wrote:
> 
>    ?

My guess you attached an image, but this list does not allows attachements.

Please copy and paste the text of the error for us to read.

However you may find that this helps:

https://docs.python.org/3/using/windows.html

Barry
> 
>
> -- 
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


[Python-announce] NumPy 1.23.0rc3 released

2022-06-11 Thread Charles R Harris
Hi All,

On behalf of the NumPy team, I'm pleased to announce the release of NumPy
1.23.0rc2. The NumPy 1.23.0 release continues the ongoing work to improve
the handling and promotion of dtypes, increase the execution speed, clarify
the documentation, and expire old deprecations. The highlights are:


   - Implementation of ``loadtxt`` in C, greatly improving its performance.
   - Exposing DLPack at the Python level for easy data exchange.
   - Changes to the promotion and comparisons of structured dtypes.
   - Improvements to f2py.

The Python versions supported in this release are 3.8-3.10, 3.11 will be
supported when it comes out. Note that 32 bit wheels are only provided for
Windows, all other wheels are 64 bits on account of Ubuntu, Fedora, and
other Linux distributions dropping 32 bit support. All 64 bit wheels are
also linked with 64 bit OpenBLAS. Wheels can be downloaded from PyPI
; source archives, release
notes, and wheel hashes are available on Github
.

*Contributors*

A total of 151 people contributed to this release.  People with a "+" by
their
names contributed a patch for the first time.

   - @DWesl
   - @GalaxySnail +
   - @code-review-doctor +
   - @h-vetinari
   - Aaron Meurer
   - Alexander Shadchin
   - Alexandre de Siqueira
   - Allan Haldane
   - Amrit Krishnan
   - Andrei Batomunkuev
   - Andrew J. Hesford +
   - Andrew Murray +
   - Andrey Andreyevich Bienkowski +
   - André Elimelek de Weber +
   - Andy Wharton +
   - Arryan Singh
   - Arushi Sharma
   - Bas van Beek
   - Bharat Raghunathan
   - Bhavuk Kalra +
   - Brigitta Sipőcz
   - Brénainn Woodsend +
   - Burlen Loring +
   - Caio Agiani +
   - Charles Harris
   - Chiara Marmo
   - Cornelius Roemer +
   - Dahyun Kim +
   - Damien Caliste
   - David Prosin +
   - Denis Laxalde
   - Developer-Ecosystem-Engineering
   - Devin Shanahan +
   - Diego Wang +
   - Dimitri Papadopoulos Orfanos
   - Ding Liu +
   - Diwakar Gupta +
   - Don Kirkby +
   - Emma Simon +
   - Eric Wieser
   - Evan Miller +
   - Evgeni Burovski
   - Evgeny Posenitskiy +
   - Ewout ter Hoeven +
   - Felix Divo
   - Francesco Andreuzzi +
   - Ganesh Kathiresan
   - Gaëtan de Menten
   - Geoffrey Gunter +
   - Hans Meine
   - Harsh Mishra +
   - Henry Schreiner
   - Hood Chatham +
   - I-Shen Leong
   - Ilhan Polat
   - Inessa Pawson
   - Isuru Fernando
   - Ivan Gonzalez +
   - Ivan Meleshko +
   - Ivan Yashchuk +
   - Janus Heide +
   - Jarrod Millman
   - Jason Thai +
   - Jeremy Volkman +
   - Jesús Carrete Montaña +
   - Jhong-Ken Chen (陳仲肯) +
   - John Kirkham
   - John-Mark Gurney +
   - Jonathan Deng +
   - Joseph Fox-Rabinovitz
   - Jouke Witteveen +
   - Junyan Ou +
   - Jérôme Richard +
   - Kassian Sun +
   - Kazuki Sakamoto +
   - Kenichi Maehashi
   - Kevin Sheppard
   - Kilian Lieret +
   - Kushal Beniwal +
   - Leo Singer
   - Logan Thomas +
   - Lorenzo Mammana +
   - Margret Pax
   - Mariusz Felisiak +
   - Markus Mohrhard +
   - Mars Lee
   - Marten van Kerkwijk
   - Masamichi Hosoda +
   - Matthew Barber
   - Matthew Brett
   - Matthias Bussonnier
   - Matthieu Darbois
   - Matti Picus
   - Melissa Weber Mendonça
   - Michael Burkhart +
   - Morteza Mirzai +
   - Motahhar Mokf +
   - Muataz Attaia +
   - Muhammad Motawe +
   - Mukulika Pahari
   - Márton Gunyhó +
   - Namami Shanker +
   - Nihaal Sangha +
   - Niyas Sait
   - Omid Rajaei +
   - Oscar Gustafsson +
   - Ovee Jawdekar +
   - P. L. Lim +
   - Pamphile Roy +
   - Pantelis Antonoudiou +
   - Pearu Peterson
   - Peter Andreas Entschev
   - Peter Hawkins
   - Pierre de Buyl
   - Pieter Eendebak +
   - Pradipta Ghosh +
   - Rafael Cardoso Fernandes Sousa +
   - Raghuveer Devulapalli
   - Ralf Gommers
   - Raphael Kruse
   - Raúl Montón Pinillos
   - Robert Kern
   - Rohit Goswami
   - Ross Barnowski
   - Ruben Garcia +
   - Sadie Louise Bartholomew +
   - Saswat Das +
   - Sayed Adel
   - Sebastian Berg
   - Serge Guelton
   - Simon Surland Andersen +
   - Siyabend Ürün +
   - Somasree Majumder +
   - Soumya +
   - Stefan van der Walt
   - Stefano Miccoli +
   - Stephan Hoyer
   - Stephen Worsley +
   - Tania Allard
   - Thomas Duvernay +
   - Thomas Green +
   - Thomas J. Fan
   - Thomas Li +
   - Tim Hoffmann
   - Ting Sun +
   - Tirth Patel
   - Toshiki Kataoka
   - Tyler Reddy
   - Warren Weckesser
   - Yang Hau
   - Yoon, Jee Seok +

Cheers,

Charles Harris
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


Re: my vs code isnt working

2022-06-11 Thread Igor Korot
Hi,

‪On Sat, Jun 11, 2022 at 10:05 AM ‫סאסי סאס‬‎  wrote:‬
>
> -- Forwarded message -
> מאת: סאסי סאס 
> ‪Date: שבת, 11 ביוני 2022 ב-11:36‬
> Subject: my vs code isnt working
> To: 
>
>
> what shoud i do to make that work i tried reinstalling and it still
> didnt work

This list DOES NOT accept attachment.
You will have to copy and paste the error you receive.

Thank you.

>
>
>
>
> [image: image.png]
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Need help in blockchain coding.

2022-06-11 Thread Ayesha Tassaduq
I am a beginner in python I want to transfer generated hash to a local 
database. I try it with socket programming but I fail. can anyone please help 
me ow I can do this?

class Block:
def __init__( self, previous_block_hash, transaction_list ):
self.previous_block_hash = previous_block_hash
self.transaction_list = transaction_list

self.block_data = f"{' - '.join(transaction_list)} - 
{previous_block_hash}"
self.block_hash = hashlib.sha256(self.block_data.encode()).hexdigest()


class Blockchain:
def __init__( self ):
self.chain = [ ]
self.generate_genesis_block()

def generate_genesis_block( self ):
self.chain.append(Block("0", [ 'Genesis Block' ]))

def create_block_from_transaction( self, transaction_list ):
previous_block_hash = self.last_block.block_hash
self.chain.append(Block(previous_block_hash, transaction_list))

def display_chain( self ):
for i in range(len(self.chain)):
print(f"Hash {i + 1}: {self.chain [ i ].block_hash}\n")

@property
def last_block( self ):
return self.chain [ -1 ]


**t1 = Time_sensitive_df
t2 = "abcdefghijklmnopqrstuvwxyz"
t3 = normal_df
myblockchain = Blockchain()
myblockchain.create_block_from_transaction(t1)
myblockchain.create_block_from_transaction(t2)
myblockchain.create_block_from_transaction(t3)
myblockchain.display_chain()**
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: installing

2022-06-11 Thread Freethinker via Python-list

On 10.06.22 21:29, Grant Edwards wrote:

On 2022-06-10, Yusuf Özdemir  wrote:


?


Your question is a bit vague.

--
Grant




Hahahahaha, to say the least!
--
https://mail.python.org/mailman/listinfo/python-list


Fwd: my vs code isnt working

2022-06-11 Thread סאסי סאס
-- Forwarded message -
מאת: סאסי סאס 
‪Date: שבת, 11 ביוני 2022 ב-11:36‬
Subject: my vs code isnt working
To: 


what shoud i do to make that work i tried reinstalling and it still
didnt work




[image: image.png]
-- 
https://mail.python.org/mailman/listinfo/python-list