Best online resource to learn Python? [closed]

I am new to any scripting language. But, Still I worked on scripting a bit like tailoring other scripts to work for my purpose. For me, What is the best online resource to learn Python?

[Response Summary:]

Some Online Resources: - Beginners - Intermediate - Expert Skills - collection of all knowledge

Some more:

A Byte of Python.

Python 2.5 Quick Reference

Python Side bar

A Nice blog for beginners

Think Python: An Introduction to Software Design

Asked by: Cherry807 | Posted: 01-10-2021

Answer 1

If you need to learn python from scratch - you can start here: - good begginers guide

If you need to extend your knowledge - continue here - good intermediate level book

If you need perfect skills - complete this - outstanding and interesting challenge

And the perfect source of knowledge is - collection of all knowledge

Answered by: Chelsea363 | Posted: 02-11-2021

Answer 2

If you're a beginner, try my book A Byte of Python.

If you're already experienced in programming, try Dive Into Python.

Answered by: Roman303 | Posted: 02-11-2021

Answer 3

I think Python Challenge is great.

It's not about learning Python (syntax) but presents you small and fun riddles. Solving the riddles is based on Python but you can use whatever fits (your calculator, bash scripts, Perl...). After you solved one, you get to see how others have solved it and can discuss the pros & cons of the different ways.

Very nice to get a feel for how things could be done (smart) in Python. This site works especially well if you know a bit about other scripting languages or the commandline, etc.

Answered by: Lucas631 | Posted: 02-11-2021

Answer 4

The tutorial at Python's homepage is a good place to start. Also, there are some screencasts here.

Answered by: Rafael296 | Posted: 02-11-2021

Answer 5

These are unvaluable online reference tools:

Other online resources for beginners:

Answered by: Nicole480 | Posted: 02-11-2021

Answer 6

Think Python: An Introduction to Software Design

Answered by: Oliver874 | Posted: 02-11-2021

Answer 7

The Python tutorial is actually pretty good.

There's also a video series on showmedo about python.

Between those two resources, you should have more than enough to learn the basics!

Answered by: Alford540 | Posted: 02-11-2021

Answer 8

You can look at Building Skills in Python, also. It presumes some level of experience in programming.

If you're really new, try Building Skills in Programming. It includes a lot of background and fundamentals.

Answered by: Alissa427 | Posted: 02-11-2021

Answer 9

Google's Python Class

Welcome to Google's Python Class -- this is a free class for people with a little bit of programming experience who want to learn Python. The class includes written materials, lecture videos, and lots of code exercises to practice Python coding. These materials are used within Google to introduce Python to people who have just a little programming experience. The first exercises work on basic Python concepts like strings and lists, building up to the later exercises which are full programs dealing with text files, processes, and http connections. The class is geared for people who have a little bit of programming experience in some language, enough to know what a "variable" or "if statement" is. Beyond that, you do not need to be an expert programmer to use this material.

Answered by: Julian384 | Posted: 02-11-2021

Answer 10

There are some screencasts on

Answered by: Kellan441 | Posted: 02-11-2021

Answer 11

I learned from the Python Tutorial!

Answered by: Charlie238 | Posted: 02-11-2021

Answer 12

+1 for Dive Into Python

Answered by: Kimberly440 | Posted: 02-11-2021

Answer 13

The python manual

Its a bit long winded sometimes but it tells you all you need to know to get going.

Answered by: Jack538 | Posted: 02-11-2021

Answer 14

PLEAC , has a Python Cookbook , which is very helpful .

Answered by: Blake892 | Posted: 02-11-2021

Answer 15

Learn Python in 10 minutes

Answered by: Emily761 | Posted: 02-11-2021

Answer 16

The Cookbook is absolutely essestial if you want to know idiomatic python.

Answered by: Fenton316 | Posted: 02-11-2021

Answer 17

I consider ActiveState's Python community to be a great resource. Also DZone Snippets can be useful.

Answered by: Brianna625 | Posted: 02-11-2021

Answer 18

