Re: Python curses

2023-01-10 Thread Nate Bargmann
* On 2023 10 Jan 13:38 -0600, pa...@quillandmouse.com wrote: > It may be argued that I shouldn't do the import this way. However, I > prefer to have "curses." in front of things imported. It makes the link > explicit, and serves to remind me of what's actually going on, when I > revisit the code in

Re: Python curses

2023-01-10 Thread paulf
On Tue, 10 Jan 2023 13:17:10 -0600 David Wright wrote: > On Tue 10 Jan 2023 at 11:13:55 (-0500), pa...@quillandmouse.com wrote: > > On Tue, 10 Jan 2023 09:31:26 -0600 > David Wright > > wrote: > > > > You keep mentioning "the docs" without saying which docs, so a > > > reference might be helpfu

Re: Python curses

2023-01-10 Thread David Wright
On Tue 10 Jan 2023 at 11:13:55 (-0500), pa...@quillandmouse.com wrote: > On Tue, 10 Jan 2023 09:31:26 -0600 > David Wright > wrote: > > You keep mentioning "the docs" without saying which docs, so a > > reference might be helpful. > > Sorry. I'm using the following (and related pages): > > htt

Re: Python curses

2023-01-10 Thread Curt
On 2023-01-10, wrote: > > Follow-up question, in case you know this too: apparently, when you > purchase a Kindle book and read it via the Kindle app on your Android > phone, the document doesn't exist on the phone itself. I've https://pennbookcenter.com/where-are-kindle-books-stored-on-android/

Re: Python curses

2023-01-10 Thread paulf
On Tue, 10 Jan 2023 09:31:26 -0600 David Wright wrote: > On Tue 10 Jan 2023 at 09:01:17 (-0500), pa...@quillandmouse.com wrote: > > On Tue, 10 Jan 2023 08:34:05 -0500 Greg Wooledge > > wrote: > > > On Tue, Jan 10, 2023 at 08:24:11AM -0500, pa...@quillandmouse.com > > > wrote: > > > > What you wr

Re: Python curses

2023-01-10 Thread Dan Ritter
pa...@quillandmouse.com wrote: > On Tue, 10 Jan 2023 08:11:28 -0500 > Dan Ritter wrote: > > > The Debian package calibre contains: > > > > - an X11 application which is an all-singing, all-dancing > > library manager and ebook reader > > > > - a set of CLI-usable conversion utilities, most imp

Re: Python curses

2023-01-10 Thread David Wright
On Tue 10 Jan 2023 at 09:01:17 (-0500), pa...@quillandmouse.com wrote: > On Tue, 10 Jan 2023 08:34:05 -0500 Greg Wooledge wrote: > > On Tue, Jan 10, 2023 at 08:24:11AM -0500, pa...@quillandmouse.com wrote: > > > What you wrote triggered something. I'd been following the Python > > > curses docs, w

Re: Python curses

2023-01-10 Thread tomas
On Tue, Jan 10, 2023 at 02:48:26PM +, Tixy wrote: [...] > I doubt that's possible because I assume these things are protected > with DRM to stop people from copying them, or escaping the clutches of > Big Corp who want to monitor what you do in order to sell you more > stuff. I have yet to s

Re: Python curses

2023-01-10 Thread Tixy
On Tue, 2023-01-10 at 09:18 -0500, pa...@quillandmouse.com wrote: > Follow-up question, in case you know this too: apparently, when you > purchase a Kindle book and read it via the Kindle app on your Android > phone, the document doesn't exist on the phone itself. I've > plugged my phone into my PC

Re: Python curses

2023-01-10 Thread paulf
On Tue, 10 Jan 2023 08:11:28 -0500 Dan Ritter wrote: > pa...@quillandmouse.com wrote: > > On Tue, 10 Jan 2023 21:29:31 +1100 > > David wrote: > > > > > On Tue, 10 Jan 2023 at 15:04, wrote: > > > > > > > > I'm trying to write some code in Python's curses module. > > > > > > Hi, > > > > > > T

Re: Python curses

2023-01-10 Thread tomas
On Tue, Jan 10, 2023 at 09:01:17AM -0500, pa...@quillandmouse.com wrote: > On Tue, 10 Jan 2023 08:34:05 -0500 > Greg Wooledge wrote: > > > On Tue, Jan 10, 2023 at 08:24:11AM -0500, pa...@quillandmouse.com > > wrote: > > > What you wrote triggered something. I'd been following the Python > > > cur

Re: Python curses

2023-01-10 Thread paulf
On Tue, 10 Jan 2023 08:34:05 -0500 Greg Wooledge wrote: > On Tue, Jan 10, 2023 at 08:24:11AM -0500, pa...@quillandmouse.com > wrote: > > What you wrote triggered something. I'd been following the Python > > curses docs, which tell you to write, for example, "A_REVERSE". And > > Python was throwin

Re: Python curses

