Python Learning
Ir al canal en Telegram
Python learning resources Beginner to advanced Python guides, cheatsheets, books and projects. For data science, backend and automation. Join 👉 https://rebrand.ly/bigdatachannels DMCA: @disclosure_bds Contact: @mldatascientist
Mostrar más5 725
Suscriptores
-224 horas
-127 días
-1930 días
Archivo de publicaciones
5 725
Hello World: Create your First Python Program
In the last post, we completed our Python installation and setup. It’s time to create your first program.
Creating First Program
Step 1) Open PyCharm Editor. You can see the introductory screen for PyCharm. To create a new project, click on “Create New Project”.
Step 2) You will need to select a location.
You can select the location where you want the project to be created. If you don’t want to change location than keep it as it is but at least change the name from “untitled” to something more meaningful, like “FirstProject”.
PyCharm should have found the Python interpreter you installed earlier.
Next Click the “Create” Button.
Step 3) Now Go up to the “File” menu and select “New”. Next, select “Python File”.
Step 4) A new pop up will appear. Now type the name of the file you want (Here we give “HelloWorld”) and hit “OK”.
Step 5) Now type a simple program – print (‘Hello World!’).
Step 6) Now Go up to the “Run” menu and select “Run” to run your program.
Step 7) You can see the output of your program at the bottom of the screen.
Step 8) Don’t worry if you don’t have Pycharm Editor installed, you can still run the code from the command prompt. Enter the correct path of a file in command prompt to run the program.
Step 9) If you are still not able to run the program, we have Python Editor for you.
Please run the given code at Python Online Editor
🔗 Read Online
#Python #helloworld
➖➖➖➖➖➖➖➖➖➖➖➖➖
Join @python_bds for more cool data science materials.
*This channel belongs to @bigdataspecialist group
5 725
python-mastery
Advanced Python Mastery (course by dabeaz)
Creator: Dabeaz LLC
Stars ⭐️: 4.4k
Forked By: 482
https://github.com/dabeaz-course/python-mastery
#python #mastery
➖➖➖➖➖➖➖➖➖➖
Join @python_bds for more cool data science materials.
*This channel belongs to @bigdataspecialist group
5 725
What will be the output of the following Python expression if x=15 and y=12?
x & y
5 725
12 hours of Python course on YouTube
⭐️Time Stamps⭐️
#1 (00:00:00) Python tutorial for beginners 🐍
#2 (00:05:57) variables ✘
#3 (00;17;38) multiple assignment 🔠
#4 (00:20:27) string methods 〰️
#5 (00:25:13) type cast 💱
#6 (00:30:14) user input ⌨️
#7 (00:36:50) math functions 🧮
#8 (00:40:58) string slicing ✂️
#9 (00:51:52) if statements 🤔
#10 (00:58:19) logical operators 🔣
#11 (01:04:03) while loops 🔄
#12 (01:07:31) for loops ➰
#13 (01:13:04) nested loops ➿
#14 (01:17:08) break continue pass ⛔️
#15 (01:21:06) lists 🧾
#16 (01:26:58) 2D lists 📜
#17 (01:30:47) tuples 📄
#18 (01:33:47) sets 🍴
#19 (01:40:03) dictionaries 📖
#20 (01:47:20) indexing 📑
#21 (01:53:23) functions 📞
#22 (02:02:03) return statement 🔙
#23 (02:04:51) keyword arguments 🔑
#24 (02:07:09) nested function calls 🖇
#25 (02:09:40) variable scope 🔬
#26 (02:13:23) *args 📦
#27 (02:16:58) **kwargs 🎁
#28 (02:21:17) string format 💬
#29 (02:33:22) random numbers 🎲
#30 (02:36:43) exception handling ⚠️
#31 (02:43:40) file detection 📁
#32 (02:47:28) read a file 🔍
#33 (02:51:00) write a file 📝
#34 (02:53:45) copy a file 🖨
#35 (02:57:05) move a file 🗃
#36 (03:01:20) delete a file 🗑
#37 (03:06:15) modules 💌
#38 (03:10:26) rock, paper, scissors game 🗿
#39 (03:18:32) quiz game 💯
#40 (03:35:45) Object Oriented Programming (OOP) 🐍
#41 (03:45:06) class variables 🚗
#42 (03:48:54) inheritance 👪
#43 (03:55:30) multilevel inheritance 👴
#44 (03:58:32) multiple inheritance 👨👩👧👦
#45 (04:01:49) method overriding 🙅
#46 (04:04:14) method chaining ⛓
#47 (04:08:08) super function 🦸
#48 (04:12:09) abstract classes 👻
#49 (04:19:12) objects as arguments 🏍
#50 (04:23:20) duck typing 🦆
#51 (04:27:38) walrus operator 🦦
#52 (04:31:45) functions to variables 📛
#53 (04:35:21) higher order functions 👑
#54 (04:41:06) lambda λ
#55 (04:45:44) sort 🗄
#56 (04:53:22) map 🗺
#57 (04:57:17) filter 🍺
#58 (05:00:10) reduce ♻️
#59 (05:04:54) list comprehensions 📰
#60 (05:10:54) dictionary comprehensions 🕮
#61 (05:18:59) zip function 🤐
#62 (05:23:41) if name == 'main' ❓
#63 (05:29:21) time module ⌚️
#64 (05:39:58) threading 🧵
#65 (05:53:31) daemon threads 😈
#66 (05:58:19) multiprocessing ⚡️
#67 (06:07:15) GUI windows 🖼
#68 (06:14:38) labels 🏷
#69 (06:24:24) buttons 🛎
#70 (06:30:44) entrybox ⌨️
#71 (06:40:15) checkbox ✔️
#72 (06:49:08) radio buttons 🔘
#73 (07:00:47) scale 🌡
#74 (07:10:24) listbox 📋
#75 (07:24:41) messagebox 💭
#76 (07:37:17) colorchooser 🎨
#77 (07:43:10) text area 📒
#78 (07:48:38) open a file (file dialog) 📁
#79 (07:55:33) save a file (file dialog) 💾
#80 (08:05:17) menubar 🧾
#81 (08:15:23) frames ⚰️
#82 (08:21:30) new windows 🗔
#83 (08:25:32) window tabs 📑
#84 (08:30:52) grid 🏢
#85 (08:39:52) progress bar 📊
#86 (08:49:48) canvas 🖍
#87 (09:01:18) keyboard events ⌨️
#88 (09:05:54) mouse events 🖱
#89 (09:11:00) drag & drop 👈
#90 (09:18:18) move images w/ keys 🏎
#91 (09:29:13) animations 🛸
#92 (09:41:31) multiple animations 🎞
#93 (09:53:04) clock program 🕒
#94 (10:01:03) send an email 📧
#95 (10:07:37) run with command prompt 👨💻
#96 (10:09:53) pip 🏗
#97 (10:13:30) py to exe 🏃
#98 (10:17:13) calculator program 🖩
#99 (10:31:38) text editor program ✏️
100 (11:05:51) tic tac toe game ⭕️
101 (11:26:25) snake game 🐍
🔗 Course link
5 725
To find the decimal value of 1111, that is 15, we can use the function:
5 725
What will be the output of the following Python expression?
int(1011)?
5 725
What will be the value of x in the following Python expression, if the result of that expression is 2?
x>>2
5 725
COMMON TERMINOLOGIES IN PYTHON - PART 1
Have you ever gotten into a discussion with a programmer before? Did you find some of the Terminologies mentioned strange or you didn't fully understand them?
In this series, we would be looking at the common Terminologies in python.
It is important to know these Terminologies to be able to professionally/properly explain your codes to people and/or to be able to understand what people say in an instant when these codes are mentioned. Below are a few:
IDLE (Integrated Development and Learning Environment) - this is an environment that allows you to easily write Python code. IDLE can be used to execute a single statements and create, modify, and execute Python scripts.
Python Shell - This is the interactive environment that allows you to type in python code and execute them immediately
System Python - This is the version of python that comes with your operating system
Prompt - usually represented by the symbol ">>>" and it simply means that python is waiting for you to give it some instructions
REPL (Read-Evaluate-Print-Loop) - this refers to the sequence of events in your interactive window in form of a loop (python reads the code inputted>the code is evaluated>output is printed)
Argument - this is a value that is passed to a function when called eg print("Hello World")... "Hello World" is the argument that is being passed.
Function - this is a code that takes some input, known as arguments, processes that input and produces an output called a return value. E.g print("Hello World")... print is the function
Return Value - this is the value that a function returns to the calling script or function when it completes its task (in other words, Output). E.g.
>>> print("Hello World")
Hello World
Where Hello World is your return value.
Note: A return value can be any of these variable types: handle, integer, object, or string
Script - This is a file where you store your python code in a text file and execute all of the code with a single command
Script files - this is a file containing a group of python scripts
5 725
What will be the output of the following Python expression?
bin(29)
5 725
What will be the output of the following Python code snippet if x=1?
x<<2
5 725
✅ Install Python IDE [Pycharm IDE]
PyCharm is a cross-platform editor developed by JetBrains. Pycharm provides all the tools you need for productive Python development.
Below are the detailed steps for installing Python and PyCharm
How to Install Python IDE
Below is a step by step process on how to download and install Python on Windows:
Step 1) To download and install Python, visit the official website of Python https://www.python.org/downloads/ and choose your version. We have chosen Python version 3.6.3
Step 2) Once the download is completed, run the .exe file to install Python. Now click on Install Now.
Step 3) You can see Python installing at this point.
Step 4) When it finishes, you can see a screen that says the Setup was successful. Now click on “Close”.
🔗 Read Online
#Python #IDE
➖➖➖➖➖➖➖➖➖➖➖➖➖
Join @python_bds for more cool data science materials.
*This channel belongs to @bigdataspecialist group
5 725
What will be the value of the following Python expression?
4+2**5//10
