Re: Observations on the List - "Be More Kind"

2018-10-09 Thread Richard Damon
On 10/9/18 2:03 PM, Chris Angelico wrote: > On Wed, Oct 10, 2018 at 4:57 AM Richard Damon > wrote: >> Shoot, as in physically, generally no such right; metaphorically, as in >> sever discipline in list operations, generally yes, though perhaps >> limited from some grounds based on applicable Laws

Re: Observations on the List - "Be More Kind"

2018-10-09 Thread jfong
Chris Angelico at 2018.10.10 UTC+8 AM 10:31:33 wrote: > On Wed, Oct 10, 2018 at 1:21 PM wrote: > > I switched from comp.lang.python to mailing list a few months ago for those > > spam threads there. Now it seems a bad decision because 1) replied mail can > > be lost or duplicated or even banned

Re: Observations on the List - "Be More Kind"

2018-10-09 Thread Chris Angelico
On Wed, Oct 10, 2018 at 1:21 PM wrote: > I switched from comp.lang.python to mailing list a few months ago for those > spam threads there. Now it seems a bad decision because 1) replied mail can > be lost or duplicated or even banned. 2) look at each separately mail is not > as comfortable as

Re: Observations on the List - "Be More Kind"

2018-10-09 Thread jfong
Richard Damon at 2018.10.9 UTC+8 PM 8:40:29 wrote: > Moderators are generally appointed by those who do 'pay the bill' for > the mailing list they are moderators for, and serve at their pleasure. > Mailing List are generally 'private property', though often made open to > the public for general use

From Mathematica to Jypyter

2018-10-09 Thread Terry Reedy
https://paulromer.net/jupyter-mathematica-and-the-future-of-the-research-paper/ Jupyter, Mathematica, and the Future of the Research Paper Paul Romer, new Nobel prize winner in economics, for research on how ideas interact with economic growth, explained last April why he has switched from Mathe

Re: Observations on the List - "Be More Kind"

2018-10-09 Thread Peter J. Holzer
On 2018-10-08 12:46:48 -0700, Ethan Furman wrote: > On 10/08/2018 07:43 AM, Rhodri James wrote: > > I appreciate that the moderators are volunteers, but they have official > > power on this list.  Being volunteers doesn't mean that they can't get > > it wrong, or that we shouldn't call them on it w

Re: Observations on the List - "Be More Kind"

2018-10-09 Thread Chris Angelico
On Wed, Oct 10, 2018 at 4:57 AM Richard Damon wrote: > Shoot, as in physically, generally no such right; metaphorically, as in > sever discipline in list operations, generally yes, though perhaps > limited from some grounds based on applicable Laws. AIUI there is no law stating that I have to car

Re: Observations on the List - "Be More Kind"

2018-10-09 Thread Chris Angelico
On Wed, Oct 10, 2018 at 4:49 AM wrote: > > I am wondering the role of the moderator. > > Does he own the server or pay the bill? Where he get the power to suspending > people? Is he a police or judge? Can he shoot someone just because he has any > reason? > The mods represent the Python Softwar

Return html data + serve a file

2018-10-09 Thread vergos . nikolas
Hello, iam using Python + Flask. Iam trying to print some html and also serve a file to the user. My code is: pdata = pdata + '' # Prepare selected file for download filename = request.form.get('filename') filepath = '/home/user/wsgi/static/files/'

Re: My environment doesn't load

2018-10-09 Thread Fabien LUCE
Well, Beautifulsoup is not On Wed, Oct 10, 2018 at 02:installed on my system, just in the environment, so how could apache run correctly my app without accessing my environment? I thought that venv or virtualenv point was only to create some folder which was simply sourced. What other things they

Re: My environment doesn't load

2018-10-09 Thread Fabien LUCE
I rsynced the full local project directory (which contains the virtualenv dir) to a remote server. And there I couldn't enter into it. However, obviously apache2 achieved to... October 9 2018 5:21 PM, "Chris Warrick" wrote: > On Tue, 9 Oct 2018 at 11:18, wrote: > >> Here are the ouput during

Re: My environment doesn't load

