I still have to deal with #Python2 every day.

Everyone else?

#Python #Python27 #Python2718

This guide walks you through installing Python 2, from compiling the source code to setting up pip.

https://greenwebpage.com/community/how-to-install-python-2-on-ubuntu-24-04/

#python2 #webdevelopment #scripting #ubuntu #linuxadministration #greenwebpage

How to Install Python 2 on Ubuntu 24.04

This guide walks you through installing Python 2 on Ubuntu 24.04, from compiling the source code and setting up pip.

Greenwebpage Community

Si Python 2 N'est Pas Disponible Sur Votre Distribution Linux, Il Faut Le Compiler ::::::::::::::::::::::::::::::: https://www.python.org/downloads/release/python-2718/

Faite :::::::
./configure
make
sudo make install

#python2 #astuce

Python Release Python 2.7.18

The official home of the Python Programming Language

Python.org

@amin

Eh...

It's a rolling release, so it's got that going for it, but a lot/most of their custom utilities (such as the package manager) is still on Python 2, which is... not good.

/usr/bin/python is even a symlink to python2 which is really not good.

Small team. Looks like the original dev, who started a new distro, is going to re-work a lot of those things, which will be the basis for Solus going forward, so there's a lot of hope for newer and better utilities.

To be clear, my only real complaint so far is the python2-ness of it.

Also, they don't have a ksh package (which some of my scripts require), but I managed to compile the standard ksh2020.

I don't know if I will stay. #Python2 is kind of a deal-breaker.

Still slowly replicating my #KDE #Plasma setup from my work #Debian box. I have a lot of custom keybinds that make it a little more like i3/sway for me.

My other options are Debian testing, #FreeBSD (probably will lose the ability to run KSP), or #OpenSuSE tumbleweed (if they can ever just enable polkit by default, already).

Spoke too soon about InfoSec projects still clinging to Python 2.7. Turns out my ronin-payloads project, a Ruby project, requires the python2 package in order to test it's Python Payload Encoders under Python versions 2 and 3.
https://github.com/ronin-rb/ronin-payloads/blob/1ae19ec2c3ae0a244b02d4a8cfc7d638c2414743/spec/encoders/builtin/python/base64_encode_spec.rb#L25-L31

Appears that GitHub has recently updated their GitHub Actions Ubuntu VM to 24.04.1, which no longer has a python2 package :(
https://github.com/ronin-rb/ronin-payloads/actions/runs/13234890368/job/36937936068

Also looks like the setup-python GitHub Action has also already removed python2.7.
https://github.com/actions/setup-python/issues/672

This poses a bit of a problem for software which needs to test against other legacy software.

#python2 #githubactions

GitHub - ronin-rb/ronin-payloads: A Ruby micro-framework for writing and running exploit payloads

A Ruby micro-framework for writing and running exploit payloads - ronin-rb/ronin-payloads

GitHub

Пишем приложение для SIM-карты

Приветствую всех! Думаю, многим из вас доводилось слышать такое утверждение, что SIM-карта — по сути полноценный специализированный компьютер. А раз симка — это компьютер, то, очевидно, должен быть и софт для него. Как насчёт попробовать что-нибудь написать и заставить это работать прямо на карте? Давайте разбираться. Итак, в сегодняшней статье поговорим про эту довольно редко упоминающуюся сторону сотовой связи. Узнаем, как писать приложения, чтобы они запускались на всех телефонах, от Nokia 3310 до последних айфонов. Попутно выясним, как загружать их в SIM-карты и насколько сложно это сделать, и, конечно же, напишем наш первый апплет. Традиционно будет много интересного.

https://habr.com/ru/companies/timeweb/articles/819209/

#timeweb_статьи #javacard #sim #python2 #pcsc #stk #gsm #kic #kid #ki #opc #adm #симки #смарткарты #iso7816

Пишем приложение для SIM-карты

Приветствую всех! Думаю, многим из вас доводилось слышать такое утверждение, что SIM-карта — по сути полноценный специализированный компьютер. А раз симка — это компьютер, то, очевидно, должен быть и...

Хабр

Imagine:
- small custom tool in #Python2 / #Jython, bundled to an .exe
- Last time bundled was a few years back
- executable used on CI server

Then:
- suddenly all builds across the Server fail 😳
- The CI server and your own PC fail executing your small tool, saying "This application needs #Java 8" 🤔
- But your CI Server and own PC _have_ Java 8 installed 🤨
- The fellas around you have seemingly the same tools installed and can execute the tool 🧐

#programming #magic #CI

Python 2 | Full Monster Horror Movie | WATCH FOR FREE

#horror#Trailers#horrormovies#Python2 – @GoldwynFilms – A man, his business partner, and his wife are enlisted to transport an unknown object from a Russian military base, only to discover that the object is a giant, genetically-altered python. …

#ad #horror #Python2 #Trailers

https://horrornerdonline.com/2024/10/python-2-full-monster-horror-movie-watch-for-free/

Python 2 | Full Monster Horror Movie | WATCH FOR FREE

#horror - #Trailers - #horrormovies - #Python2 - @GoldwynFilms - A man, his business partner, and his wife are enlisted to transport an unknown object from a Russian military base, only to discover that the object is a giant, genetically-altered python. Director: Lee Alan McConnell Starring: William Zabka, Dana Ashbrook, Alex Jolig

Horror Nerd Online - Just horror.

> Most “packaging problems” are actually bootstrapping problems. With imports and versioning sprinkled on top.

From a fun little article on the history of Python packaging. I quite enjoy Bite Code.

https://open.substack.com/pub/bitecode/p/whats-the-deal-with-setuptools-setuppy

#Python #Python2 #Python3 #PythonPip #Packaging

What's the deal with setuptools, setup.py, pyproject.toml and wheels?

Why? Why? Why? Oh, that's why.

Bite code!

Added integration tests for ronin-payload's new payload encoders and discovered that Python2 does not support evaling a print statement. Python3 however added support for this.

>>> eval('print "test"')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<string>", line 1
print "test"
^
SyntaxError: invalid syntax

Lol, wtf, how did people seriously tout Python2 over Python3. Even Ruby and JavaScript are more consistent.

#python2 #payloads #roninrb

GitHub - ronin-rb/ronin-payloads: A Ruby micro-framework for writing and running exploit payloads

A Ruby micro-framework for writing and running exploit payloads - ronin-rb/ronin-payloads

GitHub