Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.071 X-Spam-Evidence: '*H*': 0.86; '*S*': 0.00; 'charset:iso-8859-7': 0.04; 'root': 0.05; '*not*': 0.07; 'ignored': 0.07; 'plenty': 0.07; 'steve': 0.09; 'subject:extra': 0.09; 'subject:string': 0.09; 'weeks,': 0.09; 'python': 0.11; '.py': 0.16; 'gained': 0.16; 'least.': 0.16; 're-read': 0.16; 'received:192.168.8': 0.16; 'subject: \n ': 0.16; 'subject:when': 0.16; 'think.': 0.16; 'threads.': 0.16; 'subject:python': 0.16; ':-)': 0.16; 'wrote:': 0.18; 'code.': 0.18; 'obviously': 0.18; 'server,': 0.19; 'thu,': 0.19; 'shell': 0.22; 'header:User-Agent:1': 0.23; 'file.': 0.24; 'posts': 0.26; 'references': 0.26; 'pass': 0.26; 'read,': 0.26; 'supported': 0.26; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'chris': 0.29; 'external': 0.29; 'am,': 0.29; 'especially': 0.30; 'subject:list': 0.30; 'code': 0.31; 'really,': 0.31; "they'll": 0.31; 'anyone': 0.31; 'file': 0.32; 'probably': 0.32; 'weeks': 0.32; 'open': 0.33; 'subject:from': 0.34; 'advice': 0.35; 'deadline': 0.35; 'something': 0.35; 'anybody': 0.35; 'late': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'patient': 0.36; 'reflect': 0.36; 'level': 0.37; 'clear': 0.37; 'being': 0.38; 'message-id:@gmail.com': 0.38; 'to:addr:python- list': 0.38; 'list,': 0.38; 'that,': 0.38; 'recent': 0.39; 'to:addr:python.org': 0.39; 'days': 0.60; 'even': 0.60; 'read': 0.60; 'access,': 0.60; 'most': 0.60; "you're": 0.61; 'real': 0.63; 'valuable': 0.63; 'pick': 0.64; 'account': 0.65; 'kept': 0.65; 'customers': 0.66; 'hours': 0.66; 'header:Reply-To:1': 0.67; 'subject': 0.69; 'respect': 0.70; 'internet': 0.71; 'reply-to:no real name:2**0': 0.71; 'money': 0.72; 'carefully': 0.74; 'jul': 0.74; 'reply-to:addr:gmail.com': 0.80; 'you:': 0.81; "customers'": 0.84; 'exercise.': 0.84; 'forward.': 0.84; 'stronger': 0.84; 'subject:space': 0.84; 'sue': 0.84; 'offered.': 0.91; 'steps.': 0.91; 'responses': 0.93; 'baby': 0.95; 'taught': 0.96; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=h39ehHcfYUOkoELWBCEGttmwk+VYFCnrxIc1r6VY/Kg=; b=a45gZ5RU89fsuUmP2d8Xg0PXgQHcwlWL1oogxRL2XB0QXRan6nzPgrOgItWacbb2R/ n597m1nfeT1gOSenZXsvf9iQtyoVni76YbG7+tETdXkggTnFI2q1Q7IIK0eGANSwZeKQ 2jO2HtEfc6//wiz2ItlEEvFwoqdkaQ/+TVkEzlfxd21aXuF5u41ezlX+QdDV/5mQFdtM 4H81YihHCNYDRW6K8FLE5kT5n8PwDPvEz+vT//g6Ft63ybXArX/WASD8jKifaJp+8LjP qHx1jZfzuJgvfrr5vtLfyxmvhubroL8yl9FNRTyzEunHG4Ue7wrPvxoPCdIcELAb3UlN x4Ew== X-Received: by 10.14.223.199 with SMTP id v47mr2084111eep.32.1372869774424; Wed, 03 Jul 2013 09:42:54 -0700 (PDT) Date: Wed, 03 Jul 2013 17:42:50 +0100 From: Steve Simmons User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: python-list@python.org Subject: Re: python adds an extra half space when reading from a string or list References: <51d1a173$0$29999$c3e8da3$5496439d@news.astraweb.com> <51D1D484.5070309@rece.vub.ac.be> <51D27FB9.7040406@rece.vub.ac.be> <51D2C113.6070105@rece.vub.ac.be> <1264cfb9-f451-40e3-9d59-0619547c8138@googlegroups.com> <51D3ED24.9030202@rece.vub.ac.be> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-7; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: square.steve@gmail.com 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: 42 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1372871267 news.xs4all.nl 15910 [2001:888:2000:d::a6]:52695 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:49760 On 03/07/2013 16:44, Chris Angelico wrote: > On Thu, Jul 4, 2013 at 1:36 AM, Νίκος wrote: >> I will *not* give away my root pass to anyone for any reason but i will open >> a norla user account for someone if i feel like trusting him and copy my >> python file to his homr dir to take alook from within. > Well... well... baby steps. That's something at least. That's still a > huge level of access, though; with a non-root account on your server, > I would be able to - I think - read all your customers' code. You > would have to chroot the user you give, and if you're going to do > that, you may as well just give the code as a .py file. Really, you > need to have a MUCH stronger respect for shell access, even non-root. > > ChrisA Nicos A hard lesson learnt, I think. I have read most of the responses to your posts but kept my contributions to a minimum. Here's my advice to you: 1. Don't trust ANYBODY on the internet unless you have thought carefully about what you are being offered. 2. Do seriously consider following advice from this list, especially the advice to read external references and documents - obviously subject to point 1 :-) 3. Don't EVER compromise security for some real or imagined deadline - your customers will probably grumble if you are late but they will likely sue you if you compromise their data. They'll definitely sue if you compromise their money in any way. Chris taught you a valuable lesson - hard but valuable. 4. Take a few hours out and re-read your recent threads. Pick out the constructive advice you have ignored and follow up on it. It may take days or even weeks to get your head around it but IMHO there is huge value to be gained from the exercise. You have taken some big strides over the past several weeks, supported by some *very* patient experts, but it is clear you still have plenty to learn - pause, read, digest, reflect and then move forward. Take care Steve