Re: os.getlogin() Error

2017-05-04 Thread Wildman via Python-list
resist accessing information not available as the > user, and avoid the need to run as root at all. > > Cheers, > Cameron Simpson I appreciate the advice and will consider it. -- GNU/Linux user #557453 The cow died so I don't need your bull! -- https://mail.python.org/mailman/listinfo/python-list

Re: os.getlogin() Error

2017-05-04 Thread Wildman via Python-list
On Fri, 05 May 2017 09:58:02 +1000, Chris Angelico wrote: > On Fri, May 5, 2017 at 9:50 AM, Wildman via Python-list > wrote: >> I'm afraid that won't work. The user environment is different >> than root. A different set of variables. However you have >> gi

Re: Why does Python want to read /proc/meminfo

2017-05-06 Thread Wildman via Python-list
gentoo/hardened/259011 -- GNU/Linux user #557453 The cow died so I don't need your bull! -- https://mail.python.org/mailman/listinfo/python-list

Re: os.getlogin() Error

2017-05-06 Thread Wildman via Python-list
login = lambda: pwd.getpwuid(os.getuid())[0] > default_username = getlogin() I appreciate the reply but the problem has been fixed. -- GNU/Linux user #557453 The cow died so I don't need your bull! -- https://mail.python.org/mailman/listinfo/python-list

Refactoring tool to create Python functions

2017-05-08 Thread beliavsky--- via Python-list
Googling "refactoring python code to create functions" I came to https://wingware.com/doc/intro/tutorial-refactoring where the "Extract Function/Method" does what I want. Is there a free Python tool that does this? -- https://mail.python.org/mailman/listinfo/python-list

import docx error

2017-05-10 Thread RRS1 via Python-list
happens on 10). I've searched for online help and seen nothing that I can follow, references to PIP are over my head. It's very frustrating. Can somebody help? Really appreciate it. Thanks -John -- https://mail.python.org/mailman/listinfo/python-list

Re: multiprocessing.Process can not start a thread in py2exe

2017-05-20 Thread topic2k--- via Python-list
Did you call freeze_support() function after script start? https://docs.python.org/3/library/multiprocessing.html#multiprocessing.freeze_support -- https://mail.python.org/mailman/listinfo/python-list

[OT] How to improve my programming skills?

2017-06-01 Thread Mirko via Python-list
fficient way for improving my general programming skills? Do you have any other suggestions or tips? Much thanks for your time! Mirko -- https://mail.python.org/mailman/listinfo/python-list

Re: Syntax error for simple script

2017-06-26 Thread Rurpy via Python-list
have been anticipated when the Python developers chose to make this change. It's no wonder that some people (often women) who don't like contention, find this list rather hostile. -- https://mail.python.org/mailman/listinfo/python-list

Re: Syntax error for simple script

2017-06-26 Thread Wildman via Python-list
On Tue, 27 Jun 2017 03:31:57 +1000, Chris Angelico wrote: > On Tue, Jun 27, 2017 at 1:16 AM, Ben S. via Python-list > wrote: >> I installed Python v3.6.1 on win 7. Afterwards I tried to execute the >> following simple python script from webpage >> http://www.pythonforb

Re: Recent Spam problem

2017-07-25 Thread alister via Python-list
the world. I know! Let's all go and drop nuclear > bombs on them. That'll fix the problem! > > OR... you could try just filtering it all out, and not stooping to their > level. > > ChrisA i say nuke em/ otherwise my /dev/null is going to need expanding ;-) -- "To YOU I'm an atheist; to God, I'm the Loyal Opposition." -- Woody Allen -- https://mail.python.org/mailman/listinfo/python-list

Re: Recent Spam problem

2017-07-25 Thread Wildman via Python-list
ight help. I have sent a couple but if everyone here did it maybe Google will pay attention and do something. The same goes for our Italian "friend". -- GNU/Linux user #557453 The cow died so I don't need your bull! -- https://mail.python.org/mailman/listinfo/python-list

Re: I am new here and i need your help please

2017-07-25 Thread Wildman via Python-list
python.org/mailman/listinfo/python-list

Will my project be accepted in pypi?

