user.py
def create_files(self):
		"""
		Create the users and authors files if they don't exists
		:return:
		"""
		if (type(self.id) is int or self.id is None) and not os.path.exists(User.user_fname):
			f = open(User.user_fname, 'w+')
			f.write('User_Name\tNbClick\tVector\tLocalisation\tGender\tEmotion\tTopicVector\tCentrality\n')
			f.close()

		if type(self.id) is str and not os.path.exists(User.author_fname):
			f = open(User.author_fname, 'w+')
			f.write('User_Name\tNbClick\tVector\tLocalisation\tGender\tEmotion\tTopicVector\tCentrality\n')
			f.close()

		Create the users and authors files if they don't exists
		:return:
		
Create the users and authors files if they don't exists
Create the users and authors files if they don ' t exists
def create_files(self):
		if (type(self.id) is int or self.id is None) and not os.path.exists(User.user_fname):
			f = open(User.user_fname, 'w+')
			f.write('User_Name\tNbClick\tVector\tLocalisation\tGender\tEmotion\tTopicVector\tCentrality\n')
			f.close()
		if type(self.id) is str and not os.path.exists(User.author_fname):
			f = open(User.author_fname, 'w+')
			f.write('User_Name\tNbClick\tVector\tLocalisation\tGender\tEmotion\tTopicVector\tCentrality\n')
			f.close()
def create_files ( self ) : if ( type ( self . id ) is int or self . id is None ) and not os . path . exists ( User . user_fname ) : f = open ( User . user_fname , 'w+' ) f . write ( 'User_Name\tNbClick\tVector\tLocalisation\tGender\tEmotion\tTopicVector\tCentrality\n' ) f . close ( ) if type ( self . id ) is str and not os . path . exists ( User . author_fname ) : f = open ( User . author_fname , 'w+' ) f . write ( 'User_Name\tNbClick\tVector\tLocalisation\tGender\tEmotion\tTopicVector\tCentrality\n' ) f . close ( )
Create the users and authors files if they don't exists
Create the users and authors files if they don ' t exists
"""
		Create the users and authors files if they don't exists
		:return:
		"""
None
self