Dataframe with two groups of cols.

2019-06-13 Thread Paulo da Silva
Hi! How do I create a pandas dataframe with two (or more) groups of cols.? Ex.: G1 G2 C1 C2 C3 C1 C2 C3 Rows of values ... I then should be able to access for example df['G2']['C3'][] Thanks. -- https://mail.python.org/mailman/listinfo/python-list

Re: How control a GUI for an unrelated application from a Python script?

2019-06-13 Thread Julio Oña
try https://pypi.org/project/PyAutoIt/ Regards Julio El jue., 13 de jun. de 2019 a la(s) 21:37, Michael Torrie (torr...@gmail.com) escribió: > > On 06/13/2019 05:49 PM, Christian Seberino wrote: > > I have a third party GUI that manages some hardware. > > > > I want to control the hardware from a

Re: How control a GUI for an unrelated application from a Python script?

2019-06-13 Thread Michael Torrie
On 06/13/2019 05:49 PM, Christian Seberino wrote: > I have a third party GUI that manages some hardware. > > I want to control the hardware from a Python script. > > This seems to mean I need to somehow have Python code > that imitates a human doing the necessary > actions on the GUI (selec

Re: How control a GUI for an unrelated application from a Python script?

2019-06-13 Thread Chris Angelico
On Fri, Jun 14, 2019 at 9:51 AM Christian Seberino wrote: > > I have a third party GUI that manages some hardware. > > I want to control the hardware from a Python script. > > This seems to mean I need to somehow have Python code > that imitates a human doing the necessary > actions on the G

How control a GUI for an unrelated application from a Python script?

2019-06-13 Thread Christian Seberino
I have a third party GUI that manages some hardware. I want to control the hardware from a Python script. This seems to mean I need to somehow have Python code that imitates a human doing the necessary actions on the GUI (selecting menu options, pressing buttons, etc.) Is this possible / e

The trailing comma bites! You have a new tuple.

2019-06-13 Thread Cameron Simpson
Just venting :-( I've just wasted a surprising amount of time on a simple mistake. Former code: task = IngestTask(..., logical_dirpath=join(source_dir, subdir, rpath), ...) During a reworking it became this: logical_dirpath = join( source_dir, subdir, rpath ), tas

Re: pysftp / paramiko problem

2019-06-13 Thread MRAB
On 2019-06-13 14:57, Robin Becker wrote: On 13/06/2019 05:56, dieter wrote: Robin Becker writes: On 12/06/2019 05:59, dieter wrote: Robin Becker writes: I am trying to convert older code that uses ftplib as the endpoint has switched to sftp only. ... Well with real sftp I can cd to that p

Re: pysftp / paramiko problem

2019-06-13 Thread Robin Becker
On 13/06/2019 05:56, dieter wrote: Robin Becker writes: On 12/06/2019 05:59, dieter wrote: Robin Becker writes: I am trying to convert older code that uses ftplib as the endpoint has switched to sftp only. ... Well with real sftp I can cd to that path so if it is a symlink it goes somewhe