Mike Driscoll (@driscollis) 's Twitter Profile
Mike Driscoll

@driscollis

I tweet about everything #Python

Writing about Python @mousevspython @realpython

Teaching at @TeachMePy

Author of multiple books - amzn.to/3xnMUGj

ID: 19067150

linkhttps://www.blog.pythonlibrary.org/ calendar_today16-01-2009 13:57:49

40,40K Tweet

120,120K Followers

1,1K Following

Mike Driscoll (@driscollis) 's Twitter Profile Photo

#Python Pop Quiz πŸβ“ What is the output of the following code? A) builtins.TypeError: range expected at most 2 arguments, got 3 B) [25, 26, 29, 30, 31, 32, 33, 34] C) [25, 27, 29, 31, 33, 35] D) [25, 27, 29, 31, 33]

#Python Pop Quiz πŸβ“

What is the output of the following code?

A) builtins.TypeError: range expected at most 2 arguments, got 3
B) [25, 26, 29, 30, 31, 32, 33, 34]
C) [25, 27, 29, 31, 33, 35]
D) [25, 27, 29, 31, 33]
Akshay πŸš€ (@akshay_pachaar) 's Twitter Profile Photo

Deploy a super resolution image API in minutes! Ever wanted to turn low-res images into high-res masterpieces? Now you can, with just a few lines of Python. Aura SR is an open-source image-to-image model by fal. It works amazingly well, extrapolating features to generate

Deploy a super resolution image API in minutes!

Ever wanted to turn low-res images into high-res masterpieces? Now you can, with just a few lines of Python.

Aura SR is an open-source image-to-image model by <a href="/FAL/">fal</a>. It works amazingly well, extrapolating features to generate
Mike Driscoll (@driscollis) 's Twitter Profile Photo

Have you ever tried out #Python's chained comparison? It has limited use cases, but it can be really handy and make your code even nicer!

Have you ever tried out #Python's chained comparison?

It has limited use cases, but it can be really handy and make your code even nicer!
Mike Driscoll (@driscollis) 's Twitter Profile Photo

#Python Pop Quiz πŸβ“ Which value will no longer return True if you set both variables to that value in the REPL? A) 10 B) 200 C) 256 D) 257

#Python Pop Quiz πŸβ“

Which value will no longer return True if you set both variables to that value in the REPL?

A) 10
B) 200
C) 256
D) 257
Sebastian Raschka (@rasbt) 's Twitter Profile Photo

Today is the day! πŸŽ‰ After 1.5 years of hard work, "Build A Large Language Model (From Scratch)" is finally out! Print or ebook copies are available on Manning’s site: mng.bz/M96o πŸ“š. And it's also available on Amazon soon: amazon.com/Build-Large-La… πŸ“¦.

Today is the day! πŸŽ‰ After 1.5 years of hard work, "Build A Large Language Model (From Scratch)" is finally out!
Print or ebook copies are available on Manning’s site: mng.bz/M96o πŸ“š. 
And it's also available on Amazon soon: amazon.com/Build-Large-La… πŸ“¦.
Santiago (@svpino) 's Twitter Profile Photo

Software engineers make great machine learning engineers. A popular advice is to tell people to learn math if they want to succeed with machine learning. I'd say you'll be better off focusing on software engineering.

Mike Driscoll (@driscollis) 's Twitter Profile Photo

#Python Pop Quiz πŸβ“ What is the output of this REPL session? A) ["Python", "Garter", "Anaconda"] B) ["Python", "Garter", "Anaconda", "Boa"] C) builtins.NameError: name 'snakes' is not defined D) ['Python', 'Garter', 'Anaconda', 'B', 'o', 'a'] E) UnboundLocalError

#Python Pop Quiz πŸβ“

What is the output of this REPL session?

A) ["Python", "Garter", "Anaconda"]
B) ["Python", "Garter", "Anaconda", "Boa"]
C) builtins.NameError: name 'snakes' is not defined
D) ['Python', 'Garter', 'Anaconda', 'B', 'o', 'a']
E) UnboundLocalError
Santiago (@svpino) 's Twitter Profile Photo

Python is all you need. No other language will give you a better bang for your buck. No other language will let you do more. Today, you can build AI and data applications using Python alone! Take a look at Taipy, an open-source Python library to build end-to-end production

Mike Driscoll (@driscollis) 's Twitter Profile Photo

Did you know #Python 🐍 has support for reading emails via the POP protocol built-in to the standard library? Check it out:

Did you know #Python 🐍 has support for reading emails via the POP protocol built-in to the standard library?

Check it out:
Sebastian Raschka (@rasbt) 's Twitter Profile Photo

I’m happy to confirm that the physical copies have started shipping. Happy weekend, everyone! P.S. I’ll be at the PyTorch Conf next week & would love to meet, chat, and maybe sign a book copy! 😊 (I’ll be joining my colleagues at the Lightning AI booth before & after my talk.)

I’m happy to confirm that the physical copies have started shipping. Happy weekend, everyone!

P.S. I’ll be at the PyTorch Conf next week &amp; would love to meet, chat, and maybe sign a book copy! 😊 (I’ll be joining my colleagues at the Lightning AI booth before &amp; after my talk.)
Mike Driscoll (@driscollis) 's Twitter Profile Photo

#Python Pop Quiz πŸβ“ What is the output of the following code? A) Nothing. An exception is raised B) [] C) [1, 2, 3, 4] D) None of the above

#Python Pop Quiz πŸβ“

What is the output of the following code?

A) Nothing. An exception is raised
B) []
C) [1, 2, 3, 4]
D) None of the above
Mike Driscoll (@driscollis) 's Twitter Profile Photo

Having trouble with #Python imports? One of the first places to look is `sys.path` That is a list of locations where Python will look for your modules and packages. In general, Python searches each path and grabs the first match it finds.

Having trouble with #Python imports? One of the first places to look is `sys.path`

That is a list of locations where Python will look for your modules and packages. In general, Python searches each path and grabs the first match it finds.