Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,979
» Latest member: silversimon2
» Forum threads: 38,732
» Forum posts: 175,563

Full Statistics

Online Users
There are currently 44 online users.
» 0 Member(s) | 36 Guest(s)
Bing, Twitter, AOL, Google, Mojeek

Latest Threads
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Today, 07:43 AM
» Replies: 2
» Views: 326
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Today, 12:21 AM
» Replies: 2
» Views: 957
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 05:45 PM
» Replies: 6
» Views: 1,010
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 12:59 PM
» Replies: 8
» Views: 696
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 3,014
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,446
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 9,023
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,468
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,363
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,694

 
  Deleting a line in a csv file
Posted by: julio2000 - Feb-24-2020, 09:29 PM - Forum: General Coding Help - Replies (6)

I just can't figure out how to do this :(

I've got a csv file with this content:
Main,Daan,Daanssen,jojo@dahf.nl,Tennon straat,39,4124KE,Buren,063..... More

Print this item

  plz help with this error
Posted by: taxenmaxen - Feb-24-2020, 07:45 PM - Forum: General Coding Help - Replies (1)

[error]
Traceback (most recent call last):
File "C:\Users\max\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 3326, in run_cod..... More

Print this item

  No such column id
Posted by: Linuxdesire - Feb-24-2020, 07:25 PM - Forum: General Coding Help - Replies (1)

I found a tutorial where you can input a movie in the terminal and it prints out on screen. It gets the information from IMDB. That part works fine. B..... More

Print this item

  get variable of yaml file
Posted by: lateublegende - Feb-24-2020, 07:20 PM - Forum: Homework - Replies (1)

Hello, I have some problem with my program. I have try to solve my problem by myself but I do something wrong. Here my yaml file.

[python]
role.on..... More

Print this item

  Reading a csv file
Posted by: julio2000 - Feb-24-2020, 01:34 PM - Forum: General Coding Help - Replies (1)

I know this is a stupid question but I just can't solve the error I get.

So I've got a file called: Profiles.txt, and I want to open it with pytho..... More

Print this item

  Face recognition
Posted by: white_bird - Feb-24-2020, 01:24 PM - Forum: Data Science - Replies (2)

Hi, I am a student and I want to ask for help if you have time.
I am working actually, on a face recognition project, using OpenCV and raspberry pi...... More

Print this item

  NameError: name ?
Posted by: JohnnyCoffee - Feb-24-2020, 11:20 AM - Forum: General Coding Help - Replies (4)

I need to get the value of the variable below that stores a dictionary, why do I get the answer (NameError: name 'variable' is not defined) ?

Exemp..... More

Print this item

  How to compare two columns and highlight the unique values of column two using pandas
Posted by: shubhamjainj - Feb-24-2020, 06:19 AM - Forum: General Coding Help - No Replies

I was using following conditional formatting code but it is not working :

[python]
#Data_analysis_std is excel file name
#pd is pandas object
wr..... More

Print this item

  How to write test cases for a init function by Unit test in python?
Posted by: binhduonggttn - Feb-24-2020, 04:46 AM - Forum: General Coding Help - Replies (2)

I'm new in Python. I have a __init__ function with information about data sink config and I have to write some test cases fot it. But init is a functi..... More

Print this item

  run command or do it in the script
Posted by: Skaperen - Feb-24-2020, 03:00 AM - Forum: News and Discussions - Replies (3)

i was considering the decision of how to copy the permissions of a file to another file, should a do the os functions or just run the "chmod" command..... More

Print this item

  Getting syntax errorin my program
Posted by: dock1926 - Feb-24-2020, 02:21 AM - Forum: Homework - Replies (1)

I'm getting a syntax error in my program and I can't seem to get it fixed. It could be a simple indent issue but I have tried that. I am a newbie so i..... More

Print this item

  SyntaxError: positional argument follows keyword argument
Posted by: syd_jat - Feb-23-2020, 11:47 PM - Forum: General Coding Help - Replies (3)

Hello All,

I am trying to do four simple things:
1. Prompt user for input,
2. Store user entered input in variable,
3. Repeat 1 and 2,
4. Add t..... More

Print this item

  Anytime I press the button, the result is depicted
Posted by: Jionni - Feb-23-2020, 10:31 PM - Forum: GUI - Replies (2)

Hi,
how can I interrupt the displaying of the result, as soon as I press the button? The question relates to the first page, as soon as you press the..... More

Print this item

  Text Adventure Module
Posted by: Leroyrobenson - Feb-23-2020, 09:36 PM - Forum: Game Development - Replies (1)

Greetings,

I am trying to find a module for python that will act as a terminal when compiled, not just running in anaconda or what have you. I'm w..... More

Print this item

  selenium prints weird things...
Posted by: julio2000 - Feb-23-2020, 07:48 PM - Forum: Web Scraping & Web Development - Replies (8)

So as soon as I start a selenium browser with selenium webdriver, it prints out this:
DevTools listening on ws://127.0.0.1:61823/devtools/browser/b8d..... More

Print this item

  How to make one widget longer than others without moving the others.
Posted by: GalaxyCoyote - Feb-23-2020, 07:47 PM - Forum: GUI - Replies (1)

I am working on a project that requires that the table at the top of the window is the length of the whole window, but I don't want the space between ..... More

Print this item

  download base64 email attachment
Posted by: cferguson - Feb-23-2020, 07:34 PM - Forum: General Coding Help - Replies (3)

Hey,

New to coding. New to python. I have been using home assistant to do some automation stuff at my place. But my lorex NVR is not natively support..... More

Print this item

  how to merge a list of *.jpg and *.docx into one single PDF file ?
