Re: String to Dictionary conversion in python

2017-09-14 Thread Ian Kelly
On Fri, Sep 15, 2017 at 12:01 AM, wrote: > Hi, > > Can anyone help me in the below issue. > > I need to convert string to dictionary > > string = " 'msisdn': '7382432382', 'action': 'select', 'sessionId': '123', > 'recipient': '7382432382', 'language': 'english'" > > Can anyone help me with the

Re: String to Dictionary conversion in python

2017-09-14 Thread Bill
santosh.yelamar...@gmail.com wrote: Hi, Can anyone help me in the below issue. I need to convert string to dictionary string = " 'msisdn': '7382432382', 'action': 'select', 'sessionId': '123', 'recipient': '7382432382', 'language': 'english'" Can anyone help me with the code I'm new to Pyt

String to Dictionary conversion in python

2017-09-14 Thread santosh . yelamarthi
Hi, Can anyone help me in the below issue. I need to convert string to dictionary string = " 'msisdn': '7382432382', 'action': 'select', 'sessionId': '123', 'recipient': '7382432382', 'language': 'english'" Can anyone help me with the code -- https://mail.python.org/mailman/listinfo/python-l

Re: ttk.Notebook Tabs Question

2017-09-14 Thread Abdur-Rahmaan Janhangeer
try widget["width"] it returns string then mult by no. of tabs Abdur-Rahmaan Janhangeer, Mauritius abdurrahmaanjanhangeer.wordpress.com On 12 Sep 2017 06:45, "Wildman via Python-list" wrote: > I am working on a program that has a ttk.Notebook with > 12 tabs. Is there a way to determine the to

Re: version of Python to install Windows 7 professional 64 bit, intel core i5

2017-09-14 Thread Abdur-Rahmaan Janhangeer
i'd recommend 3.4 or 3.6 python version is chosen more for python functionality rather than hardware type. Abdur-Rahmaan Janhangeer, Mauritius abdurrahmaanjanhangeer.wordpress.com On 12 Sep 2017 07:38, "Zubair Shaikh" wrote: > What version of Python to install Windows 7 professional 64 bit, in

Re: Change project licence?

2017-09-14 Thread Chris Angelico
On Fri, Sep 15, 2017 at 10:17 AM, Ben Finney wrote: >> I know how to change the licence, but I want to know is it fine and >> wise to change the licence at this point? (The project already has 19 >> clones, 250+ GitHub stars. Here: https://github.com/kryptxy/torrench) > > Those represent a whole l

Re: Change project licence?

2017-09-14 Thread Ben Finney
Kryptxy via Python-list writes: > I have an opensource (python) project under GPL3 licence. Is the license “GNU GPLv3 only”, or “GNU GPL v3 or later”, or something else? It doesn't materially affect the question, but it will make the discussion easier if we know what is the actual license grant.

Re: "tkinter"

2017-09-14 Thread Ben Finney
Steven D'Aprano writes: > On Thu, 14 Sep 2017 17:01:30 +1000, Ben Finney wrote: > > > [“Tkinter” is] not an English word. Yet we are still called upon to > > pronounce it. > > This is the first time I've heard an English language jargon word > described as "not English". If it is not English, wha

Re: Change project licence?

2017-09-14 Thread Chris Angelico
On Fri, Sep 15, 2017 at 6:04 AM, Michael Torrie wrote: > Finally, even if you are the sole copyright holder, while you can change > the license on your code at any time to any terms, you cannot change the > license on code that has already been forked under your original GPLv3 > license. In other

Re: Change project licence?

2017-09-14 Thread Michael Torrie
On 09/14/2017 11:22 AM, Kryptxy via Python-list wrote: > Hi, > I have an opensource (python) project under GPL3 licence. I wish > switch to MIT licence so as to make it more permissive. I know how to > change the licence, but I want to know is it fine and wise to change > the licence at this point?

Re: Change project licence?

2017-09-14 Thread Chris Angelico
On Fri, Sep 15, 2017 at 3:22 AM, Kryptxy via Python-list wrote: > Hi, > I have an opensource (python) project under GPL3 licence. I wish switch to > MIT licence so as to make it more permissive. > I know how to change the licence, but I want to know is it fine and wise to > change the licence at

Change project licence?

2017-09-14 Thread Kryptxy via Python-list
Hi, I have an opensource (python) project under GPL3 licence. I wish switch to MIT licence so as to make it more permissive. I know how to change the licence, but I want to know is it fine and wise to change the licence at this point? (The project already has 19 clones, 250+ GitHub stars. Here:

Re: The Incredible Growth of Python (stackoverflow.blog)

2017-09-14 Thread Christopher Reimer
> On Sep 13, 2017, at 10:12 PM, Paul Rubin wrote: > > Ben Finney writes: >>> I've never seen one. >> who has told you... they are working on a Python 3 code base. > > Just because they've told me about it doesn't mean I saw it personally. > The ones I've seen, including new ones, are Python 2.

Re: The Incredible Growth of Python (stackoverflow.blog)

2017-09-14 Thread Mark Lawrence via Python-list
On 14/09/2017 05:37, Terry Reedy wrote: On 9/13/2017 2:44 AM, Paul Rubin wrote: Are there actually Py3 codebases? Let's think a bit.  There is the Python half of the Python3 codebase, perhaps 400K.  But we can discount that. Then there are all the Py compatible modules on PyPI, which is to

Re: the core values of the Python "platform"

2017-09-14 Thread Rhodri James
On 14/09/17 03:22, Stefan Ram wrote: Ben Finney writes (special characters edited): As I understand it, "flat is better than nested" is talking about *hierarchies* in a code base. It's not IIUC referring to anything about the difference between expressions like you wrote. I have read »impo

Re: "tkinter"

2017-09-14 Thread Steven D'Aprano
On Thu, 14 Sep 2017 17:01:30 +1000, Ben Finney wrote: > Steven D'Aprano writes: > >> (1) Separate T K and INTER syllables. >> >> But the problem with that is that there's very little (but not none >> whatsoever) precedence for sounding out letters individually in English >> words. > > It's not

Re: Creating a python client for an external service advice

2017-09-14 Thread dieter
ivan77 writes: > I would like to create a Python module/client library for a data > visualization service that I use (and will be using more) as my first larger > contribution to open source Python. What kind of service is this "data visualization service"? Is it a library, destined to be linke

Re: "tkinter"

2017-09-14 Thread Ben Finney
Steven D'Aprano writes: > (1) Separate T K and INTER syllables. > > But the problem with that is that there's very little (but not none > whatsoever) precedence for sounding out letters individually in > English words. It's not an English word. Yet we are still called upon to pronounce it. > He

Re: the core values of the Python "platform"

2017-09-14 Thread Bill
Steven D'Aprano wrote: On Wed, 13 Sep 2017 09:08:41 -0400, Darin Gordon wrote: Bryan Cantrill gave an interesting talk recently at a Node conference about "platform values" [1]. For those of us who don't have the time or inclination to watch a video, or who are unable to, could you summarise t