2017-07-26 Thread Kryptxy via Python-list
the tool scraps TPB proxies, which aren't legal per se. So if I package and publish this tool, will it be accepted? If someone could assist me with this? Thank you. Regards, Rijul Gulati -- https://mail.python.org/mailman/listinfo/python-list

Re: Installing matplotlib on python3

2017-07-27 Thread alister via Python-list
ropriate directories. > > Any advice here? > thanks fritz yes please do not top post -- My face is new, my license is expired, and I'm under a doctor's care -- https://mail.python.org/mailman/listinfo/python-list

Re: Recent Spam problem

2017-07-27 Thread Wildman via Python-list
On Tue, 25 Jul 2017 21:44:22 +, Grant Edwards wrote: > On 2017-07-25, Wildman via Python-list wrote: > >> The posts are being made through Google Groups. Forwarding >> the posts with headers to groups-ab...@google.com might help. > > I never has in the past. I (a

Need some advice please

2017-07-29 Thread Kryptxy via Python-list
etely legal? I could really use sone advice here. Thank you. -- https://mail.python.org/mailman/listinfo/python-list

Re: Direct Download Movies - No Download Limits - Download DivX DVD Movies

2017-07-30 Thread alister via Python-list
#x27;t bother, given how low quality a lot of movies are these days... > > ChrisA Reputable Pirate, now there is an oxymoron ;-) -- It is the quality rather than the quantity that matters. -- Lucius Annaeus Seneca -- https://mail.python.org/mailman/listinfo/python-list

Command-line torrent search tool (windows/linux)

2017-08-02 Thread Kryptxy via Python-list
open-source. Project link: https://github.com/kryptxy/torrench I plan on hosting it on pypi as well as AUR (Arch User repository) :) Hope you like this tool, and find it useful. Feedback/suggestions are highly appreciated. -- https://mail.python.org/mailman/listinfo/python-list

Package not visible/available on pypi

2017-08-05 Thread Kryptxy via Python-list
already have uploaded the package. But it's not visible on pypi (neither under packages in my dashboard). -- https://mail.python.org/mailman/listinfo/python-list

Re: Planning a Python Course for Beginners

2017-08-09 Thread alister via Python-list
unction calls.) if these are beginners with no basic programming knowledge then try not to confuse them with anything unduly complicated, I would even go so far as to start with psuedo code on a pen & paper processor & only introduce the concepts of different data types only when they have progressed to the point that they need to know. -- Round Numbers are always false. -- Samuel Johnson -- https://mail.python.org/mailman/listinfo/python-list

Re: Validating regexp

2017-08-10 Thread alister via Python-list
ouse people, not from the internet. The question would still be should the input be trusted & I would still say no, accidental errors can cause as much damage as malicious input if not correctly sanitised. my experience with regex's is insufficient to help with any of the rest of this query -- For some reason, this fortune reminds everyone of Marvin Zelkowitz. -- https://mail.python.org/mailman/listinfo/python-list

Re: Solution Manual Test Bank for South-Western Federal Taxation 2018: Corporations, Partnerships, Estates and Trusts, 41st Edition by Hoffman

2017-08-15 Thread alister via Python-list
On Mon, 14 Aug 2017 15:48:02 -0700, zhilongch64 wrote: Please do the whole world a big favour & NEVER reply to spam if no-one responded this heinous practice would die. -- I hate users you sound like a sysadmin already! -- https://mail.python.org/mailman/listinfo/python-list

Request Help With Gdk.Display

2017-08-16 Thread Wildman via Python-list
-- GNU/Linux user #557453 May the Source be with you. -- https://mail.python.org/mailman/listinfo/python-list

Re: Request Help With Gdk.Display

2017-08-16 Thread Wildman via Python-list
On Wed, 16 Aug 2017 19:11:16 +0100, MRAB wrote: > On 2017-08-16 18:57, Wildman via Python-list wrote: >> I am working on a program for the Linux platform that >> reports system information. The program reports screen >> information, number of monitors, resolution of each

Re: Request Help With Gdk.Display

2017-08-16 Thread Wildman via Python-list
On Wed, 16 Aug 2017 14:33:27 -0500, Wildman wrote: > On Wed, 16 Aug 2017 19:11:16 +0100, MRAB wrote: > >> On 2017-08-16 18:57, Wildman via Python-list wrote: >>> I am working on a program for the Linux platform that >>> reports system information. The program

