Social Icons

Sunday, July 26, 2020

1 - About Flask Framework

Flask is an open-source Python web development framework. Its main goal is to be light, in order to keep the flexibility of Python programming, associated with a system of templates. It is distributed under the BSD license.
Flask was originally created by Armin Ronacher as an April Fool's . Ronacher's wish was to create a web framework contained in a single Python file but able to maintain high demand applications.

In 2018, Flask was voted "Most Popular Web Framework" by the Python Developers Survey. As of January 2020, it had over 49,000 stars on Github, more than any other Python web development framework.

2 - Features

Flask is based on two modules werkzeug and jinja to offer several of the following features:
  1.     Development server and debugger
  2. Simplifies writing unit tests
  3. Template engine for HTML  rendering
  4. Supports secure cookies (session) 
  5. Fully compatible with WSGI
  6. Based on Unicode
  7. Complete documentation
  8. Easy deployment on multiple hosts
  9. Adding functionalities via extensions

3 - Install Flask Framework

Install Flask Flask Framework can be installed easily and quickly by using the pip command: Flask:
pip install Flask

4 - First program Hello World with Flask

The basic program for using Flask is:
from flask import Flask

app = Flask(__name__)

def index():
    return "Hello world !"

if __name__ == "__main__":
After execution you will see this message:
   Use a production WSGI server instead.
 * Debug mode: off
 * Running on (Press CTRL+C to quit)
Then by typing the the url :  in your browser you will see the "Hello World !" message:

Younes Derfoufi

python tutorial
python interview questions
research python
python route
python academic for beginners
python programming tutorial
study python on-line

Saturday, July 25, 2020

Python is a wellknown-reason interpreted, interactive, object-oriented, and excessive-stage programming language. It become created with the aid of Guido van Rossum throughout 1985- 1990. Like Perl, Python supply code is also available below the GNU fashionable Public License (GPL).

Python Offline academic and Compiler is an easy to use, consumer-friendly platform to study Python. Get started in Python with particular and to the factor Python tutorials which might be smooth to understand and understand.
content is updated often and if you have any comments or any function request, just mail us and we're going to be satisfied to help
become the coder you constantly wanted to be with "Python Offline academic and Compiler".

Gaining knowledge of Python Reference is an accelerated direction to be able to save you time and after getting to know the training you could begin writing viable packages (video games, records visualizations, internet programs, and plenty extra).

if you need to discover ways to program in Python, which has currently come to be popular as python for android, then our manual is for you. It discusses python education and functions for growing pc packages and the corresponding instructions of the Python compiler language, the principle facts systems of this language (strings, lists, dictionaries, documents, python algorithm), common programming troubles and strategies for solving them, in addition to troubles of improving the python program based totally on the use of functions. For the primary time, Python libraries and a method for developing Python applications with a graphical consumer interface are systematically and popularly supplied.

This software is compiled with the aid of the Euphrates precise, right down to the finest information of the Python programming language and is created using file explaining in easy understandable way,
completely loose and does no longer comprise advertising.

Created for the improvement of the said project documentation is currently being maintained by volunteers beneath the leadership deal with and content material are often up to date.

speak Python training for Android is the precise partner on your Python schooling. Do you need to research Python and programming? one of the first-class sources out there for Python video publications are those over at communicate Python schooling.

This app presents the great mobile revel in for our courses on Android. It allows you to study at the go along with the capacity to download your guides for offline get entry to or definitely to lessen records consumption metered networks. you can also movement the courses over wifi or mobile networks on-call for.

Friday, July 24, 2020

Exercise 80

Write an algorithm in Python as a function which takes two numbers m and n as parameters (m < n) and which returns a list formed of all the prime numbers between m and n. Example for m = 10 and n=20  the function must return:
[11, 13, 17, 19]


def primNumber(n):
    # take initial value of number of divisors
    numberOfDivisors = 0
    for i in range(1,n+1):
        # while i is a divisor of n we increment we increment numberOfDivisors
        if n%i == 0:
            numberOfDivisors = numberOfDivisors + 1
    # the number n is prim number only if numberOfDivisors == 2
    if numberOfDivisors == 2:
        return True
        return False

