Skip to content

Update FreeSMS.py#4

Open
DarkCoocky wants to merge 1 commit into
Naereen:masterfrom
DarkCoocky:patch-1
Open

Update FreeSMS.py#4
DarkCoocky wants to merge 1 commit into
Naereen:masterfrom
DarkCoocky:patch-1

Conversation

@DarkCoocky

Copy link
Copy Markdown

Finalisation du portage en python 3, ajout de la compatibilité avec un environnement windows. Ajout de messages d'aides adaptés à la plateforme sur laquelle le script tourne.
Fonctionnement OK en python 3.9.2 dans windows.
Fonctionnement OK en python 3.8.5 dans WSL Ubuntu 20.04

Finalisation du portage en python 3, ajout de la compatibilité avec un environnement windows. Ajout de messages d'aides adaptés à la plateforme sur laquelle le script tourne.
Fonctionnement OK en python 3.9.2 dans windows.
Fonctionnement OK en python 3.8.5 dans WSL Ubuntu 20.04
@Naereen

Naereen commented Apr 5, 2021

Copy link
Copy Markdown
Owner

Merci @DarkCoocky, je vais regarder !

@Naereen Naereen self-assigned this Apr 5, 2021
Comment thread FreeSMS.py
Comment thread FreeSMS.py
Comment thread FreeSMS.py
Comment thread FreeSMS.py
variable = variable[:-1]
return variable
if Platform == "win32":
with open("C:\\Users\\"+Uname+"\\.smsapifreemobile_" + name + number + ".b64") as f:

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Il faut factoriser ces deux morceaux, et écrire une fonction qui va récupérer le dit fichier, plutôt qu'écrire deux fois le test avec Platform == "win32".

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Créer une fonction du type "OpenWinSpecialFile" et "TestWinSpecialFile" ?

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Par exemple, oui !

Comment thread FreeSMS.py
Comment thread FreeSMS.py
Comment thread FreeSMS.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants