SageMath files (via Jupyter Notebooks) that give an introduction to using SageMath to explore select topics in Abstract Algebra and Cryptography. Note that no local installation of SageMath or Jupyter Notebooks is required to access and use this Project
MIT License
3
stars
2
forks
source link
FrequencyAnalysis file does not run in SageCell #9
Since this files relies on the file words.txt, which is not accessable in SageCell, this file fails to run in SageCell. This needs to be fixed by including the dictionary that is created by the method as a definition. This method should also be commented out so other users do not call it and crash the program, This also means that the method call in the analyze function needs to be edited to read from the new dictionary that will be defined.
This was fixed by explicitly defining the dictionary that would be created by this method, and commenting out the function so that the user cannot call the function and crash the program.
Since this files relies on the file words.txt, which is not accessable in SageCell, this file fails to run in SageCell. This needs to be fixed by including the dictionary that is created by the method as a definition. This method should also be commented out so other users do not call it and crash the program, This also means that the method call in the
analyze
function needs to be edited to read from the new dictionary that will be defined.