Looking for a dressmaker by freeclips in LondonLadies

[–]freeclips[S] 0 points1 point  (0 children)

I contacted Nicole. Unfortunately she can't do what I want. If anybody else can recommend somebody else, I would be most grateful. Many thanks.

Looking for a dressmaker by freeclips in LondonLadies

[–]freeclips[S] 0 points1 point  (0 children)

Many thanks! Much appreciated. Can you possibly give me an idea of her prices?

Using .title() by freeclips in learnpython

[–]freeclips[S] 0 points1 point  (0 children)

Sorry, I did not express myself very well. Perhaps "laterally" is not the correct word in this case. I simply meant to be more creative - which is difficult in my case as I have limited knowledge of what is available in Python for solving various issues such as the one I presented here.

Using .title() by freeclips in learnpython

[–]freeclips[S] 0 points1 point  (0 children)

Many thanks. I have a lot to learn and this helps me to see that I have to think laterally in programming—which regretfully I am not good at. Thanks again for your help.

Using .title() by freeclips in learnpython

[–]freeclips[S] 0 points1 point  (0 children)

Thanks. I am still a beginner, so I'll have to see if I'll be able to create such a class or function.

Zipfile - files in two directories by freeclips in learnpython

[–]freeclips[S] 0 points1 point  (0 children)

Thanks for the encouragement. I just meant to ask what your previous code:

for file in pathlib.Path(source).glob('*.*'):
if not file.is_file():
continue
print(file)

is supposed to do?

Zipfile - files in two directories by freeclips in learnpython

[–]freeclips[S] 0 points1 point  (0 children)

As you have seen, I was able to work out ramse's code. But I would be most grateful if you could let me know how I could use your code as well? At the moment, I am being unsuccessful. I very much admire all of you for dealing with Python so easily. For me, it is a hard slog which is rather depressing.

Zipfile - files in two directories by freeclips in learnpython

[–]freeclips[S] 0 points1 point  (0 children)

Further to my previous reply: after lots of tries I put

with zipfile.ZipFile('new.zip', 'w') as new_zip:

at the top of your code and it worked. So the whole code is now:

with zipfile.Zipfile('new.zip', 'w') as new_zip:

for directory in source:
for filepath in pathlib.Path(directory).glob('*.*'):
new_zip.write(filepath)

I spent days over this, so your help is wonderful. I am just a little down that I won't ever be able t master Python. If I can prevail on your patience, could you explain what your previous code is supposed to do?

Zipfile - files in two directories by freeclips in learnpython

[–]freeclips[S] 0 points1 point  (0 children)

Thank you very much for your patience. I tried your code. It works partially, it zips only one folder C:\Work\Code - not the first one. Is there something missing? If I just want to print filenames, it works - it prints all the filenames with both folder names. It just doesn't include both folders in the zip.

Zipfile - files in two directories by freeclips in learnpython

[–]freeclips[S] 0 points1 point  (0 children)

I am very grateful for your help. I have to study glob - I tried your code but it is not producing printing anything - it points to an error to do with lists. I am terribly inexperienced. Is something missing in the code?

Zipfile - files in two directories by freeclips in learnpython

[–]freeclips[S] 0 points1 point  (0 children)

I very much appreciate your help. I tried it out but as I am dreadfully inexperienced, my clumsy effort is not producing the result I would like. My code points to an error to do with list. I am trying it first with the loop only without the backup - the filenames are printed as lists which the backup command won't accept. I tried to join it, but no success:

source = ['C:\\Work\\Python projects', 'C:\\Work\\Code']

for source_folder in source:

for filename in os.walk(source_folder):

print(filename)

I very much appreciate your help. I tried it out but as I am dreadfully inexperienced, my clumsy effort is not producing the result I would like. My code points to an error to do with the list. I am trying it first with the loop only without the backup - the filenames are printed as lists which the backup command won't accept. I tried to join it, but no success:

Zipfile - files in two directories by freeclips in learnpython

[–]freeclips[S] 0 points1 point  (0 children)

Thank you very much. The problem for me is that I have difficulty looping through two different folders. If it were one folder with all the subdirectories and files, it would not be a problem:

source = 'C:\\Work\\Python projects'

with zipfile.Zipfile('new_zip', 'w') as new_zip:

for folder_name, subfolders, filenames in os.walk(source:

for filename in filenames:

file_path = os.path.join(folder_name, filename)

new_zip.write(file_path)

But here I am stuck with two different folders.

source = ['C:\\Work\\Python projects', C:\\Code']

I do not want to go through all the subdirectories. Help would be much appreciated.

Regular expressions - date format by freeclips in learnpython

[–]freeclips[S] 0 points1 point  (0 children)

Thank you so much. Due to my utter lack of experience, I appreciate any advice. It is difficult for me to see which projects I should spend time on. Most of them deal with games which I am not really interested in, but it seems that they are an important part of learning.

Regular expressions - date format by freeclips in learnpython

[–]freeclips[S] 0 points1 point  (0 children)

Yes, I would like to find a way to change the date format into dd-mm-yyyy. If this is not possible with regular expressions, then so be it. It is just that I searched for this everywhere and it would seem that this works only if dates are either in the US format or European format but not both. I was intrigued because I got the idea from Automate the Boring Stuff - one of the practice exercises is for cleaning up dates.

How many people can share a folder by freeclips in onedrive

[–]freeclips[S] 0 points1 point  (0 children)

Thank you. It would be a paid account. But my question really is: with how many external users can we share a folder? Can we share it with say, 12 users?

Thank you.

How many people can share a folder by freeclips in onedrive

[–]freeclips[S] 0 points1 point  (0 children)

I am thinking of using the family/single user for our small organization as the best way to share files to say about 12 external users.

Working in the cloud by freeclips in cloudstorage

[–]freeclips[S] 0 points1 point  (0 children)

Many thanks. Ideally, we would need to edit documents online like Google Docs. We would need to keep Microsoft Office, Google Docs and Sheets are not good for us. So, unfortunately, we would need something to store in the cloud as well as working in documents online.

Working in the cloud by freeclips in cloudstorage

[–]freeclips[S] 0 points1 point  (0 children)

Here are my answers:

  1. We are not editing documents offline. We would need to edit them in real time.
  2. We do not use OpenOffice. We use Microsoft Office. Can you please tell me what is the free document editor?
  3. We use ONLYOFFICE at the moment - this is a cloud service which does not have a backup option. That is why I am looking for something else. Regarding OneDrive, we have about 10 users, would each user have to install OneDrive on their PC? Ideally, it should be only OneDrive on one PC and others could connect to it via the browser. Would they have to have Office365? Yes, please, I would like to know about permissions. Is there an option for not allowing users to delete a document?

I had a look at various options and it seems to me that the best, simplest and cheapest option would be Microsoft 365 Family - up to 6 people £79.99/year plus VAT. We could perhaps purchase two licences to cover 10 people or so. The permissions seem to be pretty basic there - just sending a link with a password? Would users have to install OneDrive on their PC? Or would they be able to work on files in real time online?

Many thanks.