# Now we can find the set of the prims numbers in given intervall [m,n]
def listPrimNumbers(m,n):
    listPrim = []
    for i in range(m , n+1):
        # we test if i is prim or not
        if (primNumber(i)):
            # we add i to the list if it is a prim number
    return listPrim

# Testing the function
# The output is [11, 13, 17, 19]

Younes Derfoufi

Monday, July 20, 2020

Exercise 68

Write a Python function that takes as argument an integer n and that return the list of all divisors of n.


def allDivisors(n):
    listDiv =[]
    for i in range(1,n+1):
        if n%i == 0:
    return listDiv

# testing a function
print("List of all divisor of 20 is : ", allDivisors(20))
#The output is : List of all divisor of 20 is :  [1, 2, 4, 5, 10, 20]

Younes Derfoufi
PyNote allows builders or CS college students without problems analyze Python with the aid of answering questions and solving problems. in case you are a programmer searching out Python roles, making ready for Python interviews, or a pupil who is getting to know Python presently, this app may be a proper suit for you.

Sunday, July 19, 2020

Exercise 67 

Write a function in Python which takes as argument an integer n and which returns True if the number n is prime and False if n is not prime without using any predefined function.


def primNumber(n):
    # take initial value of number of divisors
    numberOfDivisors = 0
    for i in range(1,n+1):
        # while i is a divisor of n we increment we increment numberOfDivisors
        if n%i == 0:
            numberOfDivisors = numberOfDivisors + 1
    # the integer n is a prim number only if numberOfDivisors == 2
    if numberOfDivisors == 2:
        return True
        return False
# Testing the function
print(primNumber(7)) # The output is True because 7 is a prim number
print(primNumber(6)) # The output is False because 6 is not a prim number

Younes Derfoufi

Saturday, July 18, 2020

honestly! On average, U.S. Python developers earn $109,000 per yr. This powerful and widely-used language may be your or your child's ticket to a better life. With the rigorous grounding you get from this route, you’ll have the understanding and self belief to step into better-level Python courses.

In case you are searching for an software to examine Python programming simple to advance without any programming know-how . you're at proper area. whether you an skilled programmer or no longer , this utility is meant for everyone who wish to analyze the Python programming with information technology.
This free app will teach you the way to manage large information with Python . it is simple to start, clean to examine.

Python is a widespread-cause interpreted, interactive, item-orientated, and excessive-level programming language. It was created with the aid of Guido van Rossum throughout 1985- 1990. Like Perl, Python source code is likewise available under the GNU wellknown Public License (GPL).

Friday, July 17, 2020

examine Python in a substantially improved mastering surroundings with greater instructions, actual exercise possibility, and community support.

examine Python in the most social and amusing way, with Helpdesk developer!

study Python, one in every of modern-day maximum in-demand programming languages on-the-pass, at the same time as gambling, free of charge! Compete and collaborate together with your fellow Python freshmen, at the same time as surfing through short training and amusing quizzes. exercise writing Python code within the app, gather points, and display off your abilities.

About QPython OL

QPython is the Python engine for android. It contains some amazing features such as Python interpreter, runtime environment, editor, QPYI and SL4A library. It makes it easy for you to use Python on Android. And it's FREE.

QPython already has millions of users worldwide and it is also an open source project.
For different usage scenarios, QPython has two branches, namely QPython Ox and 3x.
QPython 3x is mainly for experienced Python users, and it provides some advanced technical features.
This is QPython OL, which is mainly aimed at programming learners, and it provides more friendly features for beginners.

Kickstart your coding adventure with Mimo, the fine Self-improvement App of 2018 on Google Play, and be a part of a network of hundreds of thousands of coders, from absolute novices to senior builders.