I first ran across Software Carpentry looking at lists of python tutorials.. but its a lot more than a tutorial on python. turns out what I really learned was how to use subversion, and that none of my projects are better suited to python than to perl... yet.

Answered by: Melissa419 | Posted: 02-11-2021

Answer 19

Also consider [Hands-On Python]( on/). It is used as a primary text for Computer Science 150 at Loyola University. It is concise intro to Python while emphasizing good programming style and design.

Answered by: Jack456 | Posted: 02-11-2021

Answer 20

The Hazel Tree

Answered by: Sophia912 | Posted: 02-11-2021

Answer 21

Python Cookbook is very useful.

Answered by: Chester900 | Posted: 02-11-2021

Similar questions

java - run out of system resource (execute many programs in a shell script)

I'm running a shell script on the university's server. In this shell script, I will execute java, c, c++, python and perl programs. Because every program will be executed many many times(I'm a teaching assistant and will test the students' programs with many different inputs). The server always gives me an error: "running out of system resource". I guess this is due to I do not release the resource. I heard that r...

python - Release resource being held by another process

In SimPy, if I've process a, b and resource r and do: yield request, self, r #request done in process a How can I release the resource from process b? yield release, a, r #release done in b (being a an instance of class a), doesn't work I've also tried: r.activeQ.remove(a) And it actu...

What's a good resource to build my first python project?

I'm tired of books and tutorials who walk me through how to print things before I can do anything fun. I want to build simple apps or programs. Any suggestions for where to start so I can make and learn at the same time?

python - How to test twisted web resource with trial?

I'm developing a twisted.web server - it consists of some resources that apart from rendering stuff use adbapi to fetch some data and write some data to postgresql database. I'm trying to figoure out how to write a trial unittest that would test resource rendering without using net (in other words: that would initialize a resource, produce it a dummy request etc.). Lets assume the View resource is a simple leaf th...

python - How can I control access to a shared resource when using mod_wsgi?

In mod_wsgi, web requests may be handled by python interpreters in different processes. I have a shared resource to which access needs to be synchronized. (This resource is not a database.) Python's multiprocessing has lots of good synchronization primitives, but all seem to rely on the primitives being shared at spawn time. Since the processes are being created by mod_wsgi, I have no control over their spawning.

python - Embed Strings as a Resource

I'm writing a DLL, and I would like to, post-compilation, add some strings to it as an embedded resource. To do that, I'm using a Python script that looks similar to the following: hRes = win32api.BeginUpdateResource(myFile, 0) win32api.UpdateResource(hRes, win32con.RT_STRING, 409, buf, 1033) win32api.EndUpdateResource(hRes, 0) And that appears to work, I can see the strings in the...

image - How to keep static resource in memory in python web app?

I implemented a python web app, which generates images dynamically using small pieces of images. Each time when user visit the page, a script runs and all small images are loaded from disc to generate big image. I think loading small images from disc is quite a big overhead. Is it possible to load all small images once, and all other python scripts can use it freely whenever called?

linux - Python resource module not work

(forgive my poor English, I am not native) I tried Python resource module to limit child process. It seems that setting RLIMIT_CPU can successfully limit the amount of cputime, but others like RLIMIT_RSS didn't work at all. For example, I use following script to call, and set RSS limit to (1024, 1024): import os import sys import resource import subprocess def setlimits(): ...

mongodb - Writing huge Mongo result set to disk w/ Python in a resource friendly way

There is a Mongo collection with >5 Million items. I need to get a "representation" (held in a variable, or put into a file on disk, anything at this point) of a single attribute of all of the 'documents'. My query is something like this: cursor = db.collection.find({"conditional_field": {"subfield": True}}, {"field_i_want": True}) My first, silly, attempt was to Pickle 'cursor',...

python - Resource limits on Windows?

What are the Windows equivalents to the resource limit mechanisms exposed on Unix systems by Python's resource module, and POSIX setrlimit? Specifically, I'm limiting processor time for a child process to several seconds. If it hasn't completed within the constraint, it's terminate...

Still can't find your answer? Check out these communities...

PySlackers | Full Stack Python | NHS Python | Pythonist Cafe | Hacker Earth | Discord Python