Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Python 

facebook acc save doesnt output txt file with output

hi
i wanted to make a simple program that takes my input and saves it in a txt file
sadly it doesnt want to work
PHP Code

<?php 
name 
= input("facebook user name: ")
email  = input("facebook user email : ")
password = input("facebook user password: ")
print (
name,email,password)
fw =open('Facebook.txt','w')
fw.write(' \n')
fw.write(name)
fw.write('\n')
fw.write(email)
fw.write('\n')
fw.write(password)
fw.write('\n') 
try adding fw.close() at the end

Code
name = input("facebook user name: ")
email  = input("facebook user email : ")
password = input("facebook user password: ")

print("Name: %s \n Email: %s \n Password: %s" % (name, email, password))

fw =open('Facebook.txt','w')
fw.write(name + "\n" + email + "\n" + password)
fw.close()
i like python lua js
(Feb 12, 2017 09:41 AM)Riԁdle Wrote:  try adding fw.close() at the end

try ? you need to close the file
[Image: bitcoin.png] Be Nice For Once 15hVUVz7xA4kazHdk2BuErENGCskVwjYXP
(Feb 12, 2017 09:44 AM)HFDone Wrote:  try ? you need to close the file

??? what was the point of this post
i like python lua js
the point was to learn you that if you open file you need to close it if you dont close it you will open new thread as op asking why its not working
[Image: bitcoin.png] Be Nice For Once 15hVUVz7xA4kazHdk2BuErENGCskVwjYXP
(Feb 12, 2017 09:53 AM)HFDone Wrote:  the point was to learn you that if you open file you need to close it if you dont close it you will open new thread as op asking why its not working

HFdone is correct i forgot to do that 🤝
(Feb 12, 2017 09:53 AM)HFDone Wrote:  the point was to learn you that if you open file you need to close it if you dont close it you will open new thread as op asking why its not working

yeah I know that's why I told him to try it??? hello??
i like python lua js
only problem that i have now that it does not make a txt file for me idk why xD
saying try means maybe while its not maybe its for sure which put you as guessing
[Image: bitcoin.png] Be Nice For Once 15hVUVz7xA4kazHdk2BuErENGCskVwjYXP
The .txt file should be generated at the same directory where your script is located. Are you getting any error? Try manually creating the .txt file and see if the script updates the file?
(Feb 12, 2017 10:08 AM)Aveling Wrote:  The .txt file should be generated at the same directory where your script is located. Are you getting any error? Try manually creating the .txt file and see if the script updates the file?

i putted it in a map and tried to do it on my desktop still does not want to work


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Source] by HackersNov 19, 2024 01:51 PM 15 688 Nov 19, 2024 01:51 PM
Last Post: Hackers
[.NET] by MarwenSep 24, 2022 04:19 PM 10 638 Sep 24, 2022 04:19 PM
Last Post: BinaryFox
[Shell] by Cyber "Max" ShamanJan 25, 2022 08:56 PM 3 185 Jan 25, 2022 08:56 PM
Last Post: Cyber "Max" Shaman