Nov-28-2018, 06:45 PM
Nov-28-2018, 07:07 PM
Nov-28-2018, 07:12 PM
Depending on your code, there may not be much to fix. Often it's just a question of importing division and/or print_function from __future__, and maybe renaming raw_input as input if possible.
Nov-29-2018, 03:49 PM
(Nov-28-2018, 07:12 PM)ichabod801 Wrote: [ -> ]Depending on your code, there may not be much to fix. Often it's just a question of importing division and/or print_function from __future__, and maybe renaming raw_input as input if possible.
This is fine . But i have queries regarding the following points:
1.in python 3.3 i have used decode(utf-8).will this cause a problem. If so how can i solve it using six library
2.while running my python code in linux env,2.7,i got a error saying “global name windowsError not defined”.the same doesnt happen for 3.3.how do i solve this
Nov-29-2018, 05:05 PM
while running my python code in linux env,2.7,i got a error saying “global name windowsError not defined”.the same doesnt happen for 3.3.how do i solve this
Nov-29-2018, 06:12 PM
You could define your variables before using them. That'd solve the issue.