2023-01-10 Thread Greg Wooledge
On Tue, Jan 10, 2023 at 08:24:11AM -0500, pa...@quillandmouse.com wrote: > What you wrote triggered something. I'd been following the Python > curses docs, which tell you to write, for example, "A_REVERSE". And > Python was throwing exceptions. But based on what you wrote, I > substituted "curses.A

Re: Python curses

2023-01-10 Thread Dan Ritter
pa...@quillandmouse.com wrote: > On Tue, 10 Jan 2023 21:29:31 +1100 > David wrote: > > > On Tue, 10 Jan 2023 at 15:04, wrote: > > > > > > I'm trying to write some code in Python's curses module. > > > > Hi, > > > > This kindle/paperback book [1][2] might also be of interest. > > > > Don't l

Re: Python curses

2023-01-10 Thread paulf
On Tue, 10 Jan 2023 03:21:11 -0600 Nate Bargmann wrote: > * On 2023 09 Jan 22:05 -0600, pa...@quillandmouse.com wrote: > > Folks: > > I'm not python curses expert, but is what I found. > > > I'm trying to write some code in Python's curses module. I've run > > into common curses items like A_NO

Re: Python curses

2023-01-10 Thread paulf
On Tue, 10 Jan 2023 21:29:31 +1100 David wrote: > On Tue, 10 Jan 2023 at 15:04, wrote: > > > > I'm trying to write some code in Python's curses module. > > Hi, > > This kindle/paperback book [1][2] might also be of interest. > Don't like Amazon's vendor lock with Kindle. Do you know of a sim

Re: Python curses

2023-01-10 Thread David
On Tue, 10 Jan 2023 at 15:04, wrote: > > I'm trying to write some code in Python's curses module. Hi, This kindle/paperback book [1][2] might also be of interest. Don't be discouraged by "amazon.com" or "book", the price is very low (showing $1.50 -- $6.00) as explained here [3]. Disclaimer: I

Re: Python curses

2023-01-10 Thread Nate Bargmann
* On 2023 09 Jan 22:05 -0600, pa...@quillandmouse.com wrote: > Folks: I'm not python curses expert, but is what I found. > I'm trying to write some code in Python's curses module. I've run into > common curses items like A_NORMAL which don't exist. When I do a > print(curses.version), it shows "b

Re: python-apt create_pin question

2022-01-17 Thread Antonio Russo
On 1/17/22 02:54, Michael Lange wrote: (...) > > So maybe this argument is case sensitive and changing "origin" into > "Origin" may fix the issue? > Hello Michael, Thanks for the suggestion. Unfortunately it does not work. I had actually dug into the source a tiny bit before posting: Unlike

Re: python-apt create_pin question

2022-01-17 Thread Michael Lange
Hi, On Fri, 14 Jan 2022 08:09:30 -0700 Antonio Russo wrote: (...) > I am trying to use Policy.create_pin to do so, but cannot seem to get > it working: > > import apt_pkg > > apt_pkg.init() > cache = apt_pkg.Cache(progress=None) > policy = apt_pkg.Policy(cache) > #policy.create_pin('origin', '

Re: python-apt create_pin question

2022-01-15 Thread Andrei POPESCU
On Vi, 14 ian 22, 08:09:30, Antonio Russo wrote: > > Hello! > > I'm trying to use apt_pkg to get a "best candidate" for a package, but with > slightly different constraints than I have set up in /etc/apt/preferences.d. > > I am trying to use Policy.create_pin to do so, but cannot seem to get it

Re: Python 3 wicd

2021-01-22 Thread Vincent Lefevre
On 2021-01-19 22:09:49 +0200, Andrei POPESCU wrote: > While it might have had its toothing problems in the beginning > NetworkManager has been reliable for me since switching from Wicd (some > time around the wheezy release I believe). I use Debian/unstable, and I've also switched to NetworkMana

Re: Python 3 wicd

2021-01-19 Thread Andrei POPESCU
On Ma, 19 ian 21, 17:40:47, Sven Joachim wrote: > > The version in experimental is a git snapshot from September 2019, > apparently development has stalled. People upgrading to bullseye should > probably look for alternatives, I think network-manager is the only > reasonable one unless you are wi

Re: Python 3 wicd

2021-01-19 Thread Sven Joachim
On 2021-01-19 10:16 +0200, Andrei POPESCU wrote: > On Ma, 19 ian 21, 02:54:25, Gareth Evans wrote: >> There is apparently a Python 3 fork of wicd (or two) but I can't >> figure out what state they're in - are either of these likely to >> become available in Buster repos? Backports? > > Wicd is cu

Re: Python 3 wicd

2021-01-19 Thread Gareth Evans
On Tue, 19 Jan 2021, at 08:16, Andrei POPESCU wrote: > On Ma, 19 ian 21, 02:54:25, Gareth Evans wrote: > > There is apparently a Python 3 fork of wicd (or two) but I can't > > figure out what state they're in - are either of these likely to > > become available in Buster repos? Backports? > > W

Re: Python 3 wicd

