Questions tagged as 'python-3.x'

0
answers

What simple way can I run programs in python?

My question is very novice level, sorry. I use pycharm but am open to other better suggestions according to my problem.    I would like to execute the code in the interpreter itself, but according to the book I practice, all the examples as one...
asked by 22.02.2018 / 05:50
0
answers

How to make a CORS request with Django Python?

A few weeks ago I learned how to configure a CORS request with Spring Boot, I found it very simple in accordance with the documentation, as I would like to do the same with Python's Django. For those who do not know CORS is the following ......
asked by 11.02.2018 / 11:51
1
answer

How to fix ipykernel_launcher.py: error: unrecognized arguments no jupyter?

I'm following this tutorial of tensorflow after two days preparing the environment in Anaconda I finally managed to execute premade_estimator.py using cmd ButwhenItrytorunthesamecodeinjupyter,Igetthiserror:usage:ipykernel_launcher.p...
asked by 14.02.2018 / 22:15
0
answers

Mysql + Python (Save Login in Variable to make Connection)

import os import getpass import mysql.connector class AcessDataBase(): UserName = "" PassWard = "" DataBase = "" def LoginDB(self): self.UserName = input("Username: ") os.system("cls") self.PassWard = getpass.getpass("Passwa...
asked by 08.02.2018 / 12:39
2
answers

Python - Assign the value of an entry to a variable

I tried to use the command mensagem = str(entry.get()) but it does not work, I tried to use entry = Entry(root, textvariable='mensagem') but it also does not work, see the whole code basically I want to type something in an entry a...
asked by 07.02.2018 / 21:46
0
answers

Python - remove_widget does not remove everything you need

Good evening, everyone. I have a screen where you have four fields to add products: "description", "unit value", "quantity" and "total value" To add more products, have a "+" button and to remove the last line, a "-" button as in the image:...
asked by 17.02.2018 / 01:17
1
answer

Sort grammatically a word in Portuguese

It is known that it is possible to morphologically classify words through the nltk module, but it works directly with English only, requiring a complicated process for other languages. Is there a module or method that makes it possible to classi...
asked by 05.02.2018 / 18:08
0
answers

Python - CTR class does not register in DB

Good evening. Application developed in Python 3.x Database: sqlalchemy. I'm trying to develop a simple product registration system in a SQL database. For that, I am trying to develop from the MVC Standard (Model, View and Controller). In...
asked by 01.02.2018 / 23:27
0
answers

Scrapy Multiples Requests returning the same information

Hello, I'm trying to extract data, but strangely the return is coming by 2 in 2, ie if I make 6 different requests it returns 6 results but only 3 of them are destined. In the example below the response even though a different request (ncm...
asked by 31.01.2018 / 22:57
0
answers

How to increase the performance of a search with for

Basically the program I did does this same procedure, but with more data. I need to increase search performance, of course this can be done with libraries if that is better. No matter how performance improves, as long as the data format stays th...
asked by 02.02.2018 / 15:37