Comments for Coffeeghost http://coffeeghost.net Al Sweigart's personal blog Wed, 27 May 2020 00:12:34 +0000 hourly 1 https://wordpress.org/?v=6.0.1 Comment on What One Atheist Believes by loren http://coffeeghost.net/2007/05/14/what-one-atheist-believes/#comment-252411 Wed, 27 May 2020 00:12:34 +0000 http://coffeeghost.net/2007/05/14/what-one-atheist-believes/#comment-252411 I wish these videos weren’t private. I was just recalling how much they meant to me and wanted to share them.
I wish you the best Al, you really touched me all those years back.

]]>
Comment on Python is the new BASIC. by Jc Carnelian http://coffeeghost.net/2008/06/18/python-is-the-new-basic/#comment-225381 Fri, 06 Dec 2019 12:38:54 +0000 http://coffeeghost.net/2008/06/18/python-is-the-new-basic/#comment-225381 I always thought of Python being the new BASIC. But also in a modern way. In BASIC you often been pretty limited. You could write more sophisticated programs with basic, even lets say a Spreadsheet program, calculate and even draw math stuff (even with very limited computers such as ZX80, where you still could draw a sine with “*” characters or similar) and so on. But still many didn’t see BASIC as a “real” language, a serious one however given the fact with a computer like ZX80 you often basically just had two options: BASIC or machinecode, even if you had to write machinecode using PEEK and POKE in BASIC, it was often the only access to computer programming we had back then.

Today Python is easy accessible, simple to learn but also is more modern.
You can write some quite sophisticated apps with Python or even use it for system automatication and hacking. You have with Python less limits than with BASIC back then.

If I’d kids that I wanted to introduce into computer stuff, today I’d give them a Raspi and Python to write their own first games with it.

]]>
Comment on T-Shirt design: Do you have free will? by James http://coffeeghost.net/2011/07/21/t-shirt-design-do-you-have-free-will/#comment-206574 Mon, 08 Oct 2018 21:49:53 +0000 http://coffeeghost.net/?p=397#comment-206574 I see what you did there.

Is this the only comment?

]]>
Comment on Corporate NSA Logos by cmarangu http://coffeeghost.net/2013/10/08/corporate-nsa-logos/#comment-167900 Tue, 20 Feb 2018 23:48:33 +0000 http://coffeeghost.net/?p=523#comment-167900 Those are hilarious

]]>
Comment on Corporate NSA Logos by Xaume http://coffeeghost.net/2013/10/08/corporate-nsa-logos/#comment-83899 Tue, 17 Nov 2015 15:21:20 +0000 http://coffeeghost.net/?p=523#comment-83899 Love it!

]]>
Comment on Pyperclip – A cross-platform clipboard module for Python by brad http://coffeeghost.net/2010/10/09/pyperclip-a-cross-platform-clipboard-module-for-python/#comment-79431 Tue, 29 Sep 2015 16:17:31 +0000 http://coffeeghost.net/?p=245#comment-79431 function _pasteWindows at 0x0398C1E0

]]>
Comment on Pyperclip – A cross-platform clipboard module for Python by brad http://coffeeghost.net/2010/10/09/pyperclip-a-cross-platform-clipboard-module-for-python/#comment-79430 Tue, 29 Sep 2015 16:17:15 +0000 http://coffeeghost.net/?p=245#comment-79430 is the issue

]]>
Comment on Pyperclip – A cross-platform clipboard module for Python by brad http://coffeeghost.net/2010/10/09/pyperclip-a-cross-platform-clipboard-module-for-python/#comment-79429 Tue, 29 Sep 2015 16:16:47 +0000 http://coffeeghost.net/?p=245#comment-79429 what is causing this error

>>> import pyperclip
>>> pyperclip.copy(‘Hello world!’)
>>> pyperclip.paste

>>> pyperclip.copy(‘Hello world!’)
>>> pyperclip.paste

>>>

]]>
Comment on Python is the new BASIC. by Adam Hoke http://coffeeghost.net/2008/06/18/python-is-the-new-basic/#comment-74641 Fri, 31 Jul 2015 16:48:11 +0000 http://coffeeghost.net/2008/06/18/python-is-the-new-basic/#comment-74641 Sorry call takes a list

call([‘mymp3player’, ‘-f secret_voice.mp3])

]]>
Comment on Python is the new BASIC. by Adam Hoke http://coffeeghost.net/2008/06/18/python-is-the-new-basic/#comment-74640 Fri, 31 Jul 2015 16:46:21 +0000 http://coffeeghost.net/2008/06/18/python-is-the-new-basic/#comment-74640 @Chris:

You can execute command line instructions using the call function of the subprocess module:

Ex:

from subprocess import call

call(‘mymp3player’, ‘-f secret_voice.mp3’)

https://docs.python.org/3/library/subprocess.html

]]>