2021-01-19 Thread Andrei POPESCU
On Ma, 19 ian 21, 02:54:25, Gareth Evans wrote: > There is apparently a Python 3 fork of wicd (or two) but I can't > figure out what state they're in - are either of these likely to > become available in Buster repos? Backports? Wicd is currently only available in experimental (according to ht

a little bit off-topic (Was: Re: Python 3 Segmentation Fault)

2020-08-08 Thread 황병희
Cindy Sue Causey writes: > Mine's Python 3.8.5 on Bullseye.. Howdy, Cindy^^^ *Because* i like very so much Bullseye^^^ Sincerely, Byung-Hee from South Korea -- ^고맙습니다 _白衣從軍_ 감사합니다_^))//

Re: Python 3 Segmentation Fault

2020-08-08 Thread 황병희
Dear Arun, "J.Arun Mani" writes: > Hello. > I'm using Debian Testing (upgraded from Debian 10). Today I started Python 3, > but it was not able to interpret any > commands from stdin and resulted in Segmentation Fault. Luckily > modules (python3 -m ) and files ... Just i guess because you are

Re: [Python-Help] Python 3 Segmentation Fault

2020-08-05 Thread J.Arun Mani
Hello all. I found a crazy fix to this issue. Running Python in Isolation mode raises no problem ! That is, you need to run Python like this: $ python3 -I So having the isolation mode fix the issue, what next step shall I take to make the fix permanent (I mean tweak or look at which modules, b

Re: Python 3 Segmentation Fault

2020-08-04 Thread Cindy Sue Causey
On 8/4/20, J.Arun Mani wrote: > Hello. > I'm using Debian Testing (upgraded from Debian 10). Today I started Python > 3, but it was not able to interpret any commands from stdin and resulted in > Segmentation Fault. Luckily modules (python3 -m ) and files (python3 > ) works fine though. > > Observ

Re: Python 3 Segmentation Fault

2020-08-04 Thread Kushal Kumaran
"J.Arun Mani" writes: > Hello. > I'm using Debian Testing (upgraded from Debian 10). Today I started > Python 3, but it was not able to interpret any commands from stdin and > resulted in Segmentation Fault. Luckily modules (python3 -m ) > and files (python3 ) works fine though. > > Observed: > $

Re: python virualenv

2020-05-01 Thread Rainer Dorsch
Am Mittwoch, 29. April 2020, 02:54:04 CEST schrieb Tom Low-Shang: > On Tue, Apr 28, 2020 at 11:20:04PM +0200, Rainer Dorsch wrote: > > Here is the full sequence I executed: > > > > rd@h370:~/virtualenv$ virtualenv covidify > > Running virtualenv with interpreter /usr/bin/python2 > > Virtualenv us

Re: python virualenv

2020-04-28 Thread Tom Low-Shang
On Tue, Apr 28, 2020 at 11:20:04PM +0200, Rainer Dorsch wrote: > Here is the full sequence I executed: > > rd@h370:~/virtualenv$ virtualenv covidify > Running virtualenv with interpreter /usr/bin/python2 Virtualenv uses python2 > New python executable in /home/rd/virtualenv/covidify/bin/python

Re: python pip trouble

2020-04-26 Thread Liam O'Toole
On Sun, 26 Apr, 2020 at 16:13:28 -0600, ghe wrote: > Buster, Supermicro workstation > > I wanted to install pip (python3 is installed and working well and my > apt mirrors are up to date): > > root@sbox:~# apt install pip > Reading package lists... Done > Building dependency tree > Reading state

Re: Python 3 as default

2019-10-07 Thread Sven Hartge
Glenn Holmer wrote: > Is it safe to set Python 3 as the default in Buster, or are there > system programs that still need to run under Python 2? Setting python3 as the default python interpreter is not supported in Buster. Doing so will break your system. Besides: /usr/bin/python is defined as

Re: python 3 : error with lib scipy

2019-03-31 Thread tomas
On Sun, Mar 31, 2019 at 06:29:20PM +0200, Laurent Debian wrote: > Hi, > Le dim. 31 mars 2019 à 16:01, a écrit : [...] > > Are you sure you've got python3-numpy installed? > > > yes and I can load numpy perfectly well > as well as scipy by the way but not scipy.misc > which seems really odd for

Re: python 3 : error with lib scipy

2019-03-31 Thread Laurent Debian
Hi, Le dim. 31 mars 2019 à 16:01, a écrit : > On Sun, Mar 31, 2019 at 03:22:22PM +0200, Laurent Debian wrote: > > Hi all, > > On debian-sid with python 3, I got this error (below) when trying to > load > > scipy. > > No error with python 2, (and yes numpy is installed correctly) > > [ No module

Re: python 3 : error with lib scipy

2019-03-31 Thread Michael Lange
On Sun, 31 Mar 2019 16:01:15 +0200 wrote: > On Sun, Mar 31, 2019 at 03:22:22PM +0200, Laurent Debian wrote: > > Hi all, > > On debian-sid with python 3, I got this error (below) when trying to > > load scipy. > > No error with python 2, (and yes numpy is installed correctly) > > [ No module na

Re: python 3 : error with lib scipy

2019-03-31 Thread Michael Lange
Hi, On Sun, 31 Mar 2019 15:22:22 +0200 Laurent Debian wrote: > Hi all, > On debian-sid with python 3, I got this error (below) when trying to > load scipy. > No error with python 2, (and yes numpy is installed correctly) > > Every python packages seems up to date to me. > Is this a bug ? > i

Re: python 3 : error with lib scipy

2019-03-31 Thread tomas
On Sun, Mar 31, 2019 at 03:22:22PM +0200, Laurent Debian wrote: > Hi all, > On debian-sid with python 3, I got this error (below) when trying to load > scipy. > No error with python 2, (and yes numpy is installed correctly) [ No module named 'numpy.core._multiarray_umath' ] Hm. Note that there

Re: Python issue?

2019-01-02 Thread Michael Lange
Hi, On Wed, 2 Jan 2019 10:20:53 -0300 riveravaldez wrote: > Hi, I use phwmon [1] to have some system monitors on the taskbar. > > Since last system update I have this message (and phwmon tries to > launch but fails): > (...) > raise ValueError("not sure how to interpret line %r" % line) >

Re: Python issue?

2019-01-02 Thread Carl Fink
On Wed, Jan 02, 2019 at 10:20:53AM -0300, riveravaldez wrote: > Hi, I use phwmon [1] to have some system monitors on the taskbar. Snipping entire report here. Why do you call this a Python issue? Have you tried just running phwmon with a different Python version to see if that solves the problem?

Re: Python issue?

2019-01-02 Thread Steve Kemp
> File "/usr/lib/python2.7/dist-packages/psutil/_pslinux.py", line > 1088, in read_procfs > raise ValueError("not sure how to interpret line %r" % line) > > Any hint/clue? > _pslinux.py opens /proc/diskstats, and tries to parse the contents. It finds a line "8 0 sda ..." which it do

Re: Python

2017-07-08 Thread John Hasler
Kris G writes: > I am considering switching over to Debian from Fedora. I was wondering > if Debian Jessie has python pre installed? Or does it have to be > installed via the terminal as an apt-get? If you mean the Python run-time packages needed by packages that are written in Python, don't worry

Re: Python

2017-07-08 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, Jul 08, 2017 at 02:33:26PM +0100, Lisi Reisz wrote: > On Saturday 08 July 2017 13:06:29 Kris G wrote: > > Hi, > > > > I am considering switching over to Debian from Fedora. I was wondering if > > Debian Jessie has python pre installed? Or does

Re: Python

2017-07-08 Thread Lisi Reisz
On Saturday 08 July 2017 13:06:29 Kris G wrote: > Hi, > > I am considering switching over to Debian from Fedora. I was wondering if > Debian Jessie has python pre installed? Or does it have to be installed via > the terminal as an apt-get? > > I apologise if this is a silly question? > > Regards. >

Re: python time module

2017-01-08 Thread lists
On Sun, Jan 08, 2017 at 09:49:24PM +0100, Nicolas George wrote: Le nonidi 19 nivôse, an CCXXV, li...@rickv.com a écrit : re 1: It's not a bad thing to use a separate package manager for your Python projects if you're getting into development with Python. Actually, it is a bad thing. Package ma

Re: python time module

2017-01-08 Thread Nicolas George
Le nonidi 19 nivôse, an CCXXV, li...@rickv.com a écrit : > re 1: It's not a bad thing to use a separate package manager for your > Python projects if you're getting into development with Python. Actually, it is a bad thing. Package managers specialized for one language are convenient for the devel

Re: python time module

2017-01-08 Thread Rick Valenzuela
On Sat, Jan 07, 2017 at 08:29:05PM -0700, Joe Pfeiffer wrote: (2) More seriously, I'm getting the following error and traceback trying to run my very first script: nowball:13$ python box1.py Traceback (most recent call last): File "box1.py", line 1, in from OCC.Display.SimpleGui import init

Re: python time module

2017-01-08 Thread lists
re 2: time is in the Python standard library; you should have it. re 1: It's not a bad thing to use a separate package manager for your Python projects if you're getting into development with Python. More or less, users simply maintaining a system that uses Python should be OK with installs fr

Re: python time module

2017-01-08 Thread Michael Lange
Hi, On Sat, 07 Jan 2017 20:29:05 -0700 Joe Pfeiffer wrote: (...) > (2) More seriously, I'm getting the following error and traceback trying > to run my very first script: > > nowball:13$ python box1.py > Traceback (most recent call last): > File "box1.py", line 1, in > from OCC.Disp

Re: Python Alternatives?

2016-12-15 Thread Michael Milliman
It sounds like the status of the /usr/bin/python link is really a mess with some people/distros doing one thing and others doing something else. I imagine it will settle down eventually to a commonly accepted standard. For now, though, it looks like using either a python2 or python3 shebang,

Re: Python Alternatives?

2016-12-15 Thread Kushal Kumaran
Jonathan Dowland writes: > On Wed, Dec 14, 2016 at 10:39:27AM +1100, Ben Finney wrote: >> That would violate Debian Python policy. You are free to do it on your >> own system, but it will likely break many Python packages on Debian, and >> you get to keep all the pieces :-) > > From what I recall

Re: Python Alternatives?

2016-12-15 Thread Jonathan Dowland
On Wed, Dec 14, 2016 at 10:39:27AM +1100, Ben Finney wrote: > That would violate Debian Python policy. You are free to do it on your > own system, but it will likely break many Python packages on Debian, and > you get to keep all the pieces :-) From what I recall the upstream Python community does

Re: Python Alternatives?

2016-12-13 Thread Ben Finney
Joe Pfeiffer writes: > Ben Finney writes: > > > The policy for Python in Debian requires that “/usr/bin/python’ is > > the default Python 2 interpreter, and ‘/usr/bin/python3’ is the > > default Python 3 interpreter. > > > > There is no “default Python interpreter” in Debian. Python 2 and > > Py

Re: Python Alternatives?

2016-12-13 Thread Joe Pfeiffer
Ben Finney writes: > Michael Milliman writes: > >> I currently have both Python 2.7 and Python 3.4 installed on my debain >> 8.5 (jessie) system. The default Python interpreter on the system is >> Python 2.7 (as linked by /usr/bin/python). > > The policy for Python in Debian requires that “/usr

Re: Python Alternatives?

2016-12-13 Thread Ben Finney
Michael Milliman writes: > I currently have both Python 2.7 and Python 3.4 installed on my debain > 8.5 (jessie) system. The default Python interpreter on the system is > Python 2.7 (as linked by /usr/bin/python). The policy for Python in Debian requires that “/usr/bin/python’ is the default Py

Re: Python Alternatives?

2016-12-13 Thread deloptes
Michael Milliman wrote: > I currently have both Python 2.7 and Python 3.4 installed on my debain > 8.5 (jessie) system. The default Python interpreter on the system is > Python 2.7 (as linked by /usr/bin/python). I would prefer this default > to be Python 3.4. I can, of course manually change t

Re: python-wxgtk2.8 dependency issue on Jessie

2016-01-25 Thread Sven Arvidsson
On Mon, 2016-01-25 at 08:56 -0600, John Aten wrote: > Hi all, > > I consulted the Trelby mailing list on this, but haven't had a > response. I think it might be a more Debian specific issue anyway. I > tried to install the Trelby screenwriting software on Debian Jessie, > following the instruction

Re: python-wxgtk2.8 dependency issue on Jessie

2016-01-25 Thread Brian
On Mon 25 Jan 2016 at 08:56:35 -0600, John Aten wrote: > I consulted the Trelby mailing list on this, but haven't had a > response. I think it might be a more Debian specific issue anyway. I > tried to install the Trelby screenwriting software on Debian Jessie, > following the instructions at linu

Re: Python 2.7 packages from testing - 2.6 equivalents not available

2013-03-07 Thread francis picabia
On Wed, Mar 6, 2013 at 9:30 AM, francis picabia wrote: > > A developer wanted packages python-networkx python-numpy python-scipy > python-matplotlib > amongst others. Then I learned he had developed everything in Ubuntu > where 2.7 is > the standard version. > > No problem, add a repo for testin

Re: Python

2012-02-05 Thread Christofer C. Bell
On Wed, Feb 1, 2012 at 1:49 PM, Sylvain wrote: > On 01. 02. 12 07:42, Johann Spies wrote: > >> On Tue, Jan 31, 2012 at 11:24:17PM +0200, cletusjenkins wrote: >> >>> Hello, I am interested to learn how to program in Python. What debian >>> packages >>> would I need to start coding some basic cgi i

Re: Python

2012-02-01 Thread cletusjenkins
> > > Also be sure to check out this web framework too, one of the best I've > ever worked with: https://www.djangoproject.com/. > > Cheers, > Sylvain Thanks everyone, I will begin reading the suggested links and docs this weekend. Let hope I don't end up adding any root-able holes

Re: Python

2012-02-01 Thread Sylvain
On 01. 02. 12 07:42, Johann Spies wrote: On Tue, Jan 31, 2012 at 11:24:17PM +0200, cletusjenkins wrote: Hello, I am interested to learn how to program in Python. What debian packages would I need to start coding some basic cgi in apache? Thanks. In addition to what others have said, if you wan

Re: Python

2012-02-01 Thread Chris Brennan
On Wed, Feb 1, 2012 at 1:42 AM, Johann Spies wrote: On Tue, Jan 31, 2012 at 11:24:17PM +0200, cletusjenkins wrote: > > Hello, I am interested to learn how to program in Python. What debian > packages > > would I need to start coding some basic cgi in apache? Thanks. > > In addition to what others

Re: Python

2012-01-31 Thread Johann Spies
On Tue, Jan 31, 2012 at 11:24:17PM +0200, cletusjenkins wrote: > Hello, I am interested to learn how to program in Python. What debian packages > would I need to start coding some basic cgi in apache? Thanks. In addition to what others have said, if you want to do web development using Python, do

Re: Python

2012-01-31 Thread Wayne Topa
On 01/31/2012 07:14 PM, cletusjenkins wrote: Excellent, I'll check them out. Not to start a flame-war between python 2 and 3 supporters, or even get too much into python-specifics on a debian list but should I go with version 2 or just jump into 3? Does it matter? On Tue, 31 Jan 2012 14:5

Re: Python

2012-01-31 Thread cletusjenkins
Excellent, I'll check them out. Not to start a flame-war between python 2 and 3 supporters, or even get too much into python-specifics on a debian list but should I go with version 2 or just jump into 3? Does it matter? On Tue, 31 Jan 2012 14:56:27 -0800 Wayne Topa wrote >On 01/31/2

Re: Python

2012-01-31 Thread Wayne Topa
On 01/31/2012 04:24 PM, cletusjenkins wrote: Hello, I am interested to learn how to program in Python. What debian packages would I need to start coding some basic cgi in apache? Thanks. There are 2 python book packages: diveintopython which covers Python 2 and diveintopython3 which covers Py

Re: Python

2012-01-31 Thread Scott Ferguson
Please only post using plain text. Use the button marked plain text on the right hand side of the zohomail compose window (just above the message body area). On 01/02/12 08:24, cletusjenkins wrote: > Hello, I am interested to learn how to program in Python. What debian > packages would I need to s

Re: Python, gobject, glade problems (Solved)

2012-01-01 Thread David Baron
On Friday 04 Tevet 5772 10:39:21 David Baron wrote: > Get segfaults and errors running apt-listchanges and rkhunter. Synaptic > also aborts due to something here. > > Running Sid. How to fix? Guess what? Nothing to do with glade, gobject, python, etc. Recent thread on sudo? Make those changes, g

Re: "python-support/ipython" no longer exists in Wheezy?

2011-12-29 Thread Camaleón
On Wed, 28 Dec 2011 19:08:46 -0500, Jonathan Williford wrote: > I'm looking to install the files that used to be in the ipython package > in Lenny: > http://packages.debian.org/lenny/all/ipython/filelist (It's one of the > files in "/usr/share/python-support/ipython/", specifically, > ipy_autorelo

Re: python 3.2 on squeeze

2011-09-21 Thread Mihamina Rakotomandimby
On 09/21/2011 09:35 PM, olivier.scalb...@algosyn.com wrote: I have imagine to install a Debian testing on a VirtualBox but it seems a bit overkill !!! Thanks for helping me ! My ideas: 2°) Build a Python-only "virtualenv" http://www.clemesha.org/blog/modern-python-hacker-tools-virtualenv-fab

Re: python-twisted-core on my machines inexplicably still old, breaking installation of python-twisted

2010-07-25 Thread Andrei Popescu
On Du, 25 iul 10, 19:55:45, Sven Joachim wrote: > On 2010-07-25 19:16 +0200, Andrei Popescu wrote: > > > On Du, 25 iul 10, 12:37:28, Sven Joachim wrote: > >> > >> Which architecture is that? On i386, I only see 10.1.0-1 in the latest > >> Packages.bz2 from ftp.at.debian.org. > > > > amd64 > > T

Re: python-twisted-core on my machines inexplicably still old, breaking installation of python-twisted

2010-07-25 Thread Sven Joachim
On 2010-07-25 19:16 +0200, Andrei Popescu wrote: > On Du, 25 iul 10, 12:37:28, Sven Joachim wrote: >> >> Which architecture is that? On i386, I only see 10.1.0-1 in the latest >> Packages.bz2 from ftp.at.debian.org. > > amd64 Thanks, I see. The problem is that the twisted source package (which

Re: python-twisted-core on my machines inexplicably still old, breaking installation of python-twisted

2010-07-25 Thread Andrei Popescu
On Du, 25 iul 10, 05:24:33, Jordon Bedwell wrote: > > I confirmed this a few days ago. This is a repo issue that should > be reported to Debian so they can correct the version mismatch, I > mean we shouldn't get all mad about it since it is SID after all, > but they should know that there is a pr

Re: python-twisted-core on my machines inexplicably still old, breaking installation of python-twisted

2010-07-25 Thread Andrei Popescu
On Du, 25 iul 10, 12:37:28, Sven Joachim wrote: > > Which architecture is that? On i386, I only see 10.1.0-1 in the latest > Packages.bz2 from ftp.at.debian.org. amd64 Regards, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-c

Re: python-twisted-core on my machines inexplicably still old, breaking installation of python-twisted

2010-07-25 Thread Sven Joachim
On 2010-07-25 10:37 +0200, Andrei Popescu wrote: > On Vi, 23 iul 10, 09:49:27, Andrei Popescu wrote: >> On Jo, 22 iul 10, 10:28:21, d8uv wrote: >> > I need to install python-twisted, so... >> > >> > $ sudo aptitude install python-twisted >> > [[...]] >> > The following packages have unmet depende

Re: python-twisted-core on my machines inexplicably still old, breaking installation of python-twisted

2010-07-25 Thread Jordon Bedwell
On 7/25/10 3:37 AM, Andrei Popescu wrote: Scratch that, I have the exact same issue. packages.debian.org shows 10.1.0-1 for python-twisted and I can even download it from ftp.at.debian.org (via packages.debian.org), but if I try aptitude with the same mirror I still get the old version. I downlo

Re: python-twisted-core on my machines inexplicably still old, breaking installation of python-twisted

2010-07-25 Thread Andrei Popescu
On Vi, 23 iul 10, 09:49:27, Andrei Popescu wrote: > On Jo, 22 iul 10, 10:28:21, d8uv wrote: > > I need to install python-twisted, so... > > > > $ sudo aptitude install python-twisted > > [[...]] > > The following packages have unmet dependencies: > > python-twisted-mail: Depends: python-twisted-

Re: python-twisted-core on my machines inexplicably still old, breaking installation of python-twisted

2010-07-23 Thread d8uv
Just a preamble, I posted [this question on Server Fault][1], and they've explained what's at fault: > It often takes a few days for a package to appear in all architectures, > because some architectures have more computing power for building than > others. While `python-twisted-core` is architect

Re: python-twisted-core on my machines inexplicably still old, breaking installation of python-twisted

2010-07-22 Thread Andrei Popescu
On Jo, 22 iul 10, 10:28:21, d8uv wrote: > I need to install python-twisted, so... > > $ sudo aptitude install python-twisted > [[...]] > The following packages have unmet dependencies: > python-twisted-mail: Depends: python-twisted-core (>= 10.1) but > 10.0.0-3 is to be installed. > python-twi

Re: python-twisted-core on my machines inexplicably still old, breaking installation of python-twisted

2010-07-22 Thread Jordon Bedwell
On 7/22/10 5:48 PM, d8uv wrote: On Thu, Jul 22, 2010 at 1:21 PM, Camaleón wrote: No need to post this twice :-) I didn't mean to, honest! I suppose not being smart enough to use a mailing list means that I'm also not smart enough to use Debian Sid... - Are you behind a proxy? Maybe your ISP

Re: python-twisted-core on my machines inexplicably still old, breaking installation of python-twisted

2010-07-22 Thread d8uv
On Thu, Jul 22, 2010 at 1:21 PM, Camaleón wrote: > No need to post this twice :-) I didn't mean to, honest! I suppose not being smart enough to use a mailing list means that I'm also not smart enough to use Debian Sid... > - Are you behind a proxy? Maybe your ISP is somehow caching data or > rea

