HomeWork,
Nobody is suggesting that you change your attitude because of one obstacle.
But what if EVERYBODY here gives you similar feedback that python IS the way it
is irrelevant of what other language designers have chosen or you expect?
Even if you propose a change that might be nice but it
On 2021-05-27 at 20:23:29 -0700,
Regarding "name for new Enum decorator,"
Ethan Furman wrote:
> Greetings!
>
> The Flag type in the enum module has had some improvements, but I find it
> necessary to move one of those improvements into a decorator instead, and
> I'm having a hard time thinking u
Greetings!
The Flag type in the enum module has had some improvements, but I find it necessary to move one of those improvements
into a decorator instead, and I'm having a hard time thinking up a name.
What is the behavior? Well, a name in a flag type can be either canonical (it represents on
Am 25.05.21 um 06:08 schrieb hw:
On 5/25/21 12:37 AM, Greg Ewing wrote:
Python does have references to *objects*. All objects live on
the heap and are kept alive as long as there is at least one
reference to them.
If you rebind a name, and it held the last reference to an
object, there is no wa
On 27/05/2021 16.13, Christian Gollwitzer wrote:
Am 25.05.21 um 06:08 schrieb hw:
On 5/25/21 12:37 AM, Greg Ewing wrote:
Python does have references to *objects*. All objects live on
the heap and are kept alive as long as there is at least one
reference to them.
If you rebind a name, and it he
Disclaimer: I haven't actually used pandas.
On 26May2021 14:45, Veek M wrote:
>t = pd.DataFrame([[4,9],]*3, columns=['a', 'b'])
> a b
>0 4 9
>1 4 9
>2 4 9
I presume you've printed "t" here. So the above table is str(t). Or
possibly repr(t) if you were at the interactive prompt. It is a
On 27/05/2021 21.28, Loris Bennett wrote:
> Hi,
>
> I currently a have around 3 years' worth of files like
>
> home.20210527
> home.20210526
> home.20210525
> ...
>
> so around 1000 files, each of which contains information about data
> usage in
On Thu, May 27, 2021 at 6:22 PM Cameron Simpson wrote:
>
> On 27May2021 18:42, hw wrote:
> >So it seems that IMAP support through python is virtually non-existent.
>
> This still sureprises me, but I've not tried to use IMAP seriously. I
> read email locally, and collect it with POP instead. Wit
On 27May2021 18:42, hw wrote:
>On 5/26/21 12:25 AM, Cameron Simpson wrote:
>>On 25May2021 19:21, hw wrote:
>>>On 5/25/21 11:38 AM, Cameron Simpson wrote:
On 25May2021 10:23, hw wrote:
>>You'd be surprised how useful it is to make almost any standalone
>>programme a module like this - in the
On 5/27/21 1:08 PM, Dennis Lee Bieber wrote:
On Thu, 27 May 2021 09:22:09 +0300, ? ???
declaimed the following:
Good morning. I have o Windows 10 system and i can install pip. I try to
follow the instruction that i find on internet but the did not work. Also
itry to write the c
On 2021-05-27 20:59:47 +0200, hw wrote:
> On 5/25/21 3:09 PM, Greg Ewing wrote:
> > On 25/05/21 5:56 pm, Avi Gross wrote:
> > > Var = read in something from a file and make some structure like a
> > > data.frame
> > > Var = remove some columns from the above thing pointed to by Var
> > > Var = make
On 5/25/21 3:55 PM, Grant Edwards wrote:
On 2021-05-25, hw wrote:
I'm about to do stuff with emails on an IMAP server and wrote a program
using imaplib
My recollection of using imaplib a few years ago is that yes, it is
unweildy, oddly low-level, and rather un-Pythonic (excuse my
presumption
On 5/25/21 3:09 PM, Greg Ewing wrote:
On 25/05/21 5:56 pm, Avi Gross wrote:
Var = read in something from a file and make some structure like a
data.frame
Var = remove some columns from the above thing pointed to by Var
Var = make some new calculated columns ditto
Var = remove some rows ...
Var
On 5/27/21 10:42 AM, hw wrote:
> What do you do with it when importing it? Do you somehow design your
> programs as modules in some way that makes them usable as some kind of
> library funktion?
Yes, precisely. Typically I break up my python projects into logical
modules, which are each kind o
When the idea is to learn something, it's not exactly helpful to abandon
that idea when encountering the first obstacle or when someone tells you
you don't like it as much as they do ...
On 5/25/21 7:56 AM, Avi Gross via Python-list wrote:
I have studied many programming languages and am amu
On Fri, May 28, 2021 at 4:04 AM Peter J. Holzer wrote:
>
> On 2021-05-26 08:34:28 +1000, Chris Angelico wrote:
> > Yes, any given string has a single width, which makes indexing fast.
> > The memory cost you're describing can happen, but apart from a BOM
> > widening an otherwise-ASCII string to 1
On 2021-05-26 08:34:28 +1000, Chris Angelico wrote:
> Yes, any given string has a single width, which makes indexing fast.
> The memory cost you're describing can happen, but apart from a BOM
> widening an otherwise-ASCII string to 16-bit, there aren't many cases
> where you'll get a single wide ch
On 2021-05-27 11:28:11 +0200, Loris Bennett wrote:
> I currently a have around 3 years' worth of files like
>
> home.20210527
> home.20210526
> home.20210525
> ...
>
> so around 1000 files, each of which contains information about data
> usage in lines
Hi,
I currently a have around 3 years' worth of files like
home.20210527
home.20210526
home.20210525
...
so around 1000 files, each of which contains information about data
usage in lines like
namekb
alice 123
bob 4
...
zebedee 999
(there are actually
Il giorno giovedì 27 maggio 2021 alle 11:28:31 UTC+2 Loris Bennett ha scritto:
> Hi,
>
> I currently a have around 3 years' worth of files like
>
> home.20210527
> home.20210526
> home.20210525
> ...
>
> so around 1000 files, each of which contains infor
Good morning. I have o Windows 10 system and i can install pip. I try to
follow the instruction that i find on internet but the did not work. Also
itry to write the command pip install pip but again did not work. Also the
command py. did not work. Thank you!
--
Yours sincerely
Dimitris
--
On 5/26/21 12:25 AM, Cameron Simpson wrote:
On 25May2021 19:21, hw wrote:
On 5/25/21 11:38 AM, Cameron Simpson wrote:
On 25May2021 10:23, hw wrote:
if status != 'OK':
print('Login failed')
exit
Your "exit" won't do what you want. I expect this code to raise a
NameError exception he
On Thu, May 27, 2021 at 1:56 PM Cameron Simpson wrote:
>
> On 26May2021 12:11, Jon Ribbens wrote:
> >On 2021-05-26, Alan Gauld wrote:
> >> I confess I had just assumed the unicode strings were stored
> >> in native unicode UTF8 format.
> >
> >If you do that then indexing and slicing strings beco
23 matches
Mail list logo