投稿されたすべてのコード一覧
# Python3.x(3.1以上) Python2.x(2.7)with open(load.txt) as loadfile, open(save.txt) as savefile:#ここに処理を書く# Python3.x(3.0) とか Python2.x(2.6以下)
import java.text.{SimpleDateFormat => SDF}val sdf = new SDF("yyyy-MM-dd'T'HH:mm:ssZ")def convertInt(x: String) = x.toInt
#!/usr/bin/perluse strict;use warnings;use Fcntl;
$ python -m CGIHTTPServer
using (FileStream in = new FileStream("in.txt", FileMode.Open))using (FileStream out = new FileStream("out.txt", FileMode.Create)) {// ...ここで処理}
try (··FileInputStream in = new FileInputStream("in.txt");··FileOutputStream out = new FileOutputStream("out.txt")) {··// ...ここで処理
FileInputStream in = null;try {in = new FileInputStream("in.txt");FileOutputStream out = null;try {
FileInputStream in = null;try {in = new FileInputStream("in.txt");FileOutputStream out = null;try {
FileInputStream in = null;try {in = new FileInputStream("in.txt");FileOutputStream out = null;try {