Re: python-twisted-core on my machines inexplicably still old, breaking installation of python-twisted

2010-07-22 Thread Camaleón
On Thu, 22 Jul 2010 10:28:21 -0800, d8uv wrote: > I need to install python-twisted, so... No need to post this twice :-) > $ sudo aptitude install python-twisted [[...]] > The following packages have unmet dependencies: > python-twisted-mail: Depends: python-twisted-core (>= 10.1) but > 10.0.

Re: python-twisted-core not getting updated on i386, but is updated on amd64 [was Re: Increasing number of conflicts]

2010-04-21 Thread Cyril Brulebois
Hi. Rick Thomas (21/04/2010): > I don't know how this can happen, but it definitely did happen. > Enjoy! The list of Arch: all packages merged into the Packages list for a given architecture depends (!) on the build status of the related Arch: any packages. I can think of the following referenc

Re: python-twisted-core not getting updated on i386, but is updated on amd64 [was Re: Increasing number of conflicts]

2010-04-21 Thread Rick Thomas
On Apr 21, 2010, at 11:41 AM, Tristan Seligmann wrote: On Wed, Apr 21, 2010 at 7:41 AM, Rick Thomas wrote: The reason seems to be that python-twisted-core version 10.0.0-3 is available on amd64 Sid, but on i386 Sid it's only available at version 10.0.0-2 . Maybe it needs to be rebuilt fo

