Sharan
I had similar issue of reading different column sized csv file... Instead
of using pandas I used csv reader which handles with no error...
Regards
Venkat
On Fri, 9 Nov 2018, 8:28 pm Sharan Basappa,
wrote:
> are there any requirements about the format of the CSV file when using
> read_csv
Thanks Peter... What are the ways to update outside of the python program
without defining environment variable for source code path Otherwise
can I do it once in during initialization of sys.path update?
On Fri, 10 Aug 2018, 10:56 pm Peter Otten, <__pete...@web.de> wrote:
> Venkat
Hi All,
I am facing issue with python package import.
In my project, I have many directories with different python classes
defined within them. I am trying to import those classes in another python
program, but not able to import them.
Here are my directories and file structures.
src/platform/op
Hello comp.lang.python Group,
I am trying to invoke a subprocess in Python as below
import sys
import time
import os
import subprocess
DETACHED_PROCESS = 0x0008
path = r'C:\Windows\System32\cmd.exe /k ping www.google.com -n 4 >> temp.txt'
p = subprocess.Popen("%s"%(path), stdout = subproces
e have gone through many forums... but
> didnt get the help...
>
>
> Thanking You,
Regards
*
Venkatesh Sanganal
Asst Manager(Design),
Spectrum Infotech Pvt Ltd,
(Larsen & Toubro Ltd )
145/2, Komarla Solitaire,
Old Madras Rd, CV Raman nagar,
Nagavarapalya,
hi,
i created a daemon process using the following code
import os
import sys
# Default daemon parameters.
# File mode creation mask of the daemon.
UMASK = 0
# Default working directory for the daemon.
WORKDIR = "/"
# Default maximum for the number of available file descriptors.
MAXFD = 10
handling SIGTERM allowed me to do cleaning up while the system shuts down
but as i mentioned previously how can my process know if the system was
not shut down properly previously
On Wed, Mar 19, 2008 at 12:36 PM, bharath venkatesh <
[EMAIL PROTECTED]> wrote:
> hi ,
> th
not shut down properly previously eg a power
failure .. so that my program can do necessary steps if cleaning up is not
done during its last termination
On Wed, Mar 19, 2008 at 8:25 AM, Gabriel Genellina <[EMAIL PROTECTED]>
wrote:
> En Tue, 18 Mar 2008 09:51:03 -0300, bharath
hi ..
my programs runs as daemon and it does some logging .. when system
shuts down .. which may be done manually . i want my process do some
cleaning up automatically such as writing in to the log file when the
process terminats before the system shuts down
hi,
my project involves lot of I/O over the network.. one part of my
project involves a server(http) which is listening on the port for many
client . this sever fetches an image from the web and and send it to
clients and many clients will request the server concurrently .. to
imple
hi ..
is it possible to refresh the cache time of a key with out having to
retrieving the cached data and storing it back in memcache .. for example if
a data is cached for
1 hour and at the 50th minute from the time this data has been cached i
want to store it in the cache for 1 more hou
hi ..
how to create macro in python for set of instruction that is done
frequently but too less in number to ignore the overhead of function call
...
--
http://mail.python.org/mailman/listinfo/python-list
hi,
i wanna run a python program by specifying only its name ex prog with
the arguments in the terminal or command line instead of specifying python
prog in the terminal to run the program not even specifying the it with
.py extension ..
for example i want to run the python program named pro
hi ..
hi i want a program to start running as daemon in background .. my
program is server listen to a client ... so i want to make that program run
as daemon .. when i execute the program the program for ex server.py it
should automatically start running as daemon in the background even if
hi,
In my project i need to store lot n lots of images in my cache and
retrieve it very frequently.. currently i am using memcache to store and
retreive images from cache... i will be using 4 GB ram as cache and each
image won't exceed 1 mb for sure ...and i came across that memcache will be
as
> bharath venkatesh wrote:
> > hi,
> > will this twisted,turbo gear etc help me to create a http server that
> can
> > serve multiple clients concurrently
> > and also the http server which i want to create in my project will not
> be
> > doing any IO (it
basically i want to serve many clients
concurrently in fast n efficient manner
On Feb 20, 2008 5:51 AM, Christian Heimes <[EMAIL PROTECTED]> wrote:
> bharath venkatesh wrote:
> > hi
> >i want to create fast n efficient http server which serve multiple
> > client conc
hi
i want to create fast n efficient http server which serve multiple
client concurrently .. so i thought of threading the http server using
class HTTPServer(SocketServer.ThreadingMixIn, BaseHTTPServer.HTTPServer):
pass:
as this creates an threaded version of http server ... but i re
18 matches
Mail list logo