|
by: Rasmusson, Lars |
last post by:
Hi,
I have a problem doing I/O in a python thread.
I want a thread to execute a command using
os.popen, read its input until the end, and
then print 'DONE' and terminate.
However, the thread hangs when it reaches
the end of the stream.
|
by: jblazi |
last post by:
Let us assume I have a list like
and would like to transoform it into the string
'{1,2},{7,8},{12,13}'
Which is the simplest way of achiebing this? (The list is in fact much
longer and I may have to cut the resulting strings into chunks of 100 or
|
by: Kurt Tragant |
last post by:
Hi List,
wouldn't it be possible to do a fast backup of the MySQL data in this
way:
1.) rsync the MySQL data (with running mysqld)
2.) Stop mysqld
3.) rsync the MySQL data again
Please answer. I have found a similiar post in the year 2001, but no
|
by: elia Mazzawi |
last post by:
Hi,
i'm replacing a perl script with a C program, so the perl script used
to rsync very many files to some 60 servers, and rsync was excellent
for this.
however the script did do a lot of calculations which perl sucks at
and was using too much memory/cpu.
i took a look at rsync.h and it seemed way too complicated to use. or
maybe i didn't look hard enough
does anyone know how to use rsync in a c program without using a
system call?
|
by: Laszlo Zsolt Nagy |
last post by:
Hello,
I would like to develop a new network protocol, where the server and the
clients are Python programs.
I think to be effective, I need to use TCP_NODELAY, and manually
buffered transfers.
I would like to create a general messaging object that has methods like
sendinteger
recvinteger
|
|
by: M_at |
last post by:
I'm trying to automate file copying of websites between servers with a
web front end to allow our non-technical staff to make changes to sites
live in a safe and ordered manner.
I'm having difficulty using the System.Diagnostics.ProcessStartInfo
technique to start RSYNC
If I try to start RSYNC directly it doesn't terminate and does not
return control to the application.
|
by: nienfeng |
last post by:
Hi, everyone
I want to build rsync server that can run in linux and windows, and
configure by python. So I'm looking for something like rsync for python.
I find rsync.py and pysync. But rsync.py looks like a client mode,
it can't be a rsync server, is it? Can pysync be a rsync server?
Thanks.... by nienfeng
|
by: Evan Klitzke |
last post by:
Are there any python modules for accessing rsync from python? I would
like to be able to rsync files from a python script to a remote server
running an rsync daemon. I'm well aware that I can invoke rsync using
subprocess, os.system, etc., but I am curious if there is a way to do
it directly.
--
Evan Klitzke <evan@yelp.com>
|
by: timw.google |
last post by:
Hi
I want to write a python script that runs rsync on a given directory
and host. I build the command line string, but when I try to run
subprocess.call(cmd), or p=subprocess.Popen(cmd, shell=True),or
os.system(cmd), I get prompted for my login password. I expected this,
but when I try to give my password, it's echoed back to the terminal
and the special characters in the password is (I think) getting
interpreted by the shell (zsh)
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|