Talk:Hello world/Newbie

From Rosetta Code
Latest comment: 3 years ago by GarveyPatrickD in topic Plain English

Python on Gnu/Linux issue

The example program needs to be the text from the hello world entry, although the extra shebang line can be explained and added too. --Paddy3118 21:50, 12 November 2011 (UTC)Reply[reply]

Python, windows, not so newbie

I just read this article about setting up on windows that is for someone beyond the newbie, but maybe new to Windows registry editing etc. --Paddy3118 05:01, 25 November 2011 (UTC)Reply[reply]

Plain English

Directory name

It's my understanding the name of the directory in which the text file is created will be used as the name of the .exe file. I don't see that noted in the "(Plain) Console HelloWorld" or the "Plain Graphical HelloWorld" section.
GarveyPatrickD (talk) 19:18, 1 December 2020 (UTC)Reply[reply]

It is already noted somewhere in the Console section (the one where the "HelloWorld1.exe" is located); maybe it's not clear. Btw I already edited that by copying your sentence. I decided to not repeat it in the Graphical version because the newbie is already assumed to have experience programming. --Simple9371 (talk) 03:22, 3 December 2020 (UTC)Reply[reply]
And maybe I wasn't reading as carefully as I thought. Having it stated in the sentence you added does slow one down enough to "Take note ..."
Thank you
GarveyPatrickD (talk) 16:21, 3 December 2020 (UTC)Reply[reply]

.exe Portability

I had another thought, but have not taken the time to confirm this. It seems to me, the resulting .exe is standalone. That is, it does not require the IDE as a runtime. One could move the new .exe to another Windows machine and run it successfully.
GarveyPatrickD (talk) 16:21, 3 December 2020 (UTC)Reply[reply]

Well, I just took the time to find out.
One CAN move the .exe and run it on another machine just using the Microsoft Windows capabilities. I even ran it from a shortcut on my desktop.
I don't, yet, have access to Wine or another Windows look alike, but that might be an interesting experiment.
GarveyPatrickD (talk) 16:49, 3 December 2020 (UTC)Reply[reply]
Honestly, I expected a standalone EXE because it is 'compiled.' Anyways, I already added "standalone" in "Upon running the code..." sentence. --Simple9371 (talk) 04:20, 4 December 2020 (UTC)Reply[reply]
Compiling some source doesn't automatically create a standalone .exe. The Plain English compiler generates calls to several Windows .dll files, so it can't be run on a bare X86 motherboard or some other software stack.
GarveyPatrickD (talk) 14:33, 4 December 2020 (UTC)Reply[reply]