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,993
» Latest member: lauren557
» Forum threads: 38,736
» Forum posts: 175,582

Full Statistics

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

Latest Threads
print does not open conso...
Forum: General Coding Help
Last Post: Axel_Erfurt
4 hours ago
» Replies: 4
» Views: 130
Weird failure in Selenium
Forum: General Coding Help
Last Post: Larz60+
11 hours ago
» Replies: 1
» Views: 78
Fred Economic Data API
Forum: Web Scraping & Web Development
Last Post: Trickety
Yesterday, 03:05 PM
» Replies: 3
» Views: 2,543
create ocr to detect lice...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:58 PM
» Replies: 2
» Views: 104
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:56 PM
» Replies: 6
» Views: 230
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Oct-01-2025, 03:05 AM
» Replies: 4
» Views: 2,054
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 468
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Sep-30-2025, 12:21 AM
» Replies: 2
» Views: 1,100
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,177
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 857

 
  Problem with new PC
Posted by: prospero - Oct-22-2019, 10:15 AM - Forum: GUI - Replies (4)

For many years I have been using a little piece of software written in Python that creates a GUI in a video game
and allows the user to create object..... More

Print this item

  FileNotFoundError managment
Posted by: sal - Oct-22-2019, 09:05 AM - Forum: General Coding Help - Replies (2)

Hi,
I have a question about exception management
With the following code:
[python]
try:
try:
with open('foo.json') as json_data_file:..... More

Print this item

  Search for the line number corresponding to a value
Posted by: Lali - Oct-22-2019, 08:56 AM - Forum: General Coding Help - No Replies

Hello,

I have a.csv file with two columns. I search in one of the columns for a value approximating "K" using the following script:

[python]Re=..... More

Print this item

  filing in Python 3.7
Posted by: ArryMan - Oct-22-2019, 08:42 AM - Forum: General Coding Help - Replies (2)

I have an eternal file in this format: "4b32j","aq8","71yt346" only much longer. I want to load each item one at a time for processing. I can't find..... More

Print this item

  Automatic registering python to registry
Posted by: kozaizsvemira - Oct-22-2019, 08:12 AM - Forum: General Coding Help - Replies (1)

I successfully registered python to the registry, but when I convert it into exe, data registers as python script instead of exe.
I am creating a scr..... More

Print this item

  Function Annotation got NameError: name 'xxx' is not defined
Posted by: Lance - Oct-22-2019, 07:31 AM - Forum: General Coding Help - Replies (6)

I am introducing function annotation in my coding, but found both python and Pycharm will validate if the type in function annotation is valid, if a n..... More

Print this item

  print a word after specific word search
Posted by: evilcode1 - Oct-22-2019, 06:53 AM - Forum: General Coding Help - Replies (8)

hello all ...
i have this string :

