Questions tagged as 'pycharm'

5
answers

How to find out the type of a variable given by the user?

I would like to ask the user to type something and find out what type of what he wrote. So far I only know input() , but input() only returns String type. If I by int(input()) or float(input()) fall into the sam...
asked by 15.12.2017 / 03:08
2
answers

Implement abstract method in inheritance in Python

The following class hierarchy, where class "A" has an abstract method called "foo": # -*- coding: utf-8 -*- import abc class A: __metaclass__ = abc.ABCMeta def __init__(self): pass @abc.abstractmethod def foo(self):...
asked by 01.12.2015 / 21:31
1
answer

Error: "illegal target for variable annotation" using "@property"

Because pygame does not have a library-like function SFML - > View , I'm developing a "camera" format to scroll the screen and preserve the positions of the objects within the general coordinate within the "world". As default for...
asked by 02.10.2018 / 23:53
1
answer

How to make edits worth while debugging?

When I debug a code in Pycharm (Shift + F9) and make some changes, it is not recognized during the same debugging session. I am required to restart the debug again for the changes to be acknowledged. Is there any way for Pycharm to recognize...
asked by 01.08.2018 / 02:57
3
answers

"break" does not end execution as it should

   Create a program where the user can type multiple numeric values and sign them into a list. If the number already exists inside, it will not be added. At the end, all the unique values entered will appear in ascending order. And so far so...
asked by 20.12.2018 / 18:42
1
answer

IDE for django? [closed]

Good evening, guys, I'm having a lot of problems with some ides, and I need your advice. I'm trying to program web projects in python, so I installed pycharm to work ... The beginning is a great IDE, but it seems that the world neither makes use...
asked by 17.08.2017 / 03:20
1
answer

How to enable automatic line wrapping in PyCharm?

Hello, I would like to know how to enable automatic line wrapping in PyCharm, just as we do in Notepad.     
asked by 14.07.2018 / 23:20
2
answers

Autocomplete does not always work on Pycharm

I'm starting to use Pycharm, creating a test with Pygame. I realize that some Pygame methods do not appear in Pycharm AutoComplete. For example, if I want to put a pygame.mask.from_surface() , typing pygame.mas will not do any...
asked by 14.06.2018 / 03:29
1
answer

Importing modules into PyCharm

I'm trying to import modules into PyCharm: from mymodule import fileHandler However, IDLE reports error ImportError: cannot import name FileHandle I have tried to follow the most common suggestions: Identify the root folder a...
asked by 20.12.2017 / 20:46
2
answers

Pycharm with underline in code

I'm using the appearance dracula in pycharm the problem that my comments are with underlined lines as if it were automatic correction of the word (I hate it) with big codes this is mt annoying. Does anyone know how to remove them? There is s...
asked by 23.09.2016 / 17:49