With Mimo, you could learn programming and build websites and apps in just five minutes in step with day. you will research programming languages like Python, JavaScript, Java, HTML, CSS, swift, Kotlin, C++, sq., personal home page and more! Our programming publications and instructions are suitable for every person, despite no previous coding know-how and revel in.
Mimo makes gaining knowledge of to code and diving into pc technological know-how as fun and easy as possible. With the “discover ways to Code” curriculum, you’ll dive into constructing websites with HTML, CSS, and JavaScript. With the “records technology with Python” curriculum, you will learn the way to analyze statistics with Python and sq., and even learn the way Google and Netflix use huge statistics to suggest websites or films.

Thursday, July 16, 2020

Exercise 66

Write a function in Python which takes as argument a tuple (a, b) composed of two integers and returns it the least common multiple LCM of a and b without using any predefined function in python.


def leastCommonMult(a,b):
    # take m = a as initial value
    m = a
    # while m is not common multiple
    while (m%a != 0 or m%b !=0):
        # we incremente m
        m = m + 1
    return m

# testing function
print("The least common multiple of 6 and 9  is m = ",leastCommonMult(6 , 9))
#The out put is: The least common multiple of 6 and 9  is m =  18        

Younes Derfoufi

 Exercise 65

Write a function in Python which takes as argument a tuple (a, b) composed of two integers and returns it the greatest common divisor GCD of a and b without using any predefined function in python.


def greatestCommonDiv(a,b):
    # take d = a as initial value
    d = a
    # while d is not common divisor
    while (a%d != 0 or b%d !=0):
        # we decremente d
        d = d - 1
    return d

# testing function
print("The geatest common divisor of 8 and 12 is d = ",greatestCommonDiv(8,12))
# The output is : The geatest common divisor of 8 and 12 is d =  4

Younes Derfoufi

1 - About the pip utility 

pip Python is a standard package management system used to install and manage software packages: Python modules and libraries easilyvia the cmd command.

Python ultimate manual is an app that will help you study python programming language, it's miles intended for superior programmers and also novices ! the app includes a fixed of training divided in three sections :

word : Please give five celebrity, it will inspire us. Please do not supply bad remarks, It is not solution to your need. when you have any problem, please mail @


* completely offline academic and Compiler additionally.
* academic on Python 2 and three
* rich layout
* fabric design
* clean Navigation
* mobile pleasant format

Tuesday, July 14, 2020

Programs test the logical capacity and coding abilties which are important for any software program engineer.
This app is very useful for know-how how loops can be used to generate these one-of-a-kind ASCII art patterns & also for other fundamental ideas of Python with the help of programs.

Shrewd Python 2.6 IDE with syntax recognition and automobile text formatting and greater incredible function from iLabs enterprise.

A full offline python 2.6 IDE, providing syntax reputation and auto formatting text with different notable feature to make our customer happy. we have not carried out all the to be had python Modules, however you could expect extra in upcoming releases.

Python is a popular-cause programming language this is becoming ever greater popular for the facts technological know-how.This route makes a speciality of python particularly for primary to strengthen.
In our advent to python path,you will learn about the powerful approaches to keep and manage facts, and useful facts science equipment to begin conducting yours own

what is python programming ?
-> Python is a trendy-purpose interpreted, interactive, item-oriented, and excessive-degree programming language.
Python is state-of-the-art maximum annoying programming language, particularly in software program developer activity.
in case you are seeking out any clean and simple manner to examine python programming then, you're at proper area.python 3 tutorials will offer you great python gaining knowledge of material.

Examples of answers of exercises and practice troubles in the Python programming language, together with regarded algorithms (binary seek, Euclidean algorithm, sieve of Eratosthenes, factorial calculation, Fibonacci collection, finding the greatest commonplace divisor and the least common multiple). a few examples include special feedback.

The app includes sections:
  • linear algorithms, 
  • conditions, 
  • cycles, 
  • strings, 
  • lists, 
  • dictionaries, 
  • functions, 
  • documents, 
  • exceptions, 
  • OOP, 
  • list generators.

Younes Derfoufi

