• Article 6 :-Starting a New Thread

    Categories: Python ||

    To spawn another thread, you need to call following method available in thread module −thread.start_new_thread ( function, args[, kwargs] )This method call enables a fast and efficient way to create

  • Article 7 :-Python - Multithreaded Programming

    Categories: Python ||

    Running several threads is similar to running several different programs concurrently, but with the following benefits −Multiple threads within a process share the same data space with the main thre

  • Article 8 :-Sending Attachments as an E-mail

    Categories: Python ||

    To send an e-mail with mixed content requires to set Content-type header to multipart/mixed. Then, text and attachment sections can be specified within boundaries.A boundary is started with two hyphen

  • Article 9 :-Sending an HTML e-mail using Python

    Categories: Python ||

    When you send a text message using Python, then all the content are treated as simple text. Even if you include HTML tags in a text message, it is displayed as simple text and HTML tags will not be fo

  • Article 10 :-Python - Sending Email using SMTP

    Categories: Python ||

    Simple Mail Transfer Protocol (SMTP) is a protocol, which handles sending e-mail and routing e-mail between mail servers.Python provides smtplib module, which defines an SMTP client session object tha

  • Article 11 :-Further Readings

    Categories: Python ||

    This was a quick start with Socket Programming. It is a vast subject. It is recommended to go through the following link to find more detail −1. Unix Socket Programming.2. Python Socket Library and

  • Article 12 :-Python Internet modules

    Categories: Python ||

    A list of some important modules in Python Network/Internet programming.ProtocolCommon functionPort NoPython moduleHTTPWeb pages80httplib, urllib, xmlrpclibNNTPUsenet news119nntplibFTPFile transfers20

  • Article 13 :-A Simple Client

    Categories: Python ||

    Let us write a very simple client program which opens a connection to a given port 12345 and given host. This is very simple to create a socket client using Python's socket module function.The socket.

  • Article 14 :-What is Simple Server

    Categories: Python ||

    To write Internet servers, we use the socket function available in socket module to create a socket object. A socket object is then used to call other functions to setup a socket server.Now

  • Article 15 :-General Socket Methods

    Categories: Python ||

    Sr.No.Method & Description1. s.recv() - This method receives TCP message2. s.send() - This method transmits TCP message3. s.recvfrom() - This method receives UDP message4. s.sendto() - This method

  • Article 16 :-Server Socket Methods

    Categories: Python ||

    Sr.No.Method & Description1. s.bind() - This method binds address (hostname, port number pair) to socket.2. s.listen() - This method sets up and start TCP listener.3. s.accept() - This passively a

  • Article 17 :-The socket Module

    Categories: Python ||

    To create a socket, you must use the socket.socket() function available in socket module, which has the general syntax −s = socket.socket (socket_family, socket_type, protocol=0)Here is the descript

  • Article 18 :-What is Sockets?

    Categories: Python ||

    Sockets are the endpoints of a bidirectional communications channel. Sockets may communicate within a process, between processes on the same machine, or between processes on different continents.Socke

  • Article 19 :-Python - Network Programming

    Categories: PHP ||

    Python provides two levels of access to network services. At a low level, you can access the basic socket support in the underlying operating system, which allows you to implement clients and servers

  • Article 20 :-Regular Expression Patterns

    Categories: Python ||

    Except for control characters, (+ ? . * ^ $ ( ) [ ] { } | \), all characters match themselves. You can escape a control character by preceding it with a backslash.Following table lists the regular exp

  • Article 21 :-Regular Expression Modifiers: Option Flags

    Categories: Python ||

    Regular expression literals may include an optional modifier to control various aspects of matching. The modifiers are specified as an optional flag. You can provide multiple modifiers using exclusive

  • Article 22 :-The match Function

    Categories: Python ||

    This function attempts to match RE pattern to string with optional flags.Here is the syntax for this function −re.match(pattern, string, flags=0)Here is the description of the parameters −

  • Article 23 :-Python - Regular Expressions

    Categories: Python ||

    A regular expression is a special sequence of characters that helps you match or find other strings or sets of strings, using a specialized syntax held in a pattern. Regular expressions are widely use

  • Article 26 :-Two new storage locations available for AWS DataSync

    Categories: AWS(Amazon Web Services) ||

    Two new storage locations available for AWS DataSync   Today, we are announcing the general availability of two additional storage locations for AWS DataSync, an online data movement service th

  • Article 27 :-Creating Database Table In Python

    Categories: Python ||

    Once a database connection is established, we are ready to create tables or records into the database tables using execute method of the created cursor.ExampleLet us create Database table EMPLOYEE −

  • Article 28 :-Database Connection In Python

    Categories: Python ||

    Before connecting to a MySQL database, make sure of the followings −You have created a database TESTDB.You have created a table EMPLOYEE in TESTDB.This table has fields FIRST_NAME, LAST_NAME, AGE, S

  • Article 29 :-What is MySQLdb?

    Categories: Python ||

    MySQLdb is an interface for connecting to a MySQL database server from Python. It implements the Python Database API v2.0 and is built on top of the MySQL C API.How do I Install MySQLdb?Before proceed

  • Article 30 :-Python - MySQL Database Access

    Categories: Python ||

    The Python standard for database interfaces is the Python DB-API. Most Python database interfaces adhere to this standard.You can choose the right database for your application. Python Database API su

  • Article 31 :-How To Raise a "File Download" Dialog Box?

    Categories: Python ||

    Sometimes, it is desired that you want to give option where a user can click a link and it will pop up a "File Download" dialogue box to the user instead of displaying actual content. This is very eas

  • Article 32 :-Setting up Cookies In Python

    Categories: Python ||

    It is very easy to send cookies to browser. These cookies are sent along with HTTP Header before to Content-type field. Assuming you want to set UserID and Password as cookies. Setting the cookies is

  • Article 33 :-How It Works In Python ?

    Categories: Python ||

    Your server sends some data to the visitor's browser in the form of a cookie. The browser may accept the cookie. If it does, it is stored as a plain text record on the visitor's hard drive. Now, when

  • Article 34 :-Using Cookies in CGI

    Categories: Python ||

    HTTP protocol is a stateless protocol. For a commercial website, it is required to maintain session information among different pages. For example, one user registration ends after completing many pag

  • Article 35 :-Passing Text Area Data to CGI Program

    Categories: Python ||

    TEXTAREA element is used when multiline text has to be passed to the CGI Program.Here is example HTML code for a form with a TEXTAREA box −<form action = "/cgi-bin/textarea.py" method = "post" ta

  • Article 36 :-Passing Radio Button Data to CGI Program

    Categories: Python ||

    Radio Buttons are used when only one option is required to be selected.Here is example HTML code for a form with two radio buttons −<form action = "/cgi-bin/radiobutton.py" method = "post" target

  • Article 37 :-Passing Information Using POST Method In Python

    Categories: Python ||

    A generally more reliable method of passing information to a CGI program is the POST method. This packages the information in exactly the same way as GET methods, but instead of sending it as a text s

  • Article 38 :-Simple FORM Example:GET Method In Python

    Categories: Python ||

    This example passes two values using HTML FORM and submit button. We use same CGI script hello_get.py to handle this input.<form action = "/cgi-bin/hello_get.py" method = "get">First Name: <i

  • Article 39 :-Passing Information using GET method

    Categories: Python ||

    The GET method sends the encoded user information appended to the page request. The page and the encoded information are separated by the ? character as follows −http://www.test.com/cgi-bin/hello.py

  • Article 40 :-CGI Environment Variables

    Categories: Python ||

    All the CGI programs have access to the following environment variables. These variables play an important role while writing any CGI program.Sr.No. - Variable Name & Description1. CONTENT_TYPE -

  • Article 41 :-HTTP Header In Python

    Categories: Python ||

    The line Content-type:text/html\r\n\r\n is part of HTTP header which is sent to the browser to understand the content. All the HTTP header will be in the following form −HTTP Field Name: Field Conte

  • Article 42 :-Web Server Support and Configuration In Python

    Categories: Python ||

    Before you proceed with CGI Programming, make sure that your Web Server supports CGI and it is configured to handle CGI Programs. All the CGI Programs to be executed by the HTTP server are kept in a p

  • Article 43 :-Web Browsing in Python

    Categories: Python ||

    To understand the concept of CGI, let us see what happens when we click a hyper link to browse a particular web page or URL.Your browser contacts the HTTP web server and demands for the URL, i.e., fil

  • Article 44 :-Python - CGI Programming

    Categories: Python ||

    The Common Gateway Interface, or CGI, is a set of standards that define how information is exchanged between the web server and a custom script. The CGI specs are currently maintained by the NCSA.

  • Article 45 :-Announcing preview of Amazon Linux

    Categories: AWS(Amazon Web Services) ||

    Announcing preview of Amazon Linux     Today, we are announcing the public preview of Amazon Linux 2022 (AL2022), Amazon's new general purpose Linux for AWS that is designed to provid

  • Article 46 :-Introducing two new Amazon EC2 bare metal instances

    Categories: AWS(Amazon Web Services) ||

    Introducing two new Amazon EC2 bare metal instances   Starting today, Amazon EC2 M6i and C6i bare metal instances are available. M6i and C6i instances are powered by 3rd generation Intel Xeon S

  • Article 47 :-Announcing AWS Graviton2-based instances for Amazon Neptune

    Categories: AWS(Amazon Web Services) ||

    Announcing AWS Graviton2-based instances for Amazon Neptune   Starting today, Amazon Neptune announced the general availability of general-purpose T4g and memory-optimized R6g database instance

  • Article 48 :-Amazon EC2 Mac Instances now support macOS Monterey

    Categories: AWS(Amazon Web Services) ||

    Amazon EC2 Mac Instances now support macOS Monterey   Starting today, customers can run macOS Monterey (12.0.1) as Amazon Machine Images (AMIs) on Amazon EC2 Mac instances. Apple macOS Monterey

  • Article 49 :-Announcing AWS Graviton2-based instances for Amazon Neptune

    Categories: AWS(Amazon Web Services) ||

    Announcing AWS Graviton2-based instances for Amazon Neptune   Starting today, Amazon Neptune announced the general availability of general-purpose T4g and memory-optimized R6g database instance