[quote]<?xml version="1.0" encoding="utf-8"?>
<metafile version="3.6" client="site">
<name>English (..... More

Print this item

  what does self.classname() do and how is it done?
Posted by: programmy - Oct-22-2019, 05:58 AM - Forum: GUI - Replies (7)

I'm new to python and I want to know how this syntax is done

>>> self.makeMenuBar() <<< I understand that self is used to bind variables but how ..... More

Print this item

  How to generate Lines from wordlist?
Posted by: python7777 - Oct-22-2019, 05:57 AM - Forum: General Coding Help - Replies (1)

Hello guys,
I'm new here ^^

I have a question , So I've got a big textfile with words
I'm trying to Generate every possible combination from all of t..... More

Print this item

  regular expression questions using module re
Posted by: Skaperen - Oct-22-2019, 04:13 AM - Forum: General Coding Help - Replies (4)

1. i need to match 2 possible forms of a file name. what i did was put one form on each side of a vertical bar ('|'). what i am wondering is how to..... More

Print this item

  steps to debug regular expressions
Posted by: Skaperen - Oct-22-2019, 12:25 AM - Forum: News and Discussions - Replies (3)

i am trying to make more use of module re. this time i am scanning all the files in (a copy of) [font=Courier New, Courier, monospace]/var/log..... More

Print this item

  What is wrong with the random
Posted by: bdog_123 - Oct-22-2019, 12:19 AM - Forum: General Coding Help - Replies (3)

import random
print('You have rolled: ' + random.randint(1, 6))
what is wrong with this code?

[output]
Traceback (most r..... More

Print this item

  Does the integer implementation matter?
Posted by: ichabod801 - Oct-21-2019, 09:37 PM - Forum: News and Discussions - Replies (2)

Some integers are stored in a table, so two variables assigned to integers might have the same address, or they might have different addresses. This c..... More

Print this item

  How do integer objects work?
Posted by: pyThon_ - Oct-21-2019, 08:37 PM - Forum: General Coding Help - Replies (2)

[b]The current implementation keeps an array of integer objects for all integers between -5 and 256, when you create an int in that range you actually..... More

Print this item

  VPython - Gravitational field
Posted by: Skaletons - Oct-21-2019, 08:34 PM - Forum: Homework - No Replies

Hello, this is my first post so sorry if I format something wrong, I am working on an assignment that goes as follows:
[i]A long thin rod has escape..... More

Print this item

  How to run python script
Posted by: apasho - Oct-21-2019, 08:32 PM - Forum: General Coding Help - Replies (3)

I need to run a python script written by a previous developer.
When I run it on my Mac, I get the following
File "health_json_to_csv.py", line 31..... More

Print this item

  Is there a Python text mining script to classify text with multiple classifications?
Posted by: Endearment - Oct-21-2019, 07:42 PM - Forum: Data Science - No Replies

Classification of descriptions into categories

I have a problem that involves determining what category a text description falls under. These text ..... More

Print this item

  Webscparing data within tags
Posted by: Hass - Oct-21-2019, 07:39 PM - Forum: Web Scraping & Web Development - No Replies

Hi I wrote the following code to extract property details.

At the moment I am trying to extract the area.

[python]
import requests
from bs4 im..... More

Print this item

  Module Accessing
Posted by: Niv_Neos - Oct-21-2019, 06:16 PM - Forum: General Coding Help - Replies (5)

Hello people of the Python community. We have been using the Python programming language and been having trouble installing certain modules in the PC ..... More

Print this item

  Text Summarization CSV File
Posted by: Shivi_Bhatia - Oct-21-2019, 03:48 PM - Forum: News and Discussions - No Replies

HI All,

I have a CSV file with 100+ rows of text. These text are conversation between a person and chat bot. I need to create a summary of each li..... More

Print this item

  implement function like tail -F
Posted by: memory777 - Oct-21-2019, 03:03 PM - Forum: News and Discussions - Replies (1)

Hi, I need to implement function like tail -F (watching if rotate file take place)using python3 release.
Which is the best way to do it?

Print this item

  Convert Python script to Php
Posted by: JuroClash - Oct-21-2019, 02:58 PM - Forum: General Coding Help - No Replies

Hello,
I would like to convert this python code to php

[python] payloadNotes = "data={\"token\": \"" + token + "\"}"
headersNotes = {'content-typ..... More

Print this item

  sort values of a column pandas
Posted by: karlito - Oct-21-2019, 02:31 PM - Forum: Data Science - Replies (2)

Hi,

I'm trying to sort a df looking like this into 2 dfs. Any help! Thks

[python]
A pos ..... More

Print this item

  How to extract a matrix from .xml.gz file to a excel file or any other output?
Posted by: enyrb - Oct-21-2019, 01:01 PM - Forum: General Coding Help - No Replies

Hello,

I have a .xml.gz file that contains a full matrix. I want to
visualize the whole matrix and save it as xml file or any other output
where..... More

Print this item

  insert value to specific line in CSV file
Posted by: asheru93 - Oct-21-2019, 10:59 AM - Forum: General Coding Help - Replies (1)

Hello,

I have a CSV.file that looks something like this:

Carrot
Cake
Other,Values
test1,test
Abc,test,test1
MyString
..... More

Print this item

  runctx method of cProfile module.
Posted by: rahulnatarajan98 - Oct-21-2019, 10:53 AM - Forum: Homework - Replies (5)

Define two functions f1 and f2 such that,
f1 returns a list of squares of first 200000 natural numbers using list comprehension.
f2 returns a genera..... More

Print this item

  implementation fuzzy logic using sckit fuzzy
Posted by: nana_4895 - Oct-21-2019, 03:28 AM - Forum: General Coding Help - No Replies

hi I have a problem with my app, I tried making an app to determine the condition of the transformer but when it starts, it can't do computing, can an..... More

Print this item

  NameError: NameError: global name 'BPLInstruction' is not defined
Posted by: colt - Oct-20-2019, 11:15 PM - Forum: General Coding Help - Replies (7)

Hello I am receiving these messages when running my code:

[error]File "/home/leopoldo/cpu.py", line 28, in process_instructions
instruction = ..... More

Print this item

  applying and(&) ,or(|) in conditions does not result output correctly as expected
Posted by: Smiling29 - Oct-20-2019, 10:01 PM - Forum: General Coding Help - Replies (4)

I have data as below(sample only, data will have all combinations of below values). I have to create new column based conditions applied on 3 columns...... More

Print this item

  I need help (easy question)
Posted by: Kaanatmaca - Oct-20-2019, 08:03 PM - Forum: General Coding Help - Replies (2)

I started python last week and I tried to do an code which helped me to calculate my grades but it isn't working can someone tell me whats wrong with ..... More

Print this item

  fsolve over meshgrid
Posted by: schniefen - Oct-20-2019, 07:30 PM - Forum: Homework - No Replies

Consider the equation given in the function eq. The aim is to solve the equation for z (which becomes a surface in 3-space) and plot ..... More

Print this item

  Problems with a def function
Posted by: profeteus - Oct-20-2019, 06:10 PM - Forum: General Coding Help - Replies (4)

Hello,

Let me start by saying that i have no idea what im doing :). Turned 30, got a kid decided to lern coding for some reason (relly enjoy it so fa..... More

Print this item

  Beautifulsoup don't get me the page
Posted by: mariolopes - Oct-20-2019, 05:55 PM - Forum: Web Scraping & Web Development - Replies (5)

Hi. I use this code
[python]
import requests
from bs4 import BeautifulSoup
pagina1="https://www.fragrantica.com/perfume/Chanel/Coco-Eau-de-Parfum..... More

Print this item

  Installing tensorflow
Posted by: Blue Dog - Oct-20-2019, 05:36 PM - Forum: Data Science - Replies (7)

Ok I don't come here much anymore, I have became a good coder, with the help on many people from this forum. I don't know a thing about deep learning...... More

Print this item

  How to background another process in Python?
Posted by: Kalet - Oct-20-2019, 05:15 PM - Forum: General Coding Help - Replies (2)

The thing is, I'm trying to get a process inside my script and have me call it whenever I want. For example, I'm filling in some data and I enter the ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  print does not open conso... 4 hours ago Tycho_2025 Axel_Erfurt General Codin...
  Weird failure in Selenium 11 hours ago glestwid Larz60+ General Codin...
  Fred Economic Data API Yesterday, 15:05 warrior42 Trickety Web Scraping ...
  create ocr to detect lice... Yesterday, 13:58 bimosora noisefloor General Codin...
  Parse Markdown / get the ... Yesterday, 13:56 SpongeB0B noisefloor General Codin...
  Error: cannot mix str wit... 10-01, 03:05 ngregistrations Joliekeva General Codin...
  Integer Factorization Too... 09-30, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... 09-30, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 09-29, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... 09-29, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
Most views
  The best Prog... 577490
  Tutorial Requ... 501409
  Web Scraping ... 441110
  Newbie with P... 385164
  New Users Int... 369948
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+ 12093
buran 8178
snippsat 7371
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
lauren557 Today
maribita Today
AnalystRobert Today
Safariscampoea Today
DataAnalytics021 Today

User Panel Messages

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