Re: fill out bulletins

2022-06-13 Thread dn
On 14/06/2022 11.34, MRAB wrote: > On 2022-06-13 23:41, jak wrote: > [snip] >> >> If you are interested in seeing what I called "post office bulletin" >> (English is not my language and I don't know the name, sorry), you can >> find a sample pdf (fillable) but it works badly here: >> >>

Re: fill out bulletins

2022-06-13 Thread Greg Ewing
Another possibility is to use reportlab to generate a pdf. -- Greg -- https://mail.python.org/mailman/listinfo/python-list

Re: fill out bulletins

2022-06-13 Thread MRAB
On 2022-06-13 23:41, jak wrote: [snip] If you are interested in seeing what I called "post office bulletin" (English is not my language and I don't know the name, sorry), you can find a sample pdf (fillable) but it works badly here:

Re: fill out bulletins

2022-06-13 Thread jak
Il 13/06/2022 23:58, Mats Wichmann ha scritto: On 6/13/22 11:11, Michael F. Stemper wrote: On 13/06/2022 08.49, jak wrote: Hello everyone, I would like to write a tool to compile post office bulletins because here, unfortunately, they are still the most convenient way to interface the public

Re: fill out bulletins

2022-06-13 Thread jak
Il 13/06/2022 19:11, Michael F. Stemper ha scritto: On 13/06/2022 08.49, jak wrote: Hello everyone, I would like to write a tool to compile post office bulletins because here, unfortunately, they are still the most convenient way to interface the public administration. I don't want to create a

Re: fill out bulletins

2022-06-13 Thread jak
Il 13/06/2022 16:12, Stefan Ram ha scritto: jak writes: Can you direct me to a better way? You could use a word processors with a mail-merge feature or generate TeX/troff code for the bulletins. >Of course, for Python, the library PIL/Pillow is available, which can read or write

Re: fill out bulletins

2022-06-13 Thread Mats Wichmann
On 6/13/22 11:11, Michael F. Stemper wrote: > On 13/06/2022 08.49, jak wrote: >> Hello everyone, >> I would like to write a tool to compile post office bulletins because >> here, unfortunately, they are still the most convenient way to interface >> the public administration. I don't want to create

Re: fill out bulletins

2022-06-13 Thread Michael F. Stemper
On 13/06/2022 08.49, jak wrote: Hello everyone, I would like to write a tool to compile post office bulletins because here, unfortunately, they are still the most convenient way to interface the public administration. I don't want to create a UI to edit the bulletin, I will take the data from

Re: Suggestion. Replace Any with *

2022-06-13 Thread Chris Angelico
On Tue, 14 Jun 2022 at 01:59, h3ck phy wrote: > > It would be nice if we could write something like this > data: dict[str, *] = {} > instead of > data: dict[str, Any] = {} > > In import statement asterisk means "all names" in a module. > But in type closure it should mean "all types". Type hints

fill out bulletins

2022-06-13 Thread jak
Hello everyone, I would like to write a tool to compile post office bulletins because here, unfortunately, they are still the most convenient way to interface the public administration. I don't want to create a UI to edit the bulletin, I will take the data from some file or database but I'd like

Suggestion. Replace Any with *

2022-06-13 Thread h3ck phy
It would be nice if we could write something like this data: dict[str, *] = {} instead of data: dict[str, Any] = {} In import statement asterisk means "all names" in a module. But in type closure it should mean "all types". -- https://mail.python.org/mailman/listinfo/python-list

Re: python Store text file in mangodb

2022-06-13 Thread Peter Otten
On 12/06/2022 14:40, Ayesha Tassaduq wrote: Hi i am trying to store a text file into MongoDB but i got the error . "failing because no such method exists." % self.__name.split(".")[-1] TypeError: 'Collection' object is not callable. If you meant to call the 'insert' method on a 'Collection'