#python2

Green Webpagegreenwebpage
2025-04-15

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

greenwebpage.com/community/how

BLE TOU 202 FX Nationalsick@mamot.fr
2025-03-11

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

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

#python2 #astuce

R.L. Dane :Debian: :OpenBSD: 🍵rl_dane@polymaths.social
2025-02-23

@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).

2025-02-10

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.
github.com/ronin-rb/ronin-payl

Appears that GitHub has recently updated their GitHub Actions Ubuntu VM to 24.04.1, which no longer has a python2 package :(
github.com/ronin-rb/ronin-payl

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

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

#python2 #githubactions

2025-01-10

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

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

habr.com/ru/companies/timeweb/

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

9Lukas5 🚂 🐧9Lukas5@mastodontech.de
2024-11-17

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

Horror Nerd Onlinehorrornerdonline
2024-10-12

Python 2 | Full Monster Horror Movie | WATCH FOR FREE

– @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. …

horrornerdonline.com/2024/10/p

> 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.

open.substack.com/pub/bitecode

#Python #Python2 #Python3 #PythonPip #Packaging

2024-08-16

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

Santiago Piquerasspiqueras@fosstodon.org
2024-07-23

It is wild that, in this year of the Lord, I still have to install #python2 to get a development environment for #Google's #AppEngine. Google, aka the champions of deprecating stuff, one of the most powerful tech companies worldwide, somehow can't provide a reasonable migration path off a language that was EOL'd 4 years ago :(

Hugo van Kemenadehugovk
2024-07-11

@mariatta

Packages still depending on six (via "pipdeptree --reverse -p six"):

asttokens
bleach
fire
html5lib
ics
isodate
lplight
Mastodon.py
python-coveralls
python-dateutil

2024-06-21

I have discovered a new way to procrastinate making a talk: convert a legacy #python2 codebase to #python3. Clearly this is better than just re-using figures I have lying around. #wcpgw

Michelle Waveform, PhDmich_waveform
2024-06-09

It started with a nice lil summary of what the __pycache__ folder is… and was reminded that back in you just had all of those cache files right in the same folder as your code. I’d kind of forgotten about those .pyc files hanging around everywhere!

Nerdeiro :debian: :steamdeck:nerdeiro@fosstodon.org
2024-05-01

Python gurus, can I wrap a function in more than one decorator at the same time? On the same topic, can I wrap a decorator in another decorator ?

Asking for a friend...

#programing #python2

9Lukas5 🚂 🐧9Lukas5@mastodontech.de
2024-04-22

"Type annotations are unsupperted in Python 2"
😒😒

Will man Jython überhaupt noch verwenden? 🤐

#Jython #Python #Python2 #LegacyCode

QuirkyFilmsQuirkyFilms@c.im
2024-04-21

#Python2 (2002) 🐍
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.
#CreatureFeature #FilmsWithBite
#FilmMastodon 📽️ 🎬

2024-03-21

Python 3.8 and 3.9 have joined the docker-six family!

docker-six, known simply as six at Docker Hub, now supports the 3.8 and 3.9 tags.

hub.docker.com/r/coatldev/six

#docker #python2 #python3 #container #cicd

2024-03-21

Moved a #wagtail #cms site from #debian 9.5 (released mid 2018) to #ubuntu #jammy (Released 2022) with, as far as I can tell, no problems.

On top of that, the underlying host has changed as well as the containerisation tech.

- Created new #LXD #container based on ubuntu-minimal images
- Installed #python2 and virtualenv
- Copied my #virtualenv and codebase from the old server to the new

And its working!

A painless migration today, which I expected to be a lot worse.

I don't know who to thank, but #thankyou to the people who make these management tasks so painless!

César Román :python:thecesrom@fosstodon.org
2024-03-02

Big news: `mypy[python2]==0.971`, the last version able to typecheck Python 2 can be installed on Python 3.13.0a4.

This means I can continue run my GitHub workflows and Azure Pipelines till October 2029, when 3.13 reaches end-of-support.

Read more here: cesar.coatl.dev/2024/03/01/pyt

#python2 #mypy #python3 #typechecking #python #github #azuredevops

Joxean Koret (@matalaz)joxean
2024-01-23

Some questions regarding Ghidra:

* NetworkX libraries don't support Jython, right?
* Which Python 3.X bridge is the most used for Ghidra? Is it Ghidrathon? Or perhaps ghidra-bridge?
* Do you happen to know if there are differences big enough to worry about supporting Ghidrathon or Ghidra Bridge?


Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst