Re: How to create both a c extension and a pure python package

2021-03-10 Thread Michał Jaworski
I was dealing with a very similar problem a long time ago. I wanted to provide built wheels of my Cython extension for various OSes (Windows, macOS, Linux) and various Python versions (from 2.7 up to 3.9) but I also wanted to have a sdist package for all the variations that I didn't cover at the

Re: SSL/TLS certificate verification suddenly broken, Python 3 on Windows 10

2021-02-16 Thread Michał Jaworski
I’ve had similar issue today on macOS when trying to download something from PyPI with Python 3.9.1 but I didn’t try to debug it and just moved on to different things. Maybe we both have outdated ca bundles? Michał Jaworski > Wiadomość napisana przez Carlos Andrews w dniu > 16.02.2

Re: Sketch

2021-02-14 Thread Michał Jaworski
and standardize the language yourself. From what I’ve learned already you have enough skills, experience and perseverance to complete such endeavor single-handedly. Michał Jaworski -- https://mail.python.org/mailman/listinfo/python-list

Re: IDE tools to debug in Python?

2021-01-27 Thread Michał Jaworski
PyCharm has all these debugging capabilities and there is a community edition that you can use for free. If you earn for the living with Python it is worth investing in professional edition though. Michał Jaworski > Wiadomość napisana przez flaskee via Python-list w > dniu 27.01.2

Re: Review, suggestion etc?

2020-12-17 Thread Michał Jaworski
> I think he's hinting at using a loop instead. > > while maritals != 'Yes' and maritals != 'No': >maritals = input('Married: Yes/No ?: ').title() Exactly. I would go even further and make it a reusable function. Eg. def prompt_choices(prompt, choices): choices = set(c.lower() for c in

Re: Review, suggestion etc?

2020-12-17 Thread Michał Jaworski
I've made a quick look at the code and even executed it. It looks pretty clear and is easy to understand, although it has some structural problems. I won't do a thorough review but highlight the most important problems. First, the recursive user input pattern you use: def marriage():

Re: Python 2 to Python 3 .so library incompatibility - need help

2020-12-17 Thread Michał Jaworski
I've looked into the details of the deb package that Cameron mentioned. It may be the one that you Chris uss because it does indeed include a pyscand.so file. Quick question to you Chris: the utilities you've mentioned are the code that you've written yourself or utilities from