October 26th, 2012, 12:53 PM
Pycharm New Directory Console Command
I am relatively new to Python programming and I am eager to learn more Python programming. I have a Pycharm project with two packages and I want to use the Python console to make new directories and new python files into the directories using a Python command on the console that Pycharm has built in.
Please could someone tell me the Python console commands to create new directories in the package folders and the commands to create a new Python file for the directories.
Thank you very much.
October 26th, 2012, 02:30 PM
In this example I use python to create a directory on my file system.
Python 2.7.3 (default, Sep 26 2012, 21:51:14)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
[/code] are essential for python code and Makefiles!
October 26th, 2012, 02:49 PM
Thank you, it's greatly appreciated.
Originally Posted by b49P23TIvg