Re: we want python software

2017-12-06 Thread Marko Rauhamaa
Gregory Ewing : > Rick Johnson wrote: >> DOLT: "Programming is easy! Once you learn the langauge, >> it's just a matter of fill-in-the-blanks." > > To be fair to this person, for someone who has a natural aptitude for > programming, it can be difficult to appreciate how hard it is for > pe

Re: Please tell me how to execute python file in Ubuntu by double clicking on file. (Posting On Python-List Prohibited)

2017-12-06 Thread Karsten Hilbert
On Thu, Dec 07, 2017 at 01:29:11PM +1100, Steve D'Aprano wrote: > Actually, no, the answer to my question is very simple: Lawrence is mistaken > about Linux not doing file associations. It does -- it is merely handled by > the desktop environment (if there is one). We _can_ go one level below tha

Re: we want python software

2017-12-06 Thread Ben Finney
Ethan Furman writes: > On 12/06/2017 08:33 AM, Steve D'Aprano wrote: > > > I'm going to defend KM (srikrishnamohan) -- his comments were not "an > > attack", > > On 12/05/2017 08:38 PM, km wrote: > > I dont know how these students are selected into b tech stream in India. > > they are so dumb. >

Re: we want python software

2017-12-06 Thread Ethan Furman
On 12/06/2017 08:33 AM, Steve D'Aprano wrote: I'm going to defend KM (srikrishnamohan) -- his comments were not "an attack", On 12/05/2017 08:38 PM, km wrote: > I dont know how these students are selected into b tech stream in India. > they are so dumb. On 12/05/2017 09:27 PM, km wrote: > You

Re: Round to 2 decimal places

2017-12-06 Thread Steve D'Aprano
On Thu, 7 Dec 2017 01:31 pm, nick martinez wrote: > interesting, what version of python are you using? Tried it multiple times > and it still isn't working. Please launch a terminal window, copy this command exactly into the terminal and hit ENTER. You should have a $ or maybe % prompt for this

Re: Round to 2 decimal places

2017-12-06 Thread Steve D'Aprano
On Thu, 7 Dec 2017 11:58 am, nick martinez wrote: > I'm stuck. I need my program to round the end solution to 2 decimal places > but cant figure it out. Can someone help? I've been trying between printf > and round() but cant seem to get either to work. It might help if you show exactly what valu

Re: Round to 2 decimal places

2017-12-06 Thread nick martinez via Python-list
On Wednesday, December 6, 2017 at 9:32:27 PM UTC-5, nick martinez wrote: > On Wednesday, December 6, 2017 at 9:03:27 PM UTC-5, ssghot...@gmail.com wrote: > > On Thursday, December 7, 2017 at 12:39:38 PM UTC+11, nick martinez wrote: > > > On Wednesday, December 6, 2017 at 8:13:36 PM UTC-5, ssghot...

Re: Module _socket not found in python3.6 "No module named _socket"

2017-12-06 Thread pavan kopparthi
I too facing the same issue related to pip file for other models installation. Installed Python 3.6.3 Amd64 in Windows 10 OS. Want to install Tensor flow using native pip as suggested... But, observed that pip3 file in Scripts folder is missing. Also, Scripts folder is empty. On 7 Dec 2017 3:02

Re: Round to 2 decimal places

2017-12-06 Thread nick martinez via Python-list
On Wednesday, December 6, 2017 at 9:03:27 PM UTC-5, ssghot...@gmail.com wrote: > On Thursday, December 7, 2017 at 12:39:38 PM UTC+11, nick martinez wrote: > > On Wednesday, December 6, 2017 at 8:13:36 PM UTC-5, ssghot...@gmail.com > > wrote: > > > The following works: > > > > > > import math > >

Re: Please tell me how to execute python file in Ubuntu by double clicking on file. (Posting On Python-List Prohibited)

