Viewing newswire

    Filter: Groups - Python (Cancel)

    Search within this group:

      782 entries found:

    ( 1 2 3 4 5 6 ... 40 ) Next »

    Python while Loop

    Loops are one of the fundamental concepts of programming languages. Loops are handy when you want to repeat a specific block of code a number of times until a given condition is met. This tutorial covers the basics of while loops in Python. We'll also show you how to use the else clause and the break and continue statements.

    Python while Loop

    • Linuxize.com; By linuxize (Posted by linuxize on Feb 20, 2020 7:43 PM EDT)
    • Groups: Python
    This tutorial covers the basics of while loops in Python. We'll also show you how to use the else clause and the break and continue statements.

    Introducing our Jinja2 cheat sheet

    • Opensource.com (Posted by bob on Feb 20, 2020 5:40 PM EDT)
    • Groups: Python; Story Type: News Story
    Jinja2 is a templating language for Python. While it got its start on the web for use with the Flask framework, it is popular in many other places. Both Flask and Pelican?use it to template HTML pages, allowing seperation between style and content. read more

    Using Python and GNU Octave to plot data

    Data science is a domain of knowledge that spans programming languages. Some are well-known for solving problems in this space, while others are lesser-known.?This article will?help you become familiar?with doing data science with some popular languages. read more

    Stop Installing Python Packages Globally — Use Virtual Environments

    • medium.com/better-programming; By Erik-Jan van Baaren (Posted by eriky on Feb 19, 2020 7:31 PM EDT)
    • Story Type: Tutorial; Groups: Developer, Python
    With virtual environments, you can isolate your software and avoid version conflicts.. Python virtual environments allow you to install Python packages in an isolated location for a particular application, instead of installing them globally. This articles explores what the advantages are and how you can quickly get started.

    New features for Raspberry Pi, Wireguard in the Linux kernel, NSA Python course and more open source news

    In this edition of our open source news roundup, we take a look at new features for Raspbian, Wireguard and Linux kernel, free Python course from the NSA and more! read more

    Python programming language: Now you can take NSA's free course for beginners

    Developers already have numerous options from the likes of Microsoft and Google for learning how to code in the popular Python programming language. But now budding Python developers can read up on the National Security Agency's own Python training materials.

    PHP Development on Fedora with Eclipse

    Eclipse is a full-featured free and open source IDE developed by the Eclipse Foundation. It has been around since 2001. You can write anything from C/C++ and Java to PHP, Python, HTML, JavaScript, Kotlin, and more in this IDE. Installation The software is available from Fedora’s official repository. To install it, invoke: sudo dnf install […]

    How to Install Python 3.8 on CentOS 8

    • Linuxize.com; By linuxize (Posted by linuxize on Feb 12, 2020 6:42 PM EDT)
    • Groups: Python
    This guide explains how to build Python 3.8 on CentOS 8 from the source code. We’ll also show you how to create a virtual environment.

    Python if..else Statement

    • Linuxize.com; By linuxize (Posted by linuxize on Feb 11, 2020 7:10 AM EDT)
    • Groups: Python
    Decision making is one of the most fundamental concepts of computer programming. Python supports the common flow control statements found in other languages, with some modifications. The if control statement is one of the most basic and well-known statements that is used to execute code based on a certain condition.

    Music composition with Python and Linux

    I met Brendan Becker working in a computer store in 1999. We both enjoyed building custom computers and installing Linux on them. Brendan was always involved in several technology projects at once, ranging from game coding to music composition. Fast-forwarding a few years from the days of computer stores, he went on to write pyDance, an open source implementation of multiple dancing games, and then became the CEO of music and gaming event MAGFest. Sometimes referred to as "Mr. read more

    How key Python projects are maintained

    Jannis Leidel is part of the Jazzband community. Jazzband is a collaborative community that shares the responsibility of maintaining Python-based projects. Jazzband was born out of the stress of maintaining an open source project alone for a longer time. Jannis is a roadie, which means he does administrative tasks and makes sure the people in the band can play when they want. read more

    Gather information from Instagram with python.

    Being a Python coder, I like to experiment with all kinds of open source tools shared on the major platform Github through which coders from the whole world develop projects by collaborating with each other. As an Instagram user, I decided to try some Python applications which can help to interact with it from the command line.

    Indian teen launches Raspberry Pi 4 based STEM kit

    On Kickstarter: a “Sania Box Embedded Computer Kit” for STEM education developed by 13-year old Sania Jain that combines a Raspberry Pi 4 with a kid-friendly, sensor-equipped add-on board and Python coding lessons. Despite continual efforts by the Raspberry Pi Foundation to remind us, it’s easy to forget that the ubiquitous Raspberry Pi was launched […]

    How to Delete Files and Directories in Python

    Python has a few built-in modules that allow you to delete files and directories. This tutorial explains how to delete files and directories using functions from the os, pathlib, and shutil modules.

    3 Methods to Install the Latest Python3 Package on CentOS 6

    2DayGeek: This tutorial shows you about installing Python 3 on Centos 6.

    An open source alternative to Internet Download Manager written in Python, pyIDM

    Most of the computer geeks are familiar with the Internet Download Manager tool. Although it is one of the best among download managers; being a soldier of open source software, I decided to share pyIDM as an alternative for anyone who is passionate about computer programming.

    3 handy command-line internet speed tests

    • Opensource.com (Posted by bob on Jan 25, 2020 3:50 PM EDT)
    • Groups: Python; Story Type: News Story
    Being able to validate your network connection speed puts you in control of your computer. Three open source tools that enable you to check your internet and network speeds at the command line are Speedtest, Fast, and iPerf. Speedtest Speedtest is an old favorite. It's implemented in Python, packaged in Apt, and also available with pip. You can use it as a command-line tool or within a Python script. Install it with: read more

    Install Anaconda Python Distribution On Linux

    This step-by-step tutorial explains how to install Anaconda Python distribution on Linux operating system.

    6 things you should be doing with Emacs

    • Opensource.com (Posted by bob on Jan 23, 2020 6:37 PM EDT)
    • Groups: Python; Story Type: News Story
    Imagine using Python's IDLE interface to edit text. You would be able to load files into memory, edit them, and save changes. But every action you perform would be defined by a Python function. Making a word all capitals, for instance, calls upper(), opening a file calls open, and so on. Everything in your text document is a Python object and can be manipulated accordingly. From the user's perspective, it's the same experience as any text editor. read more

    Tuptime - A CLI Utility To Find Linux System Uptime

    Tuptime, the uptime command's alternative, is a command line utility to find Linux system uptime details.

    How to Install Pip on CentOS 8

    Pip is a package management system that allows you to install, remove, and otherwise manage software packages written in Python. It can be used to install packages from the Python Package Index (PyPI) and other indexes. In this tutorial, we will explain how to install pip for Python 2 and 3 on CentOS 8 and cover the basics of how to manage Python packages with pip.

    Keep a journal of your activities with this Python program

    • Opensource.com (Posted by bob on Jan 18, 2020 6:49 PM EDT)
    • Groups: Python; Story Type: News Story
    Last year, I brought you 19 days of new (to you) productivity tools for 2019. This year, I'm taking a different approach: building an environment that will allow you to be more productive in the new year, using tools you may or may not already be using. read more

    How To Install Selenium and Chrome On Centos 7

    Installing Chrome and Selenium can be quite challenging. This post goes through step by step tutorial to install Selenium and Chrome. I have also put together a small section at the end to cover "most commonly errors" during installation.

    Use this Python script to find bugs in your Overcloud

    • Opensource.com (Posted by bob on Jan 17, 2020 11:45 AM EDT)
    • Groups: Python; Story Type: News Story
    OpenStack stores and manages a bunch of log files on its Overcloud nodes and Undercloud host. Therefore, it's not easy to use OSP log files to investigate a problem you're having, especially when you don't even know what could have caused the problem. read more

    setV: A Bash function to maintain Python virtual environments

    • Opensource.com (Posted by bob on Jan 14, 2020 11:23 AM EDT)
    • Groups: Python; Story Type: News Story
    For more than a year, setV has been hidden away within my bash_scripts project, but it's time for it to become public. setV is a Bash function I use as an alternative to virtualenvwrapper. It provides basic features that enable you to do things such as: read more

    How to Install OpenCV on Debian 10

    OpenCV (Open Source Computer Vision Library) is an open-source computer vision library and has bindings for C++, Python, and Java. It is used for a vast range of applications, including medical image analysis, stitching street view images, surveillance video, detecting and recognizing faces, tracking moving objects, extracting 3D models, and much more.

    Most Frequently Asked Questions Python Pandas Part1

    • nbshare.io; By abhiphull (Posted by abhiphull on Jan 13, 2020 5:25 AM EDT)
    • Groups: Python
    This post explains the most frequent questions asked by users in Python Pandas. I have tried to explain each question with examples.

    How To Rename Multiple Files Using Vim

    • usessionbuddy.com; By John Ludhi (Posted by johnludhi on Jan 12, 2020 4:56 PM EDT)
    • Groups: Linux, Python
    Check out how to rename multiple files using vim. There are 3 vim utilities that I have presented to rename multiple files.

    How piwheels will save Raspberry Pi users time in 2020

    Piwheels automates building Python wheels (pre-compiled Python packages) for all of the projects on PyPI, the Python Package Index, using Raspberry Pi hardware to ensure compatibility. This means that when a Raspberry Pi user wants to install a Python library using pip, they get a ready-made compiled version that's guaranteed to work on the Raspberry Pi. This makes it much easier for Raspberry Pi users to dive in and get started with their projects.

    conrad – conferences and meetups on your terminal

    • LinuxLinks.com; By LinuxLinks (Posted by sde on Jan 6, 2020 11:00 PM EDT)
    • Story Type: Reviews; Groups: Linux, Python
    conrad is a free and open source command-line tool designed to help you track conferences and meetups. The tool is written in Python.

    How to write a Python web API with Pyramid and Cornice

    • Opensource.com (Posted by bob on Jan 6, 2020 9:45 PM EDT)
    • Groups: Python; Story Type: News Story
    Python is a high-level, object-oriented programming language known for its simple syntax. It is consistently among the top-rated programming languages for building RESTful APIs. read more

    Add scorekeeping to your Python game

    This is part 10 in an ongoing series about creating video games in Python 3 using the Pygame module. Previous articles are: read more

    How to Install Anaconda on CentOS 8

    Anaconda is the most popular Python/R data science and machine learning platform. It is used for large-scale data processing, predictive analytics, and scientific computing. In this tutorial, we will explain how to install Anaconda Python Distribution on CentOS 8.

    Snakes on a wane: Python 2 development is finally frozen in time, version 3 slithers on

    I'm not quite dead, mutters 2.7 as rigor mortis sets in With the arrival of 2020, the Python Clock has stopped ticking, marking the end of development for the Python 2 programming language.…

    Put some loot in your Python platformer game

    This is part 9 in an ongoing series about creating video games in Python 3 using the Pygame module. Previous articles are:

    read more

    Namespaces are the shamash candle of the Zen of Python

    • Opensource.com (Posted by bob on Dec 30, 2019 5:25 PM EDT)
    • Groups: Python; Story Type: News Story
    Hanukkah famously has eight nights of celebration. The Hanukkah menorah, however, has nine candles:?eight regular candles and a ninth that is always offset. It is called the shamash?or shamos, which loosely translates to meaning "servant" or "janitor." The shamos is?the candle that lights all the others: it is the only candle whose fire can be used, not just watched. As we wrap up our series on the Zen of Python, I see how namespaces provide a similar service. read more

    How to tell if implementing your Python code is a good idea

    • Opensource.com; By Moshe Zadka (Posted by bob on Dec 29, 2019 9:24 PM EDT)
    • Story Type: Roundups; Groups: Python
    A language does not exist in the abstract. Every single language feature has to be implemented in code. It is easy to promise some features, but the implementation can get hairy. Hairy implementation means more potential for bugs, and, even worse, a maintenance burden for the ages. The Zen of Python has answers for this conundrum.

    The Zen of Python: Why timing is everything

    Python is always evolving. The Python community has an unending appetite for feature requests but also an unending bias toward the status quo. As Python gets more popular, changes to the language affect more people. The exact timing for when a change happens is often hard, but the?Zen of Python offers guidance.

    The importance of consistency in your Python code

    • Opensource.com (Posted by bob on Dec 28, 2019 10:15 AM EDT)
    • Groups: Python; Story Type: News Story
    The principle of least surprise is a guideline when designing user interfaces. It says that when the user performs an action, the program should do whatever would surprise the user the least. This is for the same reason kids love reading the same book over and over again: there is nothing more comforting to people than the ability to predict and have those predictions come true. read more

    10 articles to become more data science savvy

    When LinkedIn released its third annual Emerging Jobs report, engineers everywhere said, "Amen." More than half the list consists of engineering roles, with new fields like robotics appearing for the first time. But data science had a strong showing as well. The role shows 37% annual growth, topping that aspect of the Emerging Jobs list for the third year in a row.

    How the Zen of Python handles errors

    • Opensource.com (Posted by bob on Dec 27, 2019 2:31 PM EDT)
    • Groups: Python; Story Type: News Story
    Handling "exceptional conditions" is one of the most debated issues in programming. That could be because the stakes are high: mishandled error values can bring?down even the largest systems. Since "exception conditions," by nature, are the least tested but occur with unpleasant frequency, correctly handling them can often distinguish a system that horror stories are told about to a system that "just works." read more

    Pipenv - The Officially Recommended Python Packaging Tool

    Manage Python packages using Pipenv on Linux.

    Making trade-offs when writing Python code

    • Opensource.com; By Moshe Zadka (Posted by bob on Dec 26, 2019 12:39 AM EDT)
    • Story Type: Editorial; Groups: Python
    Software development is a discipline rife with trade-offs. For every choice, there is an equally defensible but opposite choice. Make a method private? You're encouraging copy-paste. Make a method public? You're committing prematurely to an interface. Software developers make hard choices every minute. While all the principles in the Zen of Python cover trade-offs to some extent, the following principles take the hardest, coldest?look at some trade-offs.

    Top articles for learning Python in 2020

    Python had a big year in 2019. According to popular resources like GitHub and Stack Overflow, it's trending as the second most popular language in the world.

    Why your Python code should be flat and sparse

    • Opensource.com (Posted by bob on Dec 25, 2019 5:00 AM EDT)
    • Groups: Python; Story Type: News Story
    The Zen of Python is called that for a reason. It was never supposed to provide easy-to-follow guidelines for programming. The rules are specified tersely and are designed to engage the reader in deep thought. read more

    Why your Python code needs to be beautiful and explicit

    Python contributor Tim Peters introduced us to the Zen of Python in 1999. Twenty years later, its 19 guiding principles continue to be relevant within the community. We start our Pythonukkah celebration—like Hanukkah, a festival of lights—with the first two principles in the Zen of Python: on beauty and explicitness.

    How to Generate Random Numbers in Python

    • nbshare.io; By Abhi Phull (Posted by abhiphull on Dec 20, 2019 5:14 AM EDT)
    • Groups: Python
    This post talks in detail about how to generate random numbers in Python. Every concept is explained through an example. Please read it.

    How to Plot a Histogram in Python

    • nbshare.io; By Abhi Phull (Posted by abhiphull on Dec 18, 2019 8:25 AM EDT)
    • Groups: Python
    Learn how to draw histogram In Python using pandas, matplotlib and seaborn libraries.

    How To Run Bash Commands In Python

    • usessionbuddy.com; By John Ludhi (Posted by johnludhi on Dec 16, 2019 7:53 PM EDT)
    • Groups: Linux, Python
    Learn about how to run bash commands in Python.

    ( 1 2 3 4 5 6 ... 40 ) Next »

      Add more filters
    Filter by Groups:

    Filter by Story Type:

  • 彩华彩的网









    Timer: 120.49 jiffies (1.2049 seconds)