on MacOS.
Or you may want an existing library for all these. For example, pyperclip:
>>> import pyperclip
>>> pyperclip.copy('The text to be copied to the clipboard.')
FYI: https://pypi.python.org/pypi/pyperclip
--
Regards,
Felix Yan
signature.asc
Description: Ope
g, though. In any case, if it's just a tests problem, you should
> theoretically be able to ignore it.
>
> ChrisA
I was just trying to comment and see yours... Thanks a lot! :D
Regards,
Felix Yan
signature.asc
Description: This is a digitally signed message part.
--
https://mail.python.org/mailman/listinfo/python-list
On Monday, March 17, 2014 17:33:09 Antoine Pitrou wrote:
> Hi,
>
> Felix Yan gmail.com> writes:
> > A minimized snippet to reproduce:
> >
> > #!/usr/bin/python
> > import threading
> >
> > def stale():
> > import time
> >
re's an easy way to get broken programs to work again, just
in the way they currently are?
Downstream bug reports, for reference:
http://youtrack.jetbrains.com/issue/PY-12317
https://github.com/paramiko/paramiko/issues/286
Regards,
Felix Yan
signature.asc
Description: This is a digit
gh though.
Also we reported the problem on readline mailing list first, so if they end up
thinking there's something that python need to fix, I'll open a bug on the
Python bug tracker.
Thanks again!
Regards,
Felix Yan
signature.asc
Description: This is a digitally signed mess
;), don't press Enter
- press "Up", followed by any key
Backtrace pasted here: https://paste.xinu.at/cg7/
Downstream bug report on Arch Linux: https://bugs.archlinux.org/task/39144
Any help would be really appreciated!
Regards,
Felix Yan
signature.asc
Description: This is a digitally
uld come up with. Any suggestions are welcome!
>
Sangeet,
I think Python comes with its own HTML parser. Can you have a look at this
http://docs.python.org/library/htmlparser.html and see if it helps?
>
> Thanks,
> Sangeet
> --
> http://mail.python.org/mailman/listinfo/python-
Hello all,
I'm a new learning of Python.
Can someone give me some suggestion about it?
thanks
xianming
--
http://mail.python.org/mailman/listinfo/python-list
Hi,all. Could anybody tell how this code works?
>>> root = [None, None]
>>> root[:] = [root, root]
>>> root
[[...], [...]]
>>> root[0]
[[...], [...]]
>>> root[0][0][1][1][0][0][0][1][1]
[[...], [...]]
>>>
Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
I begin to study with <>
I met a problem with import.
first
I creat a file hello.py
then in fedora /14
I type python to the interpreter
>>> import hello
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named hello
What should i do now.
The current path is n
nloaded from a web browser.
(http://i.imgur.com/l39Lc.png)
Is there anything I had missed out?
Thanks and Regards
Yan Cheng CHEOK
--
http://mail.python.org/mailman/listinfo/python-list
$Wholesale Sports Shoes Clear Air Force One AAA++quality
please kindly visite our website: http://www.8000trade.com
supply sports shoes. The brand Sports shoes basketball shoes, Boot,
walling shoes, Athletic shoes, Jogging shoes, running shoes, leather
shoes, football, shoe sports shoe Footwear Sne
Below is what I copy from the Internet:
import binhex
import sys
infile = "in.txt"
binhex.binhex(infile, sys.stdout)
Every time I try to run this script, I get a message saying
Traceback (most recent call last):
File "D:\eclipse_workspace\encode\src\binhex.sample.py", line 6, in
import
Really thanks for quickly reply Chris!
Actually I tried BeautifulSoup and it's great.
But I'm not very familiar with it and it need more codes to parse the html
and get the right text.
I think regexp is more convenient if there is a way to filter out the list
just in one line:)
I did this all the w
On Nov 21, 1:28 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> duyanningwrote:
> > I have written a pyhton script that will process data file in current
> > working directory.
> > My script is in an different directory to data file.
> > When I debug this script using pdb within emacs, emacs wi
hi all,
Here is 3 PYs, we found there is a big memory wasting, specially the program
c.py, we found the memory will increase very soon.
any body knows why? any RC's problem? thanks
--
eSX
class a():
def __init__(self):
fp = open("a_file_lager_1M","rb")
self
On 8 14 , 9 20 , Peter Otten <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > what am i supposed to do to install the module GNU readline correctly
> > then?
> > by the way,my linux is Mandriva 10
>
> Use the package manager of your distribution to install the readline
> development pac
On 8 14 , 2 44 , Peter Otten <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > i have a question.
> > when i run Interactive Interpreter in linux command promt,how can i
> > move the cursor.
> > for example,when i enter a string,i often enter the quotation mark ""
> > first,and the move
i have a question.
when i run Interactive Interpreter in linux command promt,how can i
move the cursor.
for example,when i enter a string,i often enter the quotation mark ""
first,and the move the cursor inside the mark to enter the string,in
windows,it is ok.but when i do that in linux,pressing t
19 matches
Mail list logo