Re: Website

2021-04-15 Thread Dan Ciprus (dciprus) via Python-list

https://en.wikipedia.org/wiki/Sergio_Llorente

wow .. you made it that far ? 

Jokes aside .. why are you asking for a permission to get a domain ? I would 
love to read a deeper explanation what made you send an email to this mailing 
list. 


On Wed, Apr 14, 2021 at 03:41:37PM +0200, Rainyis wrote:

Hello,
I am Sergio Llorente, and I want to create a web about python. I
will publish apps, scripts.. made by python. I will like to put python in
the domain. The domain will be like all-about-python.com but in Spanish(
todosobrepython.com). Can I use it?

Thanks in advance,
Sergio
--
https://mail.python.org/mailman/listinfo/python-list


--
Daniel Ciprus  .:|:.:|:.
CONSULTING ENGINEER.CUSTOMER DELIVERY   Cisco Systems Inc.
dcip...@cisco.com
tel: +1-703-484-0205
mob: +1-540-223-7098



signature.asc
Description: PGP signature
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Ann: New Python curses book

2021-04-15 Thread Alan Gauld via Python-list
On 14/04/2021 19:55, Rich Shepard wrote:
> On Wed, 14 Apr 2021, Alan Gauld via Python-list wrote:
> 
>> The paper version should be fine (apart from one error on p44 which has
>> now been fixed!).
> 
> Alan,
> 
> What's the error and correction so I can change it in my dead tree version?
> 
> Rich

In the main() function the block of code starting with the 'with'
statement should be indented to be part of main().
It has been left at the outermost indentation level.

The source code file is correct so check against that.

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos


-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Ann: New Python curses book

2021-04-15 Thread Rich Shepard

On Thu, 15 Apr 2021, Alan Gauld via Python-list wrote:


In the main() function the block of code starting with the 'with'
statement should be indented to be part of main(). It has been left at the
outermost indentation level.

The source code file is correct so check against that.


Thanks, Alan.

Rich
--
https://mail.python.org/mailman/listinfo/python-list


Re: Website

2021-04-15 Thread o1bigtenor
On Thu, Apr 15, 2021 at 7:40 AM Dan Ciprus (dciprus) via Python-list
 wrote:
>
> https://en.wikipedia.org/wiki/Sergio_Llorente
>
> wow .. you made it that far ?
>
> Jokes aside .. why are you asking for a permission to get a domain ? I would
> love to read a deeper explanation what made you send an email to this mailing
> list.
>
> On Wed, Apr 14, 2021 at 03:41:37PM +0200, Rainyis wrote:
> >Hello,
> >I am Sergio Llorente, and I want to create a web about python. I
> >will publish apps, scripts.. made by python. I will like to put python in
> >the domain. The domain will be like all-about-python.com but in Spanish(
> >todosobrepython.com). Can I use it?
> >
> >Thanks in advance,
> >Sergio
> >--
> >https://mail.python.org/mailman/listinfo/python-list
>

I would suggest that you quite missed the point of the question.

To me he is asking if he can use the word "python", which carries
a lot of meaning in the computer world, in his domain name.
I'd be handing him top marks for his asking rather than laughing
that he did ask. Its a very polite and respectful thing to ask
before registering the domain imo.

Regards
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Website

2021-04-15 Thread Dan Ciprus (dciprus) via Python-list
Well I did not get the point of his question, obviously so apologies for being 
sarcastic at the beginning. This triggered my reaction because of the history 
of "funny" questions which you can find in this mailing list.

Sent from my smartphone
Do Not Get Outlook for Android !

From: o1bigtenor 
Sent: Thursday, April 15, 2021 9:49:45 AM
To: Dan Ciprus (dciprus) 
Cc: Rainyis ; python-list@python.org 

Subject: Re: Website

On Thu, Apr 15, 2021 at 7:40 AM Dan Ciprus (dciprus) via Python-list
 wrote:
>
> https://en.wikipedia.org/wiki/Sergio_Llorente
>
> wow .. you made it that far ?
>
> Jokes aside .. why are you asking for a permission to get a domain ? I would
> love to read a deeper explanation what made you send an email to this mailing
> list.
>
> On Wed, Apr 14, 2021 at 03:41:37PM +0200, Rainyis wrote:
> >Hello,
> >I am Sergio Llorente, and I want to create a web about python. I
> >will publish apps, scripts.. made by python. I will like to put python in
> >the domain. The domain will be like all-about-python.com but in Spanish(
> >todosobrepython.com). Can I use it?
> >
> >Thanks in advance,
> >Sergio
> >--
> >https://mail.python.org/mailman/listinfo/python-list
>

I would suggest that you quite missed the point of the question.

To me he is asking if he can use the word "python", which carries
a lot of meaning in the computer world, in his domain name.
I'd be handing him top marks for his asking rather than laughing
that he did ask. Its a very polite and respectful thing to ask
before registering the domain imo.

Regards
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Website

2021-04-15 Thread Calvin Spealman
The PSF guidelines on trademark usage are generous and well documented
here: https://www.python.org/psf/trademarks/

Good luck with your website!

On Wed, Apr 14, 2021 at 11:43 AM Rainyis  wrote:

> Hello,
> I am Sergio Llorente, and I want to create a web about python. I
> will publish apps, scripts.. made by python. I will like to put python in
> the domain. The domain will be like all-about-python.com but in Spanish(
> todosobrepython.com). Can I use it?
>
> Thanks in advance,
> Sergio
> --
> https://mail.python.org/mailman/listinfo/python-list
>
>

-- 

CALVIN SPEALMAN

SENIOR QUALITY ENGINEER

