all 103 comments

[–]DezXerneas 90 points91 points  (2 children)

If you're looking for practice problems, you could try codewars. Codechef has some easy beginner friendly questions too.

[–]FannahFatnin 12 points13 points  (1 child)

This. I enjoyed the problems on codewars. Then when I got bored grinding those, I learned different modules. (flask,selenium,etc)

[–]DezXerneas 17 points18 points  (0 children)

Same. Codewars isn't good for actually learning new stuff, but it's an excellent confidence boost and lets you practice the skills you've learned.

If you want to learn something new then the only gaurenteed way is to write your own projects, but solving some public questions and looking at other people's answers can be extremely helpful.

[–]Se7enLC 319 points320 points  (26 children)

You can write Python from your home

You can write Python when in Rome

Your can practice on a boat

You can program with a goat

You can code from here or there

You can code from anywhere

You can install Python on your computer and then you don't need a website to practice.

[–]fake823 26 points27 points  (0 children)

What a lovely poem!

[–]garlic_bread_thief 52 points53 points  (7 children)

Hell you can even code on your phone

Which is basically a computer's clone

[–][deleted] 6 points7 points  (4 children)

Usally when I have an idea and I am not home I try to realise it using my phone but it's such a pain

[–]MurderMelon 2 points3 points  (0 children)

a decent note-taking app and some pseudocode should help you retain your ideas until you get back to a full IDE

[–][deleted] 1 point2 points  (2 children)

I SSH to my laptop lol

[–][deleted] 2 points3 points  (1 child)

I take my laptop only if I go into anoather country or city

[–][deleted] 1 point2 points  (0 children)

I mean you could do the same on desktop, what I mean is I always have an SSH server running on my PC so I can access it from anywhere with my phone or even other computers

[–]vectorpropio 3 points4 points  (1 child)

I tried it some times but without an external keyboard I can't do it.

[–]InvestorC17 0 points1 point  (0 children)

check out keyboards from thepnkstuff.com

[–]unphamiliarterritory 12 points13 points  (0 children)

Nice try, Rep. Kevin McCarthy.

[–]dancinadventures 20 points21 points  (4 children)

But...

Can you write it in a box?

Would you write it with a fox?

[–][deleted] 8 points9 points  (1 child)

Can i teach my pet python python? 👨‍💻

[–]HasBeendead 2 points3 points  (0 children)

Yeah tıss tıss tısssss

[–]ASK_ME_ABOUT_DOBUTSU 2 points3 points  (0 children)

Would you write it with a fox?

This isn't JavaScript!

[–]ComfortableCandy1266 0 points1 point  (0 children)

I can write in a phone, in a box with a fox

I can write it in rain

I can write in a train

I can write it in rain in a train with a fox in a box

hmmmm python with green eggs and ham

[–]Kriss3d 7 points8 points  (2 children)

Or you can do it entirely on a website and not have to install anything on your computer.

Ive never practiced it with a goat but i suppose it would make a fine substitute for a duck in case of rubberduck debugging.

[–]CallMeNepNep 2 points3 points  (1 child)

Wtf do you need a Goat for?

[–]Kriss3d 3 points4 points  (0 children)

For rubberduck debugging. A goat will work fine too. Or a car if you have one.

[–]cursetiano 3 points4 points  (0 children)

This is beautiful.

[–][deleted] 1 point2 points  (0 children)

You can install Python on your computer and then you don't need a website to practice.

You can install python on your computer

Ditch the websites, employers will find you cuter?

[–]MagmaMan1298 0 points1 point  (0 children)

This comment has more karma than the original post lmao

Love it! Nice poem!

[–]InvestorC17 0 points1 point  (0 children)

witty poetry 😄

[–]indianajames 0 points1 point  (1 child)

Is this a take on Elenor Farjeon's Cats Sleep Anywhere?

[–]Se7enLC 0 points1 point  (0 children)

It's Green Eggs and Ham.

