Why "import fpdf" rather than "import fpdf2"? #1093
vicmayrink
started this conversation in
General
Replies: 1 comment 1 reply
-
Hi @vicmayrink There has been some discussion about this in this issue: #925 Now, we could consider allowing |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm receiving some warnings from PyCharm stating something like:
Thus, I'm wondering why should we run
import fpdf
rathen thanimport fpdf2
?Suppose a large project with legacy code using the original fpdf package and new codes using fpdf2. It should be quite hard to differentiate which code is using each version since the module name is the same when importing.
Beta Was this translation helpful? Give feedback.
All reactions