recently I try to run on linux (debian 9) an app that I am programming on windows with python3 and PyQt5
The problem, I can not import modules from any script with extension .pyw
I explain myself better.
I have the files in the followin...
I have a problem. In PyQt5 generate a menubar and within the 2 options file and edit.
What I want is to get access to the position and size of those two options.
In other words, I want to put any of the 2 options within the menubar in any positi...
When reading the lines of the file, some characters are always read as last characters, some white characters as spaces and the line change character ('\ n'). This causes the created file names to include these additional characters. For example...
My question is:
How can I position a button in the position I want in a QMenuBar in pyqt.
For example, the Edit button in the middle of everything and the Help button aligned from the right.
already try this.
menu = self.menuBar()...
Query, the UPDATE clause with postgresql and psycopg2 generates problems for me, and I do not know why, the execution accepts the modification and without leaving the menu I see the changes, but in the bd postgresql table the update does not occ...
I am using the Sqlalchemy orm, when I enter a data of type Float or Numeric does not accept zeros, example:
price = 12.0231
price = 12.1021
price = 12.0012
The previous ones, if you keep the zeros
The problem is when the z...
Dear, I am working on a database in ms access
I make a query locally and everything works well with the module pyodbc I leave the syntax:
conn = pyodbc.connect("Driver={Microsoft Access Driver (*.mdb, *.accdb)};DBQ=C:\Users\Doron E\Desktop\...
You will see I have this code to generate a program without borders in PyQt5 the problem is in the menu bar.
The first thing I tried was to directly load the main menu with the menuBar () function, but I can not accommodate the close, minimiz...
I have this json
{
"type": "FeatureCollection",
"features": [
{
"id": "0",
"type": "Feature",
"properties": {
"Name": "L�nea G - Buenos Aires - Tapiales",
"L...
r=2
while r==2:
print("1. Cifrar \n")
print("2. Decifrar\n")
res = pos=int(input("Elige una opcion de las anteriores \n =>"))
ar = open ('prueba.txt','r') #archivo que lee
G = ar.read()
print(G)# imprime texto que exi...