Re: python-twisted-core not getting updated on i386, but is updated on amd64 [was Re: Increasing number of conflicts]

2010-04-21 Thread Hugo Vanwoerkom
Kurt Roeckx wrote: On Wed, Apr 21, 2010 at 08:58:53AM +0200, Sandro Tosi wrote: On Wed, Apr 21, 2010 at 07:41, Rick Thomas wrote: The reason seems to be that python-twisted-core version 10.0.0-3 is available on amd64 Sid, but on i386 Sid it's only available at version 10.0.0-2 . Maybe it need

Re: python-twisted-core not getting updated on i386, but is updated on amd64 [was Re: Increasing number of conflicts]

2010-04-21 Thread Kurt Roeckx
On Wed, Apr 21, 2010 at 08:58:53AM +0200, Sandro Tosi wrote: > On Wed, Apr 21, 2010 at 07:41, Rick Thomas wrote: > > The reason seems to be that python-twisted-core version 10.0.0-3 is > > available on amd64 Sid, but on i386 Sid it's only available at version > > 10.0.0-2 . > > > > Maybe it needs

Re: python-twisted-core not getting updated on i386, but is updated on amd64 [was Re: Increasing number of conflicts]

2010-04-21 Thread Tristan Seligmann
On Wed, Apr 21, 2010 at 7:41 AM, Rick Thomas wrote: > The reason seems to be that python-twisted-core version 10.0.0-3 is > available on amd64 Sid, but on i386 Sid it's only available at version > 10.0.0-2 . > > Maybe it needs to be rebuilt for i386 ? python-twisted-core is an Arch: all package,