Posted by: smallabc - Feb-23-2020, 05:16 PM - Forum: General Coding Help - No Replies

I have several separate *.docx files and *.jpg files in a folder.
In order to generate a complete report, I need to glue them together as a single PD..... More

Print this item

  Writing socket server
Posted by: NewPy_thwan_Programmer - Feb-23-2020, 03:55 PM - Forum: Networking - No Replies

Hello :)
I'm new to python and i wanted to try building a server.
I managed to write files and pass data. but on one computer.
I want to do something ..... More

Print this item

  good book for artificial intelligence
Posted by: delcencen - Feb-23-2020, 02:41 PM - Forum: Homework - Replies (2)

hello,
I’m looking for a book or tutorial that teaches artificial intelligence with simple examples in python.
thanks.

Print this item

  file handling
Posted by: sivareddy - Feb-23-2020, 02:02 PM - Forum: General Coding Help - Replies (1)

[python]import os, sys
from subprocess import Popen,PIPE
myfs=input("myfs=")
try:
#grep myfs /etc/fstab
p1 = Popen(['grep',myfs,'/etc/fstab'], ..... More

Print this item

  Selenium weird error
Posted by: julio2000 - Feb-23-2020, 01:24 PM - Forum: Web Scraping & Web Development - No Replies

When I run my code with selenium. It works perfectly fine when I'm LOOKING (so when I have opened the chrome tab and im looking at it) at the selenium..... More

Print this item

  Is this doable?
Posted by: bazcurtis - Feb-23-2020, 12:23 PM - Forum: Networking - Replies (1)

Hi,

Sorry I don't have any code, but before I try and attempt this I wanted to know if it was doable. I have a pcapng file and all I want to do is ..... More

Print this item

  Follow Up: Web Calendar based Extraction
Posted by: AgileAVS - Feb-23-2020, 05:39 AM - Forum: Web Scraping & Web Development - No Replies

Hey, I am not a programmer but thanks to this forum, I have been learning a lot. Continuing on with my last time question to this link:
..... More

Print this item

  there was a foul smell
Posted by: Skaperen - Feb-23-2020, 03:34 AM - Forum: Bar - No Replies

there was a foul smell coming from over that way. i went over there to investigate. it was coming up from the bottom of the gully, so i went down fo..... More

Print this item

  very fast UDP relaying
Posted by: Skaperen - Feb-23-2020, 03:18 AM - Forum: Web Scraping & Web Development - No Replies

i have an application idea which involve a process receiving UDP datagrams, examining header data, deciding where they need to go, and sending them th..... More

Print this item

  How many languages do you use.
Posted by: Jan_97 - Feb-23-2020, 02:12 AM - Forum: Bar - Replies (5)

One thing that I often wonder about when I meet other people who have programming as a job/hobby is how many programming languages do you use? Program..... More

Print this item

  Beautifulsoup and JavaScript Values
Posted by: Reldaing - Feb-22-2020, 11:58 PM - Forum: Web Scraping & Web Development - Replies (5)

Hi, I'm trying to get a value from the soup that i created.
Here's what I found:
[python]var next_chapter = "https://www.lelscan-vf.com/manga/vinla..... More

Print this item

  Warning regarding instaling pylint in VS Code
Posted by: Truman - Feb-22-2020, 10:51 PM - Forum: News and Discussions - Replies (10)

I added ssd to my laptop so had to reinstall windows and everything on it. I first installed VS Code and then python on C in root folder C:\Python38\
..... More

Print this item

  Problem: Get variable
Posted by: JohnnyCoffee - Feb-22-2020, 09:26 PM - Forum: General Coding Help - No Replies

I have a file (runwsgi.py) that starts the server with the intention of getting a variable from a form using an ajax. The problem that prints the valu..... More

Print this item

  PyConWeb 2020
Posted by: bugy - Feb-22-2020, 07:22 PM - Forum: News and Discussions - No Replies

Dear Ladies and Gentlemen,

we, PyMunich community, would like to announce our annual PyConWeb 2020 conference, which will take place in Munich on 0..... More

Print this item

  importing CSV file into a HTML table using Python
Posted by: trybakov - Feb-22-2020, 06:50 PM - Forum: General Coding Help - Replies (1)

I am trying to create a program which takes the values inside a CSV file and outputs them as a HTML table format. This is what i got so far. The Heade..... More

Print this item

  Making text clickable with binding
Posted by: DT2000 - Feb-22-2020, 05:49 PM - Forum: GUI - Replies (10)

I am in a bit of a stumped situation. I have a small program that I am writing and so far so good however I am having a little difficulty with a bindi..... More

Print this item

  What i do wrong? In response i get home page code
Posted by: aruzo - Feb-22-2020, 04:41 PM - Forum: Web Scraping & Web Development - Replies (1)

[python]import requests
headers = {
‘User-Agent’: ‘Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:73.0) Gecko/20100101 Firefox/73.0’
}

login_data ..... More

Print this item

  How to keep a loop containing a web import working in python executable?
Posted by: coder1384 - Feb-22-2020, 04:27 PM - Forum: General Coding Help - Replies (3)

Hello everyone,

I've run into an issue with my program not running properly in an executable file. Specifically, I'm using Python 3.8 for writing ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Integer Factorization Too... Today, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... Today, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... Yesterday, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... Yesterday, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 09-26, 09:50 P212 Biks News and Disc...
Most views
  The best Prog... 577403
  Tutorial Requ... 500828
  Web Scraping ... 441051
  Newbie with P... 385105
  New Users Int... 369636
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12091
buran 8178
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
silversimon2 Today
alissapena8 Today
hoki1881 Today
stephaniehendrix Today
Schirag Today

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020