On 9/8/2019 8:40 PM, jf...@ms4.hinet.net wrote:
Thank you. After a quick trace to find out the reason, I found that Tkinter
prevents Tk() be called more than once from widget constructors, so only one Tk
object exists:-)
There will only be one default Tk object, but there can be multiple Tk
Mark at PysoniQ.com wrote:
> an extension (.dll or .so) is not generally included in a
> makefile because it's dynamically linked and not incorporated into an
> executable -- which Python doesn't have.
If I change the source, the .dll or .so needs to be re-created. That's
a build step, and as suc
Eko palypse wrote:
I thought a method called fromhex would imply that bytes for an integer
should be created
Why should it imply that? You're asking it to create some bytes
from a string of hex digits -- no mention of integers. The obvious
thing to do is to put the bytes in the order they apper
> No, constructing a bytes literal from hex digits implies that they
> follow the sequence in the string of digits. It's nothing to do with
> the endinanness of integers.
> ChrisA
> Why should it imply that? You're asking it to create some bytes
> from a string of hex digits -- no mention of integ
Wing Python IDE version 7.1.1 has been released. This release avoids
slowing and dropping of remote development connections, fixes showing
Pandas DataFrame and Series values, makes OS Commands work on remote
hosts with Python 3, inspects remote extension modules with non-ascii
characters in th
On behalf of the Python development community, I'm chuffed to announce
the availability of Python 3.5.8rc1.
Python 3.5 is in "security fixes only" mode. This new version only
contains security fixes, not conventional bug fixes, and it is a
source-only release.
You can find Python 3.5.8rc1
We upgraded a server to 18.04 and now when I start typing
a python file (seems to be triggered by the .py extension)
the tabs default to 4 spaces. We have decades of code that
use tab characters, and it has not been our intention to
change that.
I found a /usr/share/vim/vim80/indent/python.vim a
In comp.lang.python, Tobiah wrote:
> We upgraded a server to 18.04 and now when I start typing
Your subject missed a critical word: vim. There are a lot of editors in
Ubuntu, and probably they don't all do that.
> This is more of a vim question perhaps, but I'm already
> subscribed here and I f
On Mon, 09 Sep 2019 10:23:57 -0700, Tobiah wrote:
> We upgraded a server to 18.04 and now when I start typing
> a python file (seems to be triggered by the .py extension)
> the tabs default to 4 spaces. We have decades of code that
> use tab characters, and it has not been our intention to
> chan
On Mon, 09 Sep 2019 10:23:57 -0700, Tobiah wrote:
> We upgraded a server to 18.04 and now when I start typing
> a python file (seems to be triggered by the .py extension)
> the tabs default to 4 spaces. We have decades of code that
> use tab characters, and it has not been our intention to
> chan
Terry Reedy於 2019年9月9日星期一 UTC+8下午3時06分27秒寫道:
> On 9/8/2019 8:40 PM, jf...@ms4.hinet.net wrote:
>
> > Thank you. After a quick trace to find out the reason, I found that Tkinter
> > prevents Tk() be called more than once from widget constructors, so only
> > one Tk object exists:-)
>
> There wil
On Friday, 6 September 2019 07:52:56 UTC+10, Piet van Oostrum wrote:
> Piet van Oostrum <> writes:
>
> > That would select ROWS 0,1,5,6,7, not columns.
> > To select columns 0,1,5,6,7, use two-dimensional indexes
> >
> > df1 = df.iloc[:, [0,1,5,6,7]]
> >
> > : selects all rows.
>
> And that also
On Sunday, 8 September 2019 12:45:45 UTC-4, Peter J. Holzer wrote:
> On 2019-09-08 05:41:07 -0700, Sharan Basappa wrote:
> > On Sunday, 8 September 2019 04:56:29 UTC-4, Andrea D'Amore wrote:
> > > On Sun, 8 Sep 2019 at 02:19, Sharan Basappa
> > > wrote:
> > > > As you can see, the string "\t"81
On Sunday, 8 September 2019 11:16:52 UTC-4, Luciano Ramalho wrote:
> >>> int('C0FFEE', 16)
> 12648430
>
> There you go!
>
> On Sun, Sep 8, 2019 at 12:02 PM Sharan Basappa
> wrote:
> >
> > I have a numpy array that has data in the form of hex.
> > I would like to convert that into decimal/integ
On 9/9/2019 8:30 PM, jf...@ms4.hinet.net wrote:
Terry Reedy於 2019年9月9日星期一 UTC+8下午3時06分27秒寫道:
There will only be one default Tk object, but there can be multiple Tk
objects.
import tkinter as tk
f0 = tk.Frame()
This causes creation of a default root
root0 = tk.Tk()
This creates another
I had tried the following script test.py:
import tkinter as tk
class Demo(tk.Frame):
def __init__(self):
tk.Frame.__init__(self, name='demo')
self.pack()
panel = tk.Frame(self, name='panel')
panel.pack()
start = tk.Button(text=
On Tuesday, 10 September 2019 12:56:36 UTC+10, Sayth Renshaw wrote:
> On Friday, 6 September 2019 07:52:56 UTC+10, Piet van Oostrum wrote:
> > Piet van Oostrum <> writes:
> >
> > > That would select ROWS 0,1,5,6,7, not columns.
> > > To select columns 0,1,5,6,7, use two-dimensional indexes
> > >
Terry Reedy於 2019年9月10日星期二 UTC+8上午11時43分05秒寫道:
> On 9/9/2019 8:30 PM, jf...@ms4.hinet.net wrote:
> > Terry Reedy於 2019年9月9日星期一 UTC+8下午3時06分27秒寫道:
>
> >> There will only be one default Tk object, but there can be multiple Tk
> >> objects.
>
> import tkinter as tk
> f0 = tk.Frame()
>
> T
18 matches
Mail list logo