-
vsraj80
Good day to all
-
vsraj80
Any one can suggest to me. I have getting below error while executing the code in pycharm
-
vsraj80
Traceback (most recent call last): File "/home/rajasekar/Desktop/Proj/iy/app/.venv/db.py", line 19, in <module> O=Database("Customer.db") ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/rajasekar/Desktop/Proj/iy/app/.venv/db.py", line 16, in __init__ self.cur.execute(sql) sqlite3.OperationalError: near "EXIST": syntax error Process finished with exit code 1
-
mohan43u
vsraj80: what you understood from the error?
-
vsraj80
Mohan: Hi. I think the py file not linked with db.
-
vsraj80
ohh i think i missed s in EXISTS. i will try again
-
vsraj80
can i post the code here to get support
-
krishna
hi all
-
krishna
i started learn REST API.
-
mohan43u
vsraj80: this channel is logged, so probably you should not share any code from official places (like office etc). only share the code which you own or Open source code.
-
krishna
i can't understand some technical terms
-
mohan43u
krishna: which term?
-
krishna
client server architecture
-
krishna
seperate a work?
-
krishna
it mean server process only request after send respone?
-
mohan43u
krishna: do you understand sockets?
-
mohan43u
krishna: heared about sockets?
-
krishna
i don't know sockets
-
mohan43u
-
mohan43u
may be better to read this documentation
-
krishna
mohan43u : thank you
-
mohan43u
and write a simple echo server and client, the echo server should return whatever message the client sends
-
mohan43u
the client should send whatever we type from standard input (terminal).
-
mohan43u
if you do this first, you will understand one of the basic building block about internet.
-
mohan43u
I would say very important build block of internet
-
krishna
mohan43u : okay bro
-
vsraj80
Mohan: sure. I will make try and publish in blog
-
krishna
one linux relevent doubt
-
krishna
/dev/shm -> this mount point is ram disk?
-
mohan43u
krishna: yes
-
mohan43u
vsraj80: try what? sockets?
-
krishna
mohan43u: how can i expand default size without use swap
-
mohan43u
krishna: which default size?
-
krishna
mohan43u : 1.9Gigabytes
-
krishna
mohan43u : why created this point in linux and how it use linux this point?
-
mohan43u
krishna: /dev/shm is the base for shared memory objects (
man.archlinux.org/man/shm_overview.7) , so if you do multi-process communication using shared memory, this is the memory you will be operating.
-
vsraj80
mohan:i confused whether installed sqlite3 properly or not. so googling it.
-
mohan43u
vsraj80: what OS are you using?
-
vsraj80
as new to ubuntu i have struggling to all basic configurations
-
vsraj80
mohan:linux
-
shrini-weechat
hello all
-
vsraj80
-
shrini-weechat
vsraj80: what is the tutorial you are following?
-
shrini-weechat
for connecting python and sqlite?
-
vsraj80
Shrini:tutorial means
-
vsraj80
tkinter
-
shrini-weechat
vsraj80: how are you learning this sqlite and python?
-
shrini-weechat
are you reading any documentation ?
-
shrini-weechat
or tutorial? or guide?
-
vsraj80
yes. youtube tutorial project
-
vsraj80
shalli share the link
-
shrini-weechat
dont follow youtube
-
shrini-weechat
read some tutorials
-
shrini-weechat
reading text is important
-
shrini-weechat
-
shrini-weechat
can you make it for tamil typing too?
-
shrini-weechat
vsraj80: never ever goto youtube to learn any thing
-
shrini-weechat
The more you go away from reading text, you are going away from programming
-
vsraj80
Shrini: Okay. I then i will stop here the project
-
shrini-weechat
you can continue the project
-
shrini-weechat
just search for python/sqlite tutorial
-
shrini-weechat
do you know SQL>
-
shrini-weechat
?
-
vsraj80
Shrini: no
-
vsraj80
I am from Commerce background
-
vsraj80
I have struggling to codin in ubuntu too. But MK already advised me to learn with linux. so i have started
-
shrini-weechat
then start learning SQL first
-
shrini-weechat
yes, learning the basics are really important
-
shrini-weechat
most of the CS students learn the basics on college
-
shrini-weechat
and they can add on more skills on top of the basics
-
shrini-weechat
as you are from non CS, you have to invest more time on the basics
-
vsraj80
Shrini: fine. i will start
-
shrini-weechat
-
shrini-weechat
read this book fully and practise the code therw
-
vsraj80
do you suggest any link for sql
-
shrini-weechat
read all the lines
-
shrini-weechat
dont skip anything
-
vsraj80
Okay
-
shrini-weechat
-
shrini-weechat
you can start with this book, if you can read tamil
-
shrini-weechat
or start the tutorials from
w3schools.com
-
shrini-weechat
what is the project you are trying?
-
vsraj80
desktop application for a computer service center
-
krishna
shrini: sorry i out of focus
-
krishna
shrini : okay i will implement tamil typing support
-
shrini-weechat
vsraj80:
-
shrini-weechat
tha
-
shrini-weechat
nks
-
shrini-weechat
vsraj80: can you explain your project idea?
-
shrini-weechat
are you running any computer service center?
-
shrini-weechat
or working there?
-
shrini-weechat
what is the requirment ?
-
shrini-weechat
thanks krishna
-
shrini-weechat
krishna: check this too
-
shrini-weechat
-
shrini-weechat
let me know if you can work on this
-
shrini-weechat
vsraj80: learn the linux basics too
-
shrini-weechat
-
vsraj80
Shrini: My friend running a Computer Sales center. On for him i have trying to create a desktop app. Already he have one msaccess application. but he facing some issue on that.
-
shrini-weechat
what that application should do?
-
vsraj80
Customer name,and contact details,and kind of issue like mother board problem,os installation , and . this will lika a job sheet. the work will be alloted to a service engineer.
-
shrini-weechat
ok
-
vsraj80
once laptop collected from customer job sheet should be given in pdf format to customer. then based on work status data will be updated like work completed,work pending, problem not solved so return like
-
shrini-weechat
interesting application
-
shrini-weechat
how much time you have to build this application?
-
vsraj80
i dont have idea. just blindly started.my target i have to complete it. thats all
-
vsraj80
Expecting ideas and suggestions from your end. till that i will proceed with that sql ebook
-
shrini-weechat
it may take 6 months for you to complete the application
-
shrini-weechat
or more
-
shrini-weechat
it will be a good learning experience
-
shrini-weechat
but, if your friend needs a quick solution, explore any existing web based ticketing systems
-
shrini-weechat
there are many Free/open source ticketing systems
-
vsraj80
ohh.ok
-
vsraj80
Not urgent. He will adjust.
-
shrini-weechat
ok
-
shrini-weechat
how many hours you can spend on learning, per day?
-
shrini-weechat
?
-
vsraj80
approx 4 hours
-
shrini-weechat
ok
-
shrini-weechat
start reading the MySQL book
-
shrini-weechat
take notes and publish the notes daily
-
shrini-weechat
you can take 3 weeks to complete the book
-
shrini-weechat
read, practise, take notes, blog them
-
vsraj80
Shrini: Sure, thank you
-
vsraj80
I will quit for the day
-
shrini-weechat
sure. thanks
-
shrini-weechat
hi annamalai
-
shrini-weechat
thanks for the GDB book reading hour at kanchilug
-
annamalai
hi shrini-weechat
-
annamalai
welcome. mainly it is being conducted as a means of proof reading and to improve the translation
-
vsraj80
Good day
-
vsraj80