Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > fr.comp.lang.python > #3081

Fonction Webbrowser.open() ne fonctionne pas sous Apache 2.4.27

X-Received by 10.200.68.80 with SMTP id m16mr938342qtn.35.1521031879136; Wed, 14 Mar 2018 05:51:19 -0700 (PDT)
X-Received by 10.31.157.18 with SMTP id g18mr577160vke.2.1521031878907; Wed, 14 Mar 2018 05:51:18 -0700 (PDT)
Path csiph.com!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!r16no161756qtn.1!news-out.google.com!c39ni371qta.0!nntp.google.com!t24no162373qtn.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups fr.comp.lang.python
Date Wed, 14 Mar 2018 05:51:18 -0700 (PDT)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=212.194.118.177; posting-account=gDUz3goAAACmY5312CUMc5j1wfMO0UlE
NNTP-Posting-Host 212.194.118.177
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <5b980494-8ce7-41ca-adad-83c94bff005b@googlegroups.com> (permalink)
Subject Fonction Webbrowser.open() ne fonctionne pas sous Apache 2.4.27
From bgar.pro@gmail.com
Injection-Date Wed, 14 Mar 2018 12:51:19 +0000
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
Lines 22
Xref csiph.com fr.comp.lang.python:3081

Show key headers only | View raw


Bonjour,

La fonction webbrowser ne fonctionne pas sur mon serveur Apache 2.4.27, j'utilise python 3.4.

Le script que j'ai réalisé fonctionne sous l’interpréteur Python mais pas sur mon serveur. Pouvez-vous m'aider s'il vous plaît.

#!d:/Python34/python
import webbrowser

print('Content-type: text/html')
print('')

print('1')
webbrowser.get("windows-default")
print('2')
webbrowser.open_new_tab("http://www.google.com")
print('3')

Cordialement
Ben

Back to fr.comp.lang.python | Previous | NextNext in thread | Find similar


Thread

Fonction Webbrowser.open() ne fonctionne pas sous Apache 2.4.27 bgar.pro@gmail.com - 2018-03-14 05:51 -0700
  Re: Fonction Webbrowser.open() ne fonctionne pas sous Apache 2.4.27 Doug713705 <doug.letough@free.fr> - 2018-03-14 16:34 +0000

csiph-web