Re: Adding tkinter modules to notebook tabs

2020-04-04 Thread Terry Reedy
On 4/4/2020 10:59 AM, Rich Shepard wrote: My Python3-3.8.2 application has 8 modules with subject-specific data entry/editing widgets and I want to display each module on a ttk.Notebook. Each notebook resource I've found in my reference books and on the web describe how to create a notebook and t

Re: A PDF journey to find all python PDF

2020-04-04 Thread Grant Edwards
On 2020-04-04, Michael Torrie wrote: > On 4/4/20 9:08 AM, anson freer wrote: >> Thanks, I'll check them out. >> tutor sent "The reason it is being held: >> >> Post by non-member to a members-only list". >> >> could I be on both lists? I did unsubscribe > > Yes you can subscribe to both lists

print small DataFrame to STDOUT and read it back into dataframe

2020-04-04 Thread Luca
possibly a stupid question. Let's say I have a (small) dataframe: import pandas as pd dframe = pd.DataFrame({'A': ['a0','a1','a2','a3'], 'B': ['b0','b1','b2','b3'], 'C': ['c0','c1','c2','c3'], 'D': ['d0','d1','d2','d3']}, i

Re: Window and position of figure

2020-04-04 Thread DL Neil via Python-list
I already use the IDL software. Now I`m using Python. In IDL I havethe vector position=(xo,yo,x1,y1) to set where Iwnat to plot my figure in my window. I have an 2d array with x and y dimensition equal 5224. when I plot my figure, using contourtf it takes up a small part of my window. What can I

Re: Adding tkinter modules to notebook tabs

2020-04-04 Thread Christian Gollwitzer
Am 04.04.20 um 22:31 schrieb Rich Shepard: On Sat, 4 Apr 2020, Christian Gollwitzer wrote: I'm not sure I fully understand it, because a "module" is not defined in the language of tkinter. Christian, True, but it is in Python: a file ending in .py which, in this case, contains a class of tki

Re: Adding tkinter modules to notebook tabs

2020-04-04 Thread Rich Shepard
On Sat, 4 Apr 2020, Christian Gollwitzer wrote: I'm not sure I fully understand it, because a "module" is not defined in the language of tkinter. Christian, True, but it is in Python: a file ending in .py which, in this case, contains a class of tkinter widgets. Is it correct, you want to k

Re: Adding tkinter modules to notebook tabs

2020-04-04 Thread Christian Gollwitzer
Am 04.04.20 um 16:59 schrieb Rich Shepard: My Python3-3.8.2 application has 8 modules with subject-specific data entry/editing widgets and I want to display each module on a ttk.Notebook. Each notebook resource I've found in my reference books and on the web describe how to create a notebook and

Re: A PDF journey to find all python PDF

2020-04-04 Thread Michael Torrie
On 4/4/20 9:08 AM, anson freer wrote: > Thanks, I'll check them out. > tutor sent "The reason it is being held: > > Post by non-member to a members-only list". > > could I be on both lists? I did unsubscribe Yes you can subscribe to both lists of course. But you have to subscribe to each lis

Re: Latest python Cheatsheet

2020-04-04 Thread Souvik Dutta
Did you post this on the tutor list? It should be more welcomed there. Souvik flutter dev On Sat, Apr 4, 2020, 9:50 PM wrote: > Python Cheatsheet - learn the basics of Python without any book and course > or brush up the basic concepts > > Cheatsheet link - > https://cheatsheets.tutorials24x7.

Latest python Cheatsheet

2020-04-04 Thread lokender . bhim
Python Cheatsheet - learn the basics of Python without any book and course or brush up the basic concepts Cheatsheet link - https://cheatsheets.tutorials24x7.com/programming/python -- https://mail.python.org/mailman/listinfo/python-list

Window and position of figure

2020-04-04 Thread jorge . conforte
Hi, I already use the IDL software. Now I`m using Python. In IDL I havethe vector position=(xo,yo,x1,y1) to set where Iwnat to plot my figure in my window. I have an 2d array with x and y dimensition equal 5224. when I plot my figure, using contourtf it takes up a small part of my window. Wh

Re: A PDF journey to find all python PDF

2020-04-04 Thread anson freer
Thanks, I'll check them out. tutor sent "The reason it is being held: Post by non-member to a members-only list". could I be on both lists? I did unsubscribe I am trying learn how to use a PDF text editor The info I have states I need: pdfminer PyPI python3 only PDFParser PDFDocument P

Adding tkinter modules to notebook tabs

2020-04-04 Thread Rich Shepard
My Python3-3.8.2 application has 8 modules with subject-specific data entry/editing widgets and I want to display each module on a ttk.Notebook. Each notebook resource I've found in my reference books and on the web describe how to create a notebook and tabs and add labels to the tabs; a few descr

Re: Exceptions versus Windows ERRORLEVEL

2020-04-04 Thread Luuk
On 3-4-2020 02:08, Stephen Tucker (Stephen Tucker) wrote: Hi, I have found that raising an exception in a Python 2.7.10 program running under Windows does not set ERRORLEVEL. I realise that Python 2.x is no longer supported. Does an exception raised by a Python 3.x program on a Windows machine

Re: Better use a class decorator or a metaclass?(was: super not behaving as I expected)

2020-04-04 Thread Souvik Dutta
I think this should help https://stackoverflow.com/questions/1779372/python-metaclasses-vs-class-decorators On Sat, 4 Apr, 2020, 6:12 pm Antoon Pardon, wrote: > Op 29/03/20 om 16:49 schreef Peter Otten: > > Antoon Pardon wrote: > > > >> > >> I have the following program > >> > >> class slt: > >>

Better use a class decorator or a metaclass?(was: super not behaving as I expected)

2020-04-04 Thread Antoon Pardon
Op 29/03/20 om 16:49 schreef Peter Otten: > Antoon Pardon wrote: > >> >> I have the following program >> >> class slt: >> __slots__ = () >> ... >> >> class slt1 (slt): >> __slots__ = 'fld1', 'fld2' >> ... >> >> class slt2(slt1): >> __slots__ = 'fld3', >> > Anyway, here's my attempt to