Re: [Tutor] Questions (and initial responses) on using version control: Why cannot I push my single (master) branch to origin without an error occurring?

2015-05-01 Thread boB Stepp
On Fri, May 1, 2015 at 1:41 PM, Albert-Jan Roskam wrote: > > > On Fri, May 1, 2015 5:39 AM CEST boB Stepp wrote: > >>I created my remote repository on, say my C-drive, with "git init". > > Not with 'git init --bare'? Should I have used the option --bare? I was followi

Re: [Tutor] Questions (and initial responses) on using version control: Why cannot I push my single (master) branch to origin without an error occurring?

2015-05-01 Thread boB Stepp
On Thu, Apr 30, 2015 at 11:21 PM, Alex Kleider wrote: > On 2015-04-30 20:39, boB Stepp wrote: >> >> I created my remote repository on, say my C-drive, with "git init". I >> then copied and pasted a file to that location and put it under >> version control with "git add filename.py". Next I went to

Re: [Tutor] Questions (and initial responses) on using version control: Why cannot I push my single (master) branch to origin without an error occurring?

2015-05-01 Thread Albert-Jan Roskam via Tutor
On Fri, May 1, 2015 5:39 AM CEST boB Stepp wrote: >I created my remote repository on, say my C-drive, with "git init". Not with 'git init --bare'? I usually prefer initializing a remote with a readme, so I can simply clone it and then populate it with files. No 'gi

Re: [Tutor] subprocess.Popen(..., cwd) and UNC paths

2015-05-01 Thread eryksun
On Fri, May 1, 2015 at 8:03 AM, Albert-Jan Roskam wrote: > I used a str for cmd because I found it more readable that way. I could do > cmd.split(). Don't use cmd.split(). That just splits on whitespace without respecting how the shell tokenizes the command. Use shlex.split(cmd) instead. > So o

Re: [Tutor] subprocess.Popen(..., cwd) and UNC paths

2015-05-01 Thread Albert-Jan Roskam via Tutor
On Thu, Apr 30, 2015 1:12 AM CEST eryksun wrote: >On Wed, Apr 29, 2015 at 11:54 AM, Albert-Jan Roskam > wrote: >> Hmmm, that sounds pretty convincing indeed (makes it even stranger that CD >> works the way it works). >> I believe it threw a WindowsError, indicating t

Re: [Tutor] Questions (and initial responses) on using version control: Why cannot I push my single (master) branch to origin without an error occurring?

2015-05-01 Thread Albert-Jan Roskam via Tutor
On Fri, May 1, 2015 6:21 AM CEST Alex Kleider wrote: >On 2015-04-30 20:39, boB Stepp wrote: >> I created my remote repository on, say my C-drive, with "git init". I >> then copied and pasted a file to that location and put it under >> version control with "git add fil

Re: [Tutor] I am trying to get my encryption program to print from my def main. I am just learning the program.

2015-05-01 Thread Alan Gauld
On 01/05/15 11:48, Corneil Lionel wrote: text_list=[] temp=[] import allison import corneil def main(): choice=input("Would you like to begin? y/n: ") while choice!='n': d=cipher() alphabet=['A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V

[Tutor] I am trying to get my encryption program to print from my def main. I am just learning the program.

2015-05-01 Thread Corneil Lionel
text_list=[] temp=[] import allison import corneil def main(): choice=input("Would you like to begin? y/n: ") while choice!='n': d=cipher() alphabet=['A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z'] print('Would you li

Re: [Tutor] query

2015-05-01 Thread Peter Otten
Vishakh Rameshan wrote: > i have downloaded and installed python 3.4.3 > and when i just type print "with message to display" it shows missing > paranthesis error > but what i have learnt is that inorder to display message onle print > command and message in "msg" In Python 2 you would write pri

[Tutor] query

2015-05-01 Thread Vishakh Rameshan
i have downloaded and installed python 3.4.3 and when i just type print "with message to display" it shows missing paranthesis error but what i have learnt is that inorder to display message onle print command and message in "msg" ___ Tutor maillist - T