issue111:courrier
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
issue111:courrier [2016/07/31 14:36] – créée auntiee | issue111:courrier [2016/08/15 13:52] (Version actuelle) – andre_domenech | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | Reasons I Like Ubuntu | + | **Reasons I Like Ubuntu |
I had an old HP notebook with Windows XP with the same problem - took minutes to boot and same to get online, and sometimes just would not load an app. | I had an old HP notebook with Windows XP with the same problem - took minutes to boot and same to get online, and sometimes just would not load an app. | ||
Ligne 10: | Ligne 10: | ||
I use Mint 17 on my main computer and am very happy with it. I am 80+ and using Inkscape tutorials from Full Circle which I find fun. They are great. Just did lesson #49. | I use Mint 17 on my main computer and am very happy with it. I am 80+ and using Inkscape tutorials from Full Circle which I find fun. They are great. Just did lesson #49. | ||
+ | |||
+ | Trudy Thorgeirson** | ||
+ | |||
+ | Des raisons pour lesquelles j'aime Ubuntu | ||
+ | |||
+ | J' | ||
+ | |||
+ | J' | ||
+ | |||
+ | J'ai essayé Ubuntu 15.10, mais il n' | ||
+ | |||
+ | J'ai mis la 12.04 sur un autre vieil ordinateur de bureau - je ne connais pas vraiment son âge, car quelqu' | ||
+ | |||
+ | Sur mon ordinateur principal, j' | ||
Trudy Thorgeirson | Trudy Thorgeirson | ||
- | Python Problem | + | **Python Problem |
I have learned to code with HTML 5 and CSS 3. I have made two websites and uploaded them. Now reading through Full Circle, I thought it is time to learn Python. I opened “Program in Python, Part 1”. I saved the first bit to hello.py. Very nice. | I have learned to code with HTML 5 and CSS 3. I have made two websites and uploaded them. Now reading through Full Circle, I thought it is time to learn Python. I opened “Program in Python, Part 1”. I saved the first bit to hello.py. Very nice. | ||
Ligne 38: | Ligne 52: | ||
or you could force Linux to use python like this... | or you could force Linux to use python like this... | ||
+ | |||
+ | python ./ | ||
+ | |||
+ | Problème avec Python | ||
+ | |||
+ | Je sais coder avec HTML 5 et CSS 3. J'ai créé deux sites Web et les ai téléversés. Maintenant, en lisant le Full Circle, je pensais que le moment était venu pour moi d' | ||
+ | |||
+ | Puis, des ennuis ! Il dit : « Avant de pouvoir exécuter le programme, nous devons le rendre exécutable. Saisissez : | ||
+ | chmod +x hello.py dans le dossier où est enregistré le fichier source. À présent, exécutons le programme. | ||
+ | |||
+ | greg@earth: | ||
+ | |||
+ | Ma question est la suivante : comment taper dans un dossier. Ce n'est pas possible. Il dit d' | ||
+ | |||
+ | Pieter | ||
+ | |||
+ | Greg répond : Vous devrez utilisez une fenêtre de terminal. Dans cette fenêtre, changer pour le dossier (dans mon cas c' | ||
+ | |||
+ | cd ~/ | ||
+ | |||
+ | mais, au lieu du titre de mon dossier à moi, vous entrez celui dans lequel vous avez sauvegardé le code du programme. Vous devez changer les permissions pour pouvoir exécuter votre fichier comme un programme et pas juste comme un fichier texte. Puis, vous tapez dans le terminal... | ||
+ | |||
+ | chmod +x hello.py | ||
+ | |||
+ | Ensuite, pour exécuter le programme, vous tapez dans le terminal... | ||
+ | |||
+ | ./hello.py | ||
+ | |||
+ | Ou, vous avez la possibilité de forcer Linux à utiliser Python comme ceci... | ||
python ./hello.py | python ./hello.py | ||
+ | |||
+ | |||
+ | |||
issue111/courrier.1469968578.txt.gz · Dernière modification : 2016/07/31 14:36 de auntiee