We have increased the possibilities of interaction with various features for subscribers
The international search engine for developers
The most used site in the world by computer programmers.
A site of online courses dedicated to the major known technologies.
Code - C#
The most used Microsoft technology in the world.
Code - Java
The cross-platform language par excellence.
PrintWriter writer = new PrintWriter("the-file-name.txt", "UTF-8");
writer.println("The first line");
writer.println("The second line");
Code - PHP
The most used open and web technology in the world.
define('SIZE',100); // size of the file to be created.
$fp = fopen('somefile.txt', 'w'); // open in write mode.
fseek($fp, SIZE-1,SEEK_CUR); // seek to SIZE-1
fwrite($fp,'a'); // write a dummy char at SIZE position
fclose($fp); // close the file.
Code - Python
Used in many large IT market realities, including:
with open(path, 'a'):