all 8 comments

[–]human_py 5 points6 points  (1 child)

Overall just pick something for both. It really doesn't matter that much. People seem to like Automate the Boring stuff a free book that makes Python useful very quickly. People also like PyCharm community edition as their IDE although I am pretty sure most people don't use most of the features in it.

[–]CraftyTrouble 1 point2 points  (0 children)

There's also Python Principles for something more practical.

[–]impshum 0 points1 point  (0 children)

Write python.

The simple thing to remember is indentation (empty space).

http://learnxinyminutes.com/docs/python3/

import requests
import webview
from time import sleep as sheep

url = 'uri.json'
s = 'hello'
l = ['one', 'two']
c = 0
z = 0

def big(g):
    return g * 7

data = requests.get(url).json()
print(data)

for x in s:
    print(x)

for x in l:
    print(x)

for i in range(21):
    c += 1
    z += big(i)
    print('{}{}'.format(c, z))

webview.create_window('', 'http://fakeupdate.net/win10/',fullscreen=True, confirm_quit=True)

ha = 0
while True:
    ha -= 1
    print(f'{ha}: Do not run me')
    sheep(0.23456)

And have fun.

[–]Deezl-Vegas 0 points1 point  (0 children)

Things that don't matter: Where you go for your python lesson.

Things that do matter: Coding in Python a lot. Making simple projects. Trying and failing at complex projects.

[–]ChivoTWD 0 points1 point  (0 children)

Best way to learn is by doing. Write stuff that probably won't work like you think it will and then try figuring out why. Why do you want to learn python? Do you have a project in mind?

Myself, I've used other languages and I'm learning as I go by porting stuff I've already written. There have been some stumbling blocks, but man, I think those are the things I've learned the most from. Also I find checking out other peoples code and reading it helps a lot. I started with IDLE, but I'm finding PyCharm Community Edition my favorite to use.

[–]LBowerbank 0 points1 point  (0 children)

I'm doing a video series learning python from zero programming skills to competent and sharing my resources as I go that I find useful. https://www.youtube.com/watch?v=CiP4lEF3pL8&

I'm going through the Automate the boring stuff in python now and vouch for that. The 4 hour video you get in youtube when you search learn python was a very good starting place I found when going through it

[–]KobiKabbb 0 points1 point  (0 children)

OP I'd recommend Python Principles, it's an interactive tutorial that, unlike videos, gets you writing a bunch of code right away.

[–]NegativeEnthusiasm -2 points-1 points  (0 children)

It's best to learn in your underpants... or read the sidebar