Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7493043
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T16:43:15+00:00 2026-05-29T16:43:15+00:00

I am new to Python and WampServer . I want to retrieve values from

  • 0

I am new to Python and WampServer. I want to retrieve values from csv files (more than 10 GB) and, after some processing, store them in a MySQL database using Wamp efficiently.

I have installed Python and Django on Wamp server, and have checked the previous posts, but since I am a complete novice in this field, I am not getting much from them.

Can somebody please suggest appropriate resources for a beginner like me? I have already looked into Python Power! The Comprehensive Guide, but I did not get much from it. Any help would be appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T16:43:16+00:00Added an answer on May 29, 2026 at 4:43 pm

    You can read data from CSV files using the built-in csv module. For example:

    >>> import csv
    >>> open('test.csv','w').write('1,one\n2,two\n3,three\n')
    >>> list(csv.reader(open('test.csv')))
    [['1', 'one'], ['2', 'two'], ['3', 'three']]
    

    You can write data to MySQL using the MySQL-python package, which conforms to the Python database API and is documented here. For example, after you’ve installed this package, you can do this kind of thing:

    >>> import MySQLdb
    >>> conn = MySQLdb.connect(host, user, passwd, db)
    >>> cursor = conn.cursor()
    >>> cursor.executemany('INSERT INTO numbers (value, name) VALUES (%, %)',
    ...                    [['1', 'one'], ['2', 'two'], ['3', 'three']])
    ... 
    >>> cursor.commit()
    

    However, if you’re using Django to manage the database, then you may be better off using Django’s own database interface, for example Model.save to save an instance of a model to the database.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

New to Python, but I'm trying to...retrieve data from a site: import urllib.request response
I'm a new Python programmer who is making the leap from 2.6.4 to 3.1.1.
I am extremely new to python, having started to learn it less than a
I am new to Python, and I'm working on writing some database code using
I'm new to python, and have a list of longs which I want to
I want to install the new Python 2.7 on my Windows XP 32bit PC.
Im new to python programming and need some help with some basic file I/O
I'm starting a new Python project, and want to follow standard conventions as closely
I have installed the new python release and would like to run .py files
I'm new Python and trying to implement code in a more Pythonic and efficient

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.