`pwd’: No such file or directory – getcwd (Errno::ENOENT)
When you rename a subdirectory under the directory where your Linux or MacOS terminal is open you may get the error message /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/knife/cookbook_download.rb:45:in `pwd’: No such file or…
Start a new Spring MVC Java Web application development in NetBeans
When you create your first Spring MVC Java web application in the base installation of NetBeans follow the steps below Create a project In the File menu select New Project… Select the Java Web category, select the Web Application project, and click…
Configure NetBeans for Java Web development
The base installation of NetBeans does not include the web development category. To add the Java web development tools to NetBeans Start the NetBeans IDE, In the Tools menu select Plugins, On the Available Plugins tab select the Java EE Base…
Ruby Gem Management
Ruby gems are Ruby programs and libraries with a name, version and the platform that can execute them. List the installed gems on your system gem list Detailed list that includes the author, homepage, license, install location and a short description gem…
Install a Python package
To install a Python package on Macintosh Download the Python package to your workstation, Unpack the package, Open a terminal window, Start sudo, sudo -i Change to the directory of the package, Install the package. pip install PACKAGE_NAME If you…
PyCharm configuration
When you install PyCharm, the default Python interpreter is may not the version you want to use for your new projects. When you create a new project, and the project interpreter is not set, you may get the following error message: Executed command:…
IronPython
IronPython can expose Python types to C# libraries, and expose C# libraries to Python code.
Python ImportError: No module named …
Symptom: from MY_FOLDER.MY_FILE import MY_CLASS causes an error: ImportError: No module named MY_FOLDER.MY_FILE Debugging: Execute the program in debug mode, In the Variables window expand Special Variables, Read the __warningregistry__ value. Possible…
Python basics
Great Python introductory video for C# developers https://www.youtube.com/watch?v=jj60geqaP08 __ (double underscore) Starting the attribute name with double underscore attribute makes it private. To expose the private attributes and methods…
Working with PyCharm
Project management Create a new project in PyCharm In the File menu select New Project…, On the left side select the Python framework you want to use, Enter the name for your project to the end of the Location path, If you have selected a framework…