Questions tagged as 'python-3.x'

2
answers

Problem to work with Django

I'm trying to work with Django and I could not. I can not access Django from the cmd. Do we have to configure something in the path to work with Django? - C: \ Django-1.10.8 \ django \ bin-- I have the correct path with Python, and add Django...
asked by 05.12.2017 / 21:24
1
answer

from django.apps import apps No module named 'django.apps'

Hi, I am new using django, I am using python 3.5 and django 1.9 but after installing it and trying to create my first project it gives me errors that I do not understand, it is as if django was not installed but if it is? It puts me: Traceback...
asked by 03.12.2017 / 21:41
1
answer

How to install the QT Designer module in Linux (Ubuntu)

I have installed PyQt5 in Linux but I do not know how to install or run the QT Designer module, I would appreciate it if someone can help me.     
asked by 06.12.2017 / 04:34
1
answer

Xpath and attributes of the father

I'm scraping a web with the following structure <tbody> <tr class='Leaguestitle'>...<\tr> <tr id='tr1_abababa'>..<\tr> <tr id='tr2_abababa'>..<\tr> . . <tr id='tr1_acacaca'>..&l...
asked by 16.12.2017 / 23:08
1
answer

I want to validate focus out in a QtableWidgetItem in PyQt 5?

I am occupying a QtableWidget with PyQt 5 and I would like to know if there is a method that allows me to validate when I stopped editing a QtableWidgetItem . Thank you very much!     
asked by 27.11.2017 / 21:14
0
answers

Can I have PyQt4 and PyQt5 installed at the same time?

I have PyQt5 installed on my computer, but many projects tell me that it is better to develop them with PyQt4, I am an intermediate apprentice, and I would like to know if I can install PyQt4 without losing PyQt5. Thanks in advance.     
asked by 02.12.2017 / 21:22
2
answers

How to hide the cmd window when opening a program in tkinter?

I was wondering how to hide the cmd window that is created when I open my program in tkinter. This is what I mean: As you can see behind the tkinter window, one of cmd opens. How can I hide it?     
asked by 27.01.2018 / 01:46
2
answers

Finder in Django administrator

In the django administrator, is there any way to enable a search engine? You have a button to add a record, but when these records are too many, it is too late to find a record to modify or delete. In the image 14 thousand records are shown,...
asked by 27.01.2018 / 04:19
1
answer

Problem with character '\ n' when interpreting a date

Dear, I have a code to change dates of type string in a text file to a list of dates of type datetime : import datetime as dt import workdays Holidays = open("C:\holidays.txt").readlines() print (Holidays) dates_list = [dt.dateti...
asked by 22.11.2017 / 16:59
0
answers

Error NLTK was unable to find the java file

I have a code written in Python that uses a particular tokenizer. In particular it is necessary to read a java file, which I have installed in the corresponding directory. german_postagger = StanfordPOSTagger(r'/Users/test/stanford-postagger/m...
asked by 26.11.2017 / 21:13