Re: I cannot download python files from external source.

2020-05-29 Thread MRAB
On 2020-05-30 00:55, Michio Suginoo wrote: Yes, it’s clear to me what you wrote. I was just communicating what happened when I tried to download python files from external sources. My question is how I can enable the installed Python (Anaconda) to download files from external sources. Thanks

Re: Ram memory not freed after executing python script on ubuntu system (rmlibre)

2020-05-29 Thread Peter J. Holzer
On 2020-05-29 14:28:59 +0900, Inada Naoki wrote: > pymalloc manages only small blocks of memory. > Large (more than 512 byte) memory blocks are managed by malloc/free. > > glibc malloc doesn't return much freed memory to OS. That depends on what "much" means. Glibc does return blocks to the OS w

Re: I cannot download python files from external source.

2020-05-29 Thread MRAB
On 2020-05-29 21:24, Michio Suginoo wrote: Hi I installed python via Anaconda some months ago. And since then, I could not download python files from external sources. Basically, every time I tried to download python files, the python system that I installed via Anaconda gives me a system messag

I cannot download python files from external source.

2020-05-29 Thread Michio Suginoo
Hi I installed python via Anaconda some months ago. And since then, I could not download python files from external sources. Basically, every time I tried to download python files, the python system that I installed via Anaconda gives me a system message with three options: - Modify (add or mo

Re: why no camelCase in PEP 8?

2020-05-29 Thread Peter J. Holzer
On 2020-05-28 18:14:53 -0400, Terry Reedy wrote: > On 5/28/2020 4:18 PM, Peter J. Holzer wrote: > > On 2020-05-19 05:59:30 +1000, Chris Angelico wrote: > > > Nobody ever requires you to comply with it for any other code. > > > > That's obviously not true: [...] > Revise Chris' claim to "Neither t

Re: why no camelCase in PEP 8?

2020-05-29 Thread Peter J. Holzer
On 2020-05-29 06:27:31 +1000, Chris Angelico wrote: > On Fri, May 29, 2020 at 6:20 AM Peter J. Holzer wrote: > > On 2020-05-19 05:59:30 +1000, Chris Angelico wrote: > > > PEP 8 is a style guide for the Python standard library. It is the > > > rules you must comply with if you are submitting a patc

Re: Format Logfile Name with logging.ini

2020-05-29 Thread Peter J. Holzer
On 2020-05-29 09:52:07 -0700, connor.r.no...@gmail.com wrote: > In an effort to clean up my python logging practices when creating > libraries, I have begun reading into "Advanced Logging" and converting > my logging practices into logging configuration `.ini` files: > > [link](https://docs.python

Re: .dll problem

2020-05-29 Thread Rhodri James
[Re-ordered because top-posting is evil ]:-) On 29/05/2020 17:38, Souvik Dutta wrote: On Fri, 29 May, 2020, 9:50 pm Preetha M, wrote: Hello. Warm regards from india. I am a kid who is currently learning python. Hope you are doing well. I know that it is not a problem that you can fix but when

Format Logfile Name with logging.ini

2020-05-29 Thread connor . r . novak
In an effort to clean up my python logging practices when creating libraries, I have begun reading into "Advanced Logging" and converting my logging practices into logging configuration `.ini` files: [link](https://docs.python.org/3.4/howto/logging.html#configuring-logging) My question is: When

Re: .dll problem

2020-05-29 Thread Souvik Dutta
Do you have DirectX installed. It must solve the problem. On Fri, 29 May, 2020, 9:50 pm Preetha M, wrote: > Hello. Warm regards from india. I am a kid who is currently learning > python. Hope you are doing well. I know that it is not a problem that you > can fix but whenever i try to open the so

Re: Custom logging function

2020-05-29 Thread zljubisic
Hi Peter. Finally I got it. :) That's it. It works. Thanks. So, in each class, I will in init method execute: self.logger = logging.getLogger() and than everywhere use self.logger.debug('...') in order to produce the message. Best regards. -- https://mail.python.org/mailman/listinfo/python-li

.dll problem

2020-05-29 Thread Preetha M
Hello. Warm regards from india. I am a kid who is currently learning python. Hope you are doing well. I know that it is not a problem that you can fix but whenever i try to open the software it shows that api-ms-win-crt-runtime-l1-0-0.dll is missing. I tried reinstalling but it is not working. Ever

David Beazley's Practical Python Course Now Open & Free

2020-05-29 Thread Abdur-Rahmaan Janhangeer
Greetings, A Great Py Course: https://dabeaz-course.github.io/practical-python/ David Beazley is a celebrated python dev, previously he was a lecturer in compiler theory. His practical py course is: "A no-nonsense treatment of Python that has been actively taught to more than 400 in-person gro

Re: Is there some reason that recent Windows 3.6 releases don't included executable nor msi installers?

2020-05-29 Thread Adam Preble
On Friday, May 29, 2020 at 7:30:32 AM UTC-5, Eryk Sun wrote: > On 5/28/20, Adam Preble wrote: > Sometimes a user will open a script via "open with" and browse to > python.exe or py.exe. This associates .py files with a new progid that > doesn't pass the %* command-line arguments. > > The installe

How to convert csv to netcdf please help me python users

2020-05-29 Thread kotichowdary28
Hi all I hope all are doing well please help me how to convert CSV to NetCDF. Im trying but its not working #!/usr/bin/env ipython import pandas as pd import numpy as np import netCDF4 import pandas as pd import xarray as xr stn_precip='ts_sept.csv' orig_precip='ts_sept.csv' stations = pd.re

Re: Is there some reason that recent Windows 3.6 releases don't included executable nor msi installers?

2020-05-29 Thread Mats Wichmann
On 5/28/20 3:20 PM, Peter J. Holzer wrote: > On 2020-05-23 13:22:26 -0600, Mats Wichmann wrote: >> On 5/23/20 12:23 AM, Adam Preble wrote: >>> I wanted to update from 3.6.8 on Windows without necessarily moving >>> on to 3.7+ (yet), so I thought I'd try 3.6.9 or 3.6.10. >>> >>> All I see for both

EuroPython 2020: Schedule published

2020-05-29 Thread M.-A. Lemburg
We are very excited to announce the first version of our EuroPython 2020 schedule: * EuroPython 2020 Schedule * https://ep2020.europython.eu/schedule/ More sessions than we ever dreamed of - After the 2nd CFP, we found th

Re: Is there some reason that recent Windows 3.6 releases don't included executable nor msi installers?

2020-05-29 Thread Eryk Sun
On 5/28/20, Adam Preble wrote: > > We had found what looked like a bug in the Python Launcher where it would > eat command line arguments meant for the script. I would find some stuff > missing from sys.argv in a script that just imports sys and prints out > sys.argv if I ran it directly in cmd.ex

Create custom types using typing module?

2020-05-29 Thread Chirag Dhyani
I am trying to create a custom type on Python 3.7 typing module. The new type (say Struct) should be same as type tuple. In Python3.6, I was able to do the same by taking cue from Typing.GenericMeta and typing.TupleMeta. With typing module updated in Python3.7, GenericMeta and TupleMeta do not exi