Skip to main content

Posts

Showing posts with the label python

Python + network [One]

Already installed Pycharm community edition. Now writing my first script. It is saved as first.py in Pycharm Projects... I already know how to program and have some experience in python so i'm pretty much up and running for this course. next i did how to run scripts from command line to run from command line one must have to set the executable bit 'on' of the file... here's how to do it chmod +x first.py then we can run first.py by simply typing "' ./"' in front of the file to be exected.... Now what does "." means.... "." Dot represent current directory in Linux and Unix ".." Double Dot represent the upper working directory Now for the second program i wrote was on variable...(simple basic stuff) but had to get hands on so i wrote it and no errors at all... it is saved as var.py Next program is loops.py All i wrote was some for statements and some while statements..... for "FOR" i used multi...