Skip to content
Subjects
Code examples
Library reference
Computer Programming
Python
Java
C++
C
Go
PHP
Kotlin
Ruby
R
Scala
Groovy
Rust
Dart
Mojo
Zig
Julia
Swift
C#
JavaScript
TypeScript
Tutorial menu
×
Subjects
Computer Programming
Maths
Planned
Chemistry
Planned
Lesson contents
Programming resources
All languages
Code examples
Library reference
Programming languages
Python
Java
C++
C
Go
PHP
Kotlin
Ruby
R
Scala
Groovy
Rust
Dart
🔥
Mojo
Zig
Julia
Swift
C#
JavaScript
TypeScript
Tutorials
/
Computer Programming
/
Library
/
Python open in exclusive mode
/
Other languages
open in exclusive mode in other languages
Stop two desks claiming the same ticket
C
open with O_EXCL
Java
Files.createFile
Ruby
File.open with EXCL