Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > fr.comp.lang.python > #3081
| Newsgroups | fr.comp.lang.python |
|---|---|
| Date | 2018-03-14 05:51 -0700 |
| 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 |
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 | Next — Next in thread | Find similar
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