在Windows上设置Python simpleHTTPserver [duplicate](Set up Python simpleHTTPserver on Windows [duplicate])
这个问题已经在这里有一个答案:
- 什么是Python 3相当于“python -m SimpleHTTPServer” 7的答案
我想在Windows XP上设置Python
SimpleHTTPServer
。 我的电脑上安装了Python。 我正在执行以下命令:python -m SimpleHTTPServer 8888
但我收到错误:
C:\Python33\python.exe: No module named SimpleHTTPServer
Windows的
SimpleHTTPServer
for Python是否可用? 如果是,我该如何设置服务器?This question already has an answer here:
I want to set up Python
SimpleHTTPServer
on Windows XP. I have Python installed on my computer. I am executing the following command:python -m SimpleHTTPServer 8888
But I am getting the error:
C:\Python33\python.exe: No module named SimpleHTTPServer
Is
SimpleHTTPServer
for Python available on Windows? If yes, what do I do to set up the server?
原文:https://stackoverflow.com/questions/17351016
最满意答案
转到产品=> Scheme =>编辑方案或使用快捷方式: CMD + <
将
OS_ACTIVITY_MODE
添加为disable
我使用这个答案: hide-xcode-8-log from @iDevzilla来解决这个问题:
Go to Product => Scheme => Edit Scheme or use shortcut: CMD + <
Add
OS_ACTIVITY_MODE
asdisable
And i use this answer: hide-xcode-8-logs from @iDevzilla to solve this:
Try this: On your Environment Variables set OS_ACTIVITY_MODE = disable
相关问答
更多-
在Xcode中,转到您的目标 ,然后右键单击并选择: Add -> New Build Phase -> New Run Script Build Phase 然后添加以下内容: open /Applications/Utilities/Terminal.app 现在,每次构建应用程序时,Xcode都会运行此构建脚本并启动终端。 请注意,您需要指向终端应用程序的正确位置。 最好的方法是找到Terminal.app并在键入“open”后将其拖放到上述屏幕上。 打开终端后,您需要制作一个AppleScript ...
-
转到产品=> Scheme =>编辑方案或使用快捷方式: CMD + < 将OS_ACTIVITY_MODE添加为disable 我使用这个答案: hide-xcode-8-log from @iDevzilla来解决这个问题: 尝试这样:在您的环境变量设置OS_ACTIVITY_MODE =禁用 Go to Product => Scheme => Edit Scheme or use shortcut: CMD + < Add OS_ACTIVITY_MODE as disable And i use ...
-
Xcode不打算运行该程序,以便它在像Terminal.app这样的外部程序中显示其输出。 它可能可以通过搞乱方案配置来完成,但这可能不是一个好主意。 如果你想让一个程序的输出出现在Terminal.app中,那么你应该在Terminal中运行该程序。 要执行此操作,请转至项目的构建目录,找到可执行文件,然后将路径复制到终端中。 运行该程序。 鉴于你的评论,你不清楚你在问什么。 这听起来像也许你问是否传递给system()的命令也可以在运行Terminal.app时直接使用。 这个问题的答案是'是'。 你给 ...
-
你需要做的是这样的: svn --username user --password password co svn://google.com/ad what you need to do is this: svn --username user --password password co svn://google.com/ad
-
Xcode最近的项目(Xcode Recent Projects)[2021-12-02]
defaults read com.apple.Xcode { NSQuitAlwaysKeepsWindows = 0; } 这意味着您要查找的值不在该包的.plist文件中。 默认文件只能读取〜/ Library / Preferences /文件夹中的那些值。 defaults read com.apple.Xcode { NSQuitAlwaysKeepsWindows = 0; } It means the value you are looking for is not in ... -
链接的答案是Xcode 3,我想。 对于Xcode 4,打开Preferences ....中的Behaviors选项卡,然后在“Build Starts”(确保已选中)下,使用“Console View”部分启用“Show”调试器。 Link's answer is for Xcode 3, I think. For Xcode 4, open the Behaviors tab in Preferences.... and under "Build Starts" (make sure that's c ...
-
我建议你下载xcode的.xip文件并安装它。 以下是为苹果开发人员下载xcode或任何其他开发工具的链接。 https://developer.apple.com/download/more/ I suggest you to download .xip file of xcode and install it. Below is the link to download xcode or anyother development tool for apple developer. https://dev ...
-
HOWTO将命令行参数从Xcode IDE传递到您的程序 打开您的项目的活动计划 。 最简单的方法是从主菜单中进行。 选择产品/计划/编辑计划... 在架构编辑器中,您会在左侧看到几个构建目标; 你想要的是“Run YourProjectName”目标。 选择它。 在右侧,您会看到四个子选项卡,包括“信息”,“参数”,“选项”和“诊断”。 选择参数 添加/删除您需要的任何参数。 在你的情况下,添加/phi作为第一个参数,然后添加10作为第二个参数。 值得注意的是:这也是您可以在启动时指定程序的当前工作目录的 ...
-
我正在使用Snow Leopard + Xcode, xcodebuild和xcrun都出现在/usr/bin 。 无论如何,它们应该出现在/Developer/usr/bin - 您只需要确保路径在$PATH变量中。 您可以在shell配置文件中设置它( ~/.bashrc用于bash ),如下所示: export PATH="/Developer/usr/bin:${PATH}" 至于sh和bash之间的区别, bash支持一些扩展和其他在更原始的sh找不到的特性; 但是 ,在Mac OS X上, s ...
-
我在这个问题上读到,Xcode将其存储库与从终端手动使用git创建的存储库分开。 然而,我的经验表明Xcode实际上发现它很好。 你是对的,它很好(至少对我用它来说)。 无论是使用Xcode创建存储库还是从终端手动创建存储库,功能是否重要? 不,它没有。 两者可以在同一个项目中互换使用吗? 是否会使用相同的存储库? 是的,是的。 也许是最新的Xcode 4.6和这方面的改进,这就是为什么上面提到的问题提出了我没有遇到的问题? 可能,尽管至少在Xcode 4.5中它也适用于我。 I read on this ...