Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Searche each element of each tuple based 3 numbes
Post: RE: Searche each element of each tuple based 3 num...

Hi Thank everyone, especially ale this #7 solve my question. tks
zinho General Coding Help 8 740 Dec-11-2023, 05:14 PM
    Thread: Searche each element of each tuple based 3 numbes
Post: RE: Searche each element of each tuple based 3 num...

hi. This is my code: import itertools all_num = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20] combinations = itertools.combinations(all_num, 6) look_up_numbs = (17, 19, 20) # look inside of t...
zinho General Coding Help 8 740 Dec-10-2023, 01:13 PM
    Thread: Searche each element of each tuple based 3 numbes
Post: RE: Searche each element of each tuple based 3 num...

Hi. I hope someone guive an example, I'm stuck here. I try something lik ethis, but dint wotk. look_up_numbs = [item for item in res if (17 and 19 and 20) in item]tks
zinho General Coding Help 8 740 Dec-10-2023, 12:09 PM
    Thread: Searche each element of each tuple based 3 numbes
Post: Searche each element of each tuple based 3 numbes

Hi. I have combinations based list with tuple nested How to find based 3 numbers of my choice if all this 3 numbes is inside of list of tups? import itertools all_num = [1,2,3,4,5,6,7,8,9,10,11,12,...
zinho General Coding Help 8 740 Dec-09-2023, 11:29 PM
    Thread: PySide6 Copy and Past from clipboard to QTableWedget
Post: RE: PySide6 Copy and Past from clipboard to QTable...

I think this can help me, I will test it def keyPressEvent(self, event) -> None: super().keyPressEvent(event) try: if event.key() == Qt.Key.Key_V and (event.modifiers() & Qt.Key...
zinho GUI 6 1,064 Dec-07-2023, 10:10 PM
    Thread: PySide6 Copy and Past from clipboard to QTableWedget
Post: RE: PySide6 Copy and Past from clipboard to QTable...

Hi. This is may main.py file import sys from PySide6 import QtWidgets from ui_mainwindow import Ui_Dialog from PySide6.QtWidgets import (QDialog, QDialogButtonBox, QVBoxLayout, QLabel, QMessageBox, ...
zinho GUI 6 1,064 Dec-05-2023, 10:47 PM
    Thread: PySide6 Copy and Past from clipboard to QTableWedget
Post: RE: PySide6 Copy and Past from clipboard to QTable...

Hi To be more eazy, I'm posting my two files here. Tks
zinho GUI 6 1,064 Dec-05-2023, 09:25 PM
    Thread: PySide6 Copy and Past from clipboard to QTableWedget
Post: PySide6 Copy and Past from clipboard to QTableWedg...

Hi. I'm using PySide6 - 6.6.0 I have UI maide by QTDesigner with 3 tables one of them called tb_segregados When main.py run, will display GUI to user fill up this table. The user have this options: ...
zinho GUI 6 1,064 Dec-05-2023, 03:16 PM
    Thread: Export data from PDF as tabular format
Post: RE: Export data from PDF as tabular format

Hi Pedro. THis is very far from my knowledge of Python3 I was thinking it's more easy use regex with output below, to get data e insert into Excel worksheet. Output:' Quantidade|Unid. |Solicitagao P...
zinho General Coding Help 5 625 Nov-10-2023, 05:11 PM
    Thread: Export data from PDF as tabular format
Post: RE: Export data from PDF as tabular format

(Nov-09-2023, 06:56 PM)Pedroski55 Wrote: Do you want all of 1.pdf? Do you just want the small table in the pdf that has Insumo in the top left column? Do all these tables always have the same form...
zinho General Coding Help 5 625 Nov-09-2023, 07:11 PM
    Thread: Export data from PDF as tabular format
Post: Export data from PDF as tabular format

Hi. I would like exporta data from PDF files, but I need in tabula format. import io import pytesseract from pdf2image import convert_from_path import pandas as pd import re #Insumo, Quantidade, Uni...
zinho General Coding Help 5 625 Nov-08-2023, 09:28 PM
    Thread: start and stop websocket-client using button GUI
Post: RE: start and stop websocket-client using button G...

How can I show part of my data frame into QLabel?
zinho GUI 5 2,313 Dec-21-2022, 05:55 PM
    Thread: start and stop websocket-client using button GUI
Post: RE: start and stop websocket-client using button G...

Please anyone?
zinho GUI 5 2,313 Dec-19-2022, 11:34 PM
    Thread: start and stop websocket-client using button GUI
Post: RE: start and stop websocket-client using button G...

Hi. Please anyone? Tks
zinho GUI 5 2,313 Dec-18-2022, 08:49 PM
    Thread: start and stop websocket-client using button GUI
Post: RE: start and stop websocket-client using button G...

Hi, How can I show data from stream data and show it on QLabel? main.py from PySide6.QtCore import QCoreApplication from PySide6 import QtCore from PySide6.QtGui import QIcon from PySide6.QtWidgets i...
zinho GUI 5 2,313 Dec-10-2022, 10:32 PM
    Thread: start and stop websocket-client using button GUI
Post: start and stop websocket-client using button GUI

Hi. I have 1 script that get data from Binance using websocket-client lib and save into data base, then second script get the best COIN from data base. I would like put this scripts into GUI PySide6....
zinho GUI 5 2,313 Dec-03-2022, 11:26 PM
    Thread: Jinja2 and Excel
Post: RE: Jinja2 and Excel

Hi Some one know how to do something like this? https://hugoworld.wordpress.com/2019/01/...nd-jinja2/
zinho General Coding Help 1 4,452 Mar-26-2021, 12:27 AM
    Thread: Filter numbers (that start with 1)
Post: RE: Filter numbers (that start with 1)

Hi scidam Good ideia, thank you!
zinho Data Science 2 1,666 Jul-29-2020, 11:09 AM
    Thread: Filter numbers (that start with 1)
Post: Filter numbers (that start with 1)

Hi how filter number in column CFOP that which start with number 1xxx I have a column CFOP with number type like this (Dtype int64) CFOP 5927 5403 5102 6152 6209 1102 2353 1353 1556 2923 2102 1411 12...
zinho Data Science 2 1,666 Jul-28-2020, 08:34 PM
    Thread: Difference of two columns in Pandas dataframe
Post: RE: Difference of two columns in Pandas dataframe

My question is solved now, thank you I miss this ndf = xw.Range('AI1:AJ' + str(len(last_row))).options(pd.DataFrame).valueWould be this ndf = xw.Range('AI1:AJ' + str(len(last_row))).options(pd.DataFra...
zinho Data Science 2 3,295 Jun-17-2020, 03:36 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020