Re: Conway's game of Life, just because.

2019-05-07 Thread Richard Damon
On 5/7/19 9:33 PM, Ian Kelly wrote: > On Tue, May 7, 2019 at 1:00 PM MRAB wrote: >> On 2019-05-07 19:29, Eli the Bearded wrote: >>> In comp.lang.python, Paul Rubin wrote: >>> >>> Elijah >>> -- >>> is the torus game board unintentional? >>> >> I've never seen a version of Conway's Game of Lif

Building a statically linked Python, and pip

2019-05-07 Thread Simon Michnowicz via Python-list
Dear Group, I need to build a statically linked Python that has pip. I built a version following the instructions at https://wiki.python.org/moin/BuildStatically but pip was not present in the binary directory afterwards. I downloaded get-pip.py but when I tried to install it I get an error messag

Re: Conway's game of Life, just because.

2019-05-07 Thread Ian Kelly
On Tue, May 7, 2019 at 1:00 PM MRAB wrote: > > On 2019-05-07 19:29, Eli the Bearded wrote: > > In comp.lang.python, Paul Rubin wrote: > > > > Thanks for posting this. I'm learning python and am very familiar with > > this "game". > > > >> #!/usr/bin/python3 > >> from itertools import chain > >>

Re: Change in cache tag in Python 3.8 - pip confused

2019-05-07 Thread Chris Angelico
On Wed, May 8, 2019 at 8:09 AM Paul Moore wrote: > > On Tue, 7 May 2019 at 22:26, Chris Angelico wrote: > > So the next question is: Is this actually a problem? If it's something > > that can only ever happen to people who build prerelease Pythons, it's > > probably not an issue. Is there any way

Re: Change in cache tag in Python 3.8 - pip confused

2019-05-07 Thread Paul Moore
On Tue, 7 May 2019 at 22:26, Chris Angelico wrote: > So the next question is: Is this actually a problem? If it's something > that can only ever happen to people who build prerelease Pythons, it's > probably not an issue. Is there any way that a regular installation of > Python could ever change i

Re: Change in cache tag in Python 3.8 - pip confused

2019-05-07 Thread Chris Angelico
On Wed, May 8, 2019 at 7:13 AM Paul Moore wrote: > > On Tue, 7 May 2019 at 21:53, Chris Angelico wrote: > > > > I've been building Python 3.8 pre-alphas and alphas for a while now, > > and ran into a weird problem. Not sure if this is significant or not, > > and hoping to get other people's views

Re: Change in cache tag in Python 3.8 - pip confused

2019-05-07 Thread Paul Moore
On Tue, 7 May 2019 at 21:53, Chris Angelico wrote: > > I've been building Python 3.8 pre-alphas and alphas for a while now, > and ran into a weird problem. Not sure if this is significant or not, > and hoping to get other people's views. > > It seems that the value of sys.implementation.cache_tag

Re: Conway's game of Life, just because.

2019-05-07 Thread Eli the Bearded
In comp.lang.python, MRAB wrote: > I've never seen a version of Conway's Game of Life where the board > doesn't wrap around. The one I wrote in vi macros doesn't. It's a design choice you can make. (Thanks for the explainations everyone.) Elijah -- the vi macro one is included in the vim

Change in cache tag in Python 3.8 - pip confused

2019-05-07 Thread Chris Angelico
I've been building Python 3.8 pre-alphas and alphas for a while now, and ran into a weird problem. Not sure if this is significant or not, and hoping to get other people's views. It seems that the value of sys.implementation.cache_tag changed from "cpython-38m" to just "cpython-38" at some point.

Re: Conway's game of Life, just because.

2019-05-07 Thread MRAB
On 2019-05-07 19:29, Eli the Bearded wrote: In comp.lang.python, Paul Rubin wrote: Thanks for posting this. I'm learning python and am very familiar with this "game". #!/usr/bin/python3 from itertools import chain def adjacents(cell):# generate coordinates of cell neighbors

Re: Conway's game of Life, just because.

2019-05-07 Thread Chris Angelico
On Wed, May 8, 2019 at 4:31 AM Eli the Bearded <*@eli.users.panix.com> wrote: > > In comp.lang.python, Paul Rubin wrote: > > Thanks for posting this. I'm learning python and am very familiar with > this "game". > > > #!/usr/bin/python3 > > from itertools import chain > > > > def adjacents(cell):

Re: Conway's game of Life, just because.

2019-05-07 Thread Eli the Bearded
In comp.lang.python, Paul Rubin wrote: Thanks for posting this. I'm learning python and am very familiar with this "game". > #!/usr/bin/python3 > from itertools import chain > > def adjacents(cell):# generate coordinates of cell neighbors > x, y = cell # a cell

Re: Using a Variable Inside the String

2019-05-07 Thread sveemani
On Tuesday, May 7, 2019 at 10:13:42 PM UTC+5:30, Rob Gaddi wrote: > On 5/7/19 7:55 AM, sveem...@gmail.com wrote: > > On Tuesday, May 7, 2019 at 1:20:49 AM UTC+5:30, MRAB wrote: > >> On 2019-05-06 19:44, sveem...@gmail.com wrote: > >>> Hi all, > >>> > >>> I am new learner of python programming and I

Re: Using a Variable Inside the String

2019-05-07 Thread Rob Gaddi
On 5/7/19 7:55 AM, sveem...@gmail.com wrote: On Tuesday, May 7, 2019 at 1:20:49 AM UTC+5:30, MRAB wrote: On 2019-05-06 19:44, sveem...@gmail.com wrote: Hi all, I am new learner of python programming and I am into my basics. I got struck with the code in a sample program and refer the same

[RELEASE] Python 3.8.0a4 is now available for testing

2019-05-07 Thread Ɓukasz Langa
It's time for the LAST alpha of Python 3.8.0. Go get it here: https://www.python.org/downloads/release/python-380a4/ Python 3.8.0a4 is the fourth and final alpha release of Python 3.8, the next feature release of Python. During the alpha p

Re: Using a Variable Inside the String

2019-05-07 Thread sveemani
On Tuesday, May 7, 2019 at 1:20:49 AM UTC+5:30, MRAB wrote: > On 2019-05-06 19:44, sveem...@gmail.com wrote: > > Hi all, > > > > I am new learner of python programming and I am into my basics. > > I got struck with the code in a sample program and refer the same with > > IDE and googling whi

Re: Using a Variable Inside the String

2019-05-07 Thread sveemani
On Tuesday, May 7, 2019 at 12:22:06 AM UTC+5:30, Chris Angelico wrote: > On Tue, May 7, 2019 at 4:50 AM wrote: > > > > Hi all, > > > > I am new learner of python programming and I am into my basics. > > I got struck with the code in a sample program and refer the same with > > IDE and googli

EuroPython 2019: Call for Sponsors

2019-05-07 Thread M.-A. Lemburg
Reach out to many enthusiastic Python developers, users and professionals in Basel this July ! Sponsoring EuroPython guarantees you highly targeted visibility and the opportunity to present yourself and your company in a professional and innovative environment. Also, as a sponsor of EuroPython 20