Oh, it works!
This is the simplest and best way!
Thanks very much!
On 30 April 2016 at 13:42, MRAB wrote:
> On 2016-04-30 19:13, Jianling Fan wrote:
>>
>> Hello everyone,
>>
>> Thanks very much for all your replies and sorry for the inconvience.
>> This is
print('- -b Sync file failure !!!')
return
if not os.path.exists(dest):
os.makedirs(dest)
dir_cmp = filecmp.dircmp(src, dest, ignore=IGNORE)
sync(dir_cmp)
print('^_^ Sync file finished!')
if __name__ == '__main__':
src, d
Hello everyone,
I am trying to use python 27 copying some of my folders and files to
another directory.
My code works good for other files but I have some problem to copy
files that have some special characters in the filename. like
filenames contain Greek "δ" or latin "š".
it always gave a error
--
https://mail.python.org/mailman/listinfo/python-list
t;
>> I am wondering is there any way to extract rar files by python without
>> WinRAR software?
>>
>> I tried Archive() and patool, but seems they required the WinRAR software.
>
> Perhaps 7-zip in a Python subprocess:
> http://superuser.com/questions/458643/unzip-rar-fro
Hello everyone,
I am wondering is there any way to extract rar files by python without
WinRAR software?
I tried Archive() and patool, but seems they required the WinRAR software.
Thanks,
Regards,
Jianling
--
https://mail.python.org/mailman/listinfo/python-list
It seems like that python was already installed in your computer. Please check .
On 11 January 2016 at 14:45, Sean Melville wrote:
> I don't believe it's xp, it's a new laptop
>
>
>
>> On 11 Jan 2016, at 20:33, Cameron Simpson wrote:
>>
>>> On 11Jan2016 19:17, Sean Melville wrote:
>>> I've down
Thanks dieter, The issue is solved.
I use SmartSniff to get the xml message send by java client, and python
client, find the difference.
Define a new class:
class MyData(object):
def __init__(self,myKey,myValue):
self.Key = myKey
self.Value = myValue
and use this object as p
Hi all
I have xmlrpc server written in Java, and it has a method like
Fun( vector, vector), the vector is array of user-defined object, which is
a class extends HashMap.
And I call it like:
server = xmlrpclib.ServerProxy("http://myserver";)
server.Fun( [ {"0.5":0.1}], [ ] )
It always fails
在 2014年11月2日星期日UTC+8上午8时31分39秒,Grant Edwards写道:
> On 2014-11-01, alister wrote:
>
> "The IETF motto is 'rouch consesus and running code'"
>
> -- Scott Bradner (Open Sources, 1999 O'Reilly and Associates)
>
> I don't get it, and googling didn't help. What is "rouch" consensus?
>
> --
> Gran
It seems that waitpid take process handle instead of process id as the
first parameter on Windows. On Unices platform, the first parameter
is process id.
This interface is a little bit confusing. What's the purpose for such
a design?
Thanks a lot,
Fan
--
http://mail.python.org/mailman/lis
Jonathan Gardner wrote:
I see it as a sign of maturity with sufficiently scaled software that
they no longer use an SQL database to manage their data. At some point
in the project's lifetime, the data is understood well enough that the
general nature of the SQL database is unnecessary.
I am
Does this mean terminated threads will automatically release all
resouce?
--
http://mail.python.org/mailman/listinfo/python-list
On Dec 21, 7:25 am, Peter Otten <__pete...@web.de> wrote:
> McCoy Fan wrote:
> > I want to do something simple: read an image from an image URL and
> > write the image to the browser in CGI style.
>
> > I wrote a CGI script to do this (I'm new to Pyth
I want to do something simple: read an image from an image URL and
write the image to the browser in CGI style.
I wrote a CGI script to do this (I'm new to Python) and got the
following error:
"FancyURLopener instance has no attribute 'tempcache'" in http://www.google.com/google_logo.jpg";
imgS
Hello, I'm new to Python.I want to embed Python interpreter into my C++ application powered by Borland C++ Builder 2006. I have written some C++ code in order to evaluate Python script file, but PyImport_Import() calls
failed.I really don't know what's wrong with my cpp code.It always return a
rg/mailman/listinfo/python-list
The python.org site has a faq about getting keystroke.
It uses termios and fcntl modules.
Here's the link:
http://www.python.org/doc/faq/library/#how-do-i-get-a-single-keypress-at-a-time
Hope it can help you!
-
Fan Zhang
--
http://mail.python.org/mailman/listinfo/python-list
On 30 May 2006 20:18:19 -0700, greenflame <[EMAIL PROTECTED]> wrote:
> Second of all, I would like to have
> other methods of shuffling, prefererably riffle shuffling and just
> plain randomly arranging the elements of the list.
The random module has a `shuffle' method. It "Shuffle the sequence
t):
File "test.py", line 9, in ?
d = test()
File "test.py", line 4, in __init__
self.dfunc('Msg in init ...')
AttributeError: test instance has no attribute 'dfunc'
##
Is there any way I can solve this problem?
Regards
- FAN
--
http://mail.python.org/mailman/listinfo/python-list
19 matches
Mail list logo