PLEASE COMMENT, SUBSCRIBE, AND SHARE!!!
Way to create multiline comments in Python?
Inspired by:
http://stackoverflow.com/questions/7696924/way-to-create-multiline-comments-in-python
Best Answer Section:
"
up vote
847
down vote
accepted
You can use triple-quoted strings. When they're not a docstring (first thing in a class/function/module), they are ignored.
'''
This is a multiline
comment.
'''
Guido van Rossum (creator of Python) tweeted this as a "pro tip".
However, Python's style guide, PEP8, favors using consecutive single-line comments, and this is also what you'll find in many projects. Editors usually have a shortcut to do this easily.
shareimprove this answer
edited Jun 30 at 14:27
Martijn Pieters♦
511k7513581508
answered Oct 8 '11 at 12:58
Petr Viktorin
26.4k24660
7
Hm. I put a huge multiline string in a python script test.py just to see. When I do import test, a test.pyc file is generated. Unfortunately, the pyc file is huge and contains the entire string as plain text. Am I misunderstanding something, or is this tweet incorrect? – unutbu Oct 8 '11 at 13:18
16
@unutbu, if it was the only thing in the file, it was a docstring. Put some code before it and it'll disappear from the pyc. I edited the answer and put „module“ to the list of things that have docstrings. – Petr Viktorin Oct 8 '11 at 13:21
18
I don't like multiline string as comments. Syntax highlighting marks them as strings, not as comments. I like to use a decent editor that automatically deals with commenting out regions and wrapping multiline comments while I type. Of course, it's a matter of taste. – Sven Marnach Oct 8 '11 at 13:31
37
As a convention I find it helpful to use """ for docstrings and ''' for block comments. In this manner you can wrap ''' around your usual docstrings without conflict. – Roshambo Dec 18 '12 at 20:03
3
While you can use multi-line strings as multi-line comments, I'm surprised that none of these answers refer to the PEP 8 subsection that specifically recommends constructing multi-line comments from consecutive single-line comments, with blank # lines to distinguish paragraphs. – Air May 21 '14 at 19:32
"

PowerShell on Ubuntu: Adding Comment Based Help
Hi, my name is Wes Holton and welcome back to my series on running Microsoft’s PowerShell on Ubuntu Linux. This series is aimed at the IT professional or hobbyist who may be new to PowerShell, Linux, or both.
In today’s video, we will finish up our three part series on creating custom functions in PowerShell.
During this series, we started with an idea and when we are finished, we will have our own custom PowerShell function that behaves much like a native cmdlet by taking parameters and containing its own comment based help. That comment based help is the subject of today's video.
Let's face it... sometimes working with a system or solution that someone else has written can be confusing, especially if you're working in a command-line and there's not a lot of "discoverability" i.e. menus and buttons to click. That's where Help files can come in really handy.
In today's video, we are going to look at adding comment based help to the function that we've been working on. As I've discussed in a previous video, one of the awesome aspects of Powershell is the HELP. The help files in Powershell are somewhat similar to man pages in a Unix-based system. If you would like to learn more about the PowerShell help system, I have another video all about it linked in the comment section.
Adding help to your script or function not only gives it nice, polished feel, but makes it easier for other admins and support staff to use in the future.
For more info, go to http://technet.microsoft.com/en-us/library/hh847834.aspx
In my next video, we will work on pulling information from the internet for use in a profile script or function
If you found this video helpful, and you would like to see more like it, be sure to give it a like and hit the subscribe button as well.
Leave a comment if you have any questions or there’s something that you’d like me to cover in a future video.
As always, you can reach me on twitter at @holtonwes. I also have a blog at wshwes.blogspot.com. And until next time, POSH ON!
DOWNLOAD VISUAL STUDIO CODE
https://code.visualstudio.com/download
SOURCE FOR TODAY'S SCRIPT
https://gist.github.com/holtonwes/b59aadb8664e07a086bc17e1d616c6e4
TWITTER
https://twitter.com/holtonwes
BLOG
http://wshwes.blogspot.com/
And as always, POSH ON!!
-Wes

In this video we address the "Don't Concatenate Strings" entry from The DevOps Collective's _The Big Book of PowerShell Gotchas_ (https://timw.info/gotchas). Download the associated PowerShell script: http://timwarnertech.com/concat.zip. This video is part of our larger "Gotchas" course at PowerShell.org: http://timw.info/pscourse. Enjoy, thank you, and feel free to leave your feedback in the comments below!

Use comment based help to add information about your scripts and cmdlets
SEE THE CODE:
https://github.com/MrPowerScripts/PowerScripts/blob/master/Help/CommentBasedHelp.ps1 MrPowerScripts channel hopes to help you learn more about programming and automation.
Learning to automate reptitive tasks is more effeicient and frees up time to do the things you actually enjoy.
I'll cover various operating systems such as Windows and Linux using different languages. Powershell, Batch, Python, Javascript, CSS, HTML to name a few.
I also cover helpful tools and concepts such as git, API, flask, various modules and even helpful code from other programmers.
I hope you can learn something from these videos as creating them has helped me learn a lot.

For discussion boards and cooperation on issue tracking, use the SharePoint feature 'Append Changes to Existing Text', which creates a thread of earlier entries: http://www.kalmstrom.com/Tips/SharePoint-Online-Course/Append-Changes-to-Existing-Text.htm

There is a new type of string in ES6 that is defined by using the backticks character. This allows multiline text and templates that allow Javascript Expressions.
This video tutorial is provided by:
www.avelx.co.uk

You can optimize the readability of your PowerShell comment-based help by reformatting the lines to the recommended 80 characters/line. Do it in a flash with the 'Reformat Line Length' feature of PrimalScript.

In this tutorial we'll see how we can use the python command prompt, the Windows command prompt and the python GUI application to execute code.
We'll also build our first python script and make the classic 'Hello World' application in python.

Find the tips and tricks in Notepad++, for using the XML files much effectively.
In Notepad++, if you want to comment and un-comment multiple lines:
1. Go to Plugins
2. Select Plugin Manager, then Show Plugin Manager
3. Select XML Tools and Install
4. Need to restart the Notepad++ when prompted for reboot.
You are there see the video for more details.
Please do leave the comments, thanks in advance.

The AWS CLI is a command line interface that allows you to control the full set of AWS services. You learn how to perform quick ad hoc service operations, and how to create rich scripts to automate your ongoing maintenance. We also share tips on getting the most out of the CLI through built-in features and complementary tools.

Notepad++ : How to remove all lines containing a specific string text
In this video tutorial , I will show you how you can resolve a situation in which your data contains lines that you need to remove and these lines can be identified by a string of characters.
Two methods exist in order to do that :
- Using Bookmarks
- Using Regular expressions
🌸 Subscribe for more videos :
Youtube: https://www.youtube.com/user/aminosni...
🌸 Follow me On Social Media
Facebook : https://www.facebook.com/aminosninatos/
***********************************************************************
🌸 Notepad++ tips and tricks
https://youtu.be/PzjPu5F9K9Y
🌸 Useful Notepad++ Plugins Tutorial
https://youtu.be/E_htKiQgKO0
🌸 Notepad++ Multi-editing and Selection Tutorial
https://youtu.be/QbJ6R735NjY
🌸 Notepad++ Bookmarks Tutorial
https://youtu.be/uD2DMzFpHqk
🌸 Notepad++ Find In Files Tutorial
https://youtu.be/cTj4WOVjYhQ
🌸 Notepad++ : How to remove all lines containing a specific string text
https://youtu.be/SiPLZzRqEwM
🌸 Notepad++ : How to encrypt selected text and entire text using NppCrypt
https://youtu.be/L9BaS--yUKM
🌸 How To Remove Duplicate Lines with Notepad++
https://youtu.be/gYMOsLuEopw
🌸 Notepad++ Monitor Log or Text File Changes in Real Time
https://youtu.be/abViXdBqNCQ
🌸 Notepad++ - How To Add Text at Start and End of Each Line
https://youtu.be/lH8Gkyl1mfg
🌸 Notepad++ How to Remove all XML or HTML tags
https://youtu.be/XINqYcOVmGw
🌸 Notepad++ How to use Incremental Search
https://youtu.be/Q9KCbe-JohY
🌸 Notepad++ How To Insert Incrementing Numbers
https://youtu.be/_4PQ1ZLxYk0
🌸 How To Use Notepad++ As A Hex Editor
https://youtu.be/_f1PDl1TynE
🌸 Notepad++ How To Insert A String Or A Number To Every Line
https://youtu.be/9R0LDKCw6XI
🌸 How To Format And Validate An XML File Using Notepad++
https://youtu.be/kHtk_dUlt6Y
***********************************************************************

Check out my Blog:
http://exceltraining101.blogspot.com
This video shows how to convert comma separated row records into multiple rows. There are two examples: (1) A simple solution using paste special transpose and (2) using Power Query to unpivot the comma separated values. The second example would be used in situations where the records could be in the thousands or even millions of records.
P.S. Feel free to provide a comment or share it with a friend! #exceltips
#exceltipsandtricks
#exceltutorial
#doughexcel

this is trick in python to open multiple web pages in a browser using a webbrowser module it is just for fun you can do this in loop as well as take input from user and it in a file for later use stay subscribed to my channel i'll let you aware how important tool it is and how you can make a useful program out of this module. like comment and share for more tricks like this and projects
thank you
for latus updated and news stay connected with my facebook page
https://www.facebook.com/geekdotpy/

Use Jenkins to generate embeddable build status badges. These badges show the current status of a Jenkins job. You've probably seen them already on GitHub and BitBucket because many open source projects use them!
More free tutorials on Jenkins:
https://goo.gl/2uE4J5
► About me
Check out my blog: https://www.savjee.be
Like my Facebook page: https://www.facebook.com/savjee

Hello friends , In this video I will explain how to use simple replace command in epsilon editor.
how to use normal replace command in epsilon editor.
Using replace command you can replace any text or tags whatever you want to change one by one or you can replace whole file at a time.
how to use simple replace command in epsilon editor.
important shortcut keys in epsilon editor in hindi, basic shortcut keys in epsilon editor, tutorial, commands, new epsilon commands, html epsilon new commands, added new commands in epsilon, epsilon new command tips, new commands in epsilon.
#epsiloneditor
#epsilontexteditor
#simplereplace
#replacecommand
#replaceinepsiloneditor
#replacecommandinepsilon
#recordmacro
#epsilontutorial
#technicalmarket
#technical_market
I am hoping that you will like all of you in this video.
Please subscribe my channel "Technical Market".
Download my Channel Android Apps: https://drive.google.com/file/d/0B0CZnvuTW6lXYU93b3VYS2M3SGs/view?usp=sharing
You can also connect with me:
YouTube Channel: https://www.youtube.com/channel/UCwlJx4_iD51dBUeokdUTMcQ
Google +: https://plus.google.com/u/0/109794273937549674472
Facebook Page: https://www.facebook.com/technicalmarket00/
Twitter: https://twitter.com/tmarket00
Website/Blog: https://technicalmarkets.blogspot.com/
About Channel: Technical Market is a YouTube Channel, where you will find and learn Technology related videos...
THANKS...

GIT - How to modify existing, unpushed commits ?
Amending the most recent commit message
git commit --amend
Will open your editor, allow you to change the committed message of the most recent commit.
Additionally, you can set the commit message directly in the command line with:
git commit --amend -m "New commit message"
When to use git commit --amend ?
Whenever you want to add multiline comments i.e you have done lot of changes in a single commit.
example :
test message
1.refactored sms controller
2.add sms threshold property
3.add dependency in build.gradle

Uploading contracts to an online database should not take too long, and with the right solution, there should be a way to quickly drag and drop them into folders. Of course, the contract management team may want to give some thought as to how those folders are categorized. In some industries, it may make sense to classify them by agreement type, whereas in others they may need to be grouped by timeframe or date. It is obviously important to do what makes sense for your company and to ensure everyone understands the classification system that is instituted. With this sort of well-oiled system in place, it is a lot easier to keep a handle on things.

Divide and Conquer.
This is another area that is very industry-dependent, but it is highly unlikely that any company can afford to have an entire contract team devoted to managing one portfolio. More than likely, it is more realistic to divvy up the team and the contracts so that there is a leader for each relevant sphere. The entire team will obviously have to coordinate and communicate, but resources must be allocated in the most efficient manner possible. In turn, this will allow for several individuals to keep an eye on a smaller batch of contracts, thereby facilitating those periodic reviews.
Outsource the Tedium to Technology.