Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: WHich is a good site/tutorial to learn Python for beginners?
Post: RE: WHich is a good site/tutorial to learn Python ...

I just started learning Python about three weeks ago. I started off with w3schools. It's a good intro, but not what I would call a true course, as you're just working with hyperlinks on the left-side ...
hikerguy62 News and Discussions 7 4,875 Aug-17-2019, 12:57 AM
    Thread: Question about using lambda
Post: Question about using lambda

I just wrong across this "anonymous function" named lambda and have a quick question. Why am I getting the lambda error message with this code: r = lambda x, y: x * y r(12, 3) print(r) <funct...
hikerguy62 General Coding Help 4 2,423 Aug-17-2019, 12:09 AM
    Thread: Help repeately prompting for directory name if it already exists.
Post: RE: Help repeately prompting for directory name if...

I took a look at that example but it wasn't making sense to me, so I found another snippet. I almost have it, but when I run the code below, it's giving me a syntax error and I don't know why: import...
hikerguy62 General Coding Help 3 2,304 Aug-05-2019, 01:39 PM
    Thread: Help repeately prompting for directory name if it already exists.
Post: Help repeately prompting for directory name if it ...

I'm trying to write some code that will create a directory under an already existing directory (C:\TIME\SITES). I want to keep asking the user to enter a directory name if the one they enter already ...
hikerguy62 General Coding Help 3 2,304 Aug-02-2019, 09:27 PM
    Thread: Help copying files with shutil
Post: RE: Help copying files with shutil

I found a workaround using the os module, but I'd still like to know how to check for and handle cases we're I'm copying a file to a directory where that file already exists. And which is better to ha...
hikerguy62 General Coding Help 2 4,214 Aug-02-2019, 08:16 PM
    Thread: Help copying files with shutil
Post: Help copying files with shutil

I'm messing around with the shutil module (brand new to Python) and trying to figure out how to copy a file without overwriting it. The below works, BUT, if I run it multiple times, it overwrites the ...
hikerguy62 General Coding Help 2 4,214 Aug-02-2019, 07:38 PM
    Thread: OS module and file/directory recovery
Post: OS module and file/directory recovery

I just came across the Python os module and have been tinkering with it. From what I've seen, it's pretty unforgiving when it comes to deleting folders (and probably files as well). I used the os.rmdi...
hikerguy62 General Coding Help 1 2,124 Aug-01-2019, 05:49 PM
    Thread: explanation of code
Post: RE: explanation of code

Thanks. That's clears things up.
hikerguy62 General Coding Help 2 2,217 Aug-01-2019, 01:37 PM
    Thread: explanation of code
Post: explanation of code

The below snippets were taken from the website for xlswriter. I don't understand what the first snippet is doing (the part that starts with expenses = (. Is that a function? I'm completely new to Pyth...
hikerguy62 General Coding Help 2 2,217 Jul-31-2019, 05:50 PM
    Thread: importin function vs. import module
Post: importin function vs. import module

I'm VERY new to programming and working with functions at the moment. I created the following function and saved it in a file named exponent.py def exp(x,y): z = x ** y print(z)When I was watching...
hikerguy62 General Coding Help 2 2,045 Jul-26-2019, 05:51 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020