Ask for help on using asynctk package

2019-02-20 Thread jfong
The file below is a simple script to test this package. - # test_asynctk.py import asynctk as atk root = atk.AsyncTk() def delay5S(): btn0.after(5000) def inc1(): msgs = btn1.cget('text').split() n = int(msgs[1]) msg = msgs[0] + ' ' + str(n+1) btn1.config(text=msg

Re: Multiprocessing performance question

2019-02-20 Thread george trojan
I don't know whether this is a toy example, having grid of this size is not uncommon. True, it would make more sense to do distribute more work on each box, if there was any. One has to find a proper balance, as with many other things in life. I simply responded to a question by the OP. George O

Re: Multiprocessing performance question

2019-02-20 Thread DL Neil
George On 21/02/19 1:15 PM, george trojan wrote: def create_box(x_y): return geometry.box(x_y[0] - 1, x_y[1], x_y[0], x_y[1] - 1) x_range = range(1, 1001) y_range = range(1, 801) x_y_range = list(itertools.product(x_range, y_range)) grid = list(map(create_box, x_y_range)) Which creates

Re: Multiprocessing performance question

2019-02-20 Thread george trojan
def create_box(x_y): return geometry.box(x_y[0] - 1, x_y[1], x_y[0], x_y[1] - 1) x_range = range(1, 1001) y_range = range(1, 801) x_y_range = list(itertools.product(x_range, y_range)) grid = list(map(create_box, x_y_range)) Which creates and populates an 800x1000 “grid” (represented as a fl

Re: How to play with Python in an existing app

2019-02-20 Thread 0x906 via Python-list
A rule of thumb to keep your sanity and maybe your job is to never touch a production system in any way. Use a copy of that db and do all your research there. > On Feb 20, 2019, at 10:56 AM, edmer2...@gmail.com wrote: > > So I'm a newbie to Python. I got access to an existing RavenDB and am >

Re: revisiting the "What am I running on?" question

2019-02-20 Thread Roel Schroeven
Thomas Jollans schreef op 20/02/2019 om 12:48: I'm fairly sure "win32" was used on W9x as well. Indeed, it was used for all 32-bit Windows versions: both the 9x line and the NT line. There were differences, of course. For example there are many calls that take SECURITY_ATTRIBUTES parameters.

Re: How to play with Python in an existing app

2019-02-20 Thread DL Neil
Edmer, On 21/02/19 7:56 AM, edmer2...@gmail.com wrote: So I'm a newbie to Python. I got access to an existing RavenDB and am supposed to install it on aws.amazon.com. If I succeed in setting this up, I am supposed to write some Python code. But how can I play with Python and test some querrie

Re: How to play with Python in an existing app

2019-02-20 Thread Rhodri James
On 20/02/2019 18:56, edmer2...@gmail.com wrote: So I'm a newbie to Python. I got access to an existing RavenDB and am supposed to install it on aws.amazon.com. If I succeed in setting this up, I am supposed to write some Python code. But how can I play with Python and test some querries withou

How to play with Python in an existing app

2019-02-20 Thread edmer2210
So I'm a newbie to Python. I got access to an existing RavenDB and am supposed to install it on aws.amazon.com. If I succeed in setting this up, I am supposed to write some Python code. But how can I play with Python and test some querries without f#cking up the database? Because the RavenDB is

RE: my idle doesn't work

2019-02-20 Thread Steve
I had this once. I uninstalled/reinstalled python and IDLE worked. Footnote: Ultrasound Technician Asks Pregnant Woman If She'd Like To Know Baby's Name -Original Message- From: Python-list On Behalf Of Sithmi Assalaarachchi Sent: Wednesday, February 20, 2019 7:53 AM To: python-list@py

RE: Unable to Install Python 3.7.2 64 bit version on my Windows 8.1

2019-02-20 Thread Steve
Is your .py file represented with the python icon? If not then you probably have a path problem. You can check to see if python is working if you copy a .py file into the same folder where python.exe exists. If you can execute the .py file from that folder then and not elsewhere, it is probably a

Re: Unable to Install Python 3.7.2 64 bit version on my Windows 8.1

2019-02-20 Thread Calvin Spealman
In what way is it "unable to open the ride.py" file? Can you give details about how you're trying to open or run that, what you expect to happen, and what's happening instead? On Wed, Feb 20, 2019 at 8:22 AM Subash Netha wrote: > Hello Team, > > I'm trying to install Python 3.7.2 64 bit version

Re: pip not working

2019-02-20 Thread Calvin Spealman
Can you give any more information than that? On Wed, Feb 20, 2019 at 8:30 AM prasis poudel wrote: > > -- > https://mail.python.org/mailman/listinfo/python-list > -- CALVIN SPEALMAN SENIOR QUALITY ENGINEER cspea...@redhat.com M: +1.336.210.5107 TRIED. TESTED. TRUSTED.

Re: not installing properly

2019-02-20 Thread Calvin Spealman
What EXE file have you downloaded? How are you trying to run it? What are you expecting it to do and what is it doing instead? You'll need to provide more information in order to help us help you. On Wed, Feb 20, 2019 at 8:26 AM Vandna Mahendroo wrote: > Dear ... > > I am trying to instaal pyt

Re: f-string not referenced in library

2019-02-20 Thread Calvin Spealman
The string library is a utility set of functions with common string operations and that documentation is about the specific library, not the concept of strings or their syntax and other features in the language itself. For more about f-strings and other string behaviors, read the documentation on s

Re: revisiting the "What am I running on?" question

2019-02-20 Thread Chris Angelico
On Thu, Feb 21, 2019 at 12:56 AM songbird wrote: > > Thomas Jollans wrote: > ... > > I'm fairly sure "win32" was used on W9x as well. In any case it *was* > > correct at the time, as early versions of Python also ran on DOS and > > Windows 3.1. "windows" would not have been suitable. > > > > But y

Re: revisiting the "What am I running on?" question

2019-02-20 Thread Chris Angelico
On Thu, Feb 21, 2019 at 1:00 AM songbird wrote: > anyways, one thing i do like about an actual > probe of the temporary kind is that i can answer > the question of: > > "Do I have temporary directory and file creation > permissions on this system or not?" Then ask that question instead! And t

Re: revisiting the "What am I running on?" question

2019-02-20 Thread songbird
Chris Angelico wrote: > songbird wrote: ... >> no win64? > > The value "win32" means Windows (or, more technically, "Windows NT > family", as opposed to Win95/Win98 - but since Win XP, that's the only > type of Windows there is). If you actually care about whether it's a > 32-bit or 64-bit OS, yo

Re: revisiting the "What am I running on?" question

2019-02-20 Thread songbird
Thomas Jollans wrote: ... > I'm fairly sure "win32" was used on W9x as well. In any case it *was* > correct at the time, as early versions of Python also ran on DOS and > Windows 3.1. "windows" would not have been suitable. > > But yeah, we're stuck with it. There are obviously good reasons that it

f-string not referenced in library

2019-02-20 Thread Caridad Díaz Rivero
Hi, I don´t have too much experience using the official python documentation, and I was looking about f-string and I didn´t find anythings in /3/library/string.html and I find it in 3/reference/lexical_analysis.html#f-strings

pip not working

2019-02-20 Thread prasis poudel
-- https://mail.python.org/mailman/listinfo/python-list

Re: revisiting the "What am I running on?" question

2019-02-20 Thread eryk sun
On 2/20/19, Thomas Jollans wrote: > > I'm fairly sure "win32" was used on W9x as well. In any case it *was* > correct at the time, as early versions of Python also ran on DOS and > Windows 3.1. "windows" would not have been suitable. DOS Python would be a separate platform. But if there was reall

not installing properly

2019-02-20 Thread Vandna Mahendroo
Dear ... I am trying to instaal python but not working properly. i have downloaded on exe file ..but it is not starting please help me.. -- Regards: Vandna mahendroo -- https://mail.python.org/mailman/listinfo/python-list

Unable to Install Python 3.7.2 64 bit version on my Windows 8.1

2019-02-20 Thread Subash Netha
Hello Team, I'm trying to install Python 3.7.2 64 bit version on my Windows 8.1 Operating system with Robot framework ride with Selenium Libraries. However, Python is getting installed in local drive installed of C drive and unable to open the ride.py. Please let me know, if there is work aroun

my idle doesn't work

2019-02-20 Thread Sithmi Assalaarachchi
Sent from Mail for Windows 10 -- https://mail.python.org/mailman/listinfo/python-list

Re: revisiting the "What am I running on?" question

2019-02-20 Thread Thomas Jollans
On 20/02/2019 08.13, eryk sun wrote: > On 2/19/19, Chris Angelico wrote: >> >> The value "win32" means Windows (or, more technically, "Windows NT >> family", as opposed to Win95/Win98 - but since Win XP, that's the only >> type of Windows there is). If you actually care about whether it's a >> 32-