Re: python-twisted-core not getting updated on i386, but is updated on amd64 [was Re: Increasing number of conflicts]

2010-04-21 Thread Sandro Tosi
Hello, On Wed, Apr 21, 2010 at 07:41, Rick Thomas wrote: > > On Apr 20, 2010, at 2:30 AM, Jimmy Johnson wrote: > >> If I was you I would start by finding out why python-twisted-core is not >> getting upgraded to the latest version that's in the repos and so on, with a >> little investigating I'm

Re: Re: python-moinmoin and fckeditor

2009-05-10 Thread Frank Lin PIAT
Hello, > Florian Kulzer wrote > > On Thu, May 07, 2009 at 03:48:32 -0700, Todd A. Jacobs wrote: > > > The README.Debian says that FCKeditor has been disabled, but that > > > it can be "reinstated." However, I've installed the > > > Debian-maintained fckeditor package, but can't figure out what I

Re: python-moinmoin and fckeditor

2009-05-07 Thread Todd A. Jacobs
On Thu, May 07, 2009 at 03:48:32AM -0700, Todd A. Jacobs wrote: > The README.Debian says that FCKeditor has been disabled, but that it > can be "reinstated." However, I've installed the Debian-maintained If anyone else has had this issue, it turns out that upgrading to 1.8.2 and following the new