Artificial built-intelligence is the integratedtelligence confirmed built-in machbuilt-ines, integrated assessment to the integratedtelligence displayed by means of people.
study BioPython
Biopython is an open-supply python tool particularly used in biointegratedformatics field.
learn Concurrency with Python
Concurrency, herbal phenomena, is the built-ing of or greater activities at the same time.
study Cryptography with Python
built-in cryptography is the only used extensively amongst computer technological know-how initiatives to secure the built-information messages.

Saturday, July 11, 2020

In case you are looking for an application to learn Python primary to boost without any programming expertise. you are at proper vicinity. whether or not you're an skilled programmer or no longer, this application is supposed for anybody who needs to learn the Python Programming language.

Thursday, July 9, 2020

It's easy to learn  Python Offline  with this android app, user-pleasant platform to examine Python. Get started in Python with specific and to the point Python tutorials which are easy to grasp and apprehend.

it's far a complete package deal for Python programming. Its carries tutorials to examine, mcqs to test your know-how, coding questions to improve your logic and get used to the Python fashion of coding and ultimate however not the least a lightweight Interpreter so you can exercise Python programming as you learn.

Wednesday, July 8, 2020

Pyonic interpreter is a graphical interface to the Python programming language interpreter. you can run Python code and see the consequences much like at the laptop, with a few consumer interface improvements for cell utilization along with additional keyboard buttons, autocompletion and document query.
Write Python code at once in your Android tool! This app helps the brand new Python 3 syntax and is ideal for mastering and trying out code snippets!

Python is an interpreted, high-level, trendy-motive programming language. Created by Guido van Rossum and first launched in 1991, Python's design philosophy emphasizes code readability with its awesome use of good sized whitespace. Its language constructs and item-oriented method purpose to help programmers write clear, logical code for small and large-scale projects.

We are moving to our new loose All-in-One app! Get it here:

analyze Python in a greatly progressed mastering environment with extra instructions, actual practice opportunity, and community help.

research Python inside the maximum social and amusing way, with SoloLearn!

analyze Python, one in all modern most in-demand programming languages on-the-pass, even as playing, totally free! Compete and collaborate together with your fellow SoloLearners, even as surfing through quick instructions and amusing quizzes. practice writing Python code inside the app, collect points, and show off your abilities.
Learn the fundamentals of coding and a way to import, analyze, and visualize information in five mins in keeping with day!

Designed for beginners and advanced users, DataCamp’s cellular Coding publications offer the most in-depth content available within the app save nowadays. We offer guides in Python, R, and sq. which might be a hundred% optimized for mobile and taught by means of professional teachers. The gamified enjoy keeps you engaged even as you master statistics technological know-how and analytics, and also you study from errors with our personalised on the spot remarks device.
Examine Python from Programiz is an interactive app to easily analyze the fundamental concepts of Python programming language. despite the fact that the app is focused in the direction of Python novices, it's far beneficial for all and sundry studying Python.

Tuesday, July 7, 2020

Thonny offers young developers an intuitive programming environment for Python, as easy to deploy as it is to use.
For the sake of simplicity, Thonny ships the latest version of Python which he installs at the same time as the IDE. The program is also preconfigured to avoid budding coders any difficulty related to the configuration of the application.

# approximately QPython 3L

QPython is the Python engine for android. It consists of a few outstanding functions inclusive of Python interpreter, runtime surroundings, editor, QPYI and SL4A library. It makes it clean with a view to use Python on Android. And it is free.
QPython already has tens of millions of customers global and it's also an open source mission.
For different utilization situations, QPython has two branches, namely QPython Ox and 3x.
QPython Ox is particularly geared toward programming novices, and it provides greater friendly capabilities for novices.
that is the QPython 3L, it's miles specially for knowledgeable Python customers, and it gives some superior technical functions.

build your python abilties on the go along with this high-quality unfastened app to research Python Programming. end up a Python programming professional by using learning the python coding language.
examine Python is a ought to have app for all coding rookies or laptop technological know-how students to learn python programming language whenever they need and anyplace they need. whether you’re getting ready for a python interview or any exam that requires python programming information, you could discover great content on this programming learning app.

