Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 days ago.
This post was edited and submitted for review 8 days ago and failed to reopen the post:
Original close reason(s) were not resolved
Improve this question
I'm trying to understand the Solana.py package, and as I've tried to use the get_account_info method from the Client class, using a string as argument does not work (Which is normal, we need a Pubkey class)
Unfortunately, I'm completely unable to find the Pubkey class!
Looking at the code chunks on stack overflow, i've seen and tried
import solana.publickey
for which I've got
ModuleNotFoundError: No module named 'solana.pubkey'
A I doing something wrong ? Is this deprecated ? Have I missed something ? solana is correctly installed as I've got acess to solana.rpc and many more
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 days ago.
Improve this question
There are issues while deserializing the Arxml file(s), while fetching the resource (get_resource) from the ResourceSet reference. Is there any other way to get the model while deserializing the Arxml file(s). Please find the attached issue log for reference.issue log for reference
If anyone is aware of it, please help me out to solve this problem...
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 days ago.
This post was edited and submitted for review 9 days ago and failed to reopen the post:
Original close reason(s) were not resolved
Improve this question
anybody know how to construct any code on Galois field (2^4) based on ReedSolomon code? I’ve been trying it for construct reed solomon generator matrix in binary. galois library has been installed but when I run it, it came as an error like galois isn’t defined, and object “galois” doesn’t have attribute “galoisfield” etc. I’ve been searching and trying how to solve it, but none could solve my problem. Thank you
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
This post was edited and submitted for review 1 year ago and failed to reopen the post:
Original close reason(s) were not resolved
Improve this question
Pywhatkit is already installed successfully but it shows an attribute error in any attribute code. Can I fix it?
My tried code:
import pywhatkit
pywhatkit.sendmsg('071*******','Ado',15,48)
How I fix this:
I renamed my program file name "pywhatkit.py" to "anotername.py".
Thank you all answered people who help me to solve this!
After scrolling through their github page (link here), it seems like you are calling the wrong method sendmsg should be sendwhatmsg
Working code:
import pywhatkit
pywhatkit.sendwhatmsg('071*******','Ado',15,48)
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I want to write a custom error log class, which would show me the errors returned by the code. I don't use google app engine, I use python tornado framework.
So can anyone guide me with steps to follow.
I have actually got the steps to follow to create the custom logger from the below link:
Python: custom logging across all modules
But how do i actually store the logs in db and pull it and post it on my front end.
import logging
logging.basicConfig(...)
try:
do.something()
except Exception:
logging.exception("aiii!")
Eventually you'll want to move off basicConfig.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
Am going to design a game about raising dragons but don't know a way of saving my session/exp/stats so it would be pointless! Can't work out how to use pickle so can somebody give me an answer?
P.S.Simplify your answers as I am stupid
Here is a link for info on basic I/O in the standard library: http://docs.python.org/tutorial/inputoutput.html You will want to store the data from the game in some format (that is up to you) to a file, and then, later, you will read the file, and parse the data, and put it back into memory when the user comes back from a previous session.