Soluții

How to open a file using Python?

The key function for working with files in Python is the open() function.

The open() function takes two parameters; filename, and mode.

There are four different methods (modes) for opening a file:

"r" – Read – Default value. Opens a file for reading, error if the file does not exist

"a" – Append – Opens a file for appending, creates the file if it does not exist

"w" – Write – Opens a file for writing, creates the file if it does not exist

"x" – Create – Creates the specified file, returns an error if the file exists

In addition you can specify if the file should be handled as binary or text mode

"t" – Text – Default value. Text mode

"b" – Binary – Binary mode (e.g. images)

[mai mult...]

How to Sort by Multiple Columns in Google Sheets

Când analizați seturi de date complexe în Foi de calcul Google, puteți profita de funcția de sortare integrată pentru a organiza datele. Puteți sorta după coloane individuale sau pentru date mai complexe, puteți sorta după mai multe coloane.
Pentru aceasta, va trebui să deschideți foaia de calcul Google Sheets și să selectați setul de date pe care doriți să îl sortați. Puteți face acest lucru manual selectând celulele folosind mouse-ul sau selectând una dintre celulele din setul de date și apăsând Ctrl + A de pe tastatură.

[mai mult...]

How to Edit a Received Email in Microsoft Outlook

The subject and body of a received email are at the whim of the sender, but you can change the subject line to something better or add notes to the body quickly and easily using Microsoft Outlook. Have you ever forwarded an email to yourself or created a new task instead of marking an email for Followup just so you could add notes to it? Maybe you’ve dragged an email into OneNote or Evernote so you can write a little context around it? Or perhaps you’ve just quietly cursed the sender for not adding a useful subject line or not adding a subject at all.

One way or another, received emails would sometimes be more useful if you could edit the subject or add notes to them. But there’s no need for a clunky process or third-party software because, in Microsoft Outlook, you can edit a received email.

[mai mult...]

How to Disable Recommendations on Google TV

Google TV streaming devices have a Home screen stuffed with recommendations. There are many ways you can fine-tune these, but if you prefer a less cluttered interface, you can also turn them off.

The Google TV Home screen on devices like the Chromecast with Google TV is very different from the company’s previous streaming media platform, Android TV. For one thing, you don’t have as much control over how the Home screen looks. If you enable “Apps Only Mode,” you can turn off most of the recommendations, but there are still a couple of catches.

[mai mult...]