#πŸ”’ Compiler

18 messages Β· Page 1 of 1 (latest)

quasi epoch
#

Hi, I have tried to compile my solidity file in my python program,but somehow It does not print the file.Could someone please help me fix it? thanks

burnt sphinxBOT
#

@quasi epoch

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

onyx dew
quasi epoch
onyx dew
#

I've never used this library, but presumably, that's just Python code that you need to run.

#

You may need import solcx if you're only importing specific functions from the module.

quasi epoch
#

I did import

onyx dew
#

This is not legal. Did you mean : instead of =?

#

Also, solidity seems to need to be Solidity.

quasi epoch
#

according to the video i am watching, he did exactly the same thing and his file printed out.

onyx dew
#

Whoops, nvm, that is legal. That's just a keyword argument. It looked like it was inside the dictionary.

onyx dew
#

Ignore that part of my suggestion. What happens after you fixed the second issue I meantioned?

burnt sphinxBOT
#
Python help channel closed for inactivity

This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.