Difference between revisions of "From (Python)"

From wikieduonline
Jump to navigation Jump to search
Line 19: Line 19:
 
* [[Dockerfile]]: <code>FROM python:slim</code>
 
* [[Dockerfile]]: <code>FROM python:slim</code>
 
* [[Method]]
 
* [[Method]]
 +
* <code>[[from .]]XXXXX</code>
  
 
== Activities ==
 
== Activities ==

Revision as of 19:20, 11 April 2022

from logging.handlers import TimedRotatingFileHandler
from datetime import *
#Not recommended according to https://stackoverflow.com/a/710603
from os import open as open_
# lets you use os.open without destroying the 
# built in open() which returns file handles.
# https://stackoverflow.com/a/9439518

Related terms

Activities

See also

Advertising: