About 52 results
Open links in new tab
  1. How do I print the content of a .txt file in Python?

    Aug 15, 2013 · Anyways, I'm working on a piece of code that will open a file, print out the contents on the screen, ask you if you want to edit/delete/etc the contents, do it, and then re-print out the results …

  2. How can I print a pdf file using powershell on Windows 11? (on an ...

    Dec 18, 2024 · Windows "Print" is the Microsoft legacy print text function from the days before windows. It will work with Text based files and in effect replaces "Copy portable file to port" but portable is a …

  3. python - How to print a file to stdout? - Stack Overflow

    Nov 10, 2011 · I've searched and I can only find questions about the other way around: writing stdin to a file. Is there a quick and easy way to dump the contents of a file to stdout?

  4. How to use echo command to print out content of a text file?

    39 I am trying to figure out what is the usage of this command: echo < a.txt According to text book it should redirect a programs standards input. Now I am redirecting a.txt to echo but instead of printing …

  5. printing - How to print a file from VS Code? - Stack Overflow

    Apr 29, 2016 · When you print a markdown file, you probably don't want it printed like a text file when it can be rendered with fonts and proper headings and bullets etc. Support is required for remote …

  6. How can I send a file document to the printer and have it print?

    May 24, 2011 · Here's the basic premise: My user clicks some gizmos and a PDF file is spit out to his desktop. Is there some way for me to send this file to the printer queue and have it print to the locally …

  7. How do get Python to print the contents of a file [duplicate]

    Instead of printing the file. The file just has one short string of text in it, and when I do the opposite (writing the user_input from my Python script to that same file) it works properly. edit: I see what …

  8. VBA Print to PDF and Save with Automatic File Name

    Dec 1, 2014 · Is there a way that the PDF file can create a folder on the users desktop and save the file with a file name based on specific cells in the sheet? If multiple copies of the same sheet are …

  9. Print a file, skipping the first X lines, in Bash [duplicate]

    tail -n +1000001 huge-file.log It's the character that does what you want. To quote from the man page: If the first character of K (the number of bytes or lines) is a `+', print beginning with the Kth item from …

  10. unix - How do I get the find command to print out the file size with ...

    Sep 15, 2008 · Printf works like this: find . -name *.ear -printf "%p %k KB\n" -exec is more powerful and lets you execute arbitrary commands - so you could use a version of 'ls' or 'wc' to print out the …