On Sun, Jul 14, 2019 at 7:14 PM Chris Angelico wrote:
>
> On Mon, Jul 15, 2019 at 10:51 AM Paulo da Silva
> wrote:
> >
> > Às 15:30 de 12/07/19, Thomas Jollans escreveu:
> > > On 12/07/2019 16.12, Paulo da Silva wrote:
> > >> Hi all!
> > >>
> > >> Is there any difference between using the base cl
Barry Scott writes:
> I am update some PyPI projects and found that twine was refusing the upload.
> ...
> Failed
> The project's long_description has invalid markup which will not be rendered
> on PyPI. The following syntax errors were detected:
> line 1: Severe: Unexpected section title or tran
On 16/07/19 12:13 PM, Joseph L. Casale wrote:
I am trying to find explicit documentation on the initialization logic for a
Base class when multiple exist. For the example in the documentation at
https://docs.python.org/3/tutorial/classes.html#multiple-inheritance,
if Base1 and Base2 both themselv
On Tue, Jul 16, 2019 at 10:17 AM DL Neil wrote:
>
> When used, do you embed a class's name within its own code, as a literal?
>
>
> In the thread "super or not super?", the OP asked:
> <<<
> C1.__init__(self) or
> super().__init__()
> >>>
>
> One of the answers recommended super()
I am trying to find explicit documentation on the initialization logic for a
Base class when multiple exist. For the example in the documentation at
https://docs.python.org/3/tutorial/classes.html#multiple-inheritance,
if Base1 and Base2 both themselves inherited from the same base class,
only Base
When used, do you embed a class's name within its own code, as a literal?
In the thread "super or not super?", the OP asked:
<<<
C1.__init__(self) or
super().__init__()
>>>
One of the answers recommended super() [agreed!] in order to avoid
embedding "C1" into the code. The expl
Python Cookbook; highly recommended.
Malcolm
--
https://mail.python.org/mailman/listinfo/python-list
Wlfraed probably knows a thing-or-two about kicking-over ants'
nests/wasps' nests...
Talking about books is one thing. Judging them by asyncio coverage is
quite another - and rather unfair. The use and methods of asyncio have
changed frequently and markedly since '3.0'. Books take time to prod
Gys - hats off.
Basically what Dennis is saying- you dont need a book "about python ".
Tutorials and general search online will get you further and faster than
any book.
Blah-blah about myself:
my bookshelf has 2 technical books, just because i got them to prepare for
certifications.
For my tradi
On Mon, 15 Jul 2019, Dennis Lee Bieber wrote:
If one lacks both A and B, one ends up with various editions of
"Learning Python", "Programming Python", and "Fluent Python" (among many
others).
I have found those books quite helpful over the years. I recommend starting
with the latest ed
On 7/12/19 4:36 PM, mok...@gmail.com wrote:
Can anyone help me.
New to Python.
Installed version 3.7
I purchased the "Python for Dummies" book But this book was written for an
older version of Python.
All the examples and samples don't work with version 3.7
Can anyone direct me to which is the l
I am update some PyPI projects and found that twine was refusing the upload.
I have been googling and reading the PyPI guides but did not find anthing
that helps me understand what is required.
What am I doing wrong?
Using the twine check command I get reports about the reasons.
All the code on
> On 12 Jul 2019, at 15:12, Paulo da Silva
> wrote:
>
> Hi all!
>
> Is there any difference between using the base class name or super to
> call __init__ from base class?
>
> class C1:
> def __init__(self):
> ...
>
> class C2(C1):
> def __init__(self):
>
On Mon, 15 Jul 2019 09:20:51 +0200, Peter Otten <__pete...@web.de> wrote:
> Madhavan Bomidi wrote:
>
[snip]
>>
>> 3RIMG_01APR2018_0514_L2G_AOD.h5
>> 3RIMG_01APR2018_0544_L2G_AOD.h5
>> 3RIMG_01APR2018_0644_L2G_AOD.h5
>> 3RIMG_01APR2018_0714_L2G_AOD.h5
>> 3RIMG_01APR2018_0744_L2G_AOD.h5
[snip]
>>
>
On Monday, July 15, 2019 at 12:44:20 AM UTC-6, kumar...@gmail.com wrote:
> Want to learn python as I have donne manual testing for 12 years. Please help
> to share opinion how to start. Thanks
I don't know your skill level with programming, but I have found this
https://www.learnpython.org/ webs
Thanks Reto. I got it now. Matt
On Sun, Jul 14, 2019 at 2:26 PM Reto wrote:
> On Sun, Jul 14, 2019 at 12:20:56PM -0400, Matt Zand wrote:
> > Given a string, return a new string where the first and last chars have
> > been exchanged.
>
> This sounds awfully like a homework question.
> What did yo
On 7/15/19 2:59 AM, Madhavan Bomidi wrote:
> I am using the following command line to sort the files:
>
> import glob
> a = sorted(glob.glob('3RIMG_*.h5')
>
> Following is the result:
>
> 3RIMG_01APR2018_0514_L2G_AOD.h5
> 3RIMG_01APR2018_0544_L2G_AOD.h5
> 3RIMG_01APR2018_0644_L2G_AOD.h5
> 3RIMG_01A
Thanks Peter.
The following lines worked:
import glob
import datetime
def get_datetime (filename):
parts = filename.split ("_")
return datetime.datetime.strptime (parts[1] + parts[2], "%d%b%Y%H%M")
filenames = sorted(glob.glob('3RIMG _ *. h5'), key = get_datetime)
--
https://mail.
Try to find small projects to solve with Python instead of using other
applications. Hereby my experience:
* solve or just represent a riddle or mathematical question.
- Youtube channels called standupmaths and numberphile has some
interesting videos about algorithms. Then it's fun trying to bui
Madhavan Bomidi wrote:
> I am using the following command line to sort the files:
>
> import glob
> a = sorted(glob.glob('3RIMG_*.h5')
>
> Following is the result:
>
> 3RIMG_01APR2018_0514_L2G_AOD.h5
> 3RIMG_01APR2018_0544_L2G_AOD.h5
> 3RIMG_01APR2018_0644_L2G_AOD.h5
> 3RIMG_01APR2018_0714_L2G_
I am using the following command line to sort the files:
import glob
a = sorted(glob.glob('3RIMG_*.h5')
Following is the result:
3RIMG_01APR2018_0514_L2G_AOD.h5
3RIMG_01APR2018_0544_L2G_AOD.h5
3RIMG_01APR2018_0644_L2G_AOD.h5
3RIMG_01APR2018_0714_L2G_AOD.h5
3RIMG_01APR2018_0744_L2G_AOD.h5
3RIMG_0
Want to learn python as I have donne manual testing for 12 years. Please help
to share opinion how to start. Thanks
--
https://mail.python.org/mailman/listinfo/python-list
22 matches
Mail list logo