Groups
Groups
Sign in
Groups
Groups
python.tw
Conversations
About
Send feedback
Help
如何達成 python程式自動執行在虛擬環境中
130 views
Skip to first unread message
張建凱
unread,
Nov 27, 2014, 4:02:19 AM
11/27/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pyth...@googlegroups.com
我是看到教學django 教學中 步驟會先切換到虛擬環境中 在runserver
所以我想 是否可以寫一個python他會可以自行切換到 虛擬環境然後
執行django 的 runserver
timothy
unread,
Dec 2, 2014, 11:29:13 PM
12/2/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pyth...@googlegroups.com
http://virtualenvwrapper.readthedocs.org/en/latest/tips.html
似乎有人做這件事
張建凱於 2014年11月27日星期四UTC+8下午5時02分19秒寫道:
Rob
unread,
Dec 18, 2014, 8:50:22 AM
12/18/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pyth...@googlegroups.com
在 windows xp 中,我是利用一個 goweb.bat:
cd /d \{My Project Home}
venv\scripts\activate
然後在 VENV\Script\activate.bat 中加入一行:
python mysite\manage.py runserver <-- 加這一行
:END
張建凱於 2014年11月27日星期四UTC+8下午5時02分19秒寫道:
Reply all
Reply to author
Forward
0 new messages