How to run Python Code from Sublime,and How to run Python Code with input from sublime Using SublimeREPL To install it you need package control this lets you easily install plugins. Follow the instructions. Once thats done: in Sublime press Ctrl + Sh…
python程序运行中改变环境变量: Trying to change the way the loader works for a running Python is very tricky; probably OS/version dependent; may not work. One work-around that might help in some circumstances is to launch a sub-process that changes the environme…
Exploring Python Code Objects https://late.am/post/2012/03/26/exploring-python-code-objects.html Inspired by David Beazley's Keynote at PyCon, I've been digging around in code objects in Python lately. I don't have a particular axe to grind, nor some…
数据库迁移时报错, You have 1 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): shopadmin.Run 'python manage.py migrate' to apply them. 可以执行 python manage.py migrate 它可以让我们在修改Model后可以在不影响现有数据的前提下重建表结构.…