What do you want to save?
Add Code snippet
New code examples
-
-
Other 2022-01-22 08:01:08
alterning format when reading from a text file
with open("videos.txt") as f: lines = [l.strip() for l in f.readlines()] available_videos = "" for line in lines: title, video, tags = [x.strip() for x in line.split("|")] available_videos += f"{title} ({vid... Add solution -
C# 2022-01-22 03:40:42
delete the particular line in files in c#
string line = null; int line_number = 0; int line_to_delete = 12; using (StreamReader reader = new StreamReader("C:\\input")) { using (StreamWriter writer = new StreamWriter("C:\\output")) { while ((line = reader.ReadLine(... Add solution -
Other 2021-11-22 11:46:17
download files from ftp
#FTP Server Information - SET VARIABLES $ftp = "ftp://XXX.com/" $user = 'UserName' $pass = 'Password' $folder = 'FTP_Folder' $target = "C:\Folder\Folder1\" #SET CREDENTIALS $credentials = new-object System.Net.NetworkCredential($use... Add solution -
Other 2021-11-22 11:45:58
download files from ftp
#FTP Server Information - SET VARIABLES $ftp = "ftp://XXX.com/" $user = 'UserName' $pass = 'Password' $folder = 'FTP_Folder' $target = "C:\Folder\Folder1\" #SET CREDENTIALS $credentials = new-object System.Net.NetworkCredential($use... Add solution -
Other 2021-11-22 11:45:51
download files from ftp
#FTP Server Information - SET VARIABLES $ftp = "ftp://XXX.com/" $user = 'UserName' $pass = 'Password' $folder = 'FTP_Folder' $target = "C:\Folder\Folder1\" #SET CREDENTIALS $credentials = new-object System.Net.NetworkCredential($use... Add solution -
Other 2021-11-22 11:45:50
download files from ftp
#FTP Server Information - SET VARIABLES $ftp = "ftp://XXX.com/" $user = 'UserName' $pass = 'Password' $folder = 'FTP_Folder' $target = "C:\Folder\Folder1\" #SET CREDENTIALS $credentials = new-object System.Net.NetworkCredential($use... Add solution -
Other 2021-11-22 11:45:41
download files from ftp
#FTP Server Information - SET VARIABLES $ftp = "ftp://XXX.com/" $user = 'UserName' $pass = 'Password' $folder = 'FTP_Folder' $target = "C:\Folder\Folder1\" #SET CREDENTIALS $credentials = new-object System.Net.NetworkCredential($use... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5