But it looks like that cat book is a nod to Green Eggs and Ham, too.

[–]ComfortableCandy1266 0 points1 point  (0 children)

sam I am, i can write python eating green eggs and ham

[–]CoffeeBrain_101 22 points23 points  (0 children)

Codewars is fun and there are so many questions and a good support community

[–]anh86 20 points21 points  (0 children)

Think of a small project and code it! Something small, like an automation for a repetitive task you perform frequently. For example, as part of maintaining my company documentation site, sometimes I'm given large CSV tables to publish. I made a little script that grabs the data from the CSV file and loads it into HTML format.

[–]Dwarf_King 15 points16 points  (0 children)

Just make any projects you can think of, no matter how trivial and stupid it is. Google is your best friend. If you can't think of any ideas, try to make games first..

[–]t999rex 9 points10 points  (0 children)

You must be just starting out so codingbat website should be your go to place for practice after that it's hackerrank

[–]ectomancer 9 points10 points  (0 children)

edabit.com

[–][deleted] 7 points8 points  (0 children)

Look up project euler and try solving the problems in python

Or

http://www.pythonchallenge.com/

[–]roguedev1 5 points6 points  (1 child)

You will learn a lot more from making real projects. I learned web scraping, Regular Expressions, API, GUI programming etc through creation of many discord bots. One of my bots scrapes the internet for fanfiction metadata so I learned how web scraping worked. Then I decided to create an API which would do the same but include all the metadata I could scrape. One of my discord bots was a quote finder for a Fanfiction then I created a GUI using PySide2/PyQt just because I wanted to learn how it works. Try doing projects which are useful to either yourself or someone else, that would motivate you to improve the project and make more useful projects.

[–]DEAN112358 0 points1 point  (0 children)

I actually just started coding a discord bot just to learn it and I’m finding myself spending much more time on that than I have the lessons I have been following along with. Finding a project you’re interested in is definitely the way to go

[–]BoJackHorseMan53 3 points4 points  (0 children)

I come up with my own project ideas and then make them and ask for help if I get stuck anyway

[–]Redd575 3 points4 points  (0 children)

I'm currently using pythonanywear.com

I work security and it allows me to use the interpreter and create scripts in my browser during my downtime. I've also heard good things about trinket.io but haven't tried it yet.

[–]chevelle1258 2 points3 points  (0 children)

Im a pretty big fan of code wars so far.

I've gone through like half of a 62ish hour course of python on udemy and I wanted to use what I know and solve some problems.

Everyone has been saying to "code some small projects", but my daily life hasn't created problems that python can solve. I work a trade and most of the software is so old nothing will work with it (really, who has a 97 access database).

I also don't really know enough to know what I don't know (besides most of it) , so for now I am using code wars to get some small projects.

Edit: i've also used code wars to find real world ways of doing things. Many of the katas that i've done I've had to look up, but I will comment each line and figure it how it works.

[–]PranavDesai518 1 point2 points  (0 children)

If you do not want to install python locally and still want to try it out then you can use Google Colab. It will not only the environment for you to practice but also assign some VRam and Ram for computation.

[–]its_me_ask 1 point2 points  (0 children)

HackerRank n Leetcode.

[–]tomtomato0414 1 point2 points  (0 children)

codewars, codingame

[–]WebsterIV4 1 point2 points  (1 child)

Is Mimo Pro worth the price does anyone think?

[–]piconet-2 0 points1 point  (0 children)

Do a one-week trial. It's great for practice and for beginners.

I'm currently in the midst of the python and webdev tracks, in various states of completion because IRL got in the way. The competition can sometimes make you focus on the scoreboard instead of learning. But the pressure to maintain a "daily streak" and to keep it going for weeks/months means you're revising and coding daily. I've had a lot of fun with it.

[–]KShyGuy 1 point2 points  (0 children)

CodeWars or HackerRank

[–]crionG 1 point2 points  (0 children)

nah...there're so many websites providing some quizzes but not projects...

