Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
5ac2a07f
Kaydet (Commit)
5ac2a07f
authored
Ara 22, 1998
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Basic documentation for the getpass module.
üst
85220410
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
+31
-0
libgetpass.tex
Doc/lib/libgetpass.tex
+31
-0
No files found.
Doc/lib/libgetpass.tex
0 → 100644
Dosyayı görüntüle @
5ac2a07f
\section
{
\module
{
getpass
}
--- Portable password reading.
}
\declaremodule
{
standard
}{
getpass
}
\moduleauthor
{
Piers Lauder
}{
piers@cs.su.oz.au
}
% Windows support by Guido van Rossum.
\sectionauthor
{
Fred L. Drake, Jr.
}{
fdrake@acm.org
}
\modulesynopsis
{
Portable reading of passwords and retrieval of the userid.
}
The
\module
{
getpass
}
module provides two functions:
\begin{funcdesc}
{
getpass
}{
\optional
{
prompt
}}
Prompt the user for a password without echoing. The user is
prompted using the string
\var
{
prompt
}
, which defaults to
\code
{
'Password: '
}
.
\end{funcdesc}
\begin{funcdesc}
{
getuser
}{}
Return the ``login name'' of the user.
This function checks the environment variables
\envvar
{
LOGNAME
}
,
\envvar
{
USER
}
,
\envvar
{
LNAME
}
and
\envvar
{
USERNAME
}
, in order, and
returns the value of the first one which is set to a non-empty
string. If none are set, the login name from the password database
is returned on systems which support the
\module
{
pwd
}
module,
otherwise, an exception is raised.
\end{funcdesc}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment