Quantcast
Channel: User Graygood - Stack Overflow
Browsing all 32 articles
Browse latest View live
↧

Comment by Graygood on Get the name of a chosen item in QListWidget PyQt5

@eyllanesc I choose the item, then press the button that runs process function. When I press this button, the path to the chosen file should be given to this func. The problem is I could not find code...

View Article


Comment by Graygood on Path to the file Python

Thanks, it helped!

View Article

Comment by Graygood on Remove items from QListWidget in PyQt5

updated question @Gianluca

View Article

Comment by Graygood on Select only rows with max date

I guess, partition and over is also not implemented in Clickhouse

View Article

Comment by Graygood on Map each element of array with its own method using...

@juanpa.arrivillaga tried to make my question more clear

View Article


Comment by Graygood on Map each element of array with its own method using...

That's exactly what I wanted! Thx a lot

View Article

Comment by Graygood on Multiprocessing map on dict items

Thanks that works fine for me

View Article

Comment by Graygood on Sliding window reports caching

This was a huge speed up! Thanks

View Article


Comment by Graygood on Get emoji from reaction in discord.py

It seems like return statement of the check function is not going off. I would try printing out the result of it

View Article


Comment by Graygood on flock with crontab is not working properly

Thanks! That was helpful. Also I faced a strange behavior, that lock isn't removed, given that it should be removed after cd command is executed successfully, isn't that right?

View Article

Passing data between two functions. 'bool' object is not callable

I am trying to make desktop-app for my science work.I have a function that processes the data, and return me 3 list objects. code def process(self): file_location = "'/Users/Graygood/Desktop/Science\...

View Article

Passing data from one fucntion to another. Python

I am working on an app and I have made a UI with the qt5 creator. I have a function bound to a...

View Article

Proper Save As function in Python

I have a default Save As function bound to a button click, that calls a modal window.Also, I have a function, that saves needed arrays as a .xlsx file....

View Article


Path to the file Python

I've made a code that reads files from the folder and saves their paths.sample_directory = []sample_files = []for (dirpath, dirnames, filenames) in walk('./Samples'): sample_files.extend(filenames)...

View Article

Answer by Graygood for Can't Insert array data into QTableWidget PyQt5

Found a problem. self.clickSample_list.setItem(row, column, QTableWidgetItem(processed_info[row][column]))only works with string items, so I replaced it with self.clickSample_list.setItem(row, column,...

View Article


Image may be NSFW.
Clik here to view.

Can't Insert array data into QTableWidget PyQt5

I am making a desktop app for scientific purposes, and I am struggling to find info on the topic.I have the code that scans the specific folder of excel files and saves its names and...

View Article

How to call the function after UI loads? PyQt5

I'm building the desktop app. Before class MyMainWindow(QMainWindow, Ui_MainWindow): I have a section, that processes some initial data (code 1)sample_directory_2 = []sample_files_2 = []for (dirpath,...

View Article


Image may be NSFW.
Clik here to view.

Create a portable version of the desktop app in PyQt5

I have made a UI in QtCreator 5. Then, I converted UI-file "Odor.ui" into "ui-main.py". Then I used Anaconda framework to write a computational part in Upiter Notebook. When, I compile this codeimport...

View Article

Replacement for dataframe.iterrows()

I'am working on a script for migrating data from MongoDB to Clickhouse. Because of the reason that nested structures are'nt implemented good enough in Clickhouse, I iterate over nested structure and...

View Article

Generate multiple OR/AND statements [duplicate]

I am working on python script that splits text in different blocks based on keywords used in text. Currently I split text into blocks with sth like this (for 1 block, others have pretty much the same...

View Article
Browsing all 32 articles
Browse latest View live