Need some help managing project and making it a little simple (pretty messed up code)

2017-08-16 Thread Kryptxy via Python-list
ring similar project-structure). They can be really helpful. I did have a look at youtube-dl source. Not helpful. Seemed too complex. Hope for some positive response. Thank you. -- https://mail.python.org/mailman/listinfo/python-list

Re: Why is my class undefined?

2017-08-17 Thread alister via Python-list
ing the indentation to place it after the class block instead. > > Thank you that had me bugged I just couldn't see it. > > Cheers > > Sayth I think you shod also print tree_frog.type not frog.type you create the object tree_frog which is of type frog. Although not a fault it is also recommended that classes have a capital first letter to make them more visible* * this is imply style guidance & not compulsory see pep8 for more detail when you feel ready for it. -- who gives a shit about US law anyone living in the US. -- https://mail.python.org/mailman/listinfo/python-list

Re: Default .py program and Edit with IDLE problem

2017-08-19 Thread alister via Python-list
something that windows users have all but forgotten exists. -- The trouble is that things *never* get better, they just stay the same, only more so. (Eric) -- https://mail.python.org/mailman/listinfo/python-list

Re: Feature suggestion -- return if true

2017-08-21 Thread alister via Python-list
es this syntax enable you to specify the value to be returned? What new benefits would this addition provide beyond what is already available? -- My father was a saint, I'm not. -- Indira Gandhi -- https://mail.python.org/mailman/listinfo/python-list

Re: id

2017-08-24 Thread alister via Python-list
emory address, and get the same id. > > --Ned. This is all implementation dependent -- If someone says he will do something "without fail", he won't. -- https://mail.python.org/mailman/listinfo/python-list

pydoc3 in background

2017-08-31 Thread James via Python-list
How to run "pydoc3 -p port" in background? TIA James -- https://mail.python.org/mailman/listinfo/python-list

Re: Correct syntax for pathological re.search()

2024-10-08 Thread MRAB via Python-list
On 2024-10-08 21:59, Alan Bawden via Python-list wrote: Karsten Hilbert writes: Python 3.11.2 (main, Aug 26 2024, 07:20:54) [GCC 12.2.0] on linux Type "help", "copyright", "credits" or "license" for more information.

dis.get_instructions not showing CACHE instructions

2024-10-10 Thread stopa via Python-list
/listinfo/python-list

Re: Correct syntax for pathological re.search()

2024-10-11 Thread MRAB via Python-list
On 2024-10-11 22:13, AVI GROSS via Python-list wrote: Is there some utility function out there that can be called to show what the regular expression you typed in will look like by the time it is ready to be used? Obviously, life is not that simple as it can go through multiple layers with each

Re: Correct syntax for pathological re.search()

2024-10-08 Thread MRAB via Python-list
On 2024-10-08 19:30, Karsten Hilbert via Python-list wrote: Am Mon, Oct 07, 2024 at 08:35:32AM -0500 schrieb Michael F. Stemper via Python-list: I'm trying to discard lines that include the string "\sout{" (which is TeX, for those who are curious. I have tried: if not r

Re: Correct syntax for pathological re.search()

2024-10-08 Thread MRAB via Python-list
On 2024-10-07 14:35, Michael F. Stemper via Python-list wrote: I'm trying to discard lines that include the string "\sout{" (which is TeX, for those who are curious. I have tried: if not re.search("\sout{", line): if not re.search("\sout\{", line):

Re: Best Practice Virtual Environment

2024-10-06 Thread transreductionist via Python-list
are scripts for poetry lock, poetry install, and whatever else is needed. A user pulls down the repository and runs 1. poetry lock 2. poetry install And they have their environment with the proper dependencies. On Sun, Oct 6, 2024, 09:47 Karsten Hilbert via Python-list < python-list@python.

Re: Best Practice Virtual Environment

2024-10-06 Thread transreductionist via Python-list
hey have their environment with the proper dependencies. > > On Sun, Oct 6, 2024, 09:47 Karsten Hilbert via Python-list < > python-list@python.org> wrote: > >> Am Sun, Oct 06, 2024 at 12:21:09AM +0200 schrieb Karsten Hilbert via >> Python-list: >> >>

