We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have the small script below that I try to test:
import sys def pre_save(value, numb): if value == "value": return("accepted by Python script " + sys.version) else: return("refused by Python script" + sys.version)
When I do a py.RunSrc(ctx, pythonCode, "", nil), I get "AttributeError: "'module' has no attribute 'pre_save'""
py.RunSrc(ctx, pythonCode, "", nil)
The text was updated successfully, but these errors were encountered:
it's (I think) the convolution of a bug and a missing feature.
the missing feature:
$> gpython Python 3.4.0 (none, unknown) [Gpython dev] - os/arch: linux/amd64 - go version: devel go1.21-688d75b14f Wed Jun 7 06:52:47 2023 +0000 >>> import sys >>> sys.version Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: "'module' has no attribute 'version'"
the bug: the error being reported is misleading and doesn't point at the actual culprit.
Sorry, something went wrong.
Merci Sébastien.
No branches or pull requests
I have the small script below that I try to test:
When I do a
py.RunSrc(ctx, pythonCode, "", nil)
, I get "AttributeError: "'module' has no attribute 'pre_save'""The text was updated successfully, but these errors were encountered: