Starting a video thread!! 🧵👇

In this video thread you will find 8 #python videos explaining the basics in python for beginners!

Every video is about 100 seconds :)

quick disclaimer it's obviously not covering everything about python ;)
1/8 Variables
Variables is a method to store information:
#Developer
2/8 Lists

Lists is a type of variable. Lists allow you to store multiple pieces of information individually:
#100DaysOfCode #100DaysOfPython
3/8
A ‘for loop’ or looping allows you to perform the same action for multiple items in a list or group of items:
#100daysofcoding #100daysofcodechallenge
4/8
A Tuple contains multiple items like a list.
The big difference is that a Tuple is immutable.
Which basically means you can’t change the values in a tuple
Unlike a list which is mutable or changeable

#programming #coding
5/8
A dictionary is similar to a list.
It contains a set of item, but item is associated with a key:

#Django
6/8

The if statement is used in python when the program has to consider conditions

#pythonprogramming
7/8
The while loop is like the for loop, but works slightly different
The for loop executes a piece of code IF the condition is valid
The while loop continues the loop as long as a condition is valid

#Python
8/8

A function is a block of code that is written for a specific job
The function can be called by using the name of the function

#100DaysOfCode
for more content like this 👇
youtube.com/channel/UCzee5…

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Raza Zaidi

Raza Zaidi Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @razacodes

25 May
👇🧵
After creating our #Django app

Let's create and fill in the urls.py and views.py files

ps please follow if you like this thread ☺️

thanks!🙏🙏🙏
1/13
By default django doesn’t create a urls.py file in django app folder, so we need to do that manually
2/13
Now that we have created our app and linked it to our project
We can create the location and content of our page
Lets go to views.py for the content

#100DaysOfCode
Read 14 tweets
21 May
Last thread🧵 we created a django project

And went over the basic structure of a website and the files

In this thread we will create a django app

would me the world if you could retweet or like this thread🙏🙏🙏

What we covered so far 👇
1/11
Terminal

Navigate to our folder: Cd project

Create a project folder: Mkdir my project

Create virtual environment: Python -m venv ./myvenv

Install django - pip install Django

Create django project - Django-admin startproject myfirstproject
2/11
Navigate in the terminal to the folder of our django project which we created last time and run the virtual environment
Read 12 tweets
14 May
Beginning a thread🧵 about the basics in #Python you need to know for #Django👇

Django is a #webframework to build interactive #websites for Python and is great for fast #development
1/ 19 Variables are used to store information, so that they can be used later on in your code.
In Python a ‘string’ is text and a ‘integer’ or ‘float’ is a number
‘car_brand’ and ‘brand_type’ are variables in the example below

Variables can be stored inside other variables
2/19
No special signs are allowed to be used in the name of variables, except for ‘_’ like.
Numbers are allowed in the name of a variable, but not at the start
So ‘1car’ is not OK and ‘car1’ is OK.
Read 22 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!

:(