Announcing Clabate 0.5.0: minimalistic class-based templates for Python

2022-12-09 Thread Axy via Python-list
Hi there, although it's quite old my side project, it has reached the point where I don't want to add anything more. It's a simple template system based on standard string formatting. You declare your template strings as class attributes and they are formatted in the right order. For dynamic

Re: How to convert a raw string r'\xdd' to '\xdd' more gracefully?

2022-12-09 Thread Jach Feng
Weatherby,Gerard 在 2022年12月9日 星期五晚上9:36:18 [UTC+8] 的信中寫道: > That’s actually more of a shell question than a Python question. How you pass > certain control characters is going to depend on the shell, operating system, > and possibly the keyboard you’re using. (e.g. https://www.alt-codes.net). >

Re: How to convert a raw string r'\xdd' to '\xdd' more gracefully?

2022-12-09 Thread Jach Feng
moi 在 2022年12月9日 星期五晚上11:41:20 [UTC+8] 的信中寫道: > PS C:\humour> py38 sysargwithliteral.py a\x0ab\x09c\x0a\x80uro\x0ax\x08z > cp1252 > a > b c > €uro > z > > PS C:\humour> $a = py38 sysargwithliteral.py a\x0ab\x09c\x0a\x80uro\x0ax\x08z > cp1252 > > PS C:\humour> licp($a) > a U+0061 > b U+0

Re: New computer, new Python

2022-12-09 Thread Thomas Passin
It sounds like on your old computer, you used some kind of program to write python code and perhaps to run it too. It would help if you could say what that program was. Python itself - the actual program called "python.exe" on Windows - runs a Python interpreter inside a Windows console windo

Re: New computer, new Python

2022-12-09 Thread Mats Wichmann
On 12/9/22 14:56, rbowman wrote: On Fri, 9 Dec 2022 12:13:16 -0500 (EST), ker...@polaris.net wrote: How can I write my own Python Functions and subroutines in the new Python? Personally, I would go with VS Code: https://learn.microsoft.com/en-us/training/modules/python-install-vscode/ It su

Re: New computer, new Python

2022-12-09 Thread rbowman
On Fri, 9 Dec 2022 12:13:16 -0500 (EST), ker...@polaris.net wrote: > How can I write my own Python Functions and subroutines in the new > Python? Personally, I would go with VS Code: https://learn.microsoft.com/en-us/training/modules/python-install-vscode/ It supports virtual environments nicel

Re: New computer, new Python

2022-12-09 Thread Weatherby,Gerard
Python in an IDE is much easier in the long run. We use PyCharm – there’s a free version: https://www.jetbrains.com/pycharm/download/#section=windows From: Python-list on behalf of DFS Date: Friday, December 9, 2022 at 4:36 PM To: python-list@python.org Subject: Re: New computer, new Python *

Re: New computer, new Python

2022-12-09 Thread DFS
On 12/9/2022 12:13 PM, ker...@polaris.net wrote: Hello. I've downloaded the new Python to my new Computer, and the new Python mystifies me. Instead of an editor, it looks like a Dos executable program. python.exe is a Windows executable. How can I write my own Python Functions and

Re: New computer, new Python

2022-12-09 Thread dn
On 10/12/2022 06.13, ker...@polaris.net wrote: Hello. I've downloaded the new Python to my new Computer, and the new Python mystifies me. Instead of an editor, it looks like a Dos executable program. How can I write my own Python Functions and subroutines in the new Python? It is v

New computer, new Python

2022-12-09 Thread ker...@polaris.net
Hello. I've downloaded the new Python to my new Computer, and the new Python mystifies me. Instead of an editor, it looks like a Dos executable program. How can I write my own Python Functions and subroutines in the new Python? It is version 3.11 (64 bit). Kermit -Origina

Re: Panoptisch - A way to understand your project's dependencies and find malicious packages

2022-12-09 Thread Dan Kolis
I think it needs a built in viewer or at least a human readable output, or nobody will go through the trouble to use it. Other that that, maybe a pretty good idea, sure -- https://mail.python.org/mailman/listinfo/python-list

Re: How to convert a raw string r'\xdd' to '\xdd' more gracefully?

2022-12-09 Thread Weatherby,Gerard
That’s actually more of a shell question than a Python question. How you pass certain control characters is going to depend on the shell, operating system, and possibly the keyboard you’re using. (e.g. https://www.alt-codes.net). Here’s a sample program. The dashes are to help show the boundarie