2018-10-09 Thread Fabien LUCE
Here are the ouput during sourcing: [ftg @ localhost] [/var/www/ffablob] % source env-p3/bin/activate [ftg @ localhost] [

Re: Observations on the List - "Be More Kind"

2018-10-09 Thread Richard Damon
On 10/9/18 12:10 AM, jf...@ms4.hinet.net wrote: > I am wondering the role of the moderator. > > Does he own the server or pay the bill? Where he get the power to suspending > people? Is he a police or judge? Can he shoot someone just because he has any > reason? > > What will happen if his powe

Re: Observations on the List - "Be More Kind"

2018-10-09 Thread Rhodri James
On 08/10/18 20:46, Ethan Furman wrote: On 10/08/2018 07:43 AM, Rhodri James wrote: I appreciate that the moderators are volunteers, but they have official power on this list.  Being volunteers doesn't mean that they can't get it wrong, or that we shouldn't call them on it when they do. I com

Re: Observations on the List - "Be More Kind"

2018-10-09 Thread Alister via Python-list
On Mon, 08 Oct 2018 12:46:48 -0700, Ethan Furman wrote: > On 10/08/2018 07:43 AM, Rhodri James wrote: > >> I appreciate that the moderators are volunteers, but they have official >> power on this list.  Being volunteers doesn't mean that they can't get >> it wrong, or that we shouldn't call them

Re: Observations on the List - "Be More Kind"

2018-10-09 Thread jfong
I am wondering the role of the moderator. Does he own the server or pay the bill? Where he get the power to suspending people? Is he a police or judge? Can he shoot someone just because he has any reason? What will happen if his power was limited? Will the forum be end in disorder? No, I don't

Re: My environment doesn't load

2018-10-09 Thread Chris Angelico
On Wed, Oct 10, 2018 at 2:32 AM wrote: > > I rsynced the full local project directory (which contains the virtualenv > dir) to a remote server. > And there I couldn't enter into it. > However, obviously apache2 achieved to... Not so obvious. It's possible Apache is ignoring the venv and just run

Re: My environment doesn't load

2018-10-09 Thread ftg
I rsynced the full local project directory (which contains the virtualenv dir) to a remote server. And there I couldn't enter into it. However, obviously apache2 achieved to... > October 9 2018 5:21 PM, "Chris Warrick" wrote: > >> On Tue, 9 Oct 2018 at 11:18, wrote: >> >>> Here are the ouput

Re: My environment doesn't load

2018-10-09 Thread Chris Warrick
On Tue, 9 Oct 2018 at 11:18, wrote: > > Here are the ouput during sourcing: > > > [ftg @ localhost] [/var/www/ffablob] > > % source env-p3/bin/activate > > [ftg @ localhost] [/var/www/ffablob] > > % which python > > /usr/bin/python > > and if I run some of my code that import beautyfulsoup it fail

Re: Test before PR

2018-10-09 Thread Rhodri James
On 09/10/18 11:07, Abdur-Rahmaan Janhangeer wrote: just a simple question. how do you test PR before merge? I doubt there's a single answer to that question. Some things like documentation changes can just be read, code reviews might work for sufficiently small changes, and so on. If you hav

Test before PR

2018-10-09 Thread Abdur-Rahmaan Janhangeer
just a simple question. how do you test PR before merge? yours, Abdur-Rahmaan Janhangeer Mauritius -- https://mail.python.org/mailman/listinfo/python-list

Re: variable exchange

2018-10-09 Thread Cameron Simpson
On 09Oct2018 01:12, Luca Bertolotti wrote: Thanks Cameron but my problem is that i can't access to a line edit of the class Form from the class Form_cli i get this error: 'Form_cli' object has no attribute 'lineEdit_29' It is best to always show the entire error message including traceback.

Re: My environment doesn't load

2018-10-09 Thread ftg
Here are the ouput during sourcing: > [ftg @ localhost] [/var/www/ffablob] > % source env-p3/bin/activate > [ftg @ localhost] [/var/www/ffablob] > % which python > /usr/bin/python and if I run some of my code that import beautyfulsoup it fails (python mycode.py), althoug running directly ./env

Re: My environment doesn't load

2018-10-09 Thread Thomas Jollans
On 2018-10-09 10:36, f...@lutix.org wrote: > Thx, > > initially the env was created with virtualenv yes, and then I copied the > folder of the project on a remote server. I am using zsh (both locally and > remotely). > My PATH env variable does includes well the path of my env bin. In this > fo

Re: My environment doesn't load

2018-10-09 Thread ftg
Thx, initially the env was created with virtualenv yes, and then I copied the folder of the project on a remote server. I am using zsh (both locally and remotely). My PATH env variable does includes well the path of my env bin. In this folder there are symbolic links. And yes there is well an /e

Re: variable exchange

2018-10-09 Thread Luca Bertolotti
Thanks Cameron but my problem is that i can't access to a line edit of the class Form from the class Form_cli i get this error: 'Form_cli' object has no attribute 'lineEdit_29' -- https://mail.python.org/mailman/listinfo/python-list

Re: My environment doesn't load

2018-10-09 Thread Thomas Jollans
On 09/10/2018 09:20, f...@lutix.org wrote: Hello, I have rsynced a folder on my distant server. Now I try to source my environment: source ./env/bin/activate and nothing happens. When type > which python, /usr/bin/python is still printed. What could be the issue? Thanks What shell are you

Re: Python indentation (3 spaces)

2018-10-09 Thread Antoon Pardon
On 08-10-18 19:43, Peter J. Holzer wrote: > On 2018-10-08 10:36:21 +1100, Chris Angelico wrote: >> TBH, I think that tab width should be up to the display, just like the >> font. You're allowed to view code in any font that makes sense for >> you, and you should be able to view code with any indent

My environment doesn't load

2018-10-09 Thread ftg
Hello, I have rsynced a folder on my distant server. Now I try to source my environment: source ./env/bin/activate and nothing happens. When type > which python, /usr/bin/python is still printed. What could be the issue? Thanks -- https://mail.python.org/mailman/listinfo/python-list

Re: variable exchange

2018-10-09 Thread Cameron Simpson
On 09Oct2018 00:12, Luca Bertolotti wrote: Hello i'm using python with pyqt but i have a problem on varable: I have two class: [...] class Form(QWidget, Ui_Form): """ Class documentation goes here. """ def __init__(self, parent=None): """ Constructor @param pa

variable exchange

2018-10-09 Thread Luca Bertolotti
Hello i'm using python with pyqt but i have a problem on varable: I have two class: from PyQt5.QtCore import pyqtSlot from PyQt5.QtWidgets import QWidget from PyQt5.QtSql import QSqlDatabase, QSqlTableModel from PyQt5 import QtWidgets from PyQt5.QtCore import Qt from Ui_form import Ui_Form from f