Difference between revisions of "Talk:Python"

From ArchWiki
Jump to: navigation, search
(Section Python Versions: fix typos. improve readability by reformatting signatures. fix reply levels)
m (rm closed discussion)
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Remove Section "Misc. Uses" ==
I would remove the "Misc. Uses" section altogether ("Python is excellent for emergency situations"???) <br />-- [[User:Tokland|Tokland]] 06:12, 25 October 2010 (EDT)
:I agree that the "Misc. Uses" section doesn't seem appropriate for the ArchWiki. The information in there seems like something I would expect to read on a blog, not on here. If anyone else agrees, I'll remove that section entirely.
:-- [[User:Jstjohn|Jstjohn]] ([[User talk:Jstjohn|talk]]) 16:36, 27 August 2012 (UTC)
== <s>Section Python Versions</s> ==
See, this is why I'm seriously looking for an alternativie to Arch (which is sad, since I've been using Arch for almost a year now and it really is overall a nice distro) BUT - most Python scripts I use still rely on 2.x (and why they HAD to break that I am still unclear on) yet Arch decided to make Python 3.x the default, making most of my Python scripts unusable without massive user intervention. Pity. You've lost my faith. I may have to break down and revert to Debian - or Fedora - or (shudder) SUSE. Oh if only FreeBSD had native Flash support.<br />
--‎ [[User:Nevarmaor|Nevarmaor]] 20:44, 18 November 2010 (EST)
:I'm not sure what you call massive user intervention (a sed oneliner?), but I have both python2 and 3 installed and things seem to work OK. Arch is bleeding edge, so things might eventually break and the transition 2to3 is not an easy one. Are Arch devs to blame for the fact that the scripts still use python2?
:-- [[User:Karol|Karol]] 21:25, 18 November 2010 (EST)
Is it possible to have both versions installed and let version 2 be the default one? That would help in the transition process. Thanks. <br />
--[[User:Mrechte|Marc Rechté]] 01:54, 16 April 2011 (EDT)
: ''python'' is a symlink. To default to python2 you could<br>
:{{ic|cd /usr/bin && sudo ln -fs python2 python}}
:However you'd have to do this every time a {{pkg|python3}} update is installed. I agree that something like ''update-alternatives'' (Debian) or ''eselect'' (Gentoo) would be nice.
:-- [[User:Modulation|Modulation]] 02:56, 16 April 2011 (EDT)
::For development purposes one can install {{pkg|python2-virtualenv}} and set a virtual environment whose python would be python2 by default.
::-- [[User:Driadan|Driadan]] 16:16, 12 December 2011 (EDT)

Revision as of 19:10, 28 March 2013