calvin.speal...@redhat.com  M: +1.336.210.5107
[image: https://red.ht/sig] 
TRIED. TESTED. TRUSTED. 
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Website

2021-04-15 Thread o1bigtenor
On Thu, Apr 15, 2021 at 8:54 AM Dan Ciprus (dciprus)  wrote:
>
> Well I did not get the point of his question, obviously so apologies for 
> being sarcastic at the beginning. This triggered my reaction because of the 
> history of "funny" questions which you can find in this mailing list.
>
Agreed that there are far too many questions asked here that might not
be that useful.
I don't know for sure but thought I understood the 'spirit' of the
question - - - I hope that I did!
(Or I get to look like a turkey - - - - LOL - - - - as my wife so
often tells me - - - LOL)

Regards
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Website

2021-04-15 Thread o1bigtenor
On Thu, Apr 15, 2021 at 8:59 AM Calvin Spealman  wrote:
>
> The PSF guidelines on trademark usage are generous and well documented
> here: https://www.python.org/psf/trademarks/
>
> Good luck with your website!
>
> On Wed, Apr 14, 2021 at 11:43 AM Rainyis  wrote:
>
> > Hello,
> > I am Sergio Llorente, and I want to create a web about python. I
> > will publish apps, scripts.. made by python. I will like to put python in
> > the domain. The domain will be like all-about-python.com but in Spanish(
> > todosobrepython.com). Can I use it?
> >
> > Thanks in advance,
> >

Senor Sergio

This , from the previous attached doc :

Uses that Always Require Approval

Any commercial use of the PSF trademarks in product or company names
must be approved first by the PSF. Some uses, like calling a company
"The Python Company," or a product "Python Language" or "Python IDE"
will be refused. This is because they are overly broad, or confusing
as to whether the Python programming language is open source or
commercial, or whether your product or organization is affiliated with
or sponsored by PSF.

would suggest that you contact the Python Trademark Committee.
I would assume that searching on the Python webpage should
enable one to find some contact information for such.

I, for one, without any influence, would suggest to such committee
that you be allowed to register such titled domain. (Please do remember
that I have no connection with said committee just that you did ask and
did so in a way that, imo anyway, showed you were working in the spirit
of the matter at very least!)

Regards
-- 
https://mail.python.org/mailman/listinfo/python-list


TIME IN XARRAY

2021-04-15 Thread Jorge Conforte



Hi,


I'm using xarray to read netcdf data and I had to time in my data the 
values:



xarray.DataArray 'time' (time: 507)>
array(['1979-01-01T00:00:00.0', '1979-02-01T00:00:00.0',
   '1979-03-01T00:00:00.0', ..., 
'2021-01-01T00:00:00.0',

   '2021-02-01T00:00:00.0', '2021-03-01T00:00:00.0'],
  dtype='datetime64[ns]')


Please, how can I get the years and months values from this array.


Thanks,


Conrado

--
https://mail.python.org/mailman/listinfo/python-list


Re: TIME IN XARRAY

2021-04-15 Thread Chris Angelico
On Fri, Apr 16, 2021 at 4:16 AM Jorge Conforte  wrote:
> I'm using xarray to read netcdf data and I had to time in my data the
> values:
>
> xarray.DataArray 'time' (time: 507)>
> array(['1979-01-01T00:00:00.0', '1979-02-01T00:00:00.0',
> '1979-03-01T00:00:00.0', ...,
> '2021-01-01T00:00:00.0',
> '2021-02-01T00:00:00.0', '2021-03-01T00:00:00.0'],
>dtype='datetime64[ns]')
>
>
> Please, how can I get the years and months values from this array.
>

Looks like your "time" values are ISO-8601 dates, stored as strings.
You should be able to parse them easily by hand, or hand them to
datetime.datetime.fromisoformat().

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list


Repair Install of 64 bit python

2021-04-15 Thread Dodson, Matthew
Hi,

Having an issue after installing 64 bit python. Can't pip install any packages. 
Get the error "No module named pip".

Thanks,
Matt


Matthew Dodson 
2020 Data Analytics/Video Intern
New York Football Giants
Quest Diagnostics Training Center
1925 Giants Drive
East Rutherford, NJ 07073
o: 201-806-1749
matthew.dod...@giants.nfl.net

This e-mail is intended only for the use of the individual or entity named 
above and contains confidential and privileged information.  If the reader of 
this message is not the intended recipient, or the employee or agent 
responsible to deliver it to the intended recipient, you are hereby notified 
that any dissemination, distribution or copying of this communication is 
strictly prohibited. If you have received this communication in error, please 
immediately notify the sender of the e-mail and destroy the original message.  
UNLESS CLEARLY STATED,  NOTHING IN THIS E-MAIL, IN ANY E-MAIL THREAD OF WHICH 
IT MAY BE A PART, OR IN ANY ATTACHMENTS THERETO, SHALL CONSTITUTE A BINDING 
CONTRACT, OR ANY CONTRACTUAL OBLIGATION, OR ANY INTENT TO ENTER INTO ANY 
BINDING OBLIGATIONS.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Repair Install of 64 bit python

2021-04-15 Thread o1bigtenor
On Thu, Apr 15, 2021 at 8:03 PM Dodson, Matthew
 wrote:
>
> Hi,
>
> Having an issue after installing 64 bit python. Can't pip install any 
> packages. Get the error "No module named pip".
>

No expert here but to me that reads like you need to install 'pip'.

On linux I need to make sure its pip3 - - - for python 3.
Then after that's done you sounds be able to go $ pip3 install x .

HTH
-- 
https://mail.python.org/mailman/listinfo/python-list