Questions tagged as 'pycharm'

0
answers

Error running setup.py in Pycharm

Hello, every time I try to run a setup.py file I find the following error: usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py...
asked by 03.09.2018 / 16:26
1
answer

Doubt about pycharm

I typed exactly this: import math num = float(input('Digite um numero: ')) print('A parte inteira do numero {} é {}.'.format(num, math.trunc(num))) However, when running, this only appears: Digite um numero: 9.8 Process finished with exi...
asked by 03.07.2018 / 20:44
0
answers

Import math into python 3.6 (pycharm)

I'm starting my studies in programming, I decided to start with python, and in one of the videotapes the teacher said to type: import math But when I type import I can not find this library, and videotape is dated from last year. I would li...
asked by 01.07.2018 / 00:55
2
answers

Importing library into python

Hello, I'm not able to import any library in python using pycharm. When I type, for example, the command import time , the words go gray and do not bring anything.     
asked by 12.06.2018 / 03:04
1
answer

OAuth v2 in Django 1.4

Friends, I'm studying how to implement the OAuth v2 protocol in my application. I've researched a lot here and found nothing that could solve my problem. So far I have a database in PostgreSQL and authentication with a Django middleware. I've...
asked by 11.11.2016 / 19:55
2
answers

Error interpreting special characters

I'm looking for an element, and so far everything's okay, I've tested it before and it worked, but .. using this code driver.find_element_by_xpath('//*[@data-qtip="Configurações"]').click() is an error, and cmd returns me File "chrome.p...
asked by 20.01.2016 / 19:35
2
answers

Factorial in python, [closed]

People, I'm new in the programming area, and doing exercises I came across the following question: Make a program that calculates the factorial of a user-supplied integer. Ex.: 5!=5.4.3.2.1=120 How do I use pycharm to solve...
asked by 22.10.2016 / 06:06
1
answer

How can I create a dynamic database in pyhton [closed]

Can anyone help me with how to create a dynamic database, where can I add and remove items? In the Python language, if possible with Sqlite     
asked by 10.05.2018 / 22:01
1
answer

Unused import statement - Pycharm

When trying to import using Pycharm : from selenium.webdriver.common.alert import Alert It leaves the text in gray, and shows unused import statemnet . I tried to use the: # noinspection PyUnresolvedReferences But withou...
asked by 16.03.2016 / 18:28
1
answer

How to reverse the association of one file to open with another, in Pycharm

I got a song I copied and pasted on pycharm. The song was not recognized, appearing the option Associate with file type, when I clicked I linked the program to youtrack query, how do I revert as I was before?     
asked by 22.10.2018 / 23:19