Re: python-moinmoin and fckeditor

2009-05-07 Thread Florian Kulzer
On Thu, May 07, 2009 at 03:48:32 -0700, Todd A. Jacobs wrote: > The README.Debian says that FCKeditor has been disabled, but that it can > be "reinstated." However, I've installed the Debian-maintained fckeditor > package, but can't figure out what I need to do to integrate it with > moinmoin. I've

Re: python/smtplib fails on rebuilt system

2009-03-19 Thread Frank Miles
[snip] Florian has written: Check if exim is really listening on port 25: # netstat -plant | grep ':25 ' tcp0 0 127.0.0.1:250.0.0.0:* LISTEN 3271/exim4 Try s=smtplib.SMTP('127.0.0.1') to see if the problem is related to resolving "local

Re: python/smtplib fails on rebuilt system

2009-03-19 Thread Florian Kulzer
On Tue, Mar 17, 2009 at 10:30:49 -0700, Frank Miles wrote: > A hard drive failure forced me to rebuild my main system. Just a few > things haven't been restored; one of them is a python script which is > used to email users of important events. > > In attempting to diagnose the cause, I tried dire

Re: Python problems with a lot of applications.

2008-05-23 Thread Axel Freyn
Hi dark, On Thu, May 22, 2008 at 08:59:29PM +0100, Dark Nebula wrote: > hallo Axel, > > yes i have the file: > [EMAIL PROTECTED]:~$ ls -l /usr/bin/python2.5 > -rwxr-xr-x 1 root root 1174932 2008-05-15 18:36 /usr/bin/python2.5 > [EMAIL PROTECTED]:~$ Well, I think I know your error: the vodaphone pa

