Re: Tkinter layout designer

2020-02-24 Thread Souvik Dutta
There is one called PAGES On Tue, Feb 25, 2020, 12:05 PM Christian Gollwitzer wrote: > Am 24.02.20 um 22:29 schrieb mm0fmf: > > Can anyone recommend a graphic layout designer for Tkinter programs. > > There is no such thing for Tkinter. There is an outdated designer for Tk > called Visual Tcl, b

Re: Tkinter layout designer

2020-02-24 Thread Christian Gollwitzer
Am 24.02.20 um 22:29 schrieb mm0fmf: Can anyone recommend a graphic layout designer for Tkinter programs. There is no such thing for Tkinter. There is an outdated designer for Tk called Visual Tcl, but it can generate only Tcl code, not TkInter, and uses only old-style widgets. I have a nu

Tkinter layout designer

2020-02-24 Thread mm0fmf
Can anyone recommend a graphic layout designer for Tkinter programs. I have a number of older C# Windows Forms apps that need porting so they can run on Linux and Windows and this is the chance to re-write them in Python. However, after using the forms designer in Visual Studio, manually coding

Re: time.localtime add a parameter for timezone

2020-02-24 Thread Rhodri James
On 24/02/2020 17:21, Dieter Maurer wrote: qbit wrote at 2020-2-24 05:18 -0800: How about adding a time zone parameter to time.localtime? A offset just like the form: ± hh[:mm[:ss]]. Why should this be necessary? `localtime` returns the time in the "local timezone" -- and the "local timezone"

Re: time.localtime add a parameter for timezone

2020-02-24 Thread Dieter Maurer
qbit wrote at 2020-2-24 05:18 -0800: >How about adding a time zone parameter to time.localtime? > >A offset just like the form: ± hh[:mm[:ss]]. Why should this be necessary? `localtime` returns the time in the "local timezone" -- and the "local timezone" usually does not change between different

RE: How to get a place's longitude and latitude?

2020-02-24 Thread legaulph
Try something like import requests import json url = "https://nominatim.openstreetmap.org/search.php?q=city+country&format=json&l imit=1" result = requests.get(url) dataobj = result.json() x = dataobj[0]['lat'] + "," + dataobj[0]['lon'] print(x) -Original Message- From: Python-list On

time.localtime add a parameter for timezone

2020-02-24 Thread qbit
How about adding a time zone parameter to time.localtime? A offset just like the form: ± hh[:mm[:ss]]. -- https://mail.python.org/mailman/listinfo/python-list

Re: How to get a place's longitude and latitude?

2020-02-24 Thread Joel Goldstick
On Mon, Feb 24, 2020 at 11:10 AM Aakash Jana wrote: > > You might use webscraping with requests and beautiful soup to scrape up > some website for that gives such utility > > > On Mon, 24 Feb 2020, 9:36 pm Souvik Dutta > > Hi guys I want to make a program that kinda sends an sos message with the

Re: How to get a place's longitude and latitude?

2020-02-24 Thread Abdur-Rahmaan Janhangeer
Ever heard of QPython? It has a sl4a Api http://edu.qpython.org/qsl4a-develop/index.html?form=web You can pull in GPS coordinates! On Mon, 24 Feb 2020, 20:07 Souvik Dutta, wrote: > Yes. > > On Mon, 24 Feb, 2020, 9:36 pm Abdur-Rahmaan Janhangeer, < > arj.pyt...@gmail.com> wrote: > >> On phone?

Re: How to get a place's longitude and latitude?

2020-02-24 Thread Chris Angelico
On Tue, Feb 25, 2020 at 3:04 AM Souvik Dutta wrote: > > Hi guys I want to make a program that kinda sends an sos message with the > measures of longitude and latitude (which is super inconvenient) to > someone. How can I do that I mean how can I get the longitude and latitude? > Any help would be

Re: How to get a place's longitude and latitude?

2020-02-24 Thread Aakash Jana
You might use webscraping with requests and beautiful soup to scrape up some website for that gives such utility On Mon, 24 Feb 2020, 9:36 pm Souvik Dutta Hi guys I want to make a program that kinda sends an sos message with the > measures of longitude and latitude (which is super inconvenient)

Re: How to get a place's longitude and latitude?

2020-02-24 Thread Abdur-Rahmaan Janhangeer
On phone? On Mon, 24 Feb 2020, 20:02 Souvik Dutta, wrote: > Hi guys I want to make a program that kinda sends an sos message with the > measures of longitude and latitude (which is super inconvenient) to > someone. How can I do that I mean how can I get the longitude and latitude? > Any help wou

How to get a place's longitude and latitude?

2020-02-24 Thread Souvik Dutta
Hi guys I want to make a program that kinda sends an sos message with the measures of longitude and latitude (which is super inconvenient) to someone. How can I do that I mean how can I get the longitude and latitude? Any help would be appreciated. -- https://mail.python.org/mailman/listinfo/pytho