Pydroid 3 is the most clean to use and powerful educational Python three IDE for Android.


- Offlbuilt-ine Python three.8 built-interpreter: no built-innet is needed to run Python programs.
- Pip package deal manager and a custom repository for prebuilt wheel packages for greater medical libraries, which builtintegrated numpy, scipy, matplotlib, scikit-study and jupyter.
- OpenCV is now available (on gadgets with Camera2 API guide). *
- TensorFlow and PyTorch also are to be had. *
- Examples to be had out-of-the-field for quicker built-ing knowledge of.
- entire Tkbuilt-inter guide for GUI.
- complete-featured Termbuilt-inal Emulator, with a readlintegratede help (available built-in pip).
- 7fd5144c552f19a3546408d3b9cfb251 C, C++ or even Fortran compiler designed builtintegrated for Pydroid 3. It lets Pydroid 3 construct any library from pip, despite the fact that it's far the usage ofintegrated local code. you can also build & deploy dependencies from a command lbuilt-ine.
- Cython support.
- PDB debugger with breakpobuilt-ints and watches.
- Kivy graphical library with a glittery new SDL2 backend.
- PyQt5 guide available integrated short installation repository builtintegrated matplotlib PyQt5 aid with out a more code required.
- Matplotlib Kivy help available integrated quick deploy repository.
- pygame 2 guide.

Monday, July 6, 2020

The WordPress CMS uses MySQL which is a free, free and widely used relational database management system. WordPress can thus store and retrieve the information present on the website through several tables present as soon as the content management system is installed.

1 - About this tutorial

In this tutorial we will see how to:
  1. Install Local Web Server Uwamp
  2. Create database in phpMyAdmin of local web server  Uwamp
  3. Download and install the CMS Wordpress on local Web server Uwamp

The background property as its name suggests, allows us to modify the background of our web page: we can put a color of our choice, we can also put a nice image as a background ...

1 - background-color 

This property is used to change the background color of an element. Example: coloring of the background in red:
body {background-color: blue; }
 If you want test this code example, insert it between head and head:
