#ifndef Py_CONFIG_H
#define Py_CONFIG_H
/* pyconfig.h. NOT Generated automatically by configure.
This is a manually maintained version used for the Watcom,
Borland and Microsoft Visual C++ compilers. It is a
standard part of the Python distribution.
WINDOWS DEFINES:
The code specific to Windows should be wrapped around one of
the following #defines
MS_WIN64 - Code specific to the MS Win64 API
MS_WIN32 - Code specific to the MS Win32 (and Win64) API (obsolete, this covers all supported APIs)
MS_WINDOWS - Code specific to Windows, but all versions.
Py_ENABLE_SHARED - Code if the Python core is built as a DLL.
Also note that neither "_M_IX86" or "_MSC_VER" should be used for
any purpose other than "Windows Intel x86 specific" and "Microsoft
compiler specific". Therefore, these should be very rare.
NOTE: The following symbols are deprecated:
NT, USE_DL_EXPORT, USE_DL_IMPORT, DL_EXPORT, DL_IMPORT
MS_CORE_DLL.
WIN32 is still required for the locale module.
*/
/* Deprecated USE_DL_EXPORT macro - please use Py_BUILD_CORE */
#ifdef USE_DL_EXPORT
# define Py_BUILD_CORE
#endif /* USE_DL_EXPORT */
/* Visual Studio 2005 introduces deprecation warnings for
"insecure" and POSIX functions. The insecure functions should
be replaced by *_s versions (according to Microsoft); the
POSIX functions by _* versions (which, according to Microsoft,
would be ISO C conforming). Neither renaming is feasible, so
we just silence the warnings. */
#ifndef _CRT_SECURE_NO_DEPRECATE
#define _CRT_SECURE_NO_DEPRECATE 1
#endif
#ifndef _CRT_NONSTDC_NO_DEPRECATE
#define _CRT_NONSTDC_NO_DEPRECATE 1
#endif
#define HAVE_IO_H
#define HAVE_SYS_UTIME_H
#define HAVE_TEMPNAM
#define HAVE_TMPFILE
#define HAVE_TMPNAM
#define HAVE_CLOCK
#define HAVE_STRERROR
#include <io.h>
#define HAVE_HYPOT
#define HAVE_STRFTIME
#define DONT_HAVE_SIG_ALARM
#define DONT_HAVE_SIG_PAUSE
#define LONG_BIT 32
#define WORD_BIT 32
#define MS_WIN32 /* only support win32 and greater. */
#define MS_WINDOWS
#ifndef PYTHONPATH
# define PYTHONPATH L".\\DLLs;.\\lib"
#endif
#define NT_THREADS
#define WITH_THREAD
#ifndef NETSCAPE_PI
#define USE_SOCKET
#endif
/* Compiler specific defines */
/* ------------------------------------------------------------------------*/
/* Microsoft C defines _MSC_VER */
#ifdef _MSC_VER
/* We want COMPILER to expand to a string containing _MSC_VER's *value*.
* This is horridly tricky, because the stringization operator only works
* on macro arguments, and doesn't evaluate macros passed *as* arguments.
* Attempts simpler than the following appear doomed to produce "_MSC_VER"
* literally in the string.
*/
#define _Py_PASTE_VERSION(SUFFIX) \
("[MSC v." _Py_STRINGIZE(_MSC_VER) " " SUFFIX "]")
/* e.g., this produces, after compile-time string catenation,
* ("[MSC v.1200 32 bit (Intel)]")
*
* _Py_STRINGIZE(_MSC_VER) expands to
* _Py_STRINGIZE1((_MSC_VER)) expands to
* _Py_STRINGIZE2(_MSC_VER) but as this call is the result of token-pasting
* it's scanned again for macros and so further expands to (under MSVC 6)
* _Py_STRINGIZE2(1200) which then expands to
* "1200"
*/
#define _Py_STRINGIZE(X) _Py_STRINGIZE1((X))
#define _Py_STRINGIZE1(X) _Py_STRINGIZE2 ## X
#define _Py_STRINGIZE2(X) #X
/* MSVC defines _WINxx to differentiate the windows platform types
Note that for compatibility reasons _WIN32 is defined on Win32
*and* on Win64. For the same reasons, in Python, MS_WIN32 is
defined on Win32 *and* Win64. Win32 only code must therefore be
guarded as follows:
#if defined(MS_WIN32) && !defined(MS_WIN64)
Some modules are disabled on Itanium processors, therefore we
have MS_WINI64 set for those targets, otherwise MS_WINX64
*/
#ifdef _WIN64
#define MS_WIN64
#endif
/* set the COMPILER */
#ifdef MS_WIN64
#if defined(_M_IA64)
#define COMPILER _Py_PASTE_VERSION("64 bit (Itanium)")
#define MS_WINI64
#define PYD_PLATFORM_TAG "win_ia64"
#elif defined(_M_X64) || defined(_M_AMD64)
#if defined(__INTEL_COMPILER)
#define COMPILER ("[ICC v." _Py_STRINGIZE(__INTEL_COMPILER) " 64 bit (amd64) with MSC v." _Py_STRINGIZE(_MSC_VER) " CRT]")
#else
#define COMPILER _Py_PASTE_VERSION("64 bit (AMD64)")
#endif /* __INTEL_COMPILER */
#define MS_WINX64
#define PYD_PLATFORM_TAG "win_amd64"
#else
#define COMPILER _Py_PASTE_VERSION("64 bit (Unknown)")
#endif
#endif /* MS_WIN64 */
/* set the version macros for the windows headers */
/* Python 3.5+ requires Windows Vista or greater */
#define Py_WINVER 0x0600 /* _WIN32_WINNT_VISTA */
#define Py_NTDDI NTDDI_VISTA
/* We only set these values when building Python - we don't want to force
these values on extensions, as that will affect the prototypes and
structures exposed in the Windows headers. Even when building Python, we
allow a single source file to override this - they may need access to
structures etc so it can optionally use new Windows features if it
determines at runtime they are available.
*/
#if defined(Py_BUILD_CORE) || defined(Py_BUILD_CORE_MODULE)
#ifndef NTDDI_VERSION
#define NTDDI_VERSION Py_NTDDI
#endif
#ifndef WINVER
#define WINVER Py_WINVER
#endif
#ifndef _WIN32_WINNT
#define _WIN32_WINNT Py_WINVER
#endif
#endif
/* _W64 is not defined for VC6 or eVC4 */
#ifndef _W64
#define _W64
#endif
/* Define like size_t, omitting the "unsigned" */
#ifdef MS_WIN64
typedef __int64 ssize_t;
#else
typedef _W64 int ssize_t;
#endif
#define HAVE_SSIZE_T 1
#if defined(MS_WIN32) && !defined(MS_WIN64)
#if defined(_M_IX86)
#if defined(__INTEL_COMPILER)
#define COMPILER ("[ICC v." _Py_STRINGIZE(__INTEL_COMPILER) " 32 bit (Intel) with MSC v." _Py_STRINGIZE(_MSC_VER) " CRT]")
#else
#define COMPILER _Py_PASTE_VERSION("32 bit (Intel)")
#endif /* __INTEL_COMPILER */
#define PYD_PLATFORM_TAG "win32"
#elif defined(_M_ARM)
#define COMPILER _Py_PASTE_VERSION("32 bit (ARM)")
#define PYD_PLATFORM_TAG "win_arm"
#else
#define COMPILER _Py_PASTE_VERSION("32 bit (Unknown)")
#endif
#endif /* MS_WIN32 && !MS_WIN64 */
typedef int pid_t;
#include <float.h>
#define Py_IS_NAN _isnan
#define Py_IS_INFINITY(X) (!_finite(X) && !_isnan(X))
#define Py_IS_FINITE(X) _finite(X)
#define copysign _copysign
/* VS 2010 and above already defines hypot as _hypot */
#if _MSC_VER < 1600
#define hypot _hypot
#endif
/* VS 2015 defines these names with a leading underscore */
#if _MSC_VER >= 1900
#define timezone _timezone
#define daylight _daylight
#define tzname _tzname
#endif
/* Side by Side assemblies supported in VS 2005 and VS 2008 but not 2010*/
#if _MSC_VER >= 1400 && _MSC_VER < 1600
#define HAVE_SXS 1
#endif
/* define some ANSI types that are not defined in earlier Win headers */
#if _MSC_VER >= 1200
/* This file only exists in VC 6.0 or higher */
#include <basetsd.h>
#endif
#endif /* _MSC_VER */
/* ------------------------------------------------------------------------*/
/* egcs/gnu-win32 defines __GNUC__ and _WIN32 */
#if defined(__GNUC__) && defined(_WIN32)
/* XXX These defines are likely incomplete, but should be easy to fix.
They should be complete enough to build extension modules. */
/* Suggested by Rene Liebscher <R.Liebscher@gmx.de> to avoid a GCC 2.91.*
bug that requires structure imports. More recent versions of the
compiler don't exhibit this bug.
*/
#if (__GNUC__==2) && (__GNUC_MINOR__<=91)
#warning "Please use an up-to-date version of gcc! (>2.91 recommended)"
#endif
#define COMPILER "[gcc]"
#define hypot _hypot
#define PY_LONG_LONG long long
#define PY_LLONG_MIN LLONG_MIN
#define PY_LLONG_MAX LLONG_MAX
#define PY_ULLONG_MAX ULLONG_MAX
#endif /* GNUC */
/* ------------------------------------------------------------------------*/
/* lcc-win32 defines __LCC__ */
#if defined(__LCC__)
/* XXX These defines are likely incomplete, but should be easy to fix.
They should be complete enough to build extension modules. */
#define COMPILER "[lcc-win32]"
typedef int pid_t;
/* __declspec() is supported here too - do nothing to get the defaults */
#endif /* LCC */
/* -----------------------------------------
没有合适的资源?快使用搜索试试~ 我知道了~
批量生成word文件.zip
共63个文件
dll:45个
pyd:12个
h:1个
需积分: 44 76 下载量 90 浏览量
2020-05-14
06:30:01
上传
评论 6
收藏 9.11MB ZIP 举报
温馨提示
有时候需要根据excel中的数据生成多个word文件,比如一行数据生成一个文件,这些文件大部分内容是一样的,只有个别地方不一样,像姓名、成绩等,传统方法是拷贝粘贴,但数据量大的话就太麻烦了,为此编程实现自动化。程序原理及源码:https://blog.csdn.net/zw010101/article/details/106111382。python编写的。
资源推荐
资源详情
资源评论
收起资源包目录
批量生成word文件.zip (63个子文件)
word_3
api-ms-win-core-handle-l1-1-0.dll 18KB
pywintypes36.dll 134KB
Include
pyconfig.h 19KB
api-ms-win-crt-string-l1-1-0.dll 24KB
_hashlib.pyd 1.58MB
api-ms-win-crt-environment-l1-1-0.dll 19KB
api-ms-win-crt-locale-l1-1-0.dll 19KB
模板z.dotx 15KB
api-ms-win-core-datetime-l1-1-0.dll 18KB
api-ms-win-core-localization-l1-2-0.dll 21KB
_lzma.pyd 242KB
api-ms-win-core-file-l1-1-0.dll 22KB
_socket.pyd 66KB
api-ms-win-core-sysinfo-l1-1-0.dll 19KB
api-ms-win-core-synch-l1-2-0.dll 19KB
api-ms-win-core-memory-l1-1-0.dll 19KB
mfc140u.dll 5.38MB
unicodedata.pyd 878KB
api-ms-win-crt-convert-l1-1-0.dll 22KB
api-ms-win-core-errorhandling-l1-1-0.dll 18KB
api-ms-win-core-synch-l1-1-0.dll 20KB
base_library.zip 751KB
api-ms-win-crt-math-l1-1-0.dll 27KB
api-ms-win-core-processthreads-l1-1-0.dll 20KB
api-ms-win-crt-conio-l1-1-0.dll 19KB
api-ms-win-core-file-l1-2-0.dll 18KB
api-ms-win-crt-utility-l1-1-0.dll 19KB
api-ms-win-crt-filesystem-l1-1-0.dll 20KB
api-ms-win-core-profile-l1-1-0.dll 18KB
win32ui.pyd 1.36MB
api-ms-win-core-timezone-l1-1-0.dll 19KB
api-ms-win-core-string-l1-1-0.dll 18KB
win32trace.pyd 21KB
api-ms-win-core-processenvironment-l1-1-0.dll 19KB
_ssl.pyd 1.96MB
pyexpat.pyd 186KB
pythoncom36.dll 540KB
成绩单.xlsx 9KB
api-ms-win-core-debug-l1-1-0.dll 18KB
api-ms-win-crt-multibyte-l1-1-0.dll 26KB
api-ms-win-core-util-l1-1-0.dll 18KB
api-ms-win-crt-time-l1-1-0.dll 21KB
api-ms-win-core-namedpipe-l1-1-0.dll 18KB
api-ms-win-crt-process-l1-1-0.dll 19KB
api-ms-win-core-libraryloader-l1-1-0.dll 19KB
_win32sysloader.pyd 11KB
win32api.pyd 129KB
api-ms-win-crt-stdio-l1-1-0.dll 24KB
word_3.exe 1.57MB
api-ms-win-crt-runtime-l1-1-0.dll 23KB
api-ms-win-core-heap-l1-1-0.dll 19KB
api-ms-win-core-interlocked-l1-1-0.dll 18KB
api-ms-win-core-processthreads-l1-1-1.dll 19KB
api-ms-win-core-rtlsupport-l1-1-0.dll 19KB
ucrtbase.dll 993KB
api-ms-win-core-file-l2-1-0.dll 18KB
select.pyd 20KB
_bz2.pyd 83KB
word_3.exe.manifest 1KB
VCRUNTIME140.dll 83KB
api-ms-win-core-console-l1-1-0.dll 19KB
api-ms-win-crt-heap-l1-1-0.dll 19KB
python36.dll 3.44MB
共 63 条
- 1
资源评论
zw010101
- 粉丝: 26
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- (33269446)全国省市县经纬度xml数据(全)
- ip地址查询城市php代码
- jieba分词自定义分词词表
- (6340824)C语言学生信息管理系统
- 床、自行车、瓶子、碗、公交车、食堂、小型车检测12-YOLO(v5至v11)、COCO、CreateML、Paligemma、TFRecord、VOC数据集合集.rar
- (6351410)c++经典程序200例
- (7276248)c语言图书管理系统
- (9368016)C++ STL使用
- (10377004)C语言下实现的学生管理系统
- (15341010)经典C程序一百例
- (174549194)ANSYS Fluent Tutorial Guide
- (175909636)全国293个地级市的经纬度信息
- 尚硅谷宋红康C语言精讲.zip
- 视图库级联抓包,支持GA/T1400-2018版,包括Register, keepalive, subscribe, subscribeNotification等
- ip地址查询区域代码包括php c++ python golang java rust代码使用例子
- C语言结构体精讲,结构体在内存中的访问
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功