Categories
Mastering Development

Python Text Editor bug

I am a beginner coder and I’ve been working on a text editor with python and I noticed that when I save the file the file does not save as a .txt file even if I choose the option from the drop down menu (by this, I mean that if I write something and press […]

Categories
Ask Geographic Information System (GIS)

Create point geometry in PostGIS from a X Y Z M coordinate format

I would like to get a PostGIS point table from a PostGreSQL table containing OpenDataKit data where the coordinates are contained into in a column in a X Y Z M format (M being I think the value of the GPS precision in meters). E.g: 10.384643333333335 -23.214940000000002 -0.8 5.0 My first question is: what should […]

Categories
Ask Geographic Information System (GIS)

Create point geometry in PostGIS from a X Y Z M coordinate format

I would like to get a PostGIS point table from a PostGreSQL table containing OpenDataKit data where the coordinates are contained into in a column in a X Y Z M format (M being I think the value of the GPS precision in meters). E.g: 10.384643333333335 -23.214940000000002 -0.8 5.0 My first question is: what should […]

Categories
Ask Geographic Information System (GIS)

Create point geometry in PostGIS from a X Y Z M coordinate format

I would like to get a PostGIS point table from a PostGreSQL table containing OpenDataKit data where the coordinates are contained into in a column in a X Y Z M format (M being I think the value of the GPS precision in meters). E.g: 10.384643333333335 -23.214940000000002 -0.8 5.0 My first question is: what should […]

Categories
Mastering Development

Why is the .get() function of tkinter returing an empty string

Basically I want to run a code that allows the user to change their credentials(already given at the start). Over here the functions- def Uname_change(), def Password_change(), def PhoneNo_change() and def DOB_change() tries to do that. But the variable ‘a’ in each of these function(a is got from the get() function on the various entry […]

Categories
Mastering Development

Unable to print wanted variable (outputting unwanted information)

I am trying to print what the use enters in the tkinter window but am printing entire columns from my excel file, information about rows and columns and error messages when trying to simply print(A), print(SeriesA) and print(entry1). The code works perfectly fine inputing the entries into excel but when trying to print them into […]

Categories
Mastering Development

Correct scrolling/resizing behavior of FigureCanvasTkAgg canvas widget when the contained figure is resized

I am trying to make an interactive plotting GUI using Tkinter and matplotlib (python 3.7 and matplotlib 3.0.0) I want the user to be able to resize the figure as it is displayed on the screen without resizing the window, and have achieved this by editing the dpi, width, and height properties of the figure. […]

Categories
Mastering Development

Restuarant management software order receipt function not working

I apologise in advance if this is the wrong place to put this. I am extremely new to python and have little to no concept of its intricacies For reference I am creating a Restaurant order management software that allows you to input orders and create a receipt, etc, based on the following youtube video: […]

Categories
Mastering Development

How to save inputs from entry widgets and load them again in .*json format?

I would like to save my current input and results of my program. I’ve been told that the (.*json) format as a dictionary is the best way. Here is how my program works. Enter the inputs (service life, discount rate, maintenance routine, and maintenance cost), then click Calculate. My questions: how to use the save […]

Categories
Mastering Development

Unable To Add Scroll Bars To A Canvas Widget

Using Python 2.7.16 on a iMac. New to Python and this forum. I have an application that has a canvas widget which the user can drawn on and I want to add scroll bars to it. I have been trying for the past two days and been having no luck. I have looked at numerous […]