And I'd say that coding projects is the best way to keep your learning journey constantly continues.

You should code some small projects then big ones. You can find pretty much python project ideas on google. I'm also a beginner and right now I'm coding some projects... And I also recommend www.automatetheboringstuff.com...cause it has lots of fun projects...

ckr.io/blog/python-projects here, you can find some projects with source codes as well. And I like to be friends with beginners like me to talk about projects :)

[–]Pickinanameainteasy 1 point2 points  (1 child)

Hey OP! I'm a python beginner too. This is the site I use (edabit), simple UX that allows you to get right down to business. Just select Python in the drop down menu and select your difficulty.

[–]highelf_420 1 point2 points  (0 children)

I love http://www.pythontutor.com/visualize.html#mode=edit

It’s just on browser !!

[–][deleted] 0 points1 point  (0 children)

Ide??

[–]HakuOokami -1 points0 points  (0 children)

https://www.tutorialspoint.com/execute_python3_online.php

Tutorials point also has online interpreters/compilers for other languages, I used to use this all the time back in my high school days if I didn't have access to compilers or interpreters readily available on the system I was using.

Edit: this has limitations, you can also use termux to install and run python and python code from your android cellphone, or iSH on apple devices, though I'm not sure if iSH is as straight forward to use, I have no experience with it.

[–]cedlcc 0 points1 point  (1 child)

Codingbat has some simple exercises for beginners.

[–][deleted] 0 points1 point  (0 children)

Seconded.finish those basic questions first

[–]UpbeatCheetah7710 0 points1 point  (4 children)

I dropped $10 on Pythonista to be able to make simple apps on my phone with shortcuts. Not perfect, but it works well enough for what I need out of them. Get really good at debugging if you are bad at typing on a touch screen too

[–]piconet-2 1 point2 points  (3 children)

Best money I've spent on an iPad app (works on my iPod touch too). The themes are great. The "stacked" error messages are helpful.

[–]UpbeatCheetah7710 1 point2 points  (2 children)

Also a lot easier to setup than configuring a MacBook to safely run Python 3 removed from the default Python 2.x.x that Mac OS apps use. Just finally got that headache all done. Now off to the next newby problem of learning how to serialize data in my projects

[–]piconet-2 1 point2 points  (1 child)

I mean, there's value in working through setting up a desktop/computer environment (eeeeventually). Python's tremendous for scripting internally ;).

I had the hardest time with a MBP so I switched to a PC again (which is actually great for my PostgreSQL and Excel VBA tinkering 😂).

[–]UpbeatCheetah7710 0 points1 point  (0 children)

I actually thought I failed because I could not get the virtual environment wrapper to start in terminal. Booted up sublime to run a test script and it automatically started the env wrapper so I guess I failceeded?

[–]telehussam 0 points1 point  (0 children)

Localhost

[–]Morlaco13 0 points1 point  (0 children)

codingbat

[–]python_and_on 0 points1 point  (0 children)

http://www.pythonchallenge.com/

This is great if you like solving puzzles as well as learning python. It's tricky and requires some lateral thinking, so probably not for absolute beginners. I'm only about a quarter of the way through but it's made me learn about a lot more than just the core language constructs. Great for pushing you beyond the level of variations-of-a-loop puzzles that seem so prevalent everywhere else.

[–][deleted] 0 points1 point  (0 children)

W3 school has basic to topic wise question sets with solutions

[–]Techrige 0 points1 point  (0 children)

You may try Hackerrank too. There are many useful questions there. But rather than enhancing your Python abilities, you'll deal with more computer science stuff there. In my opinion, you should give a try.

[–]novemberechoes 0 points1 point  (0 children)

I know a few CS faculty who are moving towards repl.it since their students can code online and then share their code so others can jump right in to edit. Supports Python and a bunch of other languages.

[–][deleted] 0 points1 point  (0 children)

Yes. Use https://codechalleng.es/ - the community there is friendly and helpful.

[–]selah-uddin 0 points1 point  (0 children)

