Best of PythonMay 2022

  1. 1
    Article
    Avatar of hnHacker News·4y

    Run Python in your HTML

    PyScript is a framework that allows users to create rich Python applications in the browser using HTML’s interface. It aims to give users a first-class programming language that has consistent styling rules, is more expressive, and is easier to learn. PyScript is just HTML, only a bit (okay, maybe a lot) more powerful, thanks to the rich and accessible ecosystem of Python libraries.

  2. 2
    Article
    Avatar of tdsTowards Data Science·4y

    PyScript: Python in the browser

    Anaconda’s CEO Peter Wang announced a shiny new technology called PyScript. It allows users to write Python and in fact many languages in the browser. PyScript makes the power of Python accessible to a far greater audience of front-end developers. The alpha release of PyScript can be found on pyscript.net.

  3. 3
    Article
    Avatar of swyxswyx·4y

    My 2022 New Mac Setup

    I set up my new Macbook Pro (16 inch, 2021 M1 Max 32 GB RAM 1TB HD) today. Here’s everything I use on a Mac. If I update this post in future, these contents will be archived but this URL will remain. Scroll to the bottom for lists and other Mac setup tools from friends!

  4. 4
    Article
    Avatar of devdojoDevDojo·4y

    Create a Discord Bot in Python

    In this tutorial we will develop our own Discord bot using Python. We will first create a basic discord bot that will greet the message sender. Then we will create a Minecraft Bot, that will enable us to do the following. The source code for this bot will be stored in my GitHub repository.

  5. 5
    Article
    Avatar of pointerPointer·4y

    pyscript/pyscript

    PyScript is a Pythonic alternative to Scratch, JSFiddle or other "easy to use" programming frameworks. It integrates with the way the DOM works in the browser and allows users to add logic, in Python, in a way that feels natural to web as well as Python developers.

  6. 6
    Article
    Avatar of quastorQuastor Daily·4y

    How Compilers Work

    Bob Nystrom wrote an amazing book called Crafting Interpreters, where he goes through how language implementations work. We’ll be giving a summary of one of the chapters with some commentary from yours truly. The difference between programming languages and programming language implementations. Front end, middle end and back end of compilers and a breakdown of what each of these 3 parts do.

  7. 7
    Article
    Avatar of dzDZone·4y

    How to Hash, Salt, and Verify Passwords in NodeJS, Python, Golang, and Java

    The aim behind storing passwords securely is that even if the database containing them is compromised, the attacker can’t decipher any user’s actual password. This rules out storing passwords in plain text. Using encryption may seem a good choice since the attacker would not know the actual passwords (because they are encrypted) However, if the encryption keys are compromised, an attacker would be able to decrypt the encrypted passwords - making this method of storage weak.

  8. 8
    Article
    Avatar of logrocketLogRocket·4y

    Node.js vs. Python: How to choose the best technology to develop your backend

    Choosing a backend programming language is never an easy task. Different languages have their pros and cons that you need to consider. Node.js and Python are some of the most popular choices for backend development. Both have very strong package ecosystems and communities and choosing between the two can be difficult.

  9. 9
    Article
    Avatar of inPlainEngHQPython in Plain English·4y

    10 Python Automation Scripts for Your Daily Problems

    Automate Email with Python. The script will let you read and send emails whether it's Outlook, Gmail, or any other mail server. Use this automation script to edit your images programmatically. The automation script uses the Pydub module which is an audio manipulating module. You can extract sounds, merge them, play them, split/cut them, etc.

  10. 10
    Article
    Avatar of hashnodeHashnode·4y

    Automate email sending using Github actions

    Github Actions is a Platform built by Github that gives developers the ability to create workflows to compile, build, test, and deploy code from their Github repository. It allows continuous integration into development by building pipelines to detect errors across all issues, commits, and pull requests and continuous deployment by deploying merged pull requests into production. Let's dive into its usage by automating email sending in Python.

  11. 11
    Article
    Avatar of devblogsDevBlogs·4y

    Python in Visual Studio Code – May 2022 Release

    The May 2022 release of the Python and Jupyter Extensions for Visual Studio Code are now available. The team is working towards breaking the tools support we offer in the Python extension into separate extensions, with the intent of improving performance and stability. With this release we’re introducing three new extensions: Black, isort, and J upyter Powertoys. If you have any issues or feature requests, you can file them at the extension's GitHub repository.

  12. 12
    Article
    Avatar of rpythonReal Python·4y

    Build a URL Shortener With FastAPI and Python – Real Python

    With only a few lines of code, you’ll create a FastAPI app with your first API endpoint. To run your app, you need a server. The framework automatically creates documentation of your API endpoints for you. To enable your user to manage the shortened URL, send along some additional information to the client.

  13. 13
    Article
    Avatar of devdojoDevDojo·4y

    Amazing Python Mini-Projects

    Get Laptop Battery Percentage using Python. Get the system info with Python. Take a Screenshot using Python with ImageGrab. Convert any image to ASCII art with pywhatkit. Get Phone Number Information using phonenumbers. Convert Color Photo to Black using pynput.

  14. 14
    Article
    Avatar of rpythonReal Python·4y

    Top Python Game Engines – Real Python

    Program is designed to demonstrate the capabilities of adventurelib. It will: 6 - Create a large world in which to wander 7 - Contain several inventory items 8 - Set contexts for moving from one area to another. 9 - Require some puzzle-solving skills.