Questions tagged as 'python-3.x'

0
answers

You can import an x32 lib. using an arm7l (Raspberry Pi 3b)

I was developing an application to run on a raspberry pi 3 but while the mail did not deliver I started on the notebook (Linux Mint) and did not have many problems. When I received the raspberry test application but could not import the manuf...
asked by 29.03.2017 / 03:03
0
answers

Create super user inside a docker container that is used with composite

I have a django project that is running with docker-compose, what I need to do and very simple, run python manage.py createsuperuser, however, even setting the command via dockerfile or compose .yml I can not create this super user , does anyone...
asked by 28.03.2017 / 05:07
1
answer

How to escape HTML from a Pyqt entry?

Both Pyqt4 and Pyqt5 can interpret HTML entities. I have a place where the text is displayed in HTML format. However, at the moment of sending a text made by a certain QLineEdit , I need this text to be escaped, so that HTML tags are conve...
asked by 23.03.2017 / 15:42
1
answer

TypeError: 'str' object does not support item assignment

I made my "version" of a game I saw in a book. def hangman(a): stages = ["", "________ ", "| ", "| | ", "| 0 ", "| /|\...
asked by 14.03.2017 / 20:34
1
answer

Problem with form Django: IntegrityError: NOT NULL constraint failed

I'm trying to make a form using Django's model that saves the data when I click the button and redirects it to a page, I managed to make the form page, only after putting the necessary data and clicking the button to save I get the following err...
asked by 06.03.2017 / 04:56
1
answer

Install Mysql for use with Python [duplicate]

I'm a beginner in python and want to know how to install mysql to store terminal information. I use wamp / mysql to develop in php, is it possible to do any relationship between them? (use mysql from wamp to python?) Use Windows 10 and p...
asked by 27.02.2017 / 21:22
1
answer

GUI with Forward and Back buttons on PyQt5

I noticed a very frequent doubt about how to do a GUI with Forward and Back buttons, being in PyQt4, had a question made a long time ago and that had not been answered until then. I once had made one in PyQt5, so do not get me wrong by the fact...
asked by 03.04.2017 / 11:45
1
answer

Render items with Django Forms. Three Models Involved, Single Forms

Hello, I'm having trouble rendering my model items. The system works as follows: User registers an exam Exame . Within each exam you have the exam types ItemExame User generates a report Laudo that pulls the pati...
asked by 25.02.2017 / 18:08
1
answer

Style of the widgets of a program using PyQt5

I've been creating some kind of text editing software using python3.5 and PyQt5, and at the stage of creating the packages I came to realize that the development version, which used a PyQt5 package managed by the operating system, had a differen...
asked by 28.02.2017 / 22:28
1
answer

Install Python Curl library 3.4.4

Someone has a .zip link to install the librarian "import pycurl" Using Windows and Python 3.4.4     
asked by 28.02.2017 / 12:35