Re: Fwd: How can I build embeddable zip python on Linux

2020-06-04 Thread Luuk
On 5-6-2020 08:49, Luuk wrote: On 5-6-2020 06:12, Michael Torrie wrote: On 6/4/20 2:47 AM, Filip Bascarevic wrote: When I tried to build GDB with Python support on Linux, I realized I couldn’t find embeddable python for Linux. Please, can you give me some instructions how can I build embeddabl

Re: Fwd: How can I build embeddable zip python on Linux

2020-06-04 Thread Luuk
On 5-6-2020 06:12, Michael Torrie wrote: On 6/4/20 2:47 AM, Filip Bascarevic wrote: When I tried to build GDB with Python support on Linux, I realized I couldn’t find embeddable python for Linux. Please, can you give me some instructions how can I build embeddable Python from source in Linux? I

Re: Fwd: How can I build embeddable zip python on Linux

2020-06-04 Thread Michael Torrie
On 6/4/20 2:47 AM, Filip Bascarevic wrote: > When I tried to build GDB with Python support on Linux, I realized I > couldn’t find embeddable python for Linux. > > Please, can you give me some instructions how can I build embeddable Python > from source in Linux? Is it possible in the Linux environ

Re: Friday Finking: Imports, Namespaces, Poisoning, Readability

2020-06-04 Thread Tim Chase
On 2020-06-05 12:15, DL Neil via Python-list wrote: > Finking/discussion: > > - how do you like to balance these three (and any other criteria)? For most of what I do, I only ever have one such module so I'm not trying keep multiple short-names in my head concurrently. For me, it's usually tkint

Friday Finking: Imports, Namespaces, Poisoning, Readability

2020-06-04 Thread DL Neil via Python-list
How do you prefer to balance all of the above when import-ing? Python offers a number of options for importing modules, eg import module, ... from importable import object, ... most of which can be augmented with the "as preferred_name" syntax. (ignoring the much-reviled "*" (import ev

Re: Python with text editor

2020-06-04 Thread Mats Wichmann
On 5/30/20 1:42 AM, Preetha M wrote: > Hello. Thank you for responding to my previous mail. Can someone tell me > how to connect python to sublime text 3. Whenever I select python and type > the code, it does not work when I press ctrl+B. Please tell. > Try Corey Schaefer's video on setup: (sear

Re: Division issue with 3.8.2 on AIX 7.1

2020-06-04 Thread Michael Torrie
On 6/3/20 10:37 PM, Sherry L. West wrote: > I need off this list please. I don’t even have this. Unsubscribe here: https://mail.python.org/mailman/listinfo/python-list -- https://mail.python.org/mailman/listinfo/python-list

Re: Division issue with 3.8.2 on AIX 7.1

2020-06-04 Thread Terry Reedy
On 6/3/2020 8:11 PM, Dennis Lee Bieber wrote: On Tue, 2 Jun 2020 12:26:16 -0500, Albert Chin declaimed the following: I've built Python 3.8.2 on AIX 5.2, 5.3, 6.1, and 7.1. I am seeing different results for the following Python program: $ python3 -c "eps = 2.0 ** -53.0; tiny = 2.0 ** -1022.0

Re: Trouble with making modules 'global'

2020-06-04 Thread Terry Reedy
On 6/3/2020 11:48 PM, pytho...@gmail.com wrote: I am struggling with making modules global for all definitions in my code. You cannot. You must import every module either directly or indirectly into every module that uses it. I faced the problem with the pyomo modules but can generate the

Fwd: How can I build embeddable zip python on Linux

2020-06-04 Thread Filip Bascarevic
Dear Python team, I have tried to build the GDB with Python support for windows. Because I didn’t want to have any Python dependence on building system, I decided to embed python in GDB using Windows x86_64 embeddable zip file and with it I had success. When I tried to build GDB with Python sup

Re: Unsubscribe to python list

2020-06-04 Thread o1bigtenor
On Thu, Jun 4, 2020 at 12:14 AM DL Neil via Python-list wrote: > > On 4/06/20 4:59 PM, Meet Agrawal wrote: > > I want to unsubscribe from python list and would like to stop recieving > > mails from the same. > > > At the bottom of your request (as reflected), this, and all over > messages to the l

Re: Trouble with making modules 'global'

2020-06-04 Thread Barry Scott
> On 4 Jun 2020, at 04:48, pytho...@gmail.com wrote: > > Hi, > > I am struggling with making modules global for all definitions in my code. Each python module has to import all the modules it needs. Importing on one module does not make the imported names usable from another module. What pyt

Re: Trouble with making modules 'global'

2020-06-04 Thread Peter Otten
pytho...@gmail.com wrote: > Hi, > > I am struggling with making modules global for all definitions in my code. Don't. Global names in Python are global to a single module, not your entire application. > I faced the problem with the pyomo modules but can generate the error with > pandas too. >