I know that vim lets me do things like
$ ls | vim -
where it will read the data from stdin, but then take over the screen
TUI curses-style, and interact directly with the keyboard input
without being limited to input from stdin.
I've played around with something like
import sys
import
Springer (publisher) has released a bunch of eBook versions of Python
text-books, free to download (.PDF and/or .EPUB), in support of COVID-19
stay-at-homes.
This sub-list features texts for all 'levels' of mastery, and published
between 2014 and 2019/20. They tend to be 'solid' content, cf 'D
On Sun, Apr 19, 2020 at 7:48 AM boB Stepp wrote:
> Can you give guidelines or point to a good article how
> to best and most efficiently use type annotation without
> over-annotating? Bear in mind that I have yet to fully grasp all of
> what mypy (What I am currently using.) can correctly infer f
On 18/04/20 6:20 PM, MRIDULA GUPTA wrote:
Hi,
I am a new user and I am facing difficulty using the app. everytime I click
on the app the windows open which tell me either to modify the app or
repair it or uninstall it. I did my level best but still I am facing
problems installing it. please look
On Sun, Apr 19, 2020 at 7:40 AM Adam Preble wrote:
>
> On Saturday, April 18, 2020 at 1:15:35 PM UTC-5, Alexandre Brault wrote:
> > >>> def f():
> > ... â â from sys import path, argv ...
>
> So I figured it out and all but I wanted to ask about the special characters
> in that output. I've se
On Wed, Apr 15, 2020 at 11:27 AM Chris Angelico wrote:
>
> On Thu, Apr 16, 2020 at 12:01 AM wrote:
> > config_file : file = open(config_file_s, "r")
> >
> >
> > What type of variable should config_file (above) be declared as?
> It returns a file-like object. Instead of annotating, just let the
On Sun, Apr 19, 2020 at 7:36 AM Adam Preble wrote:
>
> On Friday, April 17, 2020 at 1:37:18 PM UTC-5, Chris Angelico wrote:
> > The level is used for package-relative imports, and will basically be
> > the number of leading dots (eg "from ...spam import x" will have a
> > level of 3). You're absol
On Apr 18, 2020 2:29 PM, "MRIDULA GUPTA" <500067...@stu.upes.ac.in> wrote:
>
> Hi,
> I am a new user and I am facing difficulty using the app. everytime I
click
> on the app the windows open which tell me either to modify the app or
> repair it or uninstall it. I did my level best but still I am fa
On Saturday, April 18, 2020 at 1:15:35 PM UTC-5, Alexandre Brault wrote:
> >>> def f():
> ... â â from sys import path, argv ...
So I figured it out and all but I wanted to ask about the special characters in
that output. I've seen that a few times and never figured out what's going on
and if
On Friday, April 17, 2020 at 1:37:18 PM UTC-5, Chris Angelico wrote:
> The level is used for package-relative imports, and will basically be
> the number of leading dots (eg "from ...spam import x" will have a
> level of 3). You're absolutely right with your analysis, with one
> small clarification
On Sun, Apr 19, 2020 at 6:02 AM boB Stepp wrote:
> I wonder if the last screen of the installer should have a checkbox,
> checked by default, that launches IDLE. IDLE would then display a
> helpful text file on this first launch describing how to use IDLE, how
> to find and launch it again, etc.
On Wed, Apr 15, 2020 at 2:04 PM Barry Scott wrote:
>
> I post some suggestion to improve the Python installer for Windows
> to better sign post users on the next steps.
>
> https://mail.python.org/archives/list/python-id...@python.org/message/TKHID7PMKN5TK5QDQ2BL3G45FYAJNYJX/
>
> It also seems lik
On Sun, Apr 19, 2020 at 4:26 AM Grant Edwards wrote:
>
> On 2020-04-18, Souvik Dutta wrote:
> > I literally tried it!!! And it did not stop because I did not get any 1.0
> > rather I got 0.999 But why does this happen. This is a simple math
> > which according to normal human logic should
On 2020-04-18, Dennis Lee Bieber wrote:
> At the very least, one was taught to not test for equality of two
> floating point values (which also implies one did not test for the
> negation of equality). One either tested for difference
> (greater/less than) or for a delta between values being less
J Conrado wrote:
> I have GOES16 full disk data with the dimensions (5424, 5424) and my
> latitude and longitude arrays have the same dimension.
>
> How can I seletct a small region of this data, using this limits for
> lat=[-30,10] and lon = [-90,-30] for my sector. I try to select my
> region
Hi,
I have GOES16 full disk data with the dimensions (5424, 5424) and my
latitude and longitude arrays have the same dimension.
How can I seletct a small region of this data, using this limits for
lat=[-30,10] and lon = [-90,-30] for my sector. I try to select my
region using this limit
Hi,
I am a new user and I am facing difficulty using the app. everytime I click
on the app the windows open which tell me either to modify the app or
repair it or uninstall it. I did my level best but still I am facing
problems installing it. please look into it as soon as possible.
--
https://mai
On 2020-04-18, Souvik Dutta wrote:
> I literally tried it!!! And it did not stop because I did not get any 1.0
> rather I got 0.999 But why does this happen. This is a simple math
> which according to normal human logic should give perfect numbers which are
> not endless. Then why does a c
Rahul Gupta wrote at 2020-4-18 02:56 -0700:
>i wanted to implement incremental PCA.
>Got this code for stack overflow but i am wondering what y = chunk.pop("y")
>does and what is this argument "y" to pop
Key to answer your question is "what is the type of `chunk`.
Either use python's inspection (
Le 18/04/2020 à 15:07, Souvik Dutta a écrit :
I have one question here. On using print(f"{c:.32f}") where c= 2/5 instead
of getting 32 zeroes I got some random numbers. The exact thing is
0.40002220446049250313
Why do I get this and not 32 zeroes?
2/5 = 0.0110011001100110011001..
Oh! Sorry I didn't get that earlier. 😛
On Sat, 18 Apr, 2020, 9:10 pm MRAB, wrote:
> On 2020-04-18 08:59, Souvik Dutta wrote:
> > Okay so I was not able to say properly. You are indeed doing the same
> thing
> > that you were doing i.e. writting the modified data just, that now you
> > don't need
On 2020-04-18 08:59, Souvik Dutta wrote:
Okay so I was not able to say properly. You are indeed doing the same thing
that you were doing i.e. writting the modified data just, that now you
don't need to close you if file before doing any writting stuff. That is
there is a one line deduction from t
I am really enlightened by the amount of knowledge I received from a
question that seemed so little to me. 😅
On Sat, 18 Apr 2020, 8:08 pm Souvik Dutta Hmm understood.
>
> Souvik flutter dev
>
> On Sat, Apr 18, 2020, 7:36 PM Chris Angelico wrote:
>
> > On Sun, Apr 19, 2020 at 12:03 AM Souvik Dutt
We received the very sad news today, that Oier Echaniz Beneitez has
passed away, after a long-term illness (not as a result of COVID-19):
https://www.europython-society.org/post/615744838396215296/farewell-to-oier-echaniz-beneitez
Oier was one of the initiators for bringing EuroPython to Bilbao i
Hmm understood.
Souvik flutter dev
On Sat, Apr 18, 2020, 7:36 PM Chris Angelico wrote:
> On Sun, Apr 19, 2020 at 12:03 AM Souvik Dutta
> wrote:
> >
> > I literally tried it!!! And it did not stop because I did not get any 1.0
> > rather I got 0.999 But why does this happen. This is a s
Hmmm sorry please forgive me. I only did that because the question was
relevant. Please forgive me. Sorry again.
Souvik flutter dev
On Sat, Apr 18, 2020, 7:52 PM DL Neil via Python-list <
python-list@python.org> wrote:
> On 19/04/20 1:51 AM, Souvik Dutta wrote:
> > I literally tried it!!! And it
On 19/04/20 1:51 AM, Souvik Dutta wrote:
I literally tried it!!! And it did not stop because I did not get any
1.0 rather I got 0.999 But why does this happen. This is a
simple math which according to normal human logic should give perfect
numbers which are not endless. Then why does a
On Sun, Apr 19, 2020 at 12:03 AM Souvik Dutta wrote:
>
> I literally tried it!!! And it did not stop because I did not get any 1.0
> rather I got 0.999 But why does this happen. This is a simple math
> which according to normal human logic should give perfect numbers which are
> not endles
I literally tried it!!! And it did not stop because I did not get any 1.0
rather I got 0.999 But why does this happen. This is a simple math
which according to normal human logic should give perfect numbers which are
not endless. Then why does a computer behave so differently?
On Sat, 18 A
On Sun, 19 Apr 2020 01:25:00 +1200
DL Neil via Python-list wrote:
> On 19/04/20 1:07 AM, Souvik Dutta wrote:
> > I have one question here. On using print(f"{c:.32f}") where c= 2/5 instead
> > of getting 32 zeroes I got some random numbers. The exact thing is
> > 0.40002220446049250313
On 19/04/20 1:07 AM, Souvik Dutta wrote:
I have one question here. On using print(f"{c:.32f}") where c= 2/5 instead
of getting 32 zeroes I got some random numbers. The exact thing is
0.40002220446049250313
Why do I get this and not 32 zeroes?
Approximating decimal numbers as binary
I have one question here. On using print(f"{c:.32f}") where c= 2/5 instead
of getting 32 zeroes I got some random numbers. The exact thing is
0.40002220446049250313
Why do I get this and not 32 zeroes?
On Fri, 17 Apr, 2020, 6:25 pm ast, wrote:
> Le 17/04/2020 à 13:40, Aakash Jana a é
i wanted to implement incremental PCA.
Got this code for stack overflow but i am wondering what y = chunk.pop("y")
does and what is this argument "y" to pop
from sklearn.decomposition import IncrementalPCA
import csv
import sys
import numpy as np
import pandas as pd
dataset = sys.argv[1]
chunksiz
Okay so I was not able to say properly. You are indeed doing the same thing
that you were doing i.e. writting the modified data just, that now you
don't need to close you if file before doing any writting stuff. That is
there is a one line deduction from the whole code.
Souvik flutter dev
On Sat,
Souvik Dutta wrote:
> You can actually read and write in a file simultaneously. Just replace "r"
> with "w+" if the file has not been previously made or use "r+" is the file
> has already been made.
Good advice for those who like to butcher their data ;)
Seriously, writing modified data into a n
35 matches
Mail list logo