Καλώς ορίσατε στο
dotNETZone.gr
-
Σύνδεση
|
Εγγραφή
|
Βοήθεια
σε
Τρέχοντες Ετικέτες
(όλο το δικτυακό τόπο)
Αρχική σελίδα
Ιστολόγια
Συζητήσεις
Εκθέσεις Φωτογραφιών
Αρχειοθήκες
Παρουσίαση με Ετικέτες
Όλες οι Ετικέτε...
»
Versions
»
Security
»
Portability
»
raw_input
»
Compatibility
»
Workarround
»
Python
»
Posts
(RSS)
Fix
HowTo
Input
Semantics
HowTo: make raw_input & input work the same in both Python 2 and 3
Was just trying to make a Python 2 script work in Python 3 and at first it seemed I just needed a small change to add missing parentheses to the argument of a couple of print statements. But then another issue came up, it wasn’t understanding the command raw_input(somePrompt) that was occuring at various places […]
Δημοσιεύτηκε στο
George Birbilis' blog
(Weblog)
από το μέλος
birbilis
στις
Ιουλίου 10, 2020