Re: Python problems with a lot of applications.

2008-05-22 Thread Dark Nebula
hallo Ron, The only package that i installed "by hand" is Vadafone mobile card driver that uses python yes, but this application runs ok. I install via dpkg the *.deb . Ron Johnson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/22/08 12:11, Axel Freyn wrote: Hi Dark, On Th

Re: Python problems with a lot of applications.

2008-05-22 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/22/08 12:11, Axel Freyn wrote: > Hi Dark, > On Thu, May 22, 2008 at 04:48:32PM +0100, Dark Nebula wrote: >> [EMAIL PROTECTED]:~$ python >> Python 2.5.2 (r252:60911, Apr 5 2008, 16:44:07) >> [GCC 4.2.3 (Debian 4.2.3-3)] on linux2 >> Type "help",

Re: Python problems with a lot of applications.

2008-05-22 Thread Dark Nebula
hallo Axel, yes i have the file: [EMAIL PROTECTED]:~$ ls -l /usr/bin/python2.5 -rwxr-xr-x 1 root root 1174932 2008-05-15 18:36 /usr/bin/python2.5 [EMAIL PROTECTED]:~$ the import seems ok: [EMAIL PROTECTED]:~$ python Python 2.5.2 (r252:60911, Apr 5 2008, 16:44:07) [GCC 4.2.3 (Debian 4.2.3-3)] o

  1   2   3   >