Hi,
the other day I came across the book "Classic Computer Science Problems
in Python" by David Kopec.
The function definitions in the examples like
=
def fib2(n: int) -> int:
if n < 2: # base case
return n
return fib2(n - 2) + fib2(n - 1) # recursive case
if __name__
On 7/22/20 12:20 PM, Klaus Jantzen wrote:
Hi,
Trying to install Python 3.8.3 with tkinter I run configure with the
following options
./configure --enable-optimizations --with-ssl-default-suites=openssl
--with-openssl=/usr/local --enable-loadable-sqlite-extensions
--with-pydebug --with
On 7/22/20 11:05 PM, Ned Deily wrote:
On 2020-07-22 06:20, Klaus Jantzen wrote:
Trying to install Python 3.8.3 with tkinter I run configure with the
following options
./configure --enable-optimizations --with-ssl-default-suites=openssl
--with-openssl=/usr/local --enable-loadable-sqlite
Hi,
Trying to install Python 3.8.3 with tkinter I run configure with the
following options
./configure --enable-optimizations --with-ssl-default-suites=openssl
--with-openssl=/usr/local --enable-loadable-sqlite-extensions
--with-pydebug --with-tcltk-libs='-L/opt/ActiveTcl-8.6/lib/tcl8.6'
--
Hi,
if I understand the documentation of the tarfile module correctly writing
TarfileObject.add(".../path/to/filename", recursive=False)
means that the directory structure of the file object will not be included
in the archive.
In the following script only "testtext1.pdf" is s
On 03/23/2017 12:23 AM, Jon Ribbens wrote:
On 2017-03-22, Grant Edwards wrote:
On 2017-03-22, Thomas Nyberg wrote:
On 03/22/2017 03:22 PM, Jon Ribbens wrote:
A simple table with a list of the library names, the debian package
names, and the rpm names would provide the information in a way th
On 03/22/2017 06:34 PM, Thomas Nyberg wrote:
On 03/22/2017 12:42 PM, Klaus Jantzen wrote:
Hello,
in order to have the Python-SQLite support available one has to
recompile Python. For the recompiliation to succeed a number of
'modules/libs' have to
Hello,
in order to have the Python-SQLite support available one has to
recompile Python. For the recompiliation to succeed a number of
'modules/libs' have to be present.
In the internet I found the following list
build-essential
libz-dev
libreadline-dev
libncursesw5-dev
libssl-dev
libgdbm-de
On 02/22/2016 09:32 AM, Klaus Jantzen wrote:
On 02/21/2016 10:37 PM, Albert-Jan Roskam wrote:
(Sorry for top posting)
IIRC, you have to do
sudo apt-get install build-essential python-dev
... then re-compile python
> To: [[1]1]python-list@python.
On 02/22/2016 02:44 AM, Chris Angelico wrote:
On Mon, Feb 22, 2016 at 8:37 AM, Albert-Jan Roskam
[1] wrote:
IIRC, you have to do
sudo apt-get install build-essential python-dev
... then re-compile python
That may well work, but it's probably easier to work this way:
sudo apt-get build
On 02/21/2016 10:37 PM, Albert-Jan Roskam wrote:
(Sorry for top posting)
IIRC, you have to do
sudo apt-get install build-essential python-dev
... then re-compile python
> To: [1]python-list@python.org
> From: [2]k.d.jant...@mailbox.org
> Subject: SQLite
Hello,
I have downloaded Python3.5.1 as .targz, compiled it(configure, make,...)
and it works
(under Debian Wheezy AMD64) up to the moment I wanted to use SQLite.
I get the following message:
===
jantzen@PC4:~$ python
Python 3.5.0 (default, Dec 2 2015, 14:16:16)
[GCC 4
12 matches
Mail list logo