Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Activity for Gregâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Comment | Post #280933 |
Thanks. Apparently the " ". syntax will require a bit more unlearning on my part. (more) |
— | almost 4 years ago |
Edit | Post #280933 |
Post edited: |
— | almost 4 years ago |
Edit | Post #280933 |
Post edited: |
— | almost 4 years ago |
Edit | Post #280933 |
Post edited: |
— | almost 4 years ago |
Edit | Post #280933 |
Post edited: |
— | almost 4 years ago |
Edit | Post #280933 | Initial revision | — | almost 4 years ago |
Question | — |
Help me understand why python3 string.format() raises Attribute error I'd like some help understanding why the third call to print() raises `AttributeError: 'NoneType' object has no attribute 'format'` ``` from os import path import inspect def myfunction(): print(inspect.currentframe().fcode.coname, path.basename(file)) print(f"{inspect.curre... (more) |
— | almost 4 years ago |