-
Current Students
MyKSU Resources
Campus Services
Academic Resources
-
Faculty & Staff
MyKSU Resources
Academic Resources
-
Colleges
Colleges
KSU Kennesaw Campus, Kennesaw Hall building. -
Offices & Services
Offices & Services
Students walk across a crosswalk near the Academic Learning Center at Kennesaw State University -
Policies & Governance
Policy Resources
KSU Kennesaw Campus, Kennesaw Hall building - A-Z Index
QuickStart Python
Python is an interpreted high-level general-purpose programming language. Python's design philosophy emphasizes code readability with its notable use of significant indentation.
-
Use Global Protect VPN: Whether on or Off-Campus
Be sure vpn-groups selected when you connect. -
Start an SSH Session
-
Consider This as my_script.py
string1 = 'Hello'
string2 = ' World'
joined_string = string1 + string2
print(joined_string) -
Create Your my_python.pbs
#!/bin/bash
#PBS -l nodes=1:ppn=1
#PBS -l walltime=10:00:00
#PBS -m abe
#PBS -M [email protected]JOBID=`echo $PBS_JOBID | cut -f1 -d.`
module load Anaconda3
eval "$(conda shell.bash hook)"
conda activate myenv
cd ${PBS_O_WORKDIR}
python my_script.py
exit 0
-
Run the Job Script
$qsub my_python.pbs -
Python 3 Documenation