Questions tagged [read-write]

Read/write is a mode of access designating the intent or ability to perform both read and write operations on a entity.

Read/write typically denotes the ability or desire to both view and alter the contents on a file or other writable object.

In many cases this would suggest full access to a resource expect possibly in terms of use (e.g. a user have read and write but not execute access to a binary).

633 questions
0
votes
2 answers

Take lines from two files, output into same line- python

I am attempting to open two files then take the first line in the first file, write it to an out file, then take the first line in the second file and append it to the same line in the output file, separated by a tab. I've attempted to code this,…
Micrasema
  • 41
  • 2
  • 8
0
votes
2 answers

MySQL & dotnet: efficiently update every row

I embarked on something I thought would be straight-forward: Sequentially (row by row) read, calculate some values and update the same row before going on to the next for the entire table. The context: one single flat table, 26 million records,…
Matthias
  • 235
  • 1
  • 2
  • 9
0
votes
1 answer

Write to dictionary in plist works but then read dictionary from plist returns (null)

This is how I am accessing the dictionary in the plist in my viewDidLoad method: NSString* documentsDir = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0]; NSString *fileName = [NSString…
Sami
  • 1,374
  • 1
  • 16
  • 43
0
votes
2 answers

how to read/write data dictionary in android programmatically

I want to read/write data dictionary in file which is in android internal/external memory. In WP7, they have used IsolatedStorage for storing the dictionary directly. In IOS, they can write NSDictionary directly to the file. Please anyone tell me…
Ponmalar
  • 6,871
  • 10
  • 50
  • 80
0
votes
1 answer

How to read / write to the Clipboard with JSFL (Flash IDE)

Is there a certain JSFL class that can be used to access the Clipboard's data? I've called this method which copies the newer Motion Object tweens selected on the timeline: timeline.copyMotionAsAS3(); But I haven't found anything yet that can…
chamberlainpi
  • 4,854
  • 8
  • 32
  • 63
0
votes
1 answer

corona sdk state saving using json to return variables

Hi I am building an app using corona sdk which is an interactive ebook. What I need to be able to do is save current variables and then load an external file on startup containing the scene the user is on as well as the choices already made. I store…
0
votes
1 answer

Reading from file, Batch

I'm messing around in Batch and I'm wondering... Can someone help me write to a file (Doc1.txt or Doc1.doc) then read it, set it to a variable. Changed and saved if needed? And have more then one password in a single file? I've heard it's possible…
0
votes
1 answer

CakePHP writing files with different owner/group to server owner/group

Am using CakePHP 2.2.2 and in order to write/delete files/symlinks to a folder have to set containing folder permissions to 0777 as writes seem to be using different owner/group names to those of CakePHP script files. This creates problems when…
user1860549
0
votes
1 answer

Neo4j - Cypher read-write-return query

I'm fairly new to neo4j. I've played a little bit with cypher and REST API. I want to be able to create a leaf node along certain path, consider these nodes are some types of events. I wouldn't know during run time the id of the node this event will…
opensourcegeek
  • 5,552
  • 7
  • 43
  • 64
0
votes
1 answer

File-writing program in C on Unix stuck at 508 open/close cycles

I've written a program in C to write series of characters to a file -- 5 alphanumerics, followed by one (char)(30), a 'record-delimiter' character, repeat... No newlines. The program is able to loop flawlessly until it reaches the 508th iteration…
j6m8
  • 2,261
  • 2
  • 26
  • 34
0
votes
1 answer

python

So i have a piece of code that looks like this: I think it should be an image file :) I look around and found some links to memoryview but looking at the documentation…
Mihkel L.
  • 1,543
  • 1
  • 27
  • 42
0
votes
1 answer

reading plist file crashes

read in did load: NSFileManager *fileManager = [NSFileManager defaultManager]; if (![fileManager fileExistsAtPath: path]) //4 { NSString *bundle = [[NSBundle mainBundle] pathForResource:@"data" ofType:@"plist"]; //5 [fileManager…
dev6546
  • 1,412
  • 7
  • 21
  • 40
0
votes
2 answers

I want To append Some data in the File at specific location With the java Code

I want to append some data in a file the java code. My file contains the following data: #JSGF V1.0; /** * JSGF Grammar for Hello World example */ grammar hello; public =…
BhavikKama
  • 8,566
  • 12
  • 94
  • 164
0
votes
2 answers

How to write a String line to a file every-time I press the "Write" Button

This is my code.. It can only write a line in a file when I press the button but, If I press It again with a new set of Characters, it only delete the old ones and store the new set of char. I don't know how to make it write Characters in a…
JFetz2191
  • 139
  • 1
  • 2
  • 10
0
votes
1 answer

Assigning to 'readonly' return results... global NSString

So what I have is an NSString that I want to be able to access in another class. In my RootViewController.h I have: @interface RootViewController : UITableViewController +(NSMutableString*)MY_STR; @property (nonatomic, readwrite, retain) NSString…
Encephalon
  • 153
  • 2
  • 12