2017-12-06 Thread Steve D'Aprano
On Thu, 7 Dec 2017 08:22 am, Python wrote: > On Wed, Dec 06, 2017 at 10:35:58AM +1100, Steve D'Aprano wrote: >> On Tue, 5 Dec 2017 07:58 pm, Lawrence D’Oliveiro wrote: >> >> > On Tuesday, December 5, 2017 at 3:39:26 AM UTC+13, Rick Johnson wrote: >> >> >> >> Sounds like your OS file associations

Re: Round to 2 decimal places

2017-12-06 Thread MRAB
On 2017-12-07 01:39, nick martinez via Python-list wrote: On Wednesday, December 6, 2017 at 8:13:36 PM UTC-5, ssghot...@gmail.com wrote: The following works: import math print("This program will calculate the surface area and volume of a 3-dimensional cone: ") print() print() r = input("What

Re: Round to 2 decimal places

2017-12-06 Thread ssghotra1997
On Thursday, December 7, 2017 at 12:39:38 PM UTC+11, nick martinez wrote: > On Wednesday, December 6, 2017 at 8:13:36 PM UTC-5, ssghot...@gmail.com wrote: > > The following works: > > > > import math > > > > print("This program will calculate the surface area and volume of a > > 3-dimensional co

Re: why won't slicing lists raise IndexError?

2017-12-06 Thread Rick Johnson
Alexandre Brault wrote: [...] > process() wasn't defined either, nor were n and seq and yet > you're not complaining about them. Why would i? Both are highly relevant to the example of performing a slice. "Don't throw the baby out with the bathwater", as they say... > It seems it was clear

Re: Module _socket not found in python3.6 "No module named _socket"

2017-12-06 Thread Steve D'Aprano
On Thu, 7 Dec 2017 07:59 am, Bryan Zimmer wrote: > I have been getting this message, "No module named '_socket'", since I > installed python 3.6, about two months ago. > > My platform is Slackware Linux (14.2). I compiled python3.6 from source, > because binary python packages aren't distributed

Re: Round to 2 decimal places

2017-12-06 Thread nick martinez via Python-list
On Wednesday, December 6, 2017 at 8:13:36 PM UTC-5, ssghot...@gmail.com wrote: > The following works: > > import math > > print("This program will calculate the surface area and volume of a > 3-dimensional cone: ") > print() > print() > r = input("What is the radius in feet? (no negatives): ") >

Re: why won't slicing lists raise IndexError?

2017-12-06 Thread Ned Batchelder
After a certain point, the only thing you can do with a troll is ignore them. --Ned. -- https://mail.python.org/mailman/listinfo/python-list

Re: Python homework

2017-12-06 Thread ssghotra1997
On Wednesday, December 6, 2017 at 9:28:26 PM UTC+11, D'Arcy Cain wrote: > On 12/05/2017 07:33 PM, nick.martinez2--- via Python-list wrote: > > I have a question on my homework. My homework is to write a program in > > which the computer simulates the rolling of a die 50 > > times and then prints >

Re: Round to 2 decimal places

2017-12-06 Thread ssghotra1997
import math print("This program will calculate the surface area and volume of a 3-dimensional cone: ") print() print() r = input("What is the radius in feet? (no negatives): ") h = input("What is the height in feet? (no negatives): ") r = float(r) h = float(h) if r > 0 and h > 0: surfacearea

Re: Round to 2 decimal places

2017-12-06 Thread ssghotra1997
The following works: import math print("This program will calculate the surface area and volume of a 3-dimensional cone: ") print() print() r = input("What is the radius in feet? (no negatives): ") h = input("What is the height in feet? (no negatives): ") r = float(r) h = float(h) if r > 0 and h

Round to 2 decimal places

2017-12-06 Thread nick martinez via Python-list
I'm stuck. I need my program to round the end solution to 2 decimal places but cant figure it out. Can someone help? I've been trying between printf and round() but cant seem to get either to work. Python 3.5 is what I'm using. import math print("This program will calculate the surface area and

Re: Politeness (was: we want python software)

2017-12-06 Thread Gene Heskett
On Wednesday 06 December 2017 15:33:40 Ian Kelly wrote: > On Wed, Dec 6, 2017 at 10:56 AM, Gene Heskett wrote: > > On Wednesday 06 December 2017 12:14:32 Ian Kelly wrote: > >> On Wed, Dec 6, 2017 at 9:42 AM, Gene Heskett > > > > wrote: > >> > On Wednesday 06 December 2017 11:28:22 Random832 wro

Re: we want python software

2017-12-06 Thread Rick Johnson
Gregory Ewing wrote: [...] > To be fair to this person, for someone who has a natural > aptitude for programming, it can be difficult to appreciate > how hard it is for people who don't. When I first started > programming, in my early teens, the basic ideas all seemed > very straightforward,

Re: why won't slicing lists raise IndexError?

2017-12-06 Thread Alexandre Brault
process() wasn't defined either, nor were n and seq and yet you're not complaining about them. It seems it was clear to everyone but you that seq was a sequence defined elsewhere, n was an index defined elsewhere, and both process and do_without_item were functions defined elsewhere. And eve

Re: why won't slicing lists raise IndexError?

2017-12-06 Thread Rick Johnson
Python wrote: [...] > THIS IS FALSE. CALLING A FUNCTION What *FUNCTION*? You think you can just slap a function-y looking symbol willy-nilly in the middle of a chunk of code and then have it "magically" transform into a python function object? >>> do_without_item() Traceback (most re

Re: why won't slicing lists raise IndexError?

2017-12-06 Thread Rick Johnson
Terry Reedy wrote: [...] > Rick, cut the crap. If you do not understand that > 'something_else()' != 'pass', re-read the tutorial. How is the official tutorial going to give me any insight into an undefined symbol that you invented? Of course, we all understand that "something_else()" is merel

Re: why won't slicing lists raise IndexError?

2017-12-06 Thread Python
On Wed, Dec 06, 2017 at 03:08:51PM -0800, Rick Johnson wrote: > The following is Terry's original: > > if item: > process(item) > else: > do_without_item() > > And here is the functioning equivalent, sans any fuzzy > semantics: > > if item: > process(item) >

Re: why won't slicing lists raise IndexError?

2017-12-06 Thread Rick Johnson
On Wednesday, December 6, 2017 at 3:13:41 PM UTC-6, Python wrote: [...] > Geez, seriously? The snippet is purely academic, obviously > not a complete or useful program, Who ever made the claim that it was? > intended to illustrate that python can take two different > branches depending on whethe

Re: we want python software

2017-12-06 Thread Andrew Z
Can we mark the entire thread "spam", please? On Dec 6, 2017 17:55, "Gregory Ewing" wrote: > Rick Johnson wrote: > > DOLT: "Programming is easy! Once you learn the langauge, >> it's just a matter of fill-in-the-blanks." >> > > To be fair to this person, for someone who has a natural > a

Re: we want python software

2017-12-06 Thread Gregory Ewing
Rick Johnson wrote: DOLT: "Programming is easy! Once you learn the langauge, it's just a matter of fill-in-the-blanks." To be fair to this person, for someone who has a natural aptitude for programming, it can be difficult to appreciate how hard it is for people who don't. When I firs

Re: we want python software

2017-12-06 Thread Chris Angelico
On Thu, Dec 7, 2017 at 9:21 AM, Terry Reedy wrote: > On 12/5/2017 4:39 PM, Igor Korot wrote: >> >> Hi, Tony, >> >> On Tue, Dec 5, 2017 at 11:10 AM, Tony van der Hoff >> wrote: >>> >>> On 05/12/17 16:55, Igor Korot wrote: Hi, On Tue, Dec 5, 2017 at 9:10 AM, Jyothiswaroop Reddy

Re: we want python software

2017-12-06 Thread Terry Reedy
On 12/5/2017 4:39 PM, Igor Korot wrote: Hi, Tony, On Tue, Dec 5, 2017 at 11:10 AM, Tony van der Hoff wrote: On 05/12/17 16:55, Igor Korot wrote: Hi, On Tue, Dec 5, 2017 at 9:10 AM, Jyothiswaroop Reddy wrote: Sir, I am b.tech student I would like to learn python. So please send the

Re: Python homework

2017-12-06 Thread Bill
I think carelessness in choosing variable names may be at the root of the problem. nick.martin...@aol.com wrote: I have a question on my homework. My homework is to write a program in which the computer simulates the rolling of a die 50 times and then prints (i). the most frequent side of the

Re: Module _socket not found in python3.6 "No module named _socket"

2017-12-06 Thread Chris Angelico
On Thu, Dec 7, 2017 at 7:59 AM, Bryan Zimmer wrote: > I have been getting this message, "No module named '_socket'", since I > installed python 3.6, about two months ago. > > My platform is Slackware Linux (14.2). I compiled python3.6 from source, > because binary python packages aren't distribute

Re: why won't slicing lists raise IndexError?

2017-12-06 Thread Terry Reedy
On 12/5/2017 9:23 PM, Rick Johnson wrote: Steve D'Aprano wrote: [...] You've already been told that there's no indication or reason to believe that it is a non-action. You've already been given at least one possible action. It isn't a non- action, it is two distinct actions: - the action you

Module _socket not found in python3.6 "No module named _socket"

2017-12-06 Thread Bryan Zimmer
I have been getting this message, "No module named '_socket'", since I installed python 3.6, about two months ago. My platform is Slackware Linux (14.2). I compiled python3.6 from source, because binary python packages aren't distributed by python.org for Linux. I have the same experience on multi

Re: Please tell me how to execute python file in Ubuntu by double clicking on file. (Posting On Python-List Prohibited)

2017-12-06 Thread Python
On Wed, Dec 06, 2017 at 10:35:58AM +1100, Steve D'Aprano wrote: > On Tue, 5 Dec 2017 07:58 pm, Lawrence D’Oliveiro wrote: > > > On Tuesday, December 5, 2017 at 3:39:26 AM UTC+13, Rick Johnson wrote: > >> > >> Sounds like your OS file associations are all botched-up ... > > > > Linux doesn’t do “

Re: Politeness (was: we want python software)

2017-12-06 Thread Andrew Z
Looks like the longest thread for past 2 months. Should we push it to be the longest for 2017? :) On Dec 6, 2017 15:34, "Ian Kelly" wrote: > On Wed, Dec 6, 2017 at 10:56 AM, Gene Heskett > wrote: > > On Wednesday 06 December 2017 12:14:32 Ian Kelly wrote: > > > >> On Wed, Dec 6, 2017 at 9:42

Re: why won't slicing lists raise IndexError?

2017-12-06 Thread Python
On Tue, Dec 05, 2017 at 06:23:04PM -0800, Rick Johnson wrote: > [bunch of old, irrelevant context snipped] > > item = seq[n:n+1] > > if item: > > process(item) > > else: > > do_without_item() > > When Python follows a logic clause like a train skating > along a set of railroad tracks, an

Re: Politeness (was: we want python software)

2017-12-06 Thread Ian Kelly
On Wed, Dec 6, 2017 at 10:56 AM, Gene Heskett wrote: > On Wednesday 06 December 2017 12:14:32 Ian Kelly wrote: > >> On Wed, Dec 6, 2017 at 9:42 AM, Gene Heskett > wrote: >> > On Wednesday 06 December 2017 11:28:22 Random832 wrote: >> >> The third possibility is that he believes that this list is

Re: Politeness (was: we want python software)

2017-12-06 Thread Rick Johnson
Steve D'Aprano wrote: [...] > And yes, I'm aware of the irony of me taking this position > only a couple of posts after I asked the group to run some > code for me without explaining why I couldn't run it > myself.[1] [...] But if somebody wants to take me to task > for Your virtue signaling he

rot13 as I/O encoding (was Re: Python-list Digest, Vol 171, Issue 7)

2017-12-06 Thread Chris Angelico
On Thu, Dec 7, 2017 at 5:11 AM, Peter Otten <__pete...@web.de> wrote: > Chris Angelico wrote: > >> On Thu, Dec 7, 2017 at 3:56 AM, Dennis Lee Bieber >> wrote: >>> Granted, the statistics module in newer Python releases makes the >>> entire assignment trivial... >>> >>> ClgubaJva 3.5.3 (qrs

Re: we want python software

2017-12-06 Thread Chris Angelico
On Thu, Dec 7, 2017 at 3:33 AM, Steve D'Aprano wrote: > On Wed, 6 Dec 2017 04:54 pm, Chris Angelico wrote: > >> On Wed, Dec 6, 2017 at 4:27 PM, km wrote: >>> Remember that you are wasting time of lakhs of python subscribers by >>> asking such dumb questions being tech students. You people can G

Re: Python-list Digest, Vol 171, Issue 7

2017-12-06 Thread ROGER GRAYDON CHRISTMAN
On Wed, Dec 6, 2017, ssghotra1997 wrote: import random def rollDie(num): sides = {'One':0, 'Two':0,'Three':0,'Four':0,'Five':0,'Six':0} for i in range(num): rolls = int(random.randint(1, 6) if rolls == 1: sides['One'] += 1 if rolls == 2: si

Re: Python-list Digest, Vol 171, Issue 7

2017-12-06 Thread Peter Otten
Chris Angelico wrote: > On Thu, Dec 7, 2017 at 3:56 AM, Dennis Lee Bieber > wrote: >> Granted, the statistics module in newer Python releases makes the >> entire assignment trivial... >> >> ClgubaJva 3.5.3 (qrsnhyg, Wha 26 2017, 16:17:54) [ZFP i.1900 64 ovg >> (NZQ64)] ba jva32. > > Is t

Re: we want python software

2017-12-06 Thread Grant Edwards
On 2017-12-05, Igor Korot wrote: > Hi, Tony, > > On Tue, Dec 5, 2017 at 11:10 AM, Tony van der Hoff > wrote: >> On 05/12/17 16:55, Igor Korot wrote: >>> Hi, >>> >>> On Tue, Dec 5, 2017 at 9:10 AM, Jyothiswaroop Reddy >>> wrote: Sir, I am b.tech student I would like to learn py

Re: Politeness (was: we want python software)

2017-12-06 Thread Gene Heskett
On Wednesday 06 December 2017 12:14:32 Ian Kelly wrote: > On Wed, Dec 6, 2017 at 9:42 AM, Gene Heskett wrote: > > On Wednesday 06 December 2017 11:28:22 Random832 wrote: > >> The third possibility is that he believes that this list is > >> official in some corporate sense, that if he asks for th

Re: Politeness (was: we want python software)

2017-12-06 Thread Ian Kelly
On Wed, Dec 6, 2017 at 9:42 AM, Gene Heskett wrote: > On Wednesday 06 December 2017 11:28:22 Random832 wrote: >> The third possibility is that he believes that this list is official >> in some corporate sense, that if he asks for the software and it is >> not free he will receive a price quote. >

Re: Python-list Digest, Vol 171, Issue 7

2017-12-06 Thread Chris Angelico
On Thu, Dec 7, 2017 at 3:56 AM, Dennis Lee Bieber wrote: > Granted, the statistics module in newer Python releases makes the > entire assignment trivial... > > ClgubaJva 3.5.3 (qrsnhyg, Wha 26 2017, 16:17:54) [ZFP i.1900 64 ovg > (NZQ64)] ba jva32. Is this from the Function Call of Cthulu

Re: Politeness (was: we want python software)

2017-12-06 Thread Gene Heskett
On Wednesday 06 December 2017 11:28:22 Random832 wrote: > On Wed, Dec 6, 2017, at 11:18, Steve D'Aprano wrote: > > You suggested that if he wasn't familiar with free software, his > > request that people send him a copy of Python wouldn't look so odd. > > Okay, if Python weren't free software, it

Re: [Python-Dev] [RELEASE] Python 3.6.4rc1 and 3.7.0a3 now available for testing

2017-12-06 Thread Ned Deily
On Dec 6, 2017, at 07:30, Steve Holden wrote: > In your role as a representative of the many fine release managers Python has > had over the years I'd like to thank you for continuing to make high-quality > software available to a large and growing community. And thanks to everyone > who contri

Fwd: pip3 file in Scripts folder is missing - Python installation - Tensor flow upgrade

2017-12-06 Thread pavan kopparthi
Hi, Installed Python 3.6.3 Amd64 in Windows 10 OS. Want to install Tensor flow using native pip as suggested... C:\> *pip3 install --upgrade tensorflow* But, observed that pip3 file in Scripts folder is missing. Also, Scripts folder is empty. -- Reg, Pavan Kumar K

Re: we want python software

2017-12-06 Thread Gene Heskett
On Wednesday 06 December 2017 11:33:14 Steve D'Aprano wrote: > On Wed, 6 Dec 2017 04:54 pm, Chris Angelico wrote: > > On Wed, Dec 6, 2017 at 4:27 PM, km wrote: > >> Remember that you are wasting time of lakhs of python subscribers > >> by asking such dumb questions being tech students. You peop

Re: we want python software

2017-12-06 Thread Steve D'Aprano
On Wed, 6 Dec 2017 04:54 pm, Chris Angelico wrote: > On Wed, Dec 6, 2017 at 4:27 PM, km wrote: >> Remember that you are wasting time of lakhs of python subscribers by >> asking such dumb questions being tech students. You people can Google and >> watch movies / songs online and you can't find

Re: Politeness (was: we want python software)

2017-12-06 Thread Random832
On Wed, Dec 6, 2017, at 11:18, Steve D'Aprano wrote: > You suggested that if he wasn't familiar with free software, his > request that people send him a copy of Python wouldn't look so odd. > Okay, if Python weren't free software, it would be non-free software, > and you are saying that it wouldn't

Re: Politeness (was: we want python software)

2017-12-06 Thread Steve D'Aprano
On Wed, 6 Dec 2017 11:25 pm, Rustom Mody wrote: > On Wednesday, December 6, 2017 at 4:05:43 PM UTC+5:30, Steve D'Aprano wrote: >> On Wed, 6 Dec 2017 02:49 pm, Rustom Mody wrote: >> >> > You are assuming that the strangeness of the request is about 'tech' >> > [engineering/tech existed centuries b

Re: Lies (was: we want python software)

2017-12-06 Thread Ian Kelly
On Wed, Dec 6, 2017 at 5:53 AM, Rustom Mody wrote: > I was at first surprised and even a bit shocked when people called me > right-wing. > Over time Ive come to accept that lies (left-wing) is upstream of hate > (right-wing). And to the extent that effects must be stemmed from causes, > the wo

Re: we want python software

2017-12-06 Thread Rick Johnson
On Wednesday, December 6, 2017 at 12:11:47 AM UTC-6, Chris Angelico wrote: [...] > To the OP: [...] The best thing to do here is to type > "python" into your favourite search engine (Google, > DuckDuckGo, Bing, AltaVista, etc), and then read the web > page for a download link. I don't think

Re: Politeness (was: we want python software)

2017-12-06 Thread Igor Korot
Rustom, On Wed, Dec 6, 2017 at 6:25 AM, Rustom Mody wrote: > On Wednesday, December 6, 2017 at 4:05:43 PM UTC+5:30, Steve D'Aprano wrote: >> On Wed, 6 Dec 2017 02:49 pm, Rustom Mody wrote: >> >> > You are assuming that the strangeness of the request is about 'tech' >> > [engineering/tech existed

Re: csv.DictReader line skipping should be considered a bug?

2017-12-06 Thread Steve D'Aprano
On Thu, 7 Dec 2017 02:33 am, Dennis Lee Bieber wrote: > On Wed, 06 Dec 2017 11:06:39 +1100, Steve D'Aprano > declaimed the following: > > >>I wouldn't want to guess your mental health based just on this isolated >>incident, but if I had to make a diagnosis, I'd say, yes, crazy as a loon. >> >

Re: Python-list Digest, Vol 171, Issue 7

2017-12-06 Thread ROGER GRAYDON CHRISTMAN
I think I also came up with 4 as "the most frequent number". It is unclear ot me how you came up with 3.36 as the most common number, because I tried rolling a six-sided die myself several times, and somehow 3.36 didn't come up even once! On Wed, Dec 6, 2017, D'Arcy Cain wrote: > On 12/05/2017 0

Re: we want python software

2017-12-06 Thread Rick Johnson
On Wednesday, December 6, 2017 at 2:14:40 AM UTC-6, Percival John Hackworth wrote: [...] > [...] > The good people (e.g. the friends I asked for advice) are > to busy to do such little projects to bother. Good work is not cheap. And cheap work is not good. > So the market is left with Junior p

Lies (was: we want python software)

2017-12-06 Thread Rustom Mody
On Wednesday, December 6, 2017 at 3:05:33 PM UTC+5:30, Steve D'Aprano wrote: > (By the way Rustom, if you're reading, thank you for that link to the video a > few weeks ago about teaching 2 + 2 = 22. My blood pressure just about doubled > watching it.) [Ref: https://youtu.be/Zh3Yz3PiXZw ] Yes… Li

Re: [Python-Dev] [RELEASE] Python 3.6.4rc1 and 3.7.0a3 now available for testing

2017-12-06 Thread Steve Holden
Ned, In your role as a representative of the many fine release managers Python has had over the years I'd like to thank you for continuing to make high-quality software available to a large and growing community. And thanks to everyone who contributes to Python so the majority just get to enjoy it

Politeness (was: we want python software)

2017-12-06 Thread Rustom Mody
On Wednesday, December 6, 2017 at 4:05:43 PM UTC+5:30, Steve D'Aprano wrote: > On Wed, 6 Dec 2017 02:49 pm, Rustom Mody wrote: > > > You are assuming that the strangeness of the request is about 'tech' > > [engineering/tech existed centuries before computers] > > > > Do remember one can be a tech

Re: we want python software

2017-12-06 Thread Steve D'Aprano
On Wed, 6 Dec 2017 02:49 pm, Rustom Mody wrote: > You are assuming that the strangeness of the request is about 'tech' > [engineering/tech existed centuries before computers] > > Do remember one can be a tech-{student,professional} without > - ever having encountered free-software > - internet/US

Re: Python homework

2017-12-06 Thread D'Arcy Cain
On 12/05/2017 07:33 PM, nick.martinez2--- via Python-list wrote: I have a question on my homework. My homework is to write a program in which the computer simulates the rolling of a die 50 times and then prints (i). the most frequent side of the die (ii). the average die value of all rolls. I wr

Re: we want python software

2017-12-06 Thread Steve D'Aprano
On Wed, 6 Dec 2017 03:45 pm, Abhiram R wrote: > On Wed, Dec 6, 2017 at 10:08 AM, km wrote: > >> I dont know how these students are selected into b tech stream in India. >> they are so dumb. All they know is a to open a program we need to double >> click it and it runs. >> >> We were all once "du

Re: f-string

2017-12-06 Thread Chris Angelico
On Wed, Dec 6, 2017 at 8:24 PM, Steve D'Aprano wrote: > On Wed, 6 Dec 2017 12:21 pm, Chris Angelico wrote: > >> On Wed, Dec 6, 2017 at 11:54 AM, John Pote >> wrote: >>> >>> On 06/12/2017 00:16, Steve D'Aprano wrote: Anyone got a handy copy of Python 3.6 available to test something for m

Re: f-string

2017-12-06 Thread Steve D'Aprano
On Wed, 6 Dec 2017 12:21 pm, Chris Angelico wrote: > On Wed, Dec 6, 2017 at 11:54 AM, John Pote > wrote: >> >> On 06/12/2017 00:16, Steve D'Aprano wrote: >>> >>> Anyone got a handy copy of Python 3.6 available to test something for me? >>> >>> What does compile('f"{spam} {eggs}"', '', 'single') r

Re: we want python software

2017-12-06 Thread Percival John Hackworth
On 05-Dec-2017, km wrote (in article): > I dont know how these students are selected into b tech stream in India. > they are so dumb. All they know is a to open a program we need to double > click it and it runs.- windoze legacy. most of the time they pay huge > amount to a greedy college and get