Python for the Lab
@pftl3
Followers
48
Following
2
Media
0
Statuses
17
Learn all about #Python and how to use it to control your devices in the lab, analyze data, and grow your programming skills
Joined October 2019
It's been a while since our last article, but the new one is full of insights! Learn all about iterators, iterables, and generators in #Python. This is an introductory article, which will allow you to understand others' code and expand your own! https://t.co/hpJfkODRq3
pythonforthelab.com
Learn the difference between different sequences in Python
0
3
1
Creating setup files for your projects is simple and solves a lot of problems when using your code. Not just for others, but also for your own sake. Learn how to get started with your first https://t.co/XlaJQlTWMf file! https://t.co/xnTnr2TfxE
pythonforthelab.com
Create a setup file to ease the use of your libraries
0
3
3
Have you ever asked yourself how can you make code that works using the *with* command? In this article we discuss the advantages of developing code which is *with-aware* https://t.co/uyr7wUorWF
pythonforthelab.com
Using the with command and developing classes that support it
0
2
3
Deep and shallow copies of objects in Python is a very important topic, which is usually overlooked. Check this article to understand how data is handled https://t.co/xRoMODKP1c
0
2
2
In this tutorial we are going to use what we've learned last time to build a user interface for a camera, using #ZMQ and #Python. Multiprocessing at its purest! https://t.co/nVnEY0bfYV
0
2
1
#ZMQ and it's #Python bindings #PyZMQ are an amazing tool for distributing information between processes and programming languages. Check this introduction tutorial! https://t.co/QjkUYfvnFZ
pythonforthelab.com
Introduction to using sockets for communication between different processes
0
1
0
Args, kwargs, ever heard of them? They are very powerful because of their flexibility. But there are also risks in using them without control. https://t.co/KQMESb0hS8
pythonforthelab.com
How to develop functions with a variable number of arguments
0
0
0
Ever heard about #lambda functions? In #Python they have a very special meaning. Check this article to see what they are and how they can help you! https://t.co/VZuGg3ft90
pythonforthelab.com
Anonymous functions are powerful, but they are hard to understand
0
1
0
Last Tuesday we discussed about monkey patching. This time let's see what Duck Typing means and how you can use it in your code https://t.co/W4xonB1m8i
pythonforthelab.com
What duck typing means how can it affect your program architecture
0
2
3
Have you ever heard about Monkey Patching? Check out this tutorial to understand how it works in #Python, use it carefully! https://t.co/mOYC1vSLyh
pythonforthelab.com
Replacing methods and attributes at runtime
0
3
2
More about #threads in #Python. Learn how you can share data and what the risks are when accessing the same variables from different threads. #Locks, #Queues and more! https://t.co/IsyuGG6liK
pythonforthelab.com
Learn how threads in Python can help you develop better code
0
2
2
Ever asked yourself how you can use #threads in #Python to speed up your code, make it more fluid, check progress while a task is running? https://t.co/IsyuGFOKrc
pythonforthelab.com
Learn how threads in Python can help you develop better code
0
2
3
Right out of the press, very complete tutorial on how importing works in #Python. Understand how you can develop better code with these tools! https://t.co/ncqwRayFD5
pythonforthelab.com
How to plan your code so imports are clear and clean
1
4
4
Got to admit that getting a second sweets box from @Thorlabs is the only reason why backorders make me happy.
1
1
3