Re: [Tutor] CSV Read

2018-06-30 Thread David Rock
> On Jun 30, 2018, at 02:01, Peter Otten <__pete...@web.de> wrote: > > > Rather than forcing both blocks into the same data structure I would read > the header with the "key: value" lines into a separate object. > > If the header and the X,Y pairs are separated by an empty line read until > t

Re: [Tutor] RAD GUI Development (like Visual Studio/VBA)

2018-06-30 Thread Alan Gauld via Tutor
On 30/06/18 11:50, Shall, Sydney wrote: >> And if you want to try using Jython or MacPython(?) >> you can use the native GUI builders for those: >> - Eclipse/Netbeans (Java) >> - XDeveloper (MacOS) - I tried this once and it kind of works... >> > Alan, > > Could you expand a bit on the use of XDe

Re: [Tutor] how to change the command "string" on a tkinter Button?

2018-06-30 Thread Alan Gauld via Tutor
On 30/06/18 03:55, Chris Roy-Smith wrote: > I am trying to change the command of a tkinter Button in my program. > Eventually I want to be able to do this to many buttons. Since I'm not 100% sure if you mean the command or the label or both here is a simple example that does both... ###

Re: [Tutor] RAD GUI Development (like Visual Studio/VBA)

2018-06-30 Thread Shall, Sydney
On 30/06/2018 00:34, Alan Gauld via Tutor wrote: On 29/06/18 16:05, Glen wrote: Can someone advise on a RAD, drag and drop style graphical form/dialog creator? Akin to VBA or Visual Studio that will work with Python? There is nothing even close to the VB GUI builder for Python. That's becaus

[Tutor] how to change the command "string" on a tkinter Button?

2018-06-30 Thread Chris Roy-Smith
Hi, OS is Linux, Python version is 3.6.5 I am trying to change the command of a tkinter Button in my program. Eventually I want to be able to do this to many buttons. My attempt at code brings up no error messages, but the button appears to do nothing. I really have no idea how to do this

Re: [Tutor] CSV Read

2018-06-30 Thread Peter Otten
Giulia Marcoux wrote: > Hello, > > I am a student learning python, and i am running into some difficulties. I > am tryign to read a csv file that has different delimiters for different > rows: Example: > > Format:V1.1 > Model: R > Step Size: 10mm > Distance: 10cm > Gain: 1000 > > X,Y > 1,3 > 2,