[split] [Errno 22] Invalid argument - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: [split] [Errno 22] Invalid argument (/thread-33963.html) |
[split] [Errno 22] Invalid argument - Junaid - Jun-12-2021 OSError: [Errno 22] Invalid argument: 'uploads\\scan-Admin-Admin-12:06:2021-21:31:02.jpeg' I am getting this error any help will be appreciated.[attachment=1134] This is my code: app = Flask(__name__) UPLOADS_FOLDER = r'static\uploads' app.config['UPLOADS_FOLDER'] = UPLOADS_FOLDER |