from_extension method
Leave feedback
On this page
Gets the FileType for the provided file extension.
def from_extension(cls, file_extension):
...
| Parameter | Type | Description |
|---|---|---|
| file_extension | str |
File extension. |
Returns: File type.
- class
FileType
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.