Path: csiph.com!goblin1!goblin.stu.neva.ru!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.017 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'skip:[ 20': 0.03; 'repository': 0.05; 'executable': 0.07; 'ast': 0.09; 'thx': 0.09; 'comma,': 0.16; 'executables': 0.16; 'readable': 0.16; 'wrote:': 0.16; 'setup,': 0.22; 'import': 0.24; 'thus': 0.24; 'header:In- Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; 'program,': 0.29; 'convention': 0.30; 'received:10.0': 0.34; 'best,': 0.35; 'there': 0.36; 'smaller': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'version': 0.38; 'several': 0.38; 'end': 0.39; 'why': 0.39; 'to:addr:python.org': 0.40; 'received:de': 0.40; 'hello,': 0.40; 'software': 0.40; 'vous': 0.61; 'charset:windows-1252': 0.62; 'more': 0.63; 'dont': 0.64; 'subject:location': 0.84 Date: Fri, 04 Sep 2015 01:01:16 +0200 From: "Sven R. Kunze" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Strange location for a comma References: <55e83afb$0$3157$426a74cc@news.free.fr> In-Reply-To: <55e83afb$0$3157$426a74cc@news.free.fr> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-purgate: clean X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate-type: clean X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate: clean X-purgate-size: 594 X-purgate-ID: 154282::1441321278-00000778-78484179/0/0 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 26 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1441321286 news.xs4all.nl 23748 [2001:888:2000:d::a6]:53907 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:95979 On 03.09.2015 14:20, ast wrote: > Hello, > At the end of the last line of the following program, > there is a comma, I dont understand why ? > > Thx > > > from cx_Freeze import setup, Executable > > # On appelle la fonction setup > setup( > name = "salut", > version = "0.1", > description = "Ce programme vous dit bonjour", > executables = [Executable("salut.py")], # <--- HERE > ) > I know of several projects having this convention because when using a repository software like git, it leads to smaller and thus more readable diffs. Best, Sven