Top articles
Teaching the Significance of Republic Day to the Next Generation Published at:- Ways to Support the Community on World AIDS Day 2023 of Building Solidarity Published at:- How to Plan the Perfect Winter Wonderland Fest Published at:- Making the Most of Winter Magic Festival Season Published at:- Unleash the Magic: Top Winter Festivals Around the World Published at:- Captivating Moments: Highlights of the Winter Magic Festival Published at:- Embrace the Chill Unforgettable Experiences at the Winter Magic Festival Published at:- Uncovering the Secrets of the Aurora Winter Festival Published at:- 10 Tips for Making the Most of the Winter Festival Published at:- Ultimate Guide to the Aurora Winter Festival Published at:- Ultimate Jack Frost Winterfest Survival Guide Published at:- Complete Guide to Jack Frost Winterfest with Making Memories Published at:- Celebration of Light, Joy, and Togetherness Diwali 2023: Published at:- Experience the Beauty of Diwali 2023 Published at:- Hindu Festival of Lights to Celebrating Diwali 2023 Published at:- Hindu Festival of Lights to Celebrating Diwali 2023 Published at:- Embrace the Festive Vibes Of Diwali 2023 in India Published at:- Achieve Radiant Skin with These Benefits The Power of Skin Toner Published at:- Unveiling the Beauty Benefits of Besan for Your Skin from Dull to Radiant Published at:- Get Glowing with Besan Guide to its Face Transforming Benefits Published at:- Remarkable Benefits of Olive Oil for Skin Whitening Published at:- Unleashing the Power of Platform as a Service in Cloud Computing Published at:- Benefits of Platform as a Service for Cloud Computing Success Published at:- Mastering Cloud Infrastructure Services A Comprehensive Guide Published at:- Choosing the Right Cloud Infrastructure Services for Your Business Published at:- Why Cloud Infrastructure Services Are Essential for Business Success Published at:- Unleashing the Power of Cloud Computing Storage Published at:- Advantages of Cloud Computing Storage Published at:- 10 Creative Ideas for Using Adobe Acrobat Published at:- Unlock the Power of Adobe Acrobat: A Comprehensive Guide Published at:- How to Convert PDFs Easily and Quickly Published at:- When Is the Best Time to Use a PDF Converter Published at:- Advantages of Using a PDF Converter Published at:- Exploring the Benefits of an eLearning Platform Published at:- How to Choose the Right E Learning Platform for Your Needs Published at:- Exploring the Benefits of Vocational Training Published at:- Tips for Choosing the Right Vocational Training Program Published at:- The Pros and Cons of Choosing an AR 15 for Your Next Deer Hunting Rifle Published at:- Why a Universal Basic Income Could be Good Economics for Hard Times Published at:- 7 Reasons Why Every Student Should Own a Personal Computer Published at:- 10 Ways Technology is Revolutionizing Healthcare Published at:- Upcoming Technology In Computer Science Published at:- Capture High Quality Photos and Videos with the VIVO Drone Camera Phone Published at:- PHP and its use Published at:- Why is web application security important for any website Published at:- Technology will be replaced by Android in the future Its correct or not Published at:- Some of the advantages of Angular over other frameworks Published at:- Best E commerce website development services Published at:- Mobile App Security Important in App Development Published at:- Advantages and Disadvantages of Tourism Published at:- What is the best cryptography software Published at:- What are some must read books on economics Published at:- When did Covid start in India Published at:- Which mobile phone has the most sales in India Published at:- Which is the best smartphone under Rs. 8,000 in India Published at:- What are the features of the C language Published at:- Who are the world's top 10 best artists of all time Published at:- What is data binding in AngularJS Published at:- How much do professional gamers earn in India Published at:- What is IT technology Published at:- What's the best mind map software Published at:- What are the service management tools on Linux Published at:- What is cloud computing and its advantages Published at:- How do I raise funds in India for my startup business idea Published at:- What businesses can an electronics and telecommunication engineer start Published at:- What precautions are you taking out of fear of the coronavirus Published at:- Is there a treatment for the Coronavirus Published at:- What is the most popular sport in the world Published at:- What is the key to successful sports betting Published at:- How do I crack Indian Railway Recruitment exams Published at:- What are the top most habits for health, beauty, and fitness of girls aged 14 to 21 Published at:- What is the single best site for homemade health and beauty recipes Published at:- Best Acca Insurance Offers 2022 Published at:- Is Technology Making Leadership More Efficient or Dependent? Published at:- The Value of an International Degree in Business Management Published at:- 5 Startup Lessons They Don't Teach You in College Published at:- Dire Need For A Change Of Syllabus For - 'The Indian Education System' Published at:- Top 10 Reasons Behind the Rise of Aerospace Engineering Career Published at:- What is Component Management in Software Engineering Published at:- PowerApps Versus Microsoft Access Published at:- 3 Things You Need to Fix in Your Website That We Swear You Don't Even Know Published at:- Essential Feature Of Mobile Web Design Published at:- Augmented Reality (AR) Is a Technology That Takes the World Around You and Adds Virtual Content Published at:- How Does A Detailed Discovery Phase Before Custom Software Development Benefits You? Published at:- Custom Software Development Services: A Leap To The Future Published at:- 5 Things You Need to Know About Google+ Published at:- How to Earn From Being a Professional Inviter Published at:- The Social Network Revolution Published at:- Hydrogen Water: Does It Offer Health Benefits? Published at:- Gain proficiency with the Latest Advancements in Nanoscience With a Nanotechnology Journal Published at:- Plastic and Its Effect on Our Health Published at:- Better and Healthy Lifestyle Published at:- 5 Tips to Help You Purchase Beauty Products Online Published at:- Antacid Water and Reverse Osmosis: 5 Differences Published at:- The Pros and Cons of RO Water Filters Published at:- The Difference Between Deionized and Reverse Osmosis Water Purification Published at:- 6 Benefits of Ganoderma Lucidum Spore Powder Published at:- Seem to be a Beauty Without the Sleep - How to Fake a Good Night's Rest Published at:- Treating Sun Spots Just as Important as Wrinkle Care Published at:- Got Water? 4 Reasons to Drink More H2O Published at:-
R4RIn Team
The content on R4RIn.com website is created by expert teams.