Deutsch English Français Italiano |
<mailman.0.1720084989.2981.python-list@python.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!not-for-mail From: inhahe <inhahe@gmail.com> Newsgroups: comp.lang.python Subject: Re: python for irc client Date: Thu, 4 Jul 2024 05:22:53 -0400 Lines: 52 Message-ID: <mailman.0.1720084989.2981.python-list@python.org> References: <87msmx4mt5.fsf@raspberrypi> <CAPeSgWoEtcNs+kYNzoL2njQFLdk2MoTeR2JG8FMXciosZeChpw@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de bPVQyY+B1cQHeYIozv+TvwEk9y6PYYUdOSRUBQhj72UA== Cancel-Lock: sha1:vqqQvGwGyo5O63HbH/Ji6uZutI0= sha256:Qe/wJn8CC8EF0ODqHRwgBWpW86fWlaIQh2qrygdJrpQ= Return-Path: <inhahe@gmail.com> X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org Authentication-Results: mail.python.org; dkim=pass reason="2048-bit key; unprotected key" header.d=gmail.com header.i=@gmail.com header.b=Lhy4F0P6; dkim-adsp=pass; dkim-atps=neutral X-Spam-Status: OK 0.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'jul': 0.04; 'variable': 0.05; 'subject:python': 0.06; 'email addr:python.org>': 0.09; 'language,': 0.09; 'utf-8.': 0.09; 'url:mailman': 0.15; 'memory': 0.15; '2024': 0.16; 'colors.': 0.16; 'computers': 0.16; 'date,': 0.16; 'footprint': 0.16; 'instance': 0.16; 'interpreter': 0.16; 'irc': 0.16; 'irc,': 0.16; 'subject:client': 0.16; 'textual': 0.16; 'tmux': 0.16; 'wrote:': 0.16; 'python': 0.16; 'reduce': 0.19; 'thu,': 0.19; 'to:addr:python-list': 0.20; 'language': 0.21; "i've": 0.22; 'languages': 0.22; 'application.': 0.22; 'progress': 0.22; 'laptop': 0.23; "i'd": 0.24; 'url-ip:188.166.95.178/32': 0.25; 'url-ip:188.166.95/24': 0.25; 'url:listinfo': 0.25; 'url- ip:188.166/16': 0.25; 'brought': 0.26; "isn't": 0.27; 'old': 0.27; 'purpose': 0.28; 'email addr:python.org>': 0.28; 'example,': 0.28; 'computer': 0.29; 'environment': 0.29; 'this?': 0.29; 'url- ip:188/8': 0.31; 'think': 0.32; 'accomplish': 0.32; 'end.': 0.32; 'guess': 0.32; 'language.': 0.32; 'python-list': 0.32; 'message- id:@mail.gmail.com': 0.32; 'but': 0.32; "i'm": 0.33; 'subject:for': 0.33; 'core': 0.34; 'header:In-Reply-To:1': 0.34; 'received:google.com': 0.34; 'running': 0.34; 'particularly': 0.35; 'usual': 0.35; 'from:addr:gmail.com': 0.35; 'built': 0.36; 'missing': 0.37; 'really': 0.37; 'using': 0.37; "it's": 0.37; 'thanks': 0.38; 'quite': 0.39; 'text': 0.39; 'enough': 0.39; 'use': 0.39; 'higher': 0.60; 'in,': 0.60; 'likely': 0.61; 'here.': 0.61; 'seen': 0.62; 'great': 0.63; 'experience': 0.64; 'spend': 0.64; 'your': 0.64; 'daily': 0.65; 'consumer': 0.67; 'historical': 0.69; 'desktop': 0.70; 'client': 0.82; 'decade.': 0.84; 'dramatically': 0.84; 'email name:<python-list': 0.84; 'say,': 0.84; 'sure.': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720084986; x=1720689786; darn=python.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=dG0s5hNLu2w/fnBoaaQAH0E4uFSn4A3HjlwDLeNXdFk=; b=Lhy4F0P6PU+6ETXvdiJI1cl0Yr9dmlKw4K+aYTwvLatFsPh3dlVL61xBc/tainhY7Z WyZVr0tWGBKMQDdJAmGMpkVd25FH84kmEw+QVkWIFCyFx6pr1IQZ6rKD0dxl60LY4xEw kww0hPC8aZDo2bHH/nNEYiorpf+in/F9Tx8ZwjYnPNd0q0Z9Vp+yNSY2TEBs7MyBBj12 Zg2Vk4J0myIr5sMbtOGUD8yR6xInrtDcbzKs2HKodr7kI1lN/fNX9i4EFM0zNNuyCwir cUogq3NIgREaVke6oAGWYv/DprJnxHwoeNvIBgYIwU2/yQdJm9kycwch4TGCeiiRPya0 DOjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720084986; x=1720689786; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=dG0s5hNLu2w/fnBoaaQAH0E4uFSn4A3HjlwDLeNXdFk=; b=XGr5Uzm+SSfGYU6tMZgV8Dsx0lZceb1NoJa5lrtBToheyssUy8tYQVq/HUL2OdkZKK 1PhA1rPTR6vf785VprHYvacg+rZoLnfK/Uqu34GR5I8VzeEHRvFYuTdQbf4nc3d3p2Kf y5rH6rYElXC+a785AnXItB5TUhikfsryu7nHf8BDa1MdAq/8m/eCxaGE2bL5XalIWVsA snB714QG5LsrX5kg6FtgZFe1gCBUT9Borg2r8o9EX9xleWdx5uUDtDSysXKPxXvGXXRh Z6U8cVlUB64k9zUX0zl1f3MsIrkNvDD9J4ApGQmfdPJh5J+WiFWhFtqfNwZ30ADI449S hmPg== X-Gm-Message-State: AOJu0Yy/Ini6j+PNIrF5y7sxjWgY04bXiuPThLL3St497lESbZTHg8bt lO4/D83yxg+s/odbEEZRbz5ppxq8eIDGcRTDnQkjy5dgeDnctOdejZ5gjptOfwmCrwzO2U+xdHr E5yhi2Fo8THNjRzfCgz+hfE71qHo3pfuJ X-Google-Smtp-Source: AGHT+IH2ZYDOkS6/t1ccPraoAe9/idPKzQLNdAGSWOwZIeo6dQN3Llw2BasoQN5IxxabgwzyW0R/5swOltmRlubNWmA= X-Received: by 2002:ac2:5a4d:0:b0:52c:d753:2829 with SMTP id 2adb3069b0e04-52ea06267ebmr710657e87.19.1720084985932; Thu, 04 Jul 2024 02:23:05 -0700 (PDT) In-Reply-To: <87msmx4mt5.fsf@raspberrypi> X-Content-Filtered-By: Mailman/MimeDel 2.1.39 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.39 Precedence: list List-Id: General discussion list for the Python programming language <python-list.python.org> List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> List-Archive: <https://mail.python.org/pipermail/python-list/> List-Post: <mailto:python-list@python.org> List-Help: <mailto:python-list-request@python.org?subject=help> List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> X-Mailman-Original-Message-ID: <CAPeSgWoEtcNs+kYNzoL2njQFLdk2MoTeR2JG8FMXciosZeChpw@mail.gmail.com> X-Mailman-Original-References: <87msmx4mt5.fsf@raspberrypi> Bytes: 7542 On Thu, Jul 4, 2024 at 5:14=E2=80=AFAM Daniel via Python-list < python-list@python.org> wrote: > Hi guys - > > I have historical experience developing sofwtare for my own use. It has > been > quite a while since doing so and the advent of new languages has brought = me > here. Python has built quite a reputation. It would be fun to pick up a > new language while I'm at it. > > I've been a consumer of IRC since the nineties and have been running an > instance of quassel core on an old laptop for the last decade. Over the > years, my use of xwindows has dramatically decreased and I spend 90% of m= y > computer time with multiple panes of tmux while I do my usual daily fun. > One > thing missing is a good textmode irc client that will connect to quassel > core. > > I've seen efforts to make a plugin for weechat but, to date, I don't see > much > progress on that end. > > In your wisdom, would python be a good environment to accomplish this? I'= d > likely use extended ascii and colors. The point would be to minimize the > memory footprint of the application. > > I don't use standard desktop computers anymore - I'm writing this on my > beloved pi400 using emacs. > > Thanks > > Daniel > -- > https://mail.python.org/mailman/listinfo/python-list I think Python would be a great language to write an IRC client in, it's a rapid-development language, and also Python is particularly good for text manipulation and the IRC protocol is textual rather than binary. But, if your only purpose for using Python is to reduce the memory footprint, I'm not sure. I don't know specifically, but I'd guess Python has a higher memory footprint than, say, C, because it's a high-level language. For example, each variable has to be boxed, and also the interpreter has to be loaded.. Regarding high ASCII, I don't know if that works in IRC, but either way, ASCII isn't really enough nowadays. You need to support Unicode; specifically, UTF-8.