Social Icons

Friday, January 21, 2022



A brief overview of the secret codes that allow you to unlock hidden features on Android.

You may not have suspected it, but your Android smartphone has various information, functions or even hidden menus. These “secret” options are accessible by entering certain specific codes in the Phone application.

How to use a passcode on an Android phone?
You must use the Phone application preinstalled on your Android smartphone to enter the codes. Please note that some codes are specific to a specific brand or model of phone. To redeem Android secret codes, follow these steps:

Thursday, January 20, 2022


 

The Dutch software quality specialist, Tiobe, has just published its annual list of the most popular programming languages ​​and Python is named “programming language of the year”. The C language is relegated to second position, Java occupies third place while C++ and C# complete the top 5. 

Last July, Tiobe CEO Paul Jansen predicted that “Python seems to have the best chance of becoming number 1 (this year) due to the rise of data mining and artificial intelligence”. 

Python is the most taught language in universities. He is number one in statistics, artificial intelligence, scripting, and writing system testing. He is one of the leaders in web programming and scientific computing. For the record, this language owes its name to the British comedians, the Monty Python.


my-courses.net

1 - About Generic Views (Class Based Views)

Django adopt the DRY philosophy and so is designed to have to write only the minimum , so the framework includes a system of generic views, which saves the developer from having to write simple and identical functions, saving us time and lines of codes. Since version 1.3 of Django, views are based on classes. These classes are grouped by functionality. To process forms, the following views are found in django.views.generic.edit: FormView, CreateView, UpdateView and DeleteView. In order to keep it simple, we will treat this tutorial on an example that we have already covered: Student management system.

Tuesday, January 18, 2022

1 - Simple menu with QMenuBar PyQt5

To create a menu, the PyQt5 library has a class named
QMenuBar
which allows you to create a menu bar. By making an instantiation on the
QMenuBar

class, we create a menuBar object with the methods: 

        1 - addMenu(): allowing to add a menu like File , Edit, Option...
        2 - addAction()
: allowing to add commands to menu items like: File->Open , File->Save , File->Save As , File->Exit,...
        3 - addSeparator():
allowing to add a separator between the menu elements

Example


from PyQt5.QtWidgets import QApplication, QWidget,QMenuBar
import sys 

app = QApplication(sys.argv)
root = QWidget()
root.setWindowTitle("Simple QMenu PyQt5")
root.setGeometry(100 , 100 , 500 , 300)

# create a Menubar by instanciating the QMenuBar class
menuBar = QMenuBar(root)
menuBar.setGeometry(0,0, 500, 25)

# create a menu called 'File'
File = menuBar.addMenu('File')

# add actions to the menu 'File' 
File.addAction('New')
File.addAction('Open' )
File.addAction('Save')
File.addAction('Save As')
File.addAction('Exit')
root.show()
sys.exit(app.exec_())

Monday, January 17, 2022

1 - Brief reminder of the previous tutorial: student management with django

To achieve this paging system we will adopt the previous tutorial of student management:

1.1 - Creating a new new app django studentsApp

We start by creating a new django project and a django app called studentsApp



Sunday, January 16, 2022

1 - Creating blog application: First step:

Before starting to create a blog with django, you must first complete the preliminary steps that we have already covered in previous tutorials:
  1. Create a django project named mysite
  2. Create an administrator interface 
  3. Create a django application and give it a name, for example: blog (configure its url)

After carrying out all these steps, you will have a blog project that looks like this: 

 

Saturday, January 15, 2022

1 - Create a new django project with an app named accounts

To start we proceed by: 

- creating of a new project named mysite
- migration and creation of a super user account
- creating of a new app called accounts

 

Next, let's register our accounts application at the settings.py file:

INSTALLED_APPS = [
    'accounts.apps.AccountsConfig',
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',
]

Our site will therefore have the following structure: 

Python Exercises With Solutions

  1. Exercises on Python Strings
  2. Exercises on Python lists
  3. OOP Exercices with solutions
  4. Exercises on Python File I/O
  5. Python Dictionary Exercises
  6. Python Sets Exercises
  1. Python Arithmetic Exercises
  2. Equations & System Of Equations
  3. Polynomials and Functions
  4. Python Arithmetic Exercises 
  5. Numpy, Matplolib, Sympy , Scipy - Exercises
  6. Python Arithmetic Exercises
  1. Python GUI Tkinter Exercises



Younes Derfoufi

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) HTML (7) IT News (2) 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