On Wed, 22 Aug 2018 at 00:44, Poul Riis wrote:
>
> I would like to list all possible ways to put N students in groups of k
> students (suppose that k divides N) with the restriction that no two students
> should ever meet each other in more than one group.
> I think this is a classical problem a
Thanks. As I can see python 3.7 is the best option.
Thank you very very muchs for the code as well.
Best regards.
--
https://mail.python.org/mailman/listinfo/python-list
Hi guys,
I have a problem with zipfile and zlib module, and hope to get some help.
That's my error:
"import zipfile
File "/home/lib/python3.7/lib/python3.7/zipfile.py", line 19, in
crc32 = zlib.crc32
AttributeError: module 'zlib' has no attribute 'crc32' "
I have no idea what to do wi
> On Aug 22, 2018, at 8:51 AM, Paul Moore wrote:
>
>> On Wed, 22 Aug 2018 at 00:44, Poul Riis wrote:
>>
>> I would like to list all possible ways to put N students in groups of k
>> students (suppose that k divides N) with the restriction that no two
>> students should ever meet each other i
On Wed, 22 Aug 2018 13:12:59 +0200, jacob m wrote:
[snip]
> That's my error:
> "import zipfile
> File "/home/lib/python3.7/lib/python3.7/zipfile.py", line 19, in
> crc32 = zlib.crc32
> AttributeError: module 'zlib' has no attribute 'crc32' "
>
> I have no idea what to do with that :/ I
Hi,
" Is there perhaps a different zlib on
your path, hiding the real zlib?" - I'm unsure of that.
"sudo apt-get install zlib1g-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
zlib1g-dev is already the newest version.
0 upgraded, 0 newly installed, 0 t
On Wed, 22 Aug 2018 at 17:33, Richard Damon wrote:
> Paul, my understanding of the problem is that you want to create multiple
> divisions of the larger group into smaller groups, such that if two people
> are in the same group in 1 division, they never appear together in other
> divisions.
>
>
I asked this before but my Usenet reader only saves messages for 30
days. I still can't get the pattern for this chart.
I started working on the code that should print it, but I never
remembered how to do it.
empire={6:"Infantry",12:"Armor/Fighter",30:"Transport"}
for x in range (6,120,6):
pr
" import zlib
print(zlib.__file__)"
When I don't have the zlib uploaded to my Python3.7 library, I have the
following error:
"Traceback (most recent call last):
File "./testx.py", line 2, in
import zlib
ModuleNotFoundError: No module named 'zlib'"
When I download the zlib 1.2.11 from http:
Test this in the interpreter:-
import zlib
zlib.__file__
It will return the location of zlib module.
On 8/22/18, jacob m wrote:
> Hi,
> " Is there perhaps a different zlib on
> your path, hiding the real zlib?" - I'm unsure of that.
>
> "sudo apt-get install zlib1g-dev
> Reading packag
On 08/23/2018 12:43 AM, jacob m wrote:
" import zlib
print(zlib.__file__)"
When I don't have the zlib uploaded to my Python3.7 library, I have the
following error:
"Traceback (most recent call last):
File "./testx.py", line 2, in
import zlib
ModuleNotFoundError: No module named 'zlib'
On 2018-08-22 23:43, jacob m wrote:
" import zlib
print(zlib.__file__)"
When I don't have the zlib uploaded to my Python3.7 library, I have the
following error:
"Traceback (most recent call last):
File "./testx.py", line 2, in
import zlib
ModuleNotFoundError: No module named 'zlib'"
Wh
12 matches
Mail list logo