Re: Why does Python want to read /proc/meminfo

2017-05-06 Thread Dan Stromberg
On Sat, May 6, 2017 at 9:07 AM, Ian Pilcher wrote: > On 05/06/2017 12:51 AM, dieter wrote: > You're right. Seems that it's glibc's qsort(). > > So it seems that any service written in Python (or any other program > that uses qsort) needs to be given read access to most of /proc or deal > with the

Re: Why does Python want to read /proc/meminfo

2017-05-06 Thread Michael Torrie
On 05/06/2017 10:07 AM, Ian Pilcher wrote: > On 05/06/2017 12:51 AM, dieter wrote: >> Personally, I doubt that you will find a reference. >> Instead, I assume that the reference comes from the C runtime library. >> It might hepl optimize memory management to know about "meminfo" details. > > You'r

Re: I want to learn Python and how to benefit from the great Data Science packages - have some questions.

2017-05-06 Thread Michael Torrie
On 05/06/2017 01:33 PM, Rahim Shamsy wrote: > Is there a better and faster way? I need more problem solving > experience (keeping in mind Data Science) with python. Probably. Depends on the person and how one learns. The best way to learn python is to have a problem you wish to solve and start co

ANN: distlib 0.2.5 released on PyPI

2017-05-06 Thread Vinay Sajip via Python-list
I've just released version 0.2.5 of distlib on PyPI [1]. For newcomers, distlib is a library of packaging functionality which is intended to be usable as the basis for third-party packaging tools. The main changes in this release are as follows: * Changed regular expressions to be compatible with

I want to learn Python and how to benefit from the great Data Science packages - have some questions.

2017-05-06 Thread Rahim Shamsy
Hi, Hope you are well. I am currently in the process of learning the basics of programming in Python, and was just checking if I am in the right direction. I have experience programming in C++ and Java, and want to learn Python for research work that I am doing. The research is regarding appli

Re: os.getlogin() Error

2017-05-06 Thread Wildman via Python-list
On Fri, 05 May 2017 11:30:41 -0700, 20/20 Lab wrote: > I'm not sure if this will help you, but I found some stuff on accident > looking at something related. > > Not sure if it will help, but looked promising > > https://github.com/parmentelat/apssh/issues/1 > > ==Some snippets from the page >

Re: Why does Python want to read /proc/meminfo

2017-05-06 Thread Ian Pilcher
On 05/06/2017 12:51 AM, dieter wrote: Personally, I doubt that you will find a reference. Instead, I assume that the reference comes from the C runtime library. It might hepl optimize memory management to know about "meminfo" details. You're right. Seems that it's glibc's qsort(). So it seems

Re: Why does Python want to read /proc/meminfo

2017-05-06 Thread Wildman via Python-list
On Fri, 05 May 2017 23:54:20 -0500, Ian Pilcher wrote: > I am trying to write an SELinux policy to confine a simple service that > I have written in Python, and I'm trying to decide whether to allow or > dontaudit various denials. > > To start, I've reduced my service to the simplest case: > >

Re: Install python via MS batch file

2017-05-06 Thread Irmen de Jong
On 6-5-2017 7:14, Mahmood Naderan wrote: > Hello, > I have downloaded python-3.6.1-amd64.exe and it is fine to install it through > GUI. However, I want to write a batch file to install it via command line. > Since the installation process is interactive, it seems that the auto-install > batch f

Install python via MS batch file

2017-05-06 Thread Mahmood Naderan via Python-list
Hello, I have downloaded python-3.6.1-amd64.exe and it is fine to install it through GUI. However, I want to write a batch file to install it via command line. Since the installation process is interactive, it seems that the auto-install batch file is difficult. What I want to do is: set python