Re: Correct syntax for pathological re.search()

2024-10-19 Thread jak via Python-list
ot;\\sout\{" : 1 match ( 7 steps, 360 μs ) -- https://mail.python.org/mailman/listinfo/python-list

Re: Old matplotlib animation now fails

2024-10-18 Thread rbowman via Python-list
but using it in a conversation would be campy. -- https://mail.python.org/mailman/listinfo/python-list

Re: Old matplotlib animation now fails

2024-10-16 Thread rbowman via Python-list
hanks, that was quick and adding square brackets fixed my code. > > Me rocking Python? > > /Martin You have to understand Stefan tries to use American slang, not always entirely accurately. I think 'bee's knees' died out around 1931. -- https://mail.python.org/mailman/listinfo/python-list

Re: dis.get_instructions not showing CACHE instructions

2024-10-10 Thread stopa via Python-list
Oh god I am sorry :/ I somehow missed information about cache_info field. I was expecting to see those cache instructions as normal opcodes. So its working as expected. Thanks for your help. M. št 10. 10. 2024 o 18:53 Barry napísal(a): > > > > On 10 Oct 2024, at 14:18, stopa via

Re: dis.get_instructions not showing CACHE instructions

2024-10-10 Thread Barry via Python-list
> On 10 Oct 2024, at 14:18, stopa via Python-list > wrote: > > Hello, > I noticed the change in dis module, no longer requiring show_caches to be > set to True to show cache instructions. However I am not able to display > them with get_instructions. > Is ther

Re: shutil.rmtree() fails when used in Fedora (rpm) "mock" environment

2024-10-24 Thread MRAB via Python-list
t is the probability of replacing os.lstat, os.close or os.rmdir from another thread at just the right time? -- https://mail.python.org/mailman/listinfo/python-list

Re: shutil.rmtree() fails when used in Fedora (rpm) "mock" environment

2024-10-24 Thread Barry via Python-list
> On 24 Oct 2024, at 15:07, Christian Buhtz via Python-list > wrote: > > On one hand Fedora seems to use a tool called "mock" to build packages in a > chroot environment. > On the other hand the test suite of "Back In Time" does read and write to t

Re: shutil.rmtree() fails when used in Fedora (rpm) "mock" environment

2024-10-24 Thread MRAB via Python-list
t calls, so they're in the same thread. -- https://mail.python.org/mailman/listinfo/python-list

Re: shutil.rmtree() fails when used in Fedora (rpm) "mock" environment

2024-10-24 Thread MRAB via Python-list
On 2024-10-24 16:17, Left Right via Python-list wrote: From reading the code where the exception is coming from, this is how I interpret the intention of the author: they build a list (not sure why they used list, when there's a stack datastructure in Python) which they use as a stack,

Re: learning Python

2024-10-29 Thread rbowman via Python-list
meshes with your own learning style. It isn't a beginners tutorial but at some point 'Python Distilled' is helpful. https://www.dabeaz.com/python-distilled/ Usual disclaimer: i don't know Beazley and am not getting any kickback. -- https://mail.python.org/mailman/listinfo/python-list

Re: Using 'with open(...) as ...' together with configparser.ConfigParser.read

2024-10-29 Thread MRAB via Python-list
On 2024-10-29 13:56, Loris Bennett via Python-list wrote: Hi, With Python 3.9.18, if I do try: with open(args.config_file, 'r') as config_file: config = configparser.ConfigParser() config.read(config_file) print(config.sections()

[ANN] (preview) “pymsgque” is the connection between Tcl and the “Programming Language Micro-Kernel” (PLMK).

2024-11-03 Thread aotto1968 via Python-list
63967 occasional updates to the project are available as screenshots on social media. : Facebook -> https://www.facebook.com/profile.php?id=100069563501101 -- https://mail.python.org/mailman/listinfo/python-list

Re: Two python issues

2024-11-05 Thread dn via Python-list
On 6/11/24 10:08, Jason Friedman via Python-list wrote: (a) An error-prone "feature" is returning -1 if a substring is not found by "find", since -1 currently refers to the last item. An example: >>> s = 'qwertyuiop' >>> s[s.find('r&#x

Re: Printing UTF-8 mail to terminal

2024-11-01 Thread Barry via Python-list
> On 31 Oct 2024, at 16:42, Left Right via Python-list > wrote: > > MS Windows doesn't have or use > terminals (that's more of a Unix-related concept). Windows does now. They implemented this feature over the last few years. Indeed they took inspiration from how li

Re: Printing UTF-8 mail to terminal

2024-11-02 Thread Barry via Python-list
olour output and cursor movement all work. Barry -- https://mail.python.org/mailman/listinfo/python-list

learning Python

2024-10-27 Thread o1bigtenor via Python-list
Greetings There are mountains of books out there. Any suggestions for documents for a just learning how to program and starting with Python (3)? Preference to a tool where I would be learning by doing - - - that works well for me. TIA -- https://mail.python.org/mailman/listinfo/python-list

Re: learning Python

2024-10-27 Thread dn via Python-list
On 28/10/24 11:51, o1bigtenor via Python-list wrote: Greetings There are mountains of books out there. Any suggestions for documents for a just learning how to program and starting with Python (3)? Preference to a tool where I would be learning by doing - - - that works well for me

Re: shutil.rmtree() fails when used in Fedora (rpm) "mock" environment

2024-10-27 Thread Barry via Python-list
> On 26 Oct 2024, at 12:11, Christian Buhtz via Python-list > wrote: > > As you can see in the linked issue it seems it was an incompatibility > between the version of Python and PyFakeFS. > > In the end it was a Fedora packaging bug because that pyfakefs version >

Seeking Assistance with Python's IDLE for Blind Users

2024-11-11 Thread Jeff via Python-list
d for blind users on how to effectively use Python's IDLE. Any guidance or resources you could provide would be greatly appreciated. Thank you for your assistance. Best regards, Jeff -- https://mail.python.org/mailman/listinfo/python-list

Re: FileNotFoundError thrown due to file name in file, rather than file itself

2024-11-11 Thread dn via Python-list
On 12/11/24 10:17, Cameron Simpson via Python-list wrote: On 11Nov2024 18:24, dieter.mau...@online.de wrote: Loris Bennett wrote at 2024-11-11 15:05 +0100: I have the following in my program:    try:    logging.config.fileConfig(args.config_file)    config = configparser.ConfigParser

Re: Two aces up Python's sleeve (Posting On Python-List Prohibited)

2024-11-08 Thread dn via Python-list
On 8/11/24 14:40, Mild Shock via Python-list wrote: Well you can use your Browser, since JavaScript understand post and pre increment: Question: are we talking Python or JavaScript? So we have x ++ equals in Python: Trying to find a word-for-word translation serves as badly in computer

Re: shutil.rmtree() fails when used in Fedora (rpm) "mock" environment

2024-10-25 Thread MRAB via Python-list
On 2024-10-24 08:33, Christian Buhtz via Python-list wrote: Hello, I am upstream maintainer of "Back In Time" [1] investigating an issue a distro maintainer from Fedora reported [2] to me. On one hand Fedora seems to use a tool called "mock" to build packages in a chroot

Re: How to check whether audio bytes contain empty noise or actual voice/signal?

2024-10-26 Thread MRAB via Python-list
On 2024-10-25 17:25, marc nicole via Python-list wrote: Hello Python fellows, I hope this question is not very far from the main topic of this list, but I have a hard time finding a way to check whether audio data samples are containing empty noise or actual significant voice/noise. I am using

Re: Using 'with open(...) as ...' together with configparser.ConfigParser.read

2024-10-31 Thread MRAB via Python-list
On 2024-10-31 06:47, Loris Bennett via Python-list wrote: Jon Ribbens writes: On 2024-10-30, Loris Bennett wrote: Jon Ribbens writes: On 2024-10-30, Loris Bennett wrote: Jon Ribbens writes: As per the docs you link to, the read() method only takes filename(s) as arguments, if you have

Re: Python 3.8 or later on Debian?

2024-09-18 Thread dn via Python-list
On 19/09/24 02:49, Ulrich Goebel via Python-list wrote: Hi, Debian Linux seems to love Python 3.7 - that is shown by apt-get list, and it's installed on my Debian Server. But I need at least Python 3.8 Is there a repository which I can give to apt to get Python 3.8 or later? Or do I r

Re: Common objects for CLI commands with Typer

2024-09-20 Thread Barry via Python-list
> On 20 Sep 2024, at 21:01, Loris Bennett via Python-list > wrote: > > Hi, > > Apologies if the following description is to brief - I can expand if no > one knows what I'm on about, but maybe a short description is enough. > > I am developing a command lin

Re: Help with Streaming and Chunk Processing for Large JSON Data (60 GB) from Kenna API

2024-09-30 Thread Barry via Python-list
> On 30 Sep 2024, at 06:52, Abdur-Rahmaan Janhangeer via Python-list > wrote: > > > import polars as pl > pl.read_json("file.json") > > This is not going to work unless the computer has a lot more the 60GiB of RAM. As later suggested a streaming pars

Re: Two aces up Python's sleeve

2024-11-07 Thread dn via Python-list
On 8/11/24 11:15, Greg Ewing via Python-list wrote: On 8/11/24 3:04 am, Mild Shock wrote: This only works for small integers. I guess this is because tagged pointers are used nowadays ? No, it's because integers in a certain small range are cached. Not sure what the actual range is now

Re: Old matplotlib animation now fails

2024-10-15 Thread MRAB via Python-list
On 2024-10-15 21:16, Martin Schöön via Python-list wrote: Some years ago I created a Python program that reads GPS data and creates an animation stored in an mp4 file. Not very elegant but it worked. Not very original as it was based on the example found here: https://shorturl.at/dTCZZ Last

Re: FileNotFoundError thrown due to file name in file, rather than file itself

2024-11-14 Thread Barry via Python-list
> On 14 Nov 2024, at 14:07, Loris Bennett via Python-list > wrote: > > I don't quite understand what your suggestion is. Do you mean that I > should log to stderr and then run my program as > > my_program ... 2>&1 | logger On almost all Linux distros you

Re: it's a shame... python error over error

2025-01-03 Thread aotto1968 via Python-list
On 30.12.24 18:29, Michael Torrie wrote: On 12/26/24 12:34 AM, aotto1968 via Python-list wrote: sorry you don't understand the problem… > You managed to make a build of Python that attempts to link to a DLL I never touch the OpenSUSE python. the OpenSUSE python try to use my sqalite

Re: Python List is Not Dead

2024-12-26 Thread dn via Python-list
On 25/12/24 23:52, Abdur-Rahmaan Janhangeer via Python-list wrote: Hey all, I have been following discussions on Discourse (discuss.python.org) these last times. I think that it definitely lacks some of the joys of the mailing list: 1/ Categories The discussion has fixed categories. No

online course - INTRODUCTION TO PYTHON PROGRAMMING FOR BIOLOGISTS - 24-27 February

2025-02-01 Thread info--- via Python-list
, Carlo Carlo Pecoraro, Ph.D Physalia-courses DIRECTOR i...@physalia-courses.org mobile: +49 17645230846 -- https://mail.python.org/mailman/listinfo/python-list

Re: ModuleNotFoundError for youtube_dl

2024-12-10 Thread jkn via Python-list
been supplanted by the (maintained) 'yt-dlp' these days J^n -- https://mail.python.org/mailman/listinfo/python-list

Re: it's a shame... python error over error

2024-12-16 Thread aotto1968 via Python-list
so.6 (0x7f9c5d1f9000)     libc.so.6 => /lib64/libc.so.6 (0x7f9c5d002000)     /lib64/ld-linux-x86-64.so.2 (0x7f9c5dab4000) If I read the answers I come to the conclusion that the "supporters" at python doesn't ever understand the problem. -- https://mail.python.org/mailman/listinfo/python-list

Re: it's a shame... python error over error

2024-12-14 Thread aotto1968 via Python-list
On 14.12.24 10:56, Peter J. Holzer wrote: On 2024-12-13 11:36:01 +0100, aotto1968 via Python-list wrote: it's a shame... almost every tool I touch that uses "python" in some way has some configuration error because apparently a __private__ python installation __isn't__

Re: it's a shame... python error over error

2024-12-13 Thread Barry via Python-list
> On 13 Dec 2024, at 15:54, aotto1968 via Python-list > wrote: > > HOME/ext/x86_64-suse-linux-gnu/debug/bin/python3: error while loading shared > libraries: libpython3.12d.so.1.0: cannot open shared object file: No such > file or directory This is a debug b

Re: it's a shame... python error over error

2024-12-13 Thread aotto1968 via Python-list
On 13.12.24 19:24, Barry wrote: On 13 Dec 2024, at 15:54, aotto1968 via Python-list wrote: HOME/ext/x86_64-suse-linux-gnu/debug/bin/python3: error while loading shared libraries: libpython3.12d.so.1.0: cannot open shared object file: No such file or directory This is a debug build

Re: it's a shame... python error over error

2024-12-13 Thread aotto1968 via Python-list
the right environment from   the installation directory of the *python3* executable. even the `sudo -E make install` with "-E, --preserve-env" does help. -- https://mail.python.org/mailman/listinfo/python-list

it's a shame... python error over error

2024-12-13 Thread aotto1968 via Python-list
.1 (0x7f9c5d345000) libm.so.6 => /lib64/libm.so.6 (0x7f9c5d1f9000) libc.so.6 => /lib64/libc.so.6 (0x7f9c5d002000) /lib64/ld-linux-x86-64.so.2 (0x00007f9c5dab4000) -- https://mail.python.org/mailman/listinfo/python-list

Re: it's a shame... python error over error

2024-12-13 Thread aotto1968 via Python-list
allation directory of the *python3* executable. -- https://mail.python.org/mailman/listinfo/python-list

Re: Tools to help with text mode (i.e. non-GUI) input

2025-01-11 Thread dn via Python-list
On 12/01/25 03:28, Chris Green via Python-list wrote: I'm looking for Python packages that can help with text mode input, i.e. for use with non-GUI programs that one runs from the command prompt in a terminal window running a bash shell or some such. What I'm specifically after i

Re: Struggling to understand Callable type hinting

2025-01-17 Thread dn via Python-list
On 18/01/25 12:33, Ian Pilcher via Python-list wrote: I am making my first attempt to use type hinting in a new project, and I'm quickly hitting areas that I'm having trouble understanding.  One of them is how to write type hints for a method decorator. Here is an example that illu

Re: Tools to help with text mode (i.e. non-GUI) input

2025-01-13 Thread rustbuckett--- via Python-list
This is what I was going to suggest. Rich is super easy to use. -- https://mail.python.org/mailman/listinfo/python-list

Re: How to go about describing my software with a component diagram?

2024-12-24 Thread dn via Python-list
On 25/12/24 08:00, Michael Torrie via Python-list wrote: On 12/24/24 10:27 AM, marc nicole via Python-list wrote: the diagram is also attached here This text-only mailing list does not allow attachments, just FYI. Many devs use Markdown (or similar) text-only file-formats for technical

Re: How to go about describing my software with a component diagram?

2024-12-24 Thread dn via Python-list
On 25/12/24 06:27, marc nicole via Python-list wrote: Hello community, I have created a Python code where a main algorithm uses three different modules (.py) after importing them. To illustrate and describe it I have created the following component diagram? [image: checkso.PNG] Could it be

Re: How to go about describing my software with a component diagram?

2024-12-25 Thread dn via Python-list
e of my code and how the modules > relate to each other. On 25/12/24 23:08, marc nicole via Python-list wrote: the purpose of the diagram is to convey a minimalistic idea about the structure of the code/implementation/software In which case, and assuming the "algorithm" is the ap

Re: it's a shame... python error over error

2024-12-25 Thread aotto1968 via Python-list
4/python3.6/sqlite3/__init__.py", line 23, in from sqlite3.dbapi2 import * File "/usr/lib64/python3.6/sqlite3/dbapi2.py", line 27, in from _sqlite3 import * ImportError: /usr/lib64/python3.6/lib-dynload/_sqlite3.cpython-36m-x86_64-linux-gnu.so: undefined symbol: sqlite3_trace -- https://mail.python.org/mailman/listinfo/python-list

Re: it's a shame... python error over error

2024-12-25 Thread aotto1968 via Python-list
/lib64/libsqlite3.so.0 -> libsqlite3.so.0.8.6 > ls -al NHI1_EXT/lib64/libsqlite3.so.0.8.6 -rwxr-xr-x 1 dev1usr users 3851872 23. Dez 22:09 NHI1_EXT/lib64/libsqlite3.so.0.8.6 -- https://mail.python.org/mailman/listinfo/python-list

Re: subprocess.Popen does not launch audacity

2025-01-10 Thread MRAB via Python-list
On 2025-01-10 19:15, Tim Johnson via Python-list wrote: Using Python 3.12.3 on Ubuntu 24.04 I've converted a legacy python2 script to python3. All went well. However, a glitch from python2 remains. The script uses dmenu to create menus to pick applications. Applications are then invoked

is input from a pipe?

2025-01-17 Thread km via Python-list
(check_if_stream_is_pipe(sys.stdin)) -- https://mail.python.org/mailman/listinfo/python-list

Re: it's a shame... python error over error

2024-12-29 Thread aotto1968 via Python-list
On 25.12.24 23:55, Chris Angelico wrote: On Thu, 26 Dec 2024 at 09:27, aotto1968 via Python-list wrote: It is not only an *usage* error it is also an *security* error because: 1) "cnf" is using OS python 2) os "root" python 3) using **my** local non-root library Yes.

Re: it's a shame... python error over error

2024-12-29 Thread aotto1968 via Python-list
On 26.12.24 06:46, Chris Angelico wrote: On Thu, 26 Dec 2024 at 14:57, Michael Torrie via Python-list wrote: On 12/25/24 3:55 PM, Chris Angelico via Python-list wrote: On Thu, 26 Dec 2024 at 09:27, aotto1968 via Python-list wrote: It is not only an *usage* error it is also an *security

Re: it's a shame... python error over error

2024-12-29 Thread aotto1968 via Python-list
On 26.12.24 04:55, Michael Torrie wrote: On 12/25/24 3:55 PM, Chris Angelico via Python-list wrote: On Thu, 26 Dec 2024 at 09:27, aotto1968 via Python-list wrote: It is not only an *usage* error it is also an *security* error because: 1) "cnf" is using OS python 2) os "root&q

