Soluții

Writing to an text file using Python

There are two ways to write in a file:

  1. write() : Inserts the string str1 in a single line in the text file.File_object.write(str1)
  2. writelines() : For a list of string elements, each string is inserted in the text file. Used to insert multiple strings at a single time.File_object.writelines(L) for L = [str1, str2, str3]
[mai mult...]

Cum sa schimbati directia mouse-ului intre monitorul laptopului si monitorul secundar?

De obicei, problema cu direcția mouse-ului este vizibilă după finalizarea configurației monitorului secundar. Practic, observați că nu puteți să mutați mouse-ul de la monitorul laptopului la monitorul secundar din direcția stânga la dreapta. Deși acest lucru dă impresia că cursorul este blocat, observați, de asemenea, că mutarea mouse-ului în partea stângă a monitorului laptopului face de fapt să apară în partea dreaptă a monitorului secundar.

Asadar, cum puteți face să lucrați invers, adică monitorul primar – dreapta, iar cel secundar – stânga?

[mai mult...]

How to Fix Printer keeps Printing Documents in an Inverted Color Scheme

This error causes the documents to appear in inverted colors, if you are printing a black and white document, then your whites will appear in black and the black text will appear white.

1. Type Printer in the Windows Search bar or open “Settings” then  go to “Devices” -> “Printers & Scanners”

2. Open your Printer properties and go to the Advanced tab. Click on that tab named Printing Defaults.

[mai mult...]

How to stop Windows 10 updates

Why would you do that, you may ask? Well if you are like me, some updates may mess with your pc, in some cases if wont even work after an update. In my case i preffer to delay the updates so it wont mess with my workflow.

Usually, it’s not necessary to disable the Windows Update settings permanently. If you want to skip an update, you can pause updates until the day you want to apply them. Using the Settings app, you can stop system updates for up to 35 days on Windows 10 Pro or Home.

[mai mult...]