I am trying to use dot notation to call a function without using parentheses,
see code section with ***
I have looked into SimpleNamespace, namedTuple, dataclass... but no luck.
Below is my sample code to date.
Any suggestions?
class MyTest:
def __init__(self):
self.page1 = Page()
On Tuesday, December 22, 2020 at 6:31:08 AM UTC-5, Python wrote:
> Walk More wrote:
> > I am trying to use dot notation to call a function without using
> > parentheses, see code section with ***
> > I have looked into SimpleNamespace, namedTuple, dataclass... but no luck.
> > Below is my sampl
On 2020-12-22 11:16, Walk More wrote:
I am trying to use dot notation to call a function without using parentheses,
see code section with ***
I have looked into SimpleNamespace, namedTuple, dataclass... but no luck.
Below is my sample code to date.
Any suggestions?
class MyTest:
def __in
I have (as discussed here) a printer utility that uses Python 2 and I
can't update it to Python 3 because it has a .so library file which is
compiled for Python 2. I think I have exhausted all the possibilities
for converting it to Python 3 so now I'm looking at how to keep it
working on my [x]ubu
On 12/22/20 8:10 AM, Chris Green wrote:
> I have (as discussed here) a printer utility that uses Python 2 and I
> can't update it to Python 3 because it has a .so library file which is
> compiled for Python 2. I think I have exhausted all the possibilities
> for converting it to Python 3 so now I'
On 2020-12-22, Chris Green wrote:
> I have (as discussed here) a printer utility that uses Python 2 and I
> can't update it to Python 3 because it has a .so library file which is
> compiled for Python 2. I think I have exhausted all the possibilities
> for converting it to Python 3 so now I'm loo
Michael Torrie wrote:
> On 12/22/20 8:10 AM, Chris Green wrote:
> > I have (as discussed here) a printer utility that uses Python 2 and I
> > can't update it to Python 3 because it has a .so library file which is
> > compiled for Python 2. I think I have exhausted all the possibilities
> > for co
On 12/22/20 9:44 AM, Chris Green wrote:
> I have it running on 20.04 (with a couple of compatibility packages
> from a PPA) but I know I start hitting problems as soon as I move to
> 20.10. So that does sound like an excellent idea. Where can I find
> information about building container type thi
On 2020-12-22, Chris Green wrote:
> [...]
>
> How realistic/possible would it be to run the utility in a separate
> environment with its own copies of Python2 and any modules and
> libraries needed? I would install these 'by hand', i.e. not using
> 'apt' so they would stay as installed even as my
On Wed, Dec 23, 2020 at 2:21 AM Chris Green wrote:
>
> I have (as discussed here) a printer utility that uses Python 2 and I
> can't update it to Python 3 because it has a .so library file which is
> compiled for Python 2. I think I have exhausted all the possibilities
> for converting it to Pyth
Grant Edwards wrote:
> On 2020-12-22, Chris Green wrote:
> > [...]
> >
> > How realistic/possible would it be to run the utility in a separate
> > environment with its own copies of Python2 and any modules and
> > libraries needed? I would install these 'by hand', i.e. not using
> > 'apt' so the
On 2020-12-22, Chris Green wrote:
> Grant Edwards wrote:
>> On 2020-12-22, Chris Green wrote:
>> > [...]
>> >
>> > How realistic/possible would it be to run the utility in a separate
>> > environment with its own copies of Python2 and any modules and
>> > libraries needed? I would install these
Grant Edwards wrote:
> On 2020-12-22, Chris Green wrote:
> > Grant Edwards wrote:
> >> On 2020-12-22, Chris Green wrote:
> >> > [...]
> >> >
> >> > How realistic/possible would it be to run the utility in a separate
> >> > environment with its own copies of Python2 and any modules and
> >> > li
On 2020-12-22, Chris Green wrote:
> Grant Edwards wrote:
>
>> I should have mentioned that bundlers like cx_freeze require that you
>> have the Python source for the main app. I don't remember if you
>> mentioned source or not...
>
> Yes, I do have the Python source. The only thing I don't have
On 22.12.2020 at 20:24 Chris Green wrote:
> Yes, I do have the Python source. The only thing I don't have the
> source for is a .so file and that's why I can't simply migrate the
> program(s) from Python 2 to Python 3.
>
If it's just one .so and that library is compatible with basic libs
such a
sqlalchemy blows up and puts in addresses instead of data when mixing
fields from different dataframes
when composing a class derived from model,
populating fields from different dataframes blows up.fields from one data
frame are corrupted after
session add and session commit
fields from
Anyone ever used pexpect with tooling like kadmin and have
insight into how to manage interacting with it?
After setting up debug logging, I was able to adjust the expect
usage to get the input and output logs to at least appear correct
when setting a password for a principal, however even with a
17 matches
Mail list logo