Adrian Petrescu added the comment:
(Oops, that was a bad paste! I meant this link:
https://docs.python.org/2/library/urllib.html#urllib.urlopen)
--
___
Python tracker
<https://bugs.python.org/issue39
Adrian Petrescu added the comment:
This is not a bug, you've just misunderstood the urllib API. If you want to
pass POST data as a payload, it's the second `data` parameter to `urlopen`:
https://bugs.python.org/?@action=confrego=KX9AqsI0JnOLkplIY1AGKXAmDKa38COy
--
nosy: +apetresc
On Thu, 20 Oct 2016 11:34:36 +0200, Tony van der Hoff wrote:
> Can anyone recommend a suitable replacement (preferably
> compatible with htmltmpl)?
I don't think anything is going to be compatible with htmltmpl, but Jinja2
is a very widely-used, well-supported and easy-to-learn templating
New submission from Adrian Petrescu [EMAIL PROTECTED]:
The webbrowser module seems to treat URLs containing the | character
differently based on whether the browser is already running or not.
For instance, consider the following python script:
import webbrowser
url = http://foo.com/bar.html
Adrian Petrescu [EMAIL PROTECTED] added the comment:
Just as an aside, the reason I consider this a fairly serious bug is
that the Google Charts API urls make heavy use of the '|' character,
which means if I want to have Python use it by opening the user's
browser, it won't work if they don't
On Aug 2, 12:41 pm, JD [EMAIL PROTECTED] wrote:
Hi,
What I am trying to do is to run a subprocess on another machine using
subprocess.Popen, this subprocess contuinue writing something into a
file when it is runing.
After submit this subprocess, I tried to open the file and readlines()
in
On Jul 18, 3:05 am, Sanjay [EMAIL PROTECTED] wrote:
Hi All,
I tried posting in this group twice since last week, but the messages
did not appear in the forum. Don't know why. Trying this message
again...
Sanjay
I think I'm having the exact same problem. I posted a new thread last
night and
On Jul 19, 4:27 am, Hrvoje Niksic [EMAIL PROTECTED] wrote:
Adrian Petrescu [EMAIL PROTECTED] writes:
I checked the online Python documentation
athttp://python.org/doc/1.5.2/lib/module-stat.html
but it just says to consult the documentation for your system..
The page you're looking
I'm playing with FUSE's python bindings, and I'm expected to return a
list that matches the structure of a python os.lstat() call. So, for
example:
import os
os.lstat(/home/adrian/fuse_test)
(16877, 1036L, 2050L, 4, 1000, 1000, 4096L, 1184803155,
1184170289, 1184170289)
The problem is, I'm
?
I'm sure SOMEONE in the world has used cookies on Macs so I'm hoping
there is a solution for this...
Thanks in advance!
-- Adrian Petrescu
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED]
wrote:
On Jul 13, 12:14 pm, Adrian Petrescu [EMAIL PROTECTED] wrote:
Hi, all. I'm writing an app for OS X; therefore I'd prefer to use only
the default python install that comes with Tiger. For the moment,
however, this means:
NaviOSX:~ adrianpetrescu$ python -V
11 matches
Mail list logo