View all courses
This Course is designed for the aspiring Web Designers and Developers with a need to understand the HTML in enough detail along with its simple overview, and practical examples.
Read more
CSS is used to control the style of a web document in a simple and easy way.This tutorial will help both students as well as professionals who want to make their websites.
JavaScript is a lightweight, interpreted programming language. It is designed for creating network-centric applications. It is complimentary to and integrated with Java.
This tutorial is designed for software programmers who wants to learn the basics of jQuery and its programming concepts in simple and easy ways. This tutorial will give you enough understanding on components of jQuery with suitable examples.
AJAX, is a web development technique for creating interactive web applications. If you know JavaScript, HTML, CSS, and XML, then you need to spend just one hour to start with AJAX.
HTML5 is the latest and most enhanced version of HTML.Technically, HTML is not a programming language, but rather a mark up language.This tutorial has been designed for beginners in HTML5 providing the basic to advanced concepts of the subject.
PHP (Hypertext Preprocessor), it is extensively used by developers for programming and development. PHP has lots of benefits and easy to learn so it is the first choice of developers and programmer.
Many PHP programming courses cover the basics or a specific concept. Our Advanced PHP Development course gives you the concepts, features, tools, and practical advice to use them together to build performant, secure, scalable, and reliable web applications.
In this tutorial we will provide you with detailed instructions on how to use WordPress to create and manage your site. WordPress can be used for both simple and complex websites. In our WordPress tutorial we have tried to cover all the basics and few advanced topics.
This tutorial has been prepared for developers who would like to learn the art of developing websites using CodeIgniter. It provides a complete understanding of this framework.
Zend Framework 1 is an open source framework for developing web applications and services using PHP 5.3+. Zend Framework 1 uses 100% object-oriented code and utilises most of the new features of PHP 5.3.
Zend Framework 2 is an open source Module based framework for developing web applications and services using PHP 5.5+. Zend Framework 1 uses 100% object-oriented code and utilises most of the new features of PHP 5.5
The Language Which does not need any prior knowledge of Programming and Easy to learn .Python is Object-oriented ,interpreted and Server side Scripting language .
In Advance concept After learning Core Python We will use Python to create Desktop Application, Web Application, Sockets Programming , Multithread Programming. Since its An Open source Language its free of Cost
Ruby is server side, dynamic, reflective, object-oriented, general-purpose programming language. Ruby is "an interpreted scripting language for quick and easy object-oriented programming"
Ruby on Rails, or simply Rails, is a web application frameworkwritten in Ruby under the MIT License. Rails is a model–view–controller (MVC) framework, providing default structures for a database, a web service, and web pages.
If you have any confusion then you can ask our experts.Our experts will guide you properly.
We are looking you if you are looking guidance for web design and development. Apply online.
Contact us
< Create an border of registration form in python using tkinter Last >
Installation Step -1 Install Flask using pip
pip install Flask Step -2 Create an simple flask server from flask import Flask app = Flask(__name__) @app.route('/',methods=['GET','POST']) def home(): return "Server has started at Home ....."
@app.route('/aboutus',methods=['GET','POST']) def abouttus(): return "About us path executed ....."
if __name__ == '__main__': app.run(host='0.0.0.0',port=1208)
Save this file as app.py (or any other filename you want) and go to the terminal and type python app.py (i.e. python .py )
You should see something like this:
* Running on http://0.0.0.0:1028/ (Press CTRL+C to quit) Launch any web browser and go to http://localhost:105/hello/ to see the app in action.
Now, let’s understand the working of the code line-by-line:
from flask import Flask → Import the Flask class
app = Flask(__name__) → Create an instance of the class
@app.route('/', methods=['GET', 'POST']) → We use the route() decorator to tell Flask what URL should trigger the function. methods specify which HTTP methods are allowed. The default is ['GET']
if __name__ == '__main__' → __name__ is a special variable in Python which takes the value of the script name. This line ensures that our Flask app runs only when it is executed in the main file and not when it is imported into some other file
app.run(host='0.0.0.0', port=1028) → Run the Flask application
host specifies the server on which we want our flask application to run. The default value for host is localhost or 127.0.0.1
0.0.0.0 means all IPv4 addresses on the local machine. This ensures that the server will be reachable from all addresses. The default port value is 1208 and you can set the parameter port to use the port number of your choice.
{{questionlistdata.blog_question_description}}
{{answer.blog_answer_description }}