<!DOCTYPE html>
<html lang="en">
    <title> Background </title>
        body {
            background-color: blue;

and then launch it in your browser:

2 - background-image 

 This property is used to put an image in the background of an element. The image is automatically repeated to cover the entire element in question.


body {backgroun-image: url (address); } // address = url address of the image

3 - background-repeat

This property defines how the image should repeat itself.

Example: background without repeating the image

body {backgroun-image: url (address); background-repeat: no-repeat; } // no image repetition

Example: background with horizontal repetition of the image (repeat-x)

body {backgroun-image: url (address); background-repeat: repeat-x; } // repeat horizontally

Example: background with vertical repetition of the image (repeat-y)

body {backgroun-image: url (address); background-repeat: repeat-y; } // repeat vertically

4 - background-position 

This property is used to determine the position of the image on the background using the following keywords:
  1. top : image centered in the top of the page or block. 
  2. center : image in the center of the page or block.
  3. bottom : image at the bottom center of the page or block. 
  4. right : image in the right of the page or block. 
  5. left  :  image in the left of the page or block. 

Example: background with an image palcée at the top left

body {backgroun-image: url (address);
background-repeat: no-repeat;
background-position: left top; }
the image in this example is positioned at the top left
We can also use the coordinate of object:
body {backgroun-image: url (address);
background-repeat: no-repeat;
background-position: x , y; }


<!DOCTYPE html>
<html lang="en">
    <title> Background </title>
    body {
           background-image: url('');
           background-repeat: no-repeat;
    background-position: 100px 20px;


Note: We can also use the% for positioning the image 

Example: To position the image at the top right we use the code:

body {backgroun-image: url (address);
background-repeat: no-repeat;
background-position: 100% 0%; }

Example: To position the image in the middle of the page, we use the code:

body {backgroun-image: url (address);
background-repeat: no-repeat;
background-position: 50% 50%; }

Example of background with no-repeat

<!DOCTYPE html>
<html lang="en">
    <title> Background </title>
        body {
            background-image: url('');
            background-repeat: no-repeat;

After Execution we will see:

Example of background with repeat-x

<!DOCTYPE html>
<html lang="en">
    <title> Background </title>
        body {
            background-image: url('');
            background-repeat: repeat-x;

After Execution we will see:

Example of background with repeat-y

<!DOCTYPE html>
<html lang="en">
    <title> Background </title>
        body {
            background-image: url('');
            background-repeat: repeat-y;

After Execution we will see:

Younes Derfoufi

Sunday, July 5, 2020

1 - Text-align

This property allows you to define the alignment of a text.


// This code is used to align all the paragraphs to the right.
p {text-align: right; }

1 - Tag selector & general syntax of a CSS code 

 Before we talk about the properties of a selector, let's take a simple example:


to put the title tag h1 in red we use the code:
h1 {color: # FF0000; }
In this example:
  1. h1 : represent the selected tag by the tag selector, 
  2. color : indicates here the property of the selector which it's value in this case is red. 
From this example, we can deduce the general syntax of a CSS code:
Tag selector {property: values;}

 1 - Introduction

Introduced in the mid-1990, CSS became widely used in web design and well supported by web browsers. CSS (Cascading Style Sheets) is a language that consists of grouping in one document formatting characteristics associated with groups of elements. Just define a set of definitions and formatting characteristics by name, and call it to apply it to text. A css code is inserted between the and tags or in a separate style.css sheet, while its effect is applied to the entire web page in question.

Learn Python For Beginners

Category Of Mobile Courses

Actualités (644) Adsense (1) Affiliation (1) Algebraic Topology (2) Algorithmic (1) all-news (30) Android (5) Android App (8) Android app without code (4) Android Apps (256) Android Development (4) Android download (2) Android OS (3) AngularJS (1) Automata theory and formal language (5) Bootstrap CSS (1) C programming (5) Category and Functor (8) CMS (3) Computer Glossary (18) Create Mobile App With Ionic Framework (2) CSS (2) CSS-Cascading-Style-Sheets (4) Developpement Java (13) Differential Geometry (1) Django-Python-Framework (15) dropshiping (26) Earn Money by Internet (4) Emplois (23) Framework php (2) Fraud (2) Github (2) HTML (7) IT News (3) Java For Beginners (10) Javascript (12) Kotlin Programming Language (8) Kotlin For Mobile Android (1) Linux Download (2) Marketing (5) Mobile (3) Mobile Courses (4) Mobile Marketing (4) MoneyGram (1) News (721) Node.js (5) Open Source (1) Photoshop (1) Protect Computer (1) Python (36) Python BeautifulSoup (1) Python For Data Science (2) Python PyQt (13) Python Reference (1) Python Source Code (3) Python-Books (6) Python-DVD-Training (1) Python-Exercises (297) Python-Framework (1) Python-IDE (1) Python-Kivy-Framework (2) Python-Modules (1) Python-pdf (2) Python-pyQt (1) python-temp (3) Référencement (2) Script PHP (2) Security (6) SEO (1) Snipping Tool: Faq (1) Social Networks (1) Source Code (4) Statistics With SPSS (2) Surveillance Software (1) Travail à domicile (6) Tutoriels php en vidéos (2) Tutoriels-MySql (6) tutoriels-php (19) Utilitaires (1) VPS (1) Web Hosting (1) Webcam (1) Webmarketing (11) Western Union (1) Windows 10 (1) Windows 7 (4) Windows 7 Faq (2) Windows 8 (1) Windows Accessories (1) Windows Download (8) Windows Drivers (1) Windows Fonts (1) Windows Power Shell (2) Windows Registry (2) Windows Security (18) Windows Software (2) Windows Spyware (2) Windows utilities (3) Windows Virus (2) Windows Vista (3) Windows Wireless (1) Windows xp (1) Wordpress (1)

Sample text

Sample Text

Blogger Templates