473,543 Members | 2,365 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Python Forum

Python programming language - Ask questions about python interpreter, control flow, data structures, modules errors, classes, standard library, gui, databases, unit testing, object oriented, structured programming and more.
0
1,260
thread by: mycj | last post Dec 18 '18 by: mycj
Hey guys, i need urgent help. I have a trace file for UDP that i want to plot the delay and jitter between the sender and receiver addresses. Any python code can be very useful. The trace file is found here: https://gist.github.com/mycj4u/4f7d3ab28c5097ce0f854b5a9ff310a7
2
1,371
thread by: bansalhimani | last post Dec 21 '18 by: OldStory
Problem with the following piece of code- >>> def func(n=): #playing around pass >>> func() >>> func() >>> n
1
1,609
thread by: tutu10 | last post Dec 21 '18 by: Rabbit
Hello all - I have files I'm trying to import. I do not name these files, they're created by another department. The files start with a number, usually the year. Each time I try to do so I get an error message: Error: FileNotFoundError: No such file or directory: 'N:\\Learing KPI Report\Background Files\X818 Online.xlsx' The file name...
2
1,359
thread by: jvandal | last post Dec 22 '18 by: jvandal
c.execute('''INSERT INTO gangmember ( lastname ('?' , firstname ('?'), birthdate ('?'), deathdate ('?'),\ address ('?') , state ('?'), zipcode ('?') , father ('?') , mother ('?') , status ('?') , gangname('?') )''')
1
1,673
thread by: jvandal | last post Dec 25 '18 by: dwblas
...def edit_member(no): """ Edit a gang member """ print('edit member') if request.GET.get('save', '').strip(): edit = request.GET.task.strip() lastname = request.GET.get('lastname', '').strip() firstname = request.GET.get('firstname', '').strip() birthdate = request.GET.get('birthdate',...
1
1,388
thread by: samvb | last post Dec 27 '18 by: wangpanjun
Hi, I fire up celery in a separate terminal and it works great but it ain't reading my .env file which my django application currently uses. How do I tell celery where the env file is located and how to use it?
1
1,301
thread by: bansalhimani | last post Jan 3 '19 by: dukool sharma
What does the following code give us? >>> b=(1)
0
1,256
thread by: Sheepy | last post Jan 5 '19 by: Sheepy
I'm closing this question because I just realized that I put VAR=1 in the loop and then I wanted it to go VAR = VAR + 1
0
1,525
thread by: dukool sharma | last post Jan 9 '19 by: dukool sharma
How can I print the contents of a file?
0
2,215
thread by: samvb | last post Jan 9 '19 by: samvb
Hi, We have a DRF backend API and two front-end applications: a CRUD and a report server. Currently, we have issue with CORS: These are the domains: sever.com:8098 == >backend and front ends:
0
1,100
thread by: bansalhimani | last post Jan 17 '19 by: bansalhimani
Does Python support interfaces like Java does?
0
1,091
thread by: kalyan kp | last post Jan 22 '19 by: kalyan kp
o=int(input()) p=input().split() q=input().split() r= f= r.sort() f.sort() i=0 for j in range(o): i=i+abs(r-f)
1
1,371
thread by: himani bansal | last post Jan 27 '19 by: Luuk
can you explain the problem with the following piece of code- >>> def func(n=): #playing around pass >>> func() >>> func() >>> n
1
1,549
thread by: sunshine1 | last post Jan 31 '19 by: sunshine1
Using requests & beautiful soup to make a post request to an asp.net form However I've no luck in actually posting the website keeps redirecting to the login screen this is how I build the form data soup = BeautifulSoup(page.content,features="lxml") viewstate = soup.select_one("#__VIEWSTATE") viewstategenerator =...
1
2,644
thread by: jo26 | last post Jan 31 '19 by: dwblas
Im trying to make a maths quiz, but when i try to run it, it says that. heres the code: from random import randint while true: (randint(10, 30)) = answer1 (randint(10, 30)) = answer2 int('what is',answer1,'plus',answer2) It is unfinished, so it might be the rest of the code.
2
1,679
thread by: kittu1208 | last post Feb 21 '19 by: sritaa
If we can display the path. Can anyone please explain how?
2
2,569
thread by: rathi123 | last post Feb 28 '19 by: sritaa
I am working on a project in machine learning and have done the back-end part in python using various packages in python but i want to develop a front-end for uploading a csv file that is done by the user of our project/application
1
1,417
thread by: Amankhan97 | last post Feb 19 '19 by: Luuk
i am splitting a paragraph into sentences.i am done with splitting using split().but i want to store each sentence in a different doc file.how can i store each individual sentence in the paragraph in a new doc file.
0
1,416
thread by: fiorasyndra1 | last post Feb 20 '19 by: fiorasyndra1
Hi everybody , has anyone ever worked with the AF_AX25 address family as a socket? is there any examples anywhere on the internet? I have not found any yet. The goal should be to use an AX25 device (defined in axports, with KISSPARMS or similar) with Python.
0
1,319
thread by: Ashish26197 | last post Feb 20 '19 by: Ashish26197
ploting (X,Y,Z, time dependent scalar) in python all variable contain data as array and 4th component should be able to varied with time in visualisation. seen such visualisation in matlab thought slice
0
1,061
thread by: Joellucas031017 | last post Feb 24 '19 by: Joellucas031017
So I'm like 2 days in to learning python and I just programmed a simple calculator, is there any way for the answer it displays to be in boldface type or underlined? Thanks
3
2,614
thread by: himani bansal | last post Mar 4 '19 by: sritaa
Whenever I exit Python, is all memory de-allocated?
0
1,418
thread by: Ahmed Hussein | last post Feb 28 '19 by: Ahmed Hussein
Is there an efficient way to get the offset of some field in a packet captured with pyshark? For example, I need to get the offset of the source IP within the whole packet or within some layer header in the packet. Is it possible?
7
5,432
thread by: JMcJr | last post Mar 6 '19 by: Rabbit
Good morning, My company uses Crystal Reports for their data. I recently started doing the President of the company's data reports. I am trying to automate the data so it will be a "live update" when the data changes. Thanks in advance!
1
1,309
thread by: Curiosity7 | last post Feb 28 '19 by: Curiosity7
I wrote a program to find a work. Uploaded it on github. How to check I done everything good? Here is the link. Sorry that it is shorten - I don't want to publish it for my employer yet. https://reactlink.com/wscnu

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.