Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Articles by Q CoreApplication
http server in my plugin just works if python console was opened once
I’ve tried to implement a http server in my QGIS plugin to react to http requests in QGIS. I’m testing my http server with postman. But the server dosn’t response correctly until I open the python console in QGIS once. Before I open the python console I get the following error in postman: Error: socket hang up Do you have any suggestions for my problem?
How to add the functions to the created submenu in a PlugIn-menu?
Just some context: I have created two stand-alone plugins based on the code of the QGIS-Plugin-builder. For these I would like to create one menu from which you can then select one plugin to run it. Based on this discussion Handling multiple QGIS Plugins in one custom menu and code snippet I managed to create to create a new menu-point in the qgis tool bar ('LK-tools') with a submenu 'Reformat to LK-names'.
QgsRasterBandComboBox/ ComboBox unable to process raster calculator
I'm creating a plugin to calculate NDVI and NDWI indices in QGIS v3.36.2. I have successfully created the GUI as below and successfully loaded the layers and bands of the layers. The data I am using is multiband landsat 8 data. The select input file using QgsMapLayerComboBox and the select band using QgsRasterBandComboBox. I use the signal when the input file changes, the select band will also change as shown below.
Openpyxl module not working QGIS 3.14 when data is added. Why?
i tried write excel file using openpyxl module.
_core.QgsProcessingException: Unable to execute algorithm Incorrect parameter value for TARGET_LAYER
I am working on a QGIS plugin using Python with Plugin builder and QT designer with two algorithms inside "Points to Path" and "Append Features to Layer". My plugin takes a CSV and then converts it to a line using "Points to Path" and then I would like to automatically make a connection with my PostGreSQL database and add it to a table. It works well inside the python console but when trying to add this line to my CSR table it keeps failing and I don't know how to parametrize it well.
Separating python dictionaries and lists in a Pyqgis plugin
I am new to Python and Qgis Plugin development I am trying to write a plugin which will reference some dictionaries and lists that I would like to keep outside of the main module in a separate '.py' file as they are used by both the Dialog and the main module.
Call and Run pyQGis script by plugin
I wrote a code that work well in console python, an example: from qgis.core import QgsProject, QgsLayerTreeGroup, QgsLayerTreeLayer, QgsLayerTree from PyQt5.QtCore import Qt, QVariant, QSettings, QTranslator, qVersion, QCoreApplication from PyQt5 import QtGui from PyQt5.QtGui import QAction, QIcon, QFileDialog, QProgressDialog, QProgressBar, QShortcut, QKeySequence from osgeo import ogr from shutil import copyfile from urllib.request import urlopen import re import processing, glob, os, time...
python,Pyqt5 实现FTP服务器与客户端文件上传,下载
ftp协议即文件传输协议,人生苦短,我用python,对于编程新手写个ftp服务器及客户端,python绝对是很好的选择,本人用python pyftpdlib模块编写了ftp服务器,也使用pyqt5编写了简单的FTP客户端实现ftp服务器链接文件上传,下载等功能。 一.FTP链接服务端,文件读取上传,下载功能展示 1.链接FTP服务器 填写ftp服务器链接主机ip地址,用户名,密码,端口号,点击链接按钮,看到打印链接成功信息及成功链接上ftp服务器,可在下方查看ftp服务器文件。 2.上传文件到FTP服务器 右击链接FTP服务器的文件点击上传按钮,可选择要上传的文件 选择要上传的文件: 看到如下图打印上传文件成功信息,即文件成功上传到Ftp服务器,上传成功后可以在下方Ftp服务器的文件夹中看到上传的文件。 3.下载文件到本地 右击链接FTP服务器的文件点击下载按钮: 看到如下图打印下载文件成功信息,即文件成功从Ftp服务器下载到本地,可以在本地打开下载的文件: 二.ftp服务端主要代码 from pyftpdlib.authorizers import...
Show More
loading
Actions
Is this you?
As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.Get in touch with Q
Contact Q, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack