Hello everyone.
I am hoping someone can help with the below error using Python3.5 in the
Windows 10 bash environment. I found the below link which I am not sure if
this is related to the issue or not. As I don't fully understand the answer.
https://github.com/SethMMorton/natsort/issues/7
I
On 13/01/2019 02:16, mhysnm1...@gmail.com wrote:
> Issue, following error is generated after trying to sort a list of strings.
>
> description.sort()
> TypeError: unorderable types: float() < str()
Please send the complete error message not just the
last line summary. There is a lot of potentia
Discussion inline below.
On 13Jan2019 13:16, mhysnm1...@gmail.com wrote:
I am hoping someone can help with the below error using Python3.5 in
the Windows 10 bash environment. I found the below link which I am not sure if
this is related to the issue or not. As I don't fully understand the answ
On Sun, Jan 13, 2019 at 01:16:10PM +1100, mhysnm1...@gmail.com wrote:
> Issue, following error is generated after trying to sort a list of strings.
>
> description.sort()
> TypeError: unorderable types: float() < str()
That tells you that you don't have a list of strings. You have a list of
str
mhysnm1...@gmail.com wrote:
> Issue, following error is generated after trying to sort a list of
> strings.
>
> description.sort()
> TypeError: unorderable types: float() < str()
Consider
>>> descriptions = ["foo", "bar", 123, 3.14, 42, 200.1, "0"]
>>> sorted(descriptions)
Traceback (most recen
Hi,
On Sun, Jan 13, 2019 at 8:34 AM wrote:
> description.sort()
> TypeError: unorderable types: float() < str()
So, fairly obviously, we can't test whether a float is less than a
string. Any more than we can tell if a grapefruit is faster than a
cheetah. So there must be items in description
Hi,
On Mon, Jan 7, 2019 at 11:11 AM mousumi sahu
wrote:
>
> Dear Sir,
> I am trying to install python 2.7.10 on HPC. Python 2.6 has already been
> install on root. I do not have root authority. Please suggest me how can I
> do this.
Sorry - I replied to you directly, by accident. Take 2, with r
I want to start developing an application in Python 3 on my main computer
which runs Linux Mint with Python 2.7. What is the best way to work with
Python 3 on this system?
--
Frank L. "Cranky Frankie" Palmeri, Risible Riding Raconteur & Writer
"If you have a garden and a library, you have everyth
Everyone,
I did find out the issue. When looking at the output in a spreadsheet. I was
inserting floats into the description dictionary from the code I was using to
extract the data. Thus I have gone back to the drawing board. Rather than
extracting by columns which became difficult to achieve
On 13/01/2019 14:47, Cranky Frankie wrote:
> I want to start developing an application in Python 3 on my main computer
> which runs Linux Mint with Python 2.7. What is the best way to work with
> Python 3 on this system?
You don't say which Mint version but assuming its 17 or
greater then you can
My son sent me this link, which I think captures my situation with
Python quite nicely:
https://cdn-images-1.medium.com/max/720/1*7RZKI-g4K_syDf6XQEGWKw.jpeg
--
boB
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
All,
Once again thanks for all the suggestions. It was the input data after all. As
I am importing three sheets into python. One of the sheets had one less column.
Thus how I ended up with float points. The testing for the string helped here
greatly. Now things are correct again.
On and forwa
Peter,
Thanks for the code for a custom key. That will come in handy later down the
track.
-Original Message-
From: Tutor On Behalf Of
Peter Otten
Sent: Sunday, 13 January 2019 10:00 PM
To: tutor@python.org
Subject: Re: [Tutor] Debugging a sort error.
mhysnm1...@gmail.com wrote:
> Issu
Ditto, but the angle is steeper, I've lost my climbing equipment, and the
volcano is erupting.
On Sun, Jan 13, 2019 at 5:44 PM boB Stepp wrote:
> My son sent me this link, which I think captures my situation with
> Python quite nicely:
>
> https://cdn-images-1.medium.com/max/720/1*7RZKI-g4K_syDf
14 matches
Mail list logo