Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Keyword collision#2545

Answeredbyfilmor
jpeddy505 asked this question inQ&A
Feb 5, 2025· 1 comments· 1 reply
Discussion options

What can one do if, when using a .NET library in a python code, one of the identifiers in the .NET library is a python keyword. When I try to run the code that references that identifier, I get a syntax error.

Thanks.

You must be logged in to vote

Instead ofsomething.except you can writegetattr(something, "except").

Replies: 1 comment 1 reply

Comment options

Instead ofsomething.except you can writegetattr(something, "except").

You must be logged in to vote
1 reply
@jpeddy505
Comment options

That worked. Thanks!

Answer selected byfilmor
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
2 participants
@jpeddy505@filmor

[8]ページ先頭

©2009-2025 Movatter.jp