Either run your script with python3 instead of python, or add a Python 3 shebang at the top of your script and run it with ./yourscript.py
Type: Posts; User: Carl H; Keyword(s):
Either run your script with python3 instead of python, or add a Python 3 shebang at the top of your script and run it with ./yourscript.py
Notepad++ is good for Windows but I've found the same issue with EOL when moving between OS.
I find Geany to be much better for cross-platform development. As Oldfred says, set the tabs to 4...
Same laptop also works flawlessley with 16.04 and 18.04
Lenovo G710 laptop.
15.04 Works flawlessly out of the box.
Change the boot priority from UEFI to Legacy to make it boot from USB.
To boot into Windows 8, change it back.
Gnome Disk Utility mentioned some minor problems, but a total reformat of it and everything seems okay (although I haven't reinstalled Ubuntu, I've gone back to Mint).
Thanks for the replies...
This also works for Linux Mint 17. If you boot the install CD with the 'Compatability Mode' option, you won't get the black screen and you can just open a terminal and enter the commands - no need to...
I put a different hard drive in and did a fresh install. It worked fine.
I then put the original hard drive into an older box and installed Mint 16. After about an hour..... "kernel panic - not...
It does not dual boot Windows.
A hardware problem is what I suspect. I'm hoping to isolate the faulty component and then replace it.
How do I check the hard drive, RAM, etc? The machine...
I can't boot to anything. Neither of the installed distros, or any Linux live CD or rescue CD.
The video card is an ATI 6530D and both distros have the correct drivers installed, and were working...
I'm having some issues with my current desktop machine booting up. It either gets as far as the Ubuntu logo, and then freezes with the keyboard LEDs flashing, or it reboots before it gets to that...
It's the same entry, but after removing the share again, the entry has '-' added to the end of it.
Installed onto a machine with an ATI 6530D graphics card and Unity was virtually unusable - very sluggish, low resolution.
Solution as per my thread here:-...
NFS shares don't have UUIDs, but this problem is now the least of my problems with Ubuntu14.04. I've had to resort to typing this from my Linux Mint box...
I have about half a dozen NFS shares mapped to my Ubuntu14.04 box. Each one of them shows up as an icon in the Unity Launcher. This is unnecessary and annoying - they take up a fair bit of space, and...
The above also works for Ubuntu 14.04
Okay, so you've cracked it. ;)
You can now cd into whatever directory you want and delete which files you want to delete. Or you can probably type cd and a space in the terminal, then navigate to...
I had all sorts of problems with a Radeon graphics card. I posted the solution here:- http://ubuntuforums.org/showthread.php?t=2210877
Your original question was about changing the permissions of archive.
Copy this and paste it into a terminal :-
chmod ugo+rwx "/media/graham/Seagate Expansion Drive/archive /"
Now cd to...
How do you access them?
I agree with steeldriver; it sounds like the file or the disk might be corrupted.
I can see that your HDD is formatted as NTFS. It might be worth plugging it into your Windows machine to see if...
This is odd. Are you definitely in the right directory? Can you do these commands and then post the output?
pwd
ls -al | grep archive
What does this return?
file archive
You sure it's not someone else with physical access to your computer that's checking what you've downloaded and deleting certain files?
I have an ATI 6530D graphics card. A couple of months back I installed Mint 16 as a second distro to my Xubuntu 13.04 and got the notorious booting to a black screen problem.
None of the the...
Geany is very good and available in the repos.