Posts

Showing posts from July, 2019

Good IDE for python. IDE =useful to understand your code much better than a text editor.

Pycharm is one of the best ide for Python. At beginning you can start with sublime. It has support for Python --- An IDE (Integrated Development Environment ) understand your code much better than a text editor.

Code examples-simple

Is this a valid python statement ? birth_year = input('birth year: ') age = 2019 - birth_year print(age) Ans: no correct is: birth_year = input('birth year: ') age = 2019 - int(birth_year) print(age) ==== Whats the output for: hobby = 'Eat biryani and sleep well' print(hobby.upper()) output: EAT BIRYANI AND SLEEP WELL Note: raw_input is being used in Python 2. In Python 3 creators replaced that with just input. ==== Whats the output: Quiz: hobby = 'Eat biryani and sleep well' print(hobby.replace('sleep well', 'learn python') output: Eat biryani and learn python

Python tutorial video -6 hours of detailed step by step tutorial by Mosh

Youtube video: https://youtu.be/_uQrJ0TkZlc Website of the trainer https://codewithmosh.com/ Table of content 00:00:00 Introduction 00:01:49 Installing Python 00:06:10 Your First Python Program 00:08:11 How Python Code Gets Executed 00:11:24 How Long It Takes To Learn Python 00:13:03 Variables 00:18:21 Receiving Input 00:22:16 Python Cheat Sheet 00:22:46 Type Conversion 00:29:31 Strings 00:37:36 Formatted Strings 00:40:50 String Methods 00:48:33 Arithmetic Operations 00:51:33 Operator Precedence 00:55:04 Math Functions 00:58:17 If Statements 01:06:32 Logical Operators 01:11:25 Comparison Operators 01:16:17 Weight Converter Program 01:20:43 While Loops 01:24:07 Building a Guessing Game 01:30:51 Building the Car Game 01:41:48 For Loops 01:47:46 Nested Loops 01:55:50 Lists 02:01:45 2D Lists 02:05:11 My Complete Python Course 02:06:00 List Methods 02:13:25 Tuples 02:15:34 Unpacking 02:18:21 Dictionaries 02:26:21 Emoji Converter 02:30:31...

Python and GIS

https://www.gislounge.com/python-and-gis-resources/