iMath writes:
> ...
> It seems possible in Python to use `zipimport` to directly use the zip
> archive of the module without extraction, I wonder what is the right way to
> use `zipimport`.
Your problem may come from the following restriction
(cited from the Python 2 documentation of `zipimport
On 13/08/2018 21:54, skybuck2...@hotmail.com wrote:
> I just had a funny idea how to implement a swap operator for types:
>
> A >< B
>
> would mean swap A and B.
I think that:
a, b = b, a
is pretty enough
--
https://mail.python.org/mailman/listinfo/python-list
Hello,
I just had a funny idea how to implement a swap operator for types:
A >< B
would mean swap A and B.
Bye,
Skybuck.
--
https://mail.python.org/mailman/listinfo/python-list
creating an account on wiki.python.org, always same error : gateway
time-out. any solution?
yours,
Abdur-Rahmaan Janhangeer
https://github.com/Abdur-rahmaanJ
Mauritius
--
https://mail.python.org/mailman/listinfo/python-list
On 13/08/2018 19:23, MRAB wrote:
> Here you're configuring the logger, setting the name of the logfile and
> the logging level, but not specifying the format, so it uses the default
> format:
>
>> logging.basicConfig(filename='example.log',level=logging.DEBUG)
>
> Here you're configuring the logg
On 2018-08-13 17:37, Keep Secret wrote:
#!/usr/bin/env python3
import logging
Here you're configuring the logger, setting the name of the logfile and
the logging level, but not specifying the format, so it uses the default
format:
logging.basicConfig(filename='example.log',level=logging.DE
On 2018-08-13 12:37 PM, Keep Secret wrote:
> #!/usr/bin/env python3
> import logging
> logging.basicConfig(filename='example.log',level=logging.DEBUG)
> logging.basicConfig(format='%(asctime)s;%(levelname)s:%(message)s',
> level=logging.DEBUG)
> logging.debug('Message1)
> logging.info('Message2')
#!/usr/bin/env python3
import logging
logging.basicConfig(filename='example.log',level=logging.DEBUG)
logging.basicConfig(format='%(asctime)s;%(levelname)s:%(message)s',
level=logging.DEBUG)
logging.debug('Message1)
logging.info('Message2')
logging.warning('Message3')
DEBUG:root:Message1
INFO:roo
The same question also posted here
https://stackoverflow.com/questions/51820473/right-way-to-use-zipimport-zipimport-zipimporterror-not-a-zip-file
I have managed to use [this module][1] without installation - just import it
from path to use ,
import sys
url = 'https://example.com'
s
fredag den 10. august 2018 kl. 15.35.46 UTC+2 skrev Niels Kristian Jensen:
> Please refer to:
>
(cut)
It appears, that Python is simply not supported on Cygwin (!):
https://bugs.python.org/issue30563
Best regards,
Niels Kristian
--
https://mail.python.org/mailman/listinfo/python-list
10 matches
Mail list logo