Junior — Middle
What is your practical experience using Python in commercial projects?
sobes.tech AI
Answer from AI
In commercial projects with Python, I worked on developing web applications and automating business processes. I used frameworks like Django and Flask to create REST APIs and administrative panels. I also wrote scripts for data processing and integration with external services.
Example: creating an API for order management, where I implemented data models, serialization, and endpoints for CRUD operations.
from flask import Flask, request, jsonify
app = Flask(__name__)
orders = []
@app.route('/orders', methods=['POST'])
def create_order():
order = request.json
orders.append(order)
return jsonify(order), 201
@app.route('/orders', methods=['GET'])
def list_orders():
return jsonify(orders)
if __name__ == '__main__':
app.run()