Python 3.7.3 - ImportError: dynamic module does not define module export function (PyInit_*)

2019-06-30 Thread gia .
Hi, I was trying to upgrade a python 2 extension in Linux and hit this error upon trying to import it into python 3. The weird thing is that I can see the symbol when I use readelf -a, so it is not missing, it has visibility default and it defines as extern "C" PyObject* return type (using the mac

Re: python

2019-06-30 Thread Chris Angelico
On Mon, Jul 1, 2019 at 6:51 AM wrote: > > Use a while loop and write a python program to display the first n, numbers > divisible by both 3 and 5 . the amount of numbers to be displayed should be > dictated by the user input (Hint: if the users 10, then the numbers divisible > by both 4 and 5 t

Re: python

2019-06-30 Thread Igor Korot
Hi, On Sun, Jun 30, 2019 at 3:52 PM wrote: > > Use a while loop and write a python program to display the first n, numbers > divisible by both 3 and 5 . the amount of numbers to be displayed should be > dictated by the user input (Hint: if the users 10, then the numbers divisible > by both 4 a

python

2019-06-30 Thread kayanjaismail070
Use a while loop and write a python program to display the first n, numbers divisible by both 3 and 5 . the amount of numbers to be displayed should be dictated by the user input (Hint: if the users 10, then the numbers divisible by both 4 and 5 to be displayed should be 10) -- https://mail.pyt

Re: I have anaconda, but Pycharm can't find it

2019-06-30 Thread mmuratkutlu
Hi everyone, I know this problem's solution because I solve in my computer. First of all, you can delete the project files. After that download python on official website and last version. after this step restart pycharm and create new project... Good luck -- https://mail.python.org/mailman/li

Re: Handle foreign character web input

2019-06-30 Thread Richard Damon
On 6/30/19 10:04 AM, Chris Angelico wrote: > On Sun, Jun 30, 2019 at 10:26 PM Richard Damon > wrote: >> On 6/30/19 4:00 AM, moi wrote: >> > I didn't see who you were quoting, but it looks like our old "Py3's > Unicode is buggy" troll is back (or maybe he never left, he just got > banned from the

Re: Handle foreign character web input

2019-06-30 Thread Michael Torrie
On 06/30/2019 06:21 AM, Richard Damon wrote: > On 6/30/19 4:00 AM, moi wrote: >> Unfortunately not. >> >> The only thing Python succeeds to propose is a mechanism >> which does the opposite of UTF-8 when it comes to handle >> memory *and* - at the same time - which also does the opposite >> of UTF-

Re: Handle foreign character web input

2019-06-30 Thread Chris Angelico
On Sun, Jun 30, 2019 at 10:26 PM Richard Damon wrote: > > On 6/30/19 4:00 AM, moi wrote: > > Le samedi 29 juin 2019 19:25:40 UTC+2, Richard Damon a écrit : > >> > >> Now (as I understand it), all Python (3) 'Strings' are internally > >> Unicode, if you need something with a different encoding it n

Re: Make sure the window title is visible in tkinter

2019-06-30 Thread Cousin Stanley
Cousin Stanley wrote >> You might try setting a given window geometry >> to accomodate the long title >> >> win_w = 400 >> win_h = 300 >> >> ofs_h = 40 >> ofs_v = 30 >> >> window.geometry( "%dx%d+%d+%d" % ( win_w , win_h , ofs_h , ofs_v ) ) >> >> >> Maybe add a bit of extra

Re: Handle foreign character web input

2019-06-30 Thread Richard Damon
On 6/30/19 4:00 AM, moi wrote: > Le samedi 29 juin 2019 19:25:40 UTC+2, Richard Damon a écrit : >> >> Now (as I understand it), all Python (3) 'Strings' are internally >> Unicode, if you need something with a different encoding it needs to be >> in Bytes. >> >> -- > > Unfortunately not. > > The

EuroPython 2019: Introducing MongoDB

2019-06-30 Thread M.-A. Lemburg
We are very pleased to have MongoDB as Keystone Sponsor for EuroPython 2019. You can visit them at the most central booth in our exhibit area on the second floor in the Congress Center Basel (CCB), and take the opportunity to chat with their staff and learn more about the MongoDB eco-system. Pleas

EuroPython 2019: More Attendee Updates

2019-06-30 Thread M.-A. Lemburg
We have had a whole set of updates in the last two days. In order not to spam you too much with all the blog post texts, we're sending out a summary. EuroPython 2019 Keynotes We are proud to announce our keynote lineup for EuroPython 2019: - AI in Contemporary Art by Lu