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
4ce4f2ee
Kaydet (Commit)
4ce4f2ee
authored
Eyl 29, 2000
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
os.startfile() documentation, based on text from Tim Peters.
üst
42c83afd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
libos.tex
Doc/lib/libos.tex
+18
-0
No files found.
Doc/lib/libos.tex
Dosyayı görüntüle @
4ce4f2ee
...
...
@@ -940,6 +940,24 @@ Availability: Windows.
\versionadded
{
1.5.2
}
\end{datadesc}
\begin{funcdesc}
{
startfile
}{
path
}
Start a file with its associated application. This acts like
double-clicking the file in Windows Explorer, or giving the file name
as an argument to the DOS
\program
{
start
}
command: the file is opened
with whatever application (if any) its extension is associated.
\function
{
startfile()
}
returns as soon as the associated application
is launched. There is no option to wait for the application to close,
and no way to retrieve the application's exit status. The
\var
{
path
}
parameter is relative to the current directory. If you want to use an
absolute path, make sure the first character is not a slash
(
\character
{
/
}
); the underlying Win32
\cfunction
{
ShellExecute()
}
function doesn't work it is. Use the
\function
{
os.path.normpath()
}
function to ensure that the path is properly encoded for Win32.
Availability: Windows.
\versionadded
{
2.0
}
\end{funcdesc}
\begin{funcdesc}
{
system
}{
command
}
Execute the command (a string) in a subshell. This is implemented by
calling the Standard C function
\cfunction
{
system()
}
, and has the
...
...
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