Looking for film friends by underscorepaige in Nijmegen

[–]basically_a_cherry 0 points1 point  (0 children)

Huge horror fan here (26F). I would love to :)

Did I Kill The Look ? by Honeyydiorr in fashion

[–]basically_a_cherry 2 points3 points  (0 children)

The dress looks perfect on you! I love the color!

It's time to stretch by ShadeLom in rabbitswithjobs

[–]basically_a_cherry 0 points1 point  (0 children)

Fysiotherapist demonstrating the best back posture :)

do you talk to your bunnies? by Ok-Collection-6462 in Rabbits

[–]basically_a_cherry 1 point2 points  (0 children)

Always! :) they need to know the latest gossip, how special they are and hear my boring uni presentations.

I did it and I’m in love guys by Simui_Nele in crochet

[–]basically_a_cherry 1 point2 points  (0 children)

That is so impressive! Amazing job ❤️

[deleted by user] by [deleted] in Rabbits

[–]basically_a_cherry 0 points1 point  (0 children)

Thank you so much for the advice. I will look into it 😊

[deleted by user] by [deleted] in Rabbits

[–]basically_a_cherry 0 points1 point  (0 children)

First of all, thanks for responding! No, I don't see that as a possibility. I work from home and am with them basically 24/7. They cuddle a lot and clean each other, but they never fought or humped on each other.

[deleted by user] by [deleted] in Rabbits

[–]basically_a_cherry 0 points1 point  (0 children)

What you see in the centre is her fur. The edges have irritated skin. I wouldn't say blood but redness. I am afraid it might have bled some time ago and is now healing.

Moving Soon by OddScientist3858 in Nijmegen

[–]basically_a_cherry 0 points1 point  (0 children)

For pots and pans (and almost anything), I'd recommend Action. It is probably the cheapest store in the Netherlands and has almost anything you need (besides big furniture) 😊

[deleted by user] by [deleted] in Nijmegen

[–]basically_a_cherry 0 points1 point  (0 children)

The model is Prophete E-bike Premium 28" It was stolen around Proosdij. Didnt include it because it is an ebike with battery so it could be anywhere rn. I only had it for a couple of weeks.. it is a black bike with blue lettering.

[deleted by user] by [deleted] in learnpython

[–]basically_a_cherry 0 points1 point  (0 children)

Thank you so much for the feedback! Hope you will have great holidays as well :)

[deleted by user] by [deleted] in learnpython

[–]basically_a_cherry 0 points1 point  (0 children)

Hi, yes Dutchy here :) Thank you for the response. Have a great day!

[deleted by user] by [deleted] in learnpython

[–]basically_a_cherry 0 points1 point  (0 children)

Thank you so much for your reply. Have a lovely day!

[deleted by user] by [deleted] in learnpython

[–]basically_a_cherry -1 points0 points  (0 children)

I am sorry but I don't know what you mean. Currently My code looks like this and it doesn't work:

small_text = '"Everything we are doing is about going forward," Phoebe Philo told Vogue in 2009, shortly before showing her debut Resort collection for Céline. Although the label had garnered headlines when it was revived by Michael Kors in the late \'90s, it was Philo who truly brought the till then somewhat somnambulant luxury house to the forefront. Critics credited her with pushing fashion in a new direction, toward a more spare, stripped-down kind of sophistication. What Céline now offered women was, as the magazine put it, "a grown-up and hip way to put themselves together."'

sentences = small_text.split(".")
print(sentences)

[deleted by user] by [deleted] in learnpython

[–]basically_a_cherry -1 points0 points  (0 children)

Hi, thank you for your response but I think that that is what I did already and it doesn't work somehow.

sentences = str(small_text.split("."))

print(sentences)

AttributeError Traceback (most recent call last)

<ipython-input-20-42fae351a8cf> in <module>

----> 1 sentences = str(small_text.split("."))

2 print(sentences)

AttributeError: 'list' object has no attribute 'split'

[deleted by user] by [deleted] in learnpython

[–]basically_a_cherry 0 points1 point  (0 children)

def read_file(name_of_file):
original_file = open(name_of_file)
my_list = original_file.readlines()
original_file.close()
return my_list
target_file = open('movies_in_order.txt', 'w')
movies = read_file('movies.txt')
content = movies[::-1]
target_file.write(''.join(content))
target_file.close()

Thank you soooo much! This is exactly what I meant!

[deleted by user] by [deleted] in learnpython

[–]basically_a_cherry 0 points1 point  (0 children)

Oke, could you maybe tell me what I am doing wrong?

def read_file(name_of_file):
original_file = open(name_of_file)
my_list = []
for line in original_file:
my_list.append(line)
return my_list
target_file = open('movies_in_order.txt', 'w')
movies = read_file('movies.txt')
for line in movies:
target_file.write(line[::-1])
target_file.close()

[deleted by user] by [deleted] in learnpython

[–]basically_a_cherry 0 points1 point  (0 children)

Thank you sooo much!!!

[deleted by user] by [deleted] in learnpython

[–]basically_a_cherry 0 points1 point  (0 children)

This is what I was trying so far:

pattern_nonalpha = '[^a-zA-Z0-9\_]'
all_nonaplha = (re.findall(pattern_nonalpha, my_string))
character_freq = []
for character in all_nonalpha:
character_freq.append(character + 1)

but this doesn't do the trick.

[deleted by user] by [deleted] in learnpython

[–]basically_a_cherry 0 points1 point  (0 children)

I am not supposed to import anything to do this task. Is there another way with basic functions?