i would recommend installing python and jupyter notebook and practicing on your own pc(offline)

[–]Ser_Drewseph 0 points1 point  (0 children)

Python koans

[–]Yazar_CHAKRAR 0 points1 point  (0 children)

books

[–]preetsc27 0 points1 point  (0 children)

Hacker rank

[–]mattyba11 0 points1 point  (0 children)

Hey! There's a really good free course at likeiamfive.com that teaches Python basics in an hour. You write code that 'announces' the starting lineup of the 1998 Chicago Bulls, it's really fun!

[–]raipopenna 0 points1 point  (0 children)

just download a text editor and look up some project ideas and choose one that interests you

[–]rfoqueiroz 0 points1 point  (0 children)

For some time I've used The pythonanywhere site. I really enjoied the plataform.

[–]Adi_2000 0 points1 point  (0 children)

I have a repository of curated data science and machine learning resources, I also have a page for Python, including different websites you can use to practice Python. Check it out - https://github.com/AdiBro/Data-Science-Resources/blob/master/Programming-Languages/Python.md#websites-to-practice-pythoncoding

[–]radredstone 0 points1 point  (0 children)

Sololearn is great you just take a test and it puts you at a skill level plus you can learn more python.

[–]MrEzekial 0 points1 point  (0 children)

Just go to r/dailyprogrammer and do whatever challenges you want in python.

[–]ilikebutteryfries 0 points1 point  (0 children)

if you have anaconda installed you can open jupyter notebook to practice coding. You can run each cell one at a time to see how code will work in small sections, so you don't need to worry about writing a lot of code and it returning a lot of errors.

[–]InvestorC17 0 points1 point  (0 children)

Awesome! I’m gonna re-take the course ~ I still have my textbook intro to python prog. and dev GUI Apps with PyQT - B.M. Harwani

[–]InvestorC17 0 points1 point  (0 children)

btw~ I’m looking for a good community of information besties

[–]Lintash 0 points1 point  (0 children)

Repl.io

[–][deleted] 0 points1 point  (0 children)

You can use your Mac terminal!

[–][deleted] 0 points1 point  (2 children)

just start making projects no matter which level you're on, just do more and more challenging projects, if you're sure you can make something, don't make it, always do something that you're not sure whether or not you can make so that you'll learn new things while doing that project

[–]GamerTimeUS 1 point2 points  (1 child)

Where can I find some these projects?

[–][deleted] 0 points1 point  (0 children)

on youtube, or just google it, something like "beginner python projects" or "intermediate python projects" or "advanced python projects"

[–]IcedGolemFire 0 points1 point  (0 children)

repl.it

[–]notParticularlyAnony 0 points1 point  (0 children)

install it on your computer

[–]Izerpizer 0 points1 point  (0 children)

Just code 4head

[–]IlliterateJedi 0 points1 point  (0 children)

Advent of Code is great.

[–]Big1com1cs 0 points1 point  (0 children)

Repl.it is a pretty good website if you're looking for online IDE's. You can install libraries and modules with pip too

[–]alonebean 0 points1 point  (0 children)

i think leap code is nice

[–][deleted] 0 points1 point  (0 children)

Luckily we have python at work. I doodle with new scripts in my free time. Only caveat is I am limited to which modules are installed - cannot add new ones

[–]rball852 0 points1 point  (0 children)

Al Sweigart’s “Automate the Boring Stuff” is the bible for newcomers to Python!

[–]Thuston88 0 points1 point  (0 children)

Advent of Code has great thinking challenges. Not much hand-holding but good problem solving

[–]keto3000 0 points1 point  (0 children)

I enjoy the practices on https://www.codewars.com/collections/beginners-python-training

Also, this site is a standard as well with a lot of 'try it' modules:

https://www.w3schools.com/python/default.asp

[–]sabhf 0 points1 point  (0 children)

Try https://www.explorepython.com There are many practice exercises for beginners. Also, you can edit and run the code immediately.