- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 27332 Articles for Server Side Programming
528 Views
The OptionMenu widget is a drop-down menu that displays a list of options for the user to choose from. It's a commonly used widget in graphical user interface (GUI) programming for Python, and is often used in conjunction with other Tkinter widgets to create intuitive and interactive interfaces. In this article, we'll explore a concise way to configure the Tkinter OptionMenu widget using Python. Specifically, we'll cover − The basic syntax of the OptionMenu widget How to bind a command to the selection A concise way to define options and their corresponding commands By the end of this ... Read More
76 Views
What is Sandstorm.io? Sandstorm.io is an app which users can use to create their own server, documents, blogs, spreadsheets, task lists, and many other things. It is an open-source app and is compatible with only x86-64 Linux systems. It can be used easily as there is no need to write any code no command lines, no config files, and no requirement of databases. The platform is secure and all your apps will be secured and cannot be accessed by any unauthorized users. Top 10 Sandstorm.io Alternatives There are many alternatives to Sanstorm.io and some of them have been discussed here ... Read More
729 Views
Python helps us to develop code as per the developer requirement and application. It provides multiple modules, packages, functions and classes which makes the code more efficient. Using python language, we can check if a string contains any special character or not. There are several ways to check the string for the specials characters in it, let’s see one by one. Using a Regular Expression The re module in Python provides support for regular expressions, which are patterns used to match character combinations in strings. The regular expression pattern [^a−zA−Z0−9\s] matches any non−alphanumeric character (excluding whitespace) in the string. The ... Read More
193 Views
Python is used to print different patterns easily within less time as per the user requirement. In the same way, we can print the letter K using the alphabets available in the English language. Example In this example we will create the letter K by using the K alphabet. The below is the code. string="" j = 7 i = 0 for Row in range(0, 10): for Col in range(0, 10): if (Col == 1 or ((Row == Col ... Read More
113 Views
Python is one of the most popular and efficient programming language which helps the developers to write and execute the code very easily and faster. It provides several methods, packages, modules and libraries to develop the code within no time and with less complexity. A window can be a square or a rectangle or a triangle with having a plus sign or without a plus sign, in the middle. In order to print the window pattern using the python language let’s see an example and understand. Example In this example, we will create a window in the rectangle without ... Read More
881 Views
An object is the part of the Object Oriented Language (OOPs), which is an instance of the class. The class is the blueprint or template that specifies the methods and properties of that given class. When we create an object of a class, it contains all the set of instance methods and variables that are related to that particular object Using __str__ method We have two methods namely, __str__ or __repr__ in python which automatically calls the string and used to print the object with the detail view about it. Following is the syntax for using the __str__ method. ... Read More
493 Views
In Django, we can submit the form without reloading the page using the Jquery and Ajax (Asynchronous JavaScript and XML) requests. Let’s see an example to work with the Ajax to submit the Django form without reloading the page. Create a new Django project First create a new project in Django with the name Reload_project and also create a new app in the project directory with the name Reloadapp by executing the below commands in the command prompt. django-admin startproject Reload_project cd Reload_project django-admin startapp Reloadapp Now in INCLUDED_APPS in settings.py file of the Reload_project directory, add the ... Read More
77 Views
A widget is the representation of the Html input element using Django. The widget is used to handle the rendering of the HTML page and data extracting from the POST/GET dictionary. Every time whenever we specify the field on a form, Django uses the default widget to display the data in an appropriate manner. Django is the one of the best Framework used by most of the users, to perform the web development. It provides many advanced features, functions and packages to design the best web pages and connect with the servers using the python programming language. Now let’s ... Read More
271 Views
CRUD is abbreviated as Create, Retrieve, Update and Delete Functions. In Django, we can perform all these CRUD operations on the data we created into the database. Now let’s create the views.py function based on the operation that we want to perform. Create Operation with Django Create is used to create or add new data entries to the database table. In the following snippet, we begin by importing both the model form and the corresponding model. Next, we proceed to check whether the request is a POST request. If it is a POST request, we create a new form ... Read More
1K+ Views
Linked List The linked list is a linear data structure containing elements called nodes. Each node consists of two main components: data (payload of that node) and a pointer to the next node in the list. They are simple and efficient to use providing easy allocation and deallocation of memory. Doubly Linked List Doubly linked list is a special type of linked list which again consists of a basic element called nodes. Each node consists of three main components: data (payload of that node), a pointer to the previous node of the sequence and a pointer to the next ... Read More
To Continue Learning Please Login
Login with Google