Python Forum
Django or Flash for a would be freelancer?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Django or Flash for a would be freelancer?
#1
Hey, Python community ! I used to code in C and some other languages like PHP(5 years back) then I changed career choice. Back then I just coded for fun but now I am looking for freelancing and that brings me back to development. I am learning from the edx course and so far this is how we are taught for the first web server
Quote:#Beginning
#python has its own builtin server support http.server
from http.server import BaseHTTPRequestHandler, HTTPServer
class HTTPServer_RequestHandler(BaseHTTPRequestHandler):
#GET
def do_GET(self):
#Send response code for get requests
self.send_response(200)

#send headers
self.send_header("Content-type","text/html")
self.end_headers()

#write message
self.wfile.write(bytes("<h1>howdy</h1>","utf8"))
return
port=8080
server_address=("0.0.0.0",port)
httpd=HTTPServer(server_address,HTTPServer_RequestHandler)
httpd.serve_forever()


#END
But I have realized nobody uses this approach(correct me if im wrong) and rather they rely on djangi,flask or the likes. For a freelancer which one should I go for? And from a learner's perspective, which one would be better for a beginner? Thank you
Reply


Messages In This Thread
Django or Flash for a would be freelancer? - by davinci - Jul-20-2017, 12:22 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  enable flash using selenium chromedriver Fre3k 1 4,306 Nov-27-2020, 12:15 PM
Last Post: JellyCreeper6
  Django: How to automatically substitute a variable in the admin page at Django 1.11? m0ntecr1st0 3 3,376 Jun-30-2019, 12:21 AM
Last Post: scidam
  Flask Flash Messages Blank Leaf 2 5,752 Oct-16-2017, 10:19 PM
Last Post: Leaf
  Selenium and Flash ATXpython 3 8,796 Oct-10-2016, 09:52 PM
Last Post: ATXpython

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020