|
Bad Sneakers posted:can someone explain to me what the with\as statement in python is used for? a context manager, so you can execute code on entering and exiting a block. you use as to assign the return/yield value from the context manager. the simplest example is working with a file code:
|
# ¿ Sep 7, 2015 18:20 |
|
|
# ¿ May 15, 2024 09:59 |
|
suffix posted:pycharm
|
# ¿ Sep 11, 2015 00:05 |
|
UncleBlazer posted:I've been using vim for years with Python but might give pycharm a go. Or is buying IntelliJ a better idea? if you are a big fan of vim you can use the idea vim plugin in pycharm or any intellij products.
|
# ¿ Nov 3, 2015 17:57 |