Here is one of the method in Python to compress the directory. Codes follow, In the above code, we can mention the file name. (Here, ex.Ziptest.zip) Write directory path which we want to compress Zip file will be stored in the current directory
To run the outside executable file in your computer through Python, this is the easiest way. You need to download an executable file and save it in a folder. Write the exe file path in the code above given. Now you can run the executable program easier than any other… [Continue Reading]
This coding for shutdown the computer eventually. After running this code, a message saying “You are about to be signed out in less than a minute” We can avoid that message – os.system(‘shutdown -s -t 0’) instead of using os.system(‘shutdown -s’) will immediately get shut down.
getpass.getuser Here is the simple way to get the user name by using python code. You can get your username without making any changes in the above code.
Get the Python code snippet to check whether the string passed as parameter is Palindrome or not.
Use this Python code snippet to Reverse string from a Python Variable. The code is just a one liner & wjust works fine for reversing string.
This tutorial tells how to install Tensorflow in the prebuilt configuration in both Windows 10 and Ubuntu 16.04(for both CPU & GPU) Currently, 64-bit Python only supported Tensorflow. Install CPU Version on Ubuntu & Windows For Ubuntu 64bit OS First Process is to install CPU Version of TensorFlow. CPU version… [Continue Reading]
strftime For quick syntax & options help with this function, type >>help (“time.strftime”) . This will list all the basic help that you are in need. If you are looking for a much more advanced option with this function, then refer this table. About this function: This function is used to… [Continue Reading]
Get JSON Parser in Python that converts JSON to csv or Excel. Sample JSON file is also provided. Code parses JSON by each node & write to CSV file.
Open Text File – VBA, VBS, Python, C, C++ Code snippets to Open ,Read, Write to text file. Import data from text file into any programming language.
- Block Apps in FaceBook print screen Excel Countif Record Macro Timer in Excel Task Manager VCF HTML Table Import Data Thumbnails Text to Speech TTS Candy Crush C++ Programing Machine learning AI bulk email Excel VBA vba color index vba color codes Android social media Twitter Google+ Google Adsense Tips bitcoin Calendar in Excel outlook vba mass email Data Mining Excel Macro Facebook WhatsApp Wordpress python