Code Monkey home page Code Monkey logo

nyu-info-2335-201905's Introduction

NYU INFO 2335: Programming in Python & Fundamentals of Software Development (Summer 2019)

Description

Today's businesses rely on application software to perform operations, aid decision-making, and drive competitive advantage. In this course, students will learn how to write practical business applications in the Python programming language. No prior programming experience is required. Students will also explore business models and best practices involved in the production and management of application software. Throughout the semester, students will be immersed in hands-on Python programming projects and should emerge with marketable technology skills.

Instructional Units

  • Unit 0: Onboarding
  • Unit 1: Software Products and Services
  • Unit 2: User Interfaces and Experiences (UI/UX)
  • Unit 3: Python Language Overview, and Processing Data in Memory
  • Unit 4: Datastores, and Processing CSV Data
  • Unit 4B (Optional Bonus Material): Dataviz and Business Analytics
  • Unit 5: Networks, and Processing Data from the Internet
  • Unit 6: Technology Management, and the Systems Development Lifecycle (SDLC)
  • Unit 7: Software Delivery and Distribution
  • Unit 8: Software Maintenance and Quality Control

External Resources

nyu-info-2335-201905's People

Contributors

amoy007 avatar amyklopfen avatar au643 avatar b-starr avatar bailining0415 avatar c2bsb12 avatar cignare3 avatar daecker avatar dheerajrekula avatar ds5507 avatar eocello10 avatar erikghamilton avatar esl405 avatar harrisongrubb avatar hirokiden avatar jia2zhang avatar jsr512 avatar ktg269 avatar kyokang1 avatar mfaibish avatar rg3556 avatar richiebubbs avatar rohanmalhotra4622 avatar s2t2 avatar sgargiulo avatar slazun avatar supriyajha5 avatar tconnor23 avatar vgm236 avatar zach-diamond avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

nyu-info-2335-201905's Issues

Downloading CSV files from GitHub

Many students have asked how to download CSV files from the course repository. I should provide more information about how to do it.

Short answer is there are two ways of doing this:

A. Either clone the course repository and locate the CSV file from within the local repo and then copy that local file.

B. Or from GitHub, visit the "raw" contents, and copy and paste them into a new CSV file using your text editor.

Screenshot 2019-06-14 15 26 12

Screenshot 2019-06-14 15 28 10

Property Tags

Avoid using parens on an instance method by tagging its definition with @property.

class BaseballTeam():
  """
  bt = BaseballTeam({"city": "Little Town", "name": "Tots", "league":"little", "players": ["JJ", "Zhang", "Margaret", "Ryan", "Joey"]})
  """

  def __init__(self, params):
    self.city = params["city"]
    self.name = params["name"]
    self.league = params["league"]
    self.players = params["players"]

  @property
  def full_name(self):
    return self.city + " " + self.name
print(team.full_name)

See also: instance and class methods (https://realpython.com/instance-class-and-static-methods-demystified/)

Pytest Debugging and Conditional Test Invocation

pytest  --disable-pytest-warnings
pytest  -s #> see print statements
pytest test/parser_test.py -k 'test_my_thing' 

Source:

https://docs.pytest.org/en/latest/capture.html

Also fixtures:

import pytest

# prevents unnecessary or duplicative language model loading
# fixture only loaded when a specific test needs it
# module-level fixture only invoked once for all tests
@pytest.fixture(scope="module")
def nlp():
    import spacy
    print("LOADING THE LANGUAGE MODEL...")
    return spacy.load("en_core_web_md")

def test_my_thing(nlp):
    doc = nlp(reconstructed_text)
    # etc 

Navigating Paths with Spaces on Windows Command Prompt

Students would benefit from an example of assembling filepaths that include directories with spaces in their names.

Example command which adds quotes around the directory name:

# Windows Command Prompt:
move C:\Users\Mike\Desktop"My Spacey Dir"\my_file.txt C:\Users\Mike\Desktop

Pandas Iterrows

for i, row in trials_df.iterrows():
        print(i, type(row)) #> 3975 <class 'pandas.core.series.Series'>

README / markdown practice

There should be a markdown exercise to help students better understand the syntax, and a Readme excercise to help students better understand the role of the README file.

Automated Syllabus Release Process

When I release a new syllabus version, many manual steps are involved and I'd like to automate or otherwise simplify this process, to save me time.

Process:

  1. Decide that my google doc syllabus is good to go
  2. Download a pdf version of the syllabus
  3. Copy the PDF syllabus to overwrite the SYLLABUS.pdf file in this course repo, and upload to GitHub
  4. Upload the PDF syllabus to the "Syllabus" page in NYU Classes, then update the "Overview" page to include a link to the new version
  5. Post a message to Slack notifying students of the new syllabus (and what changes and why)

Conda init bash on Windows

Need to run conda init bash when prompted to do so, from within Git Bash on Windows, before activating a virtual environment for the first time.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.