Answer the question
In order to leave comments, you need to log in
Python: how to import a file into a module?
How to import a file or information from it in Python?
I made a blockchain consisting of files. Each file contains information about one transaction. The file also contains a unique number.
And I want that, for example, if I indicate the same number in a new block that is already in any other file, then the information from this file (block) is rewritten into a new block. Thus, it will be possible to track all transactions recorded under one number by opening only the last file that contains this unique number.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question