Re: it's a shame... python error over error

2024-12-29 Thread aotto1968 via Python-list
On 26.12.24 04:55, Michael Torrie wrote: On 12/25/24 3:55 PM, Chris Angelico via Python-list wrote: On Thu, 26 Dec 2024 at 09:27, aotto1968 via Python-list wrote: It is not only an *usage* error it is also an *security* error because: 1) "cnf" is using OS python 2) os "root&q

Re: it's a shame... python error over error

2024-12-29 Thread aotto1968 via Python-list
usr/bin/python3 OpenSUSE installation using parts of *my* local *user* setup. -- https://mail.python.org/mailman/listinfo/python-list

Re: Book recommendation? For getting up to date

2025-02-16 Thread rbowman via Python-list
er used. I also appreciated f strings when they were introduced, the walrus operator, and other enhancements. Another part of my renewed interest was the advent of many microcontrollers capable of running MicroPython, which is a subset of Python 3.x. -- https://mail.python.org/mailman/listinfo/python-list

Re: Book recommendation? For getting up to date

2025-02-16 Thread rbowman via Python-list
he basics but overall I enjoyed it. -- https://mail.python.org/mailman/listinfo/python-list

Re: Book recommendation? For getting up to date

2025-02-16 Thread dn via Python-list
On 17/02/25 01:50, Jan Erik Moström via Python-list wrote: I'm looking for a book that would teach me the lastest and greatest parts of Python, does anyone have any recommendations? I've looked at python.org and pythonbooks.org but I couldn't decide which one to get. I used to

Re: Book recommendation? For getting up to date

2025-02-16 Thread rbowman via Python-list
n Distilled'. The author doesn't enumerate Python 3 features specifically but as the title suggests hits the important concepts. https://www.dabeaz.com/python-distilled/ -- https://mail.python.org/mailman/listinfo/python-list

Re: Book recommendation? For getting up to date

2025-02-19 Thread Mike via Python-list
On 16-02-2025 13:50, Jan Erik Moström via Python-list wrote: I'm looking for a book that would teach me the lastest and greatest parts of Python, does anyone have any recommendations? I've looked at python.org and pythonbooks.org but I couldn't decide which one to get. I us

<    10   11   12   13   14   15   16   17   18   19   >