by: news.west.cox.net |
last post by:
I want to check a directory, see if there are any files in it... then open
each one and do something.
I have this...
files = os.listdir('/direcory')
if len(files) > 0:
for file in files:
f1...
|
by: Xah Lee |
last post by:
# -*- coding: utf-8 -*-
# Python
# to open a file and write to file
# do
f=open('xfile.txt','w')
# this creates a file "object" and name it f.
# the second argument of open can be
|
by: SK |
last post by:
Hey folks,
I am searching for a string (say "ABC") backwards in a file.
First I seek to the end.
Then I try to make a check like -
do {
file.clear ();
file.get(c);
file.seekg(-2,...
|
by: Frances Del Rio |
last post by:
I'm doing a website in which in all html files I have an SSI directive,
thus:
<!--#include file="nav.html"-->
but if I call same file from an html file in a sub-dir in webiste, thus:
...
|
by: cong ngo |
last post by:
Hi all
I have a VB script to import a specific text file
call(s12.txt).
But the annoyting part is that the filename change all the time.
Today it may be S1205 tomorrow it may S121003. I keep...
|
by: Richard Arthur |
last post by:
This is a weird problem.
1) I use MediaDet to save a bitmap in a temporary file.
2) I create a bitmap using that temporary file's name.
3) I use the bitmap.
4) I want to destroy the file when...
|
by: Tony Cheng |
last post by:
I want to know which account will be used when File.Exists are called in
ASP.NET ? Thx
|
by: David Thielen |
last post by:
Hi;
I am creating png files in my ASP .NET app. When I am running under Windows
2003/IIS 6, the file is not given the security permissions it should have. It
does not have any permission for...
|
by: Kenneth H. Brannigan |
last post by:
Hello,
I have a FileSystemWatcher looking at a particular directory. When I copy a
large file (750 MB) to this directory I receive multiple Change events. I am
fine with this but when I call...
|
by: zaheer031 |
last post by:
I am using the following code
typedef struct A {
int x;
int y;
int z;
};
int main(void) {
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
|