# Error msg in Problem window

**URL:** <https://forum.codewithmosh.com/t/error-msg-in-problem-window/16968>\
**Category:** Python\
**Created:** [December 11, 2022, 3:57pm UTC](https://forum.codewithmosh.com/t/error-msg-in-problem-window/16968 "2022-12-11T15:57:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chamari](https://avatars.discourse-cdn.com/v4/letter/c/5e9695/32.png) [@chamari](https://forum.codewithmosh.com/u/chamari)\
**Post date:** [December 11, 2022, 3:57pm UTC](https://forum.codewithmosh.com/t/error-msg-in-problem-window/16968/1 "2022-12-11T15:57:55Z")

</div>

![image](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/7/7f5c6d04b70de4ac07b5a4b85e03cd2119346879.png)

Can someone explain error messages in Problem window and how to fix them?

---

<div class="post-metadata">

**Author:** ![chamari](https://avatars.discourse-cdn.com/v4/letter/c/5e9695/32.png) [@chamari](https://forum.codewithmosh.com/u/chamari)\
**Post date:** [December 11, 2022, 7:24pm UTC](https://forum.codewithmosh.com/t/error-msg-in-problem-window/16968/2 "2022-12-11T19:24:07Z")

</div>

I removed the pylint and I dont get those problems shown above.

---

<div class="post-metadata">

**Author:** ![jmrunkle](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/jmrunkle/32/3765_2.png) [@jmrunkle](https://forum.codewithmosh.com/u/jmrunkle)\
**Post date:** [December 12, 2022, 4:45am UTC](https://forum.codewithmosh.com/t/error-msg-in-problem-window/16968/3 "2022-12-12T04:45:47Z")

</div>

Pylint is a tool that (among other issues) is trying to enforce a particular style for your code. You can ignore them (as @chamari suggested) or you can follow the style it suggested.

In particular, the two suggestions it is telling you are:

1. [“Final newline missing”](https://pylint.pycqa.org/en/latest/user_guide/messages/convention/missing-final-newline.html) means, it wants you to end your file with a blank line like this (note the extra blank line after “print(2+2)”:

2. [“Missing module docstring”](https://pylint.pycqa.org/en/latest/user_guide/messages/convention/missing-module-docstring.html) - Pylint is assuming that you are using Python modules and expects the module to start with a docstring describing the module like this:
