From e3324bbb608e3c6c1f1063359e057b6b16a54b97 Mon Sep 17 00:00:00 2001 From: Misha Date: Tue, 8 Aug 2023 01:25:26 -0500 Subject: [PATCH] Added username to the filename --- mastodon-get-posts.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastodon-get-posts.org b/mastodon-get-posts.org index 89adcc8..56456e8 100644 --- a/mastodon-get-posts.org +++ b/mastodon-get-posts.org @@ -40,7 +40,7 @@ df = pd.DataFrame(results) current_date = date.today() current_dir="/".join(inspect.getfile(inspect.currentframe()).split("/")[:-1]) -file_name_save=f'{current_dir}/mydata_{current_date}.csv' +file_name_save=f'{current_dir}/mydata_{current_date}_{username}.csv' df.to_csv(file_name_save, index=False) #+end_src