From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YCVBDNHH0GP1+QAAbAwnHQ (envelope-from ) for ; Wed, 25 Jan 2023 07:10:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id IC5qC9HH0GNKdwAAG6o9tA (envelope-from ) for ; Wed, 25 Jan 2023 07:10:25 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id F13303A915 for ; Wed, 25 Jan 2023 07:10:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pKYyl-00075l-Kv; Wed, 25 Jan 2023 01:09:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKYyh-00075T-EI for help-guix@gnu.org; Wed, 25 Jan 2023 01:09:47 -0500 Received: from mx2.dismail.de ([159.69.191.136]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKYyd-0004qi-4y for help-guix@gnu.org; Wed, 25 Jan 2023 01:09:45 -0500 Received: from mx2.dismail.de (localhost [127.0.0.1]) by mx2.dismail.de (OpenSMTPD) with ESMTP id 8d10934d for ; Wed, 25 Jan 2023 07:09:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h= mime-version:date:content-type:content-transfer-encoding:from :message-id:subject:to; s=20190914; bh=X0A9JSUPl0nEPVWkrjJKzK4uG DZFcaq3hcIMbpPxBTM=; b=tt4vH7XrifbIQA1EcGQdUQDhayaSwlgu7vhuYTdTV KkQqd8BoFekyZ5pqRrBdKfXJaQSJk39wXHm3pADJxIPs+ZcXYz35YK8Wpu+rswCj 7RJXT245Xbwh/GqwWByGr6gohvmW80drlvLFSY4FesEqvWCjkNxBH41td/CEpZrm FfbZGmLDFtbpTP0THjMBhjLGPWDieLfg45JyuwiB39zESgQUmI34bW95W/3xYZn0 7s5WCyGJcogkYCZ11LRiVa3f8Mc9NfT/xPwuTINo0yftr7R1ByIOEodkHVI55vYj XUs9gNQ0L/s8eJc85cLWijjKakrQrUJFiH8YFsoi+ES6w== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx2.dismail.de (OpenSMTPD) with ESMTP id d8e3cffe for ; Wed, 25 Jan 2023 07:09:36 +0100 (CET) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id b530e938 for ; Wed, 25 Jan 2023 07:09:36 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id a94e69a1 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Wed, 25 Jan 2023 07:09:35 +0100 (CET) MIME-Version: 1.0 Date: Wed, 25 Jan 2023 06:09:35 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: RainLoop/1.16.0a From: "jgart" Message-ID: Subject: shebang for python script? To: help-guix@gnu.org Received-SPF: pass client-ip=159.69.191.136; envelope-from=jgart@dismail.de; helo=mx2.dismail.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674627025; a=rsa-sha256; cv=none; b=LWJmMS31oIeI76ShnqzKXLl45dyd0ci3hYPzh9OvZzLW74EpFFUU/MiE4Jyib6E9ydIHEP BxTjzSymwLRVxoMD5JRYCHeNGPFmHn0s4qo0+iGaV8FvFrjrnau/e/N0GVaXXXt24M3E7k ySR0cWGH7jo7fUuCTyIv8Pgtzlh9ekK7ZNH7OitnNbjUuejKQU2VH4whDTqsjTljOz0tmY 8wTl3XQecrP2+XQuJVktbTQZBhzh9rL256KHEfeEZ2+/JZ5Mf/QYHE5i34A5t5LrqS5dvH 7kbc8JIVbaxXT9qjrc7Zyk9uUjKXIggE3NaMUQrWUB+833egwggPQ7V7pUELtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674627025; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=X0A9JSUPl0nEPVWkrjJKzK4uGDZFcaq3hcIMbpPxBTM=; b=IF21CJE9S9U53bQY+i5xw6WC3pt6TzUbnDX3waUpL5IceY3EktHm0Dssp9VSxaJeulMWkM iHkRJlvQY4IMJoclr584svIJ4rnMMRjKkidomtDdlQGhMcyNMD4zuF5UjK0PZDAKSnkOvA u2tJYQGZMVVJNntbgb1VPYOBTDjJCO3IRUVk6jMQ4cwa8Usr0SmFMobzVTlegx2dSFYJVo utCbTYmISyrYQyOQm4ymBLcxBP8OW8eKUz59aDpZtK+Okd4mliLUI737FxXkr1QC9X905b tdXVzDfL02wyy+3MYuIx7dxAxXCtml2ROn9hiVnPXpuO8UNwoGHrO7xZrZhnIw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b=tt4vH7Xr; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=dismail.de X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -6.85 X-Spam-Score: -6.85 X-Migadu-Queue-Id: F13303A915 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b=tt4vH7Xr; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=dismail.de X-TUID: 9U/eQPD/e9L1 Hi Guixers, What's the current recommended way to do this in Guix? #!/usr/bin/env nix-shell #!nix-shell -i python3 -p "python3.withPackages(ps: [ ps.numpy ])" import numpy as np a =3D np.array([1,2]) b =3D np.array([3,4]) print(f"The dot product of {a} and {b} is: {np.dot(a, b)}")