Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
9fc0e995
Commit
9fc0e995
authored
Jan 17, 2014
by
Zachary Ware
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #20266: Update parts of the Windows FAQ
parent
7f470d0f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
Doc/faq/windows.rst
Doc/faq/windows.rst
+7
-5
Misc/NEWS
Misc/NEWS
+3
-1
No files found.
Doc/faq/windows.rst
View file @
9fc0e995
...
@@ -170,18 +170,20 @@ offender.
...
@@ -170,18 +170,20 @@ offender.
How do I make an executable from a Python script?
How do I make an executable from a Python script?
-------------------------------------------------
-------------------------------------------------
See http://
www.py2exe.org
/ for a distutils extension that allows you
See http://
cx-freeze.sourceforge.net
/ for a distutils extension that allows you
to create console and GUI executables from Python code.
to create console and GUI executables from Python code.
`py2exe <http://www.py2exe.org/>`_, the most popular extension for building
Python 2.x-based executables, does not yet support Python 3 but a version that
does is in development.
Is a ``*.pyd`` file the same as a DLL?
Is a ``*.pyd`` file the same as a DLL?
--------------------------------------
--------------------------------------
.. XXX update for py3k (PyInit_foo)
Yes, .pyd files are dll's, but there are a few differences. If you have a DLL
Yes, .pyd files are dll's, but there are a few differences. If you have a DLL
named ``foo.pyd``, then it must have a function ``
init
foo()``. You can then
named ``foo.pyd``, then it must have a function ``
PyInit_
foo()``. You can then
write Python "import foo", and Python will search for foo.pyd (as well as
write Python "import foo", and Python will search for foo.pyd (as well as
foo.py, foo.pyc) and if it finds it, will attempt to call ``
init
foo()`` to
foo.py, foo.pyc) and if it finds it, will attempt to call ``
PyInit_
foo()`` to
initialize it. You do not link your .exe with foo.lib, as that would cause
initialize it. You do not link your .exe with foo.lib, as that would cause
Windows to require the DLL to be present.
Windows to require the DLL to be present.
...
...
Misc/NEWS
View file @
9fc0e995
...
@@ -302,7 +302,9 @@ Tests
...
@@ -302,7 +302,9 @@ Tests
Documentation
Documentation
-------------
-------------
-
Issue
#
20255
:
Update
the
about
and
bugs
pages
.
-
Issue
#
20266
:
Updated
some
parts
of
the
Windows
FAQ
.
-
Issue
#
20255
:
Updated
the
about
and
bugs
pages
.
-
Issue
#
20253
:
Fixed
a
typo
in
the
ipaddress
docs
that
advertised
an
-
Issue
#
20253
:
Fixed
a
typo
in
the
ipaddress
docs
that
advertised
an
illegal
attribute
name
.
Found
by
INADA
Naoki
.
illegal
attribute
name
.
Found
by
INADA
Naoki
.
...
...
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