Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
QT Файлы ---> Случайная строка из файла
niromru
Nov 20th, 2020
(
edited
)
121
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.15 KB
| None
|
0
0
raw
download
clone
embed
print
report
from
random
import
randint
f
=
open
(
'lines.txt'
,
'r'
)
for
i
in
f:
if
randint
(
0
,
1
)
==
1
:
print
(
i.
strip
(
'
\n
'
)
)
break
f.
close
(
)
Add Comment
Please,
Sign In
to add comment
Public Pastes
exemple
C# | 7 min ago | 0.20 KB
DMVCFramework :: Uploading multiple files
Delphi | 15 min ago | 1.57 KB
wsender
PHP | 18 min ago | 0.03 KB
1600an data dummy data product
MySQL | 43 min ago | 267.59 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 43 min ago | 0.39 KB
Untitled
C# | 57 min ago | 5.89 KB
ApiNetworkStruct.cs
C# | 1 hour ago | 0.34 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 💰
GetText | 1 hour ago | 0.38 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!