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,994
» Latest member: Williamcaurb
» Forum threads: 38,737
» Forum posts: 175,590

Full Statistics

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

Latest Threads
Another app idea - intera...
Forum: News and Discussions
Last Post: Biks
23 minutes ago
» Replies: 1
» Views: 1,807
My goal to be hired worki...
Forum: News and Discussions
Last Post: Biks
28 minutes ago
» Replies: 3
» Views: 1,108
real community
Forum: News and Discussions
Last Post: Biks
28 minutes ago
» Replies: 4
» Views: 3,060
Cannot update or install ...
Forum: General Coding Help
Last Post: Williamcaurb
54 minutes ago
» Replies: 7
» Views: 237,905
Доставка цветов в Томске
Forum: General Coding Help
Last Post: Williamcaurb
55 minutes ago
» Replies: 0
» Views: 4
print does not open conso...
Forum: General Coding Help
Last Post: Tycho_2025
2 hours ago
» Replies: 5
» Views: 150
create ocr to detect lice...
Forum: General Coding Help
Last Post: Pedroski55
5 hours ago
» Replies: 4
» Views: 133
Weird failure in Selenium
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 08:57 AM
» Replies: 1
» Views: 85
Fred Economic Data API
Forum: Web Scraping & Web Development
Last Post: Trickety
Oct-02-2025, 03:05 PM
» Replies: 3
» Views: 2,551
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: noisefloor
Oct-02-2025, 01:56 PM
» Replies: 6
» Views: 238

 
  Grab and Parse a chunkc of text
Posted by: sumncguy - Oct-07-2019, 01:08 PM - Forum: General Coding Help - Replies (4)

I mentioned a few times before that I am trying to learn/get better at python.

I am unable to load non standard modules.
I am using either pytho..... More

Print this item

  How to add data to the categorical index of dataframe as data arrives?
Posted by: AlekseyPython - Oct-07-2019, 12:54 PM - Forum: Data Science - Replies (1)

Python 3.7.3, pandas 0.25.1

I need to collect statistics within the clients, so I created a df in which for each client I group the necessary..... More

Print this item

  How to use while true/while loop on python
Posted by: christing - Oct-07-2019, 10:11 AM - Forum: General Coding Help - Replies (4)

May i ask how i can use while true / while loop to write the code.

i = "APPLE"
while True:
if i == "APPLE":
print(i)


i get Syntax Error fo..... More

Print this item

  performance
Posted by: kerzol81 - Oct-07-2019, 09:27 AM - Forum: General Coding Help - Replies (1)

Hi,

Do you know any good diagnostic tool to compare 2 implementations?

First:
[python]
def converterA(qdate, qtime):
"""
:param qdat..... More

Print this item

  list approach due nested order
Posted by: 3Pinter - Oct-07-2019, 08:44 AM - Forum: General Coding Help - Replies (6)

Horrible thread name, but let me try and explain it.

I put lists (with 2 (always) values) in a main-list and I want to cleanup the duplicates in th..... More

Print this item

  Explain - binary number
Posted by: RavCOder - Oct-07-2019, 08:32 AM - Forum: General Coding Help - Replies (2)

Hi,
I ask if there is someone could be explain this code that I found and why it was used this solution,because I didn't find nothing on Internet , o..... More

Print this item

  Add a column in a dataframe from another dataframe
Posted by: Bilsix - Oct-07-2019, 07:15 AM - Forum: General Coding Help - Replies (2)

Hi there,

I'm a newbie in Python and I need your help.
I tried to search my answer in the forum but I think I don't have the good keywords... It's..... More

Print this item

  A hangman game.
Posted by: mcmxl22 - Oct-07-2019, 06:53 AM - Forum: Code sharing - Replies (1)

A hangman type game I wrote. It's fully functional but I'm still trying to improve on it.
It does require a list of words in a .txt file. I used [url=..... More

Print this item

  Replace Items in List.
Posted by: mcmxl22 - Oct-07-2019, 04:27 AM - Forum: General Coding Help - Replies (3)

I am trying to replace items in a list based on the index. I don't understand why I'm getting the 'index out of range' error.
This is what I have:
[..... More

Print this item

  VS-Code - Maximizing Horizontal Space For Editor
Posted by: adt - Oct-07-2019, 04:09 AM - Forum: News and Discussions - Replies (8)

Even when VS-Code editor is in Zen mode, there are wide blank columns on either side of screen that are not available as part of coding area.

Has a..... More

Print this item

  How to read a text file into a list or an array
Posted by: musouka - Oct-07-2019, 02:59 AM - Forum: General Coding Help - Replies (2)

Hi,

I have 2 txt files as following:
1st - '[4,6,3,5]'
2nd - '[3,6],[6,2,7]'

I wonder if there is anyway to read it into a list or an array ..... More

Print this item

  can't assign to literal error in pycharm
Posted by: ryder5227 - Oct-07-2019, 02:16 AM - Forum: General Coding Help - Replies (2)

[python]class Flee(Action):
def __init__(self, method: object, name: object, hotkey: object, kwargs: object) -> object:
"""

:..... More

Print this item

  Sprite on mouse-button hold
Posted by: Clunk_Head - Oct-07-2019, 02:12 AM - Forum: Game Development - Replies (3)

I'm working with pygame 1.9.6
I am trying to make a program that displays a translucent sprite only when the left mouse-button is held down.
This s..... More

Print this item

  Accessing Entry with get Function
Posted by: nexgenskydiver - Oct-06-2019, 10:22 PM - Forum: GUI - Replies (1)

Hello,
New to Python. Below is my code for a multipage GUI using tkinter. I have classes set up for my Frames and more through them with Buttons...... More

Print this item

  XPATH element does not change its value
Posted by: Martinelli - Oct-06-2019, 07:02 PM - Forum: General Coding Help - No Replies

Hi, all!

I am developing a robot that get into in a Website, do the logon and make somethings on that.

I put it in a loop using the for c..... More

Print this item

  Create a dictionary from a list
Posted by: klllmmm - Oct-06-2019, 04:26 PM - Forum: General Coding Help - Replies (3)

I have some data in a dictionary but its values are in a list. I want to create a dictionary from these values.

[python]data = {'data':[{'Info':100..... More

Print this item

  Change start date of stock web page
Posted by: petrov94 - Oct-06-2019, 03:15 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi I'm new with Python and I want to know how to interact with the web Page with BeautifulSoup and change the startdate of the financial data in this ..... More

Print this item

  Class for Vector
Posted by: no_named_nobody - Oct-06-2019, 02:16 PM - Forum: Homework - Replies (4)

[font=Arial, Helvetica, sans-serif]Hello! Angel
I am new in programming in python. I got a homework to create class MyVector,
- constructor wi..... More

Print this item

  How to use pool.map effectively?
Posted by: AlekseyPython - Oct-06-2019, 11:11 AM - Forum: General Coding Help - Replies (10)

Python 3.7.3

[python]if self.multiprocessing:
quantity_process = multiprocessing.cpu_count()
else:
quantity_process = 1

pool = mult..... More

Print this item

  Input while interation in a list
Posted by: doug2019 - Oct-06-2019, 07:57 AM - Forum: General Coding Help - Replies (6)

Hi! How do I code an while iteration and input its values ​​in a list? Example:
[python]count=0
while (count<5):
print(count)
count+1..... More

Print this item

  Problem Solving
Posted by: PistAchiYo - Oct-06-2019, 03:34 AM - Forum: News and Discussions - Replies (6)

What do you think about before writing code for anything? What's your process?I need some tips :)

Print this item

  How to convert "str" to "int"
Posted by: colt - Oct-06-2019, 01:57 AM - Forum: General Coding Help - Replies (12)

Hello I am currently reading a file in binary mode.

I do the reading with [python]with open (args.rom_path, 'rb') as file:
rom_bytes = file.read..... More

Print this item

  List sort - alphanumeric?
Posted by: papsphilip - Oct-05-2019, 08:55 PM - Forum: General Coding Help - Replies (2)

Hello,
i ve just started learning python and i have bumped into a problem when reading folder names from a directory. they are not sorted the same wa..... More

Print this item

  Chick if object exists.
Posted by: Martinelli - Oct-05-2019, 07:25 PM - Forum: General Coding Help - Replies (2)

Hi, everybody!

I did a robot that run procedures on a website. But, I face 04 page configurations, as follow:

[python]
nav.find_element_by_xpat..... More

Print this item

  While loop struggle
Posted by: joshp2709 - Oct-05-2019, 06:21 PM - Forum: General Coding Help - Replies (3)

How can I have a loop continue until a user presses the enter button

Print this item

  Turtle canvas background
Posted by: joshp2709 - Oct-05-2019, 05:07 PM - Forum: General Coding Help - Replies (1)

Is there a way to set a custom image as my turtle background on python

Print this item

  Breakdown CIDR with netaddr
Posted by: wfsteadman - Oct-05-2019, 04:26 PM - Forum: General Coding Help - Replies (1)

Was wondering if anyone out here has created an IP based subnet script that will take a CIDR address and then break it down into all the subnets betwe..... More

Print this item

  Python script modification
Posted by: rajannn - Oct-05-2019, 03:38 PM - Forum: General Coding Help - Replies (1)

Greetings

I had a python script written for me that downloads data from a website called punter.au.com which is an Australian site

The script works ..... More

Print this item

  Insert scrypt inside file.py ?
Posted by: JohnnyCoffee - Oct-05-2019, 02:59 PM - Forum: Web Scraping & Web Development - Replies (11)

Do I need to insert a python script every time I run (run.py) how do I insert a python script inside run.py?

Print this item

  Function assigned at a button in tkinter
Posted by: riccardoob - Oct-05-2019, 02:45 PM - Forum: General Coding Help - Replies (9)

[python]for y in range(0, pnumplayers):#third list of hands_inputs filled with fold button
self.hands_inputs[2].append(Button(self.window, text='..... More

Print this item

  How to perform preprocessing for hyperspectral image
Posted by: vokoyo - Oct-05-2019, 02:03 PM - Forum: Data Science - No Replies

[b]




Here I would like to apply the CNN and DNN for face recognition computing and later will compare that both of them which one is better or..... More


Attached Files

.py   My Python CNN.py (Size: 8.71 KB / Downloads: 0)
Print this item

  LXML
Posted by: mustfirst - Oct-05-2019, 01:27 PM - Forum: General Coding Help - Replies (1)

I installed BeautifulSoup and LXML. I'm running python in Windows CMD.

When I run the following I get an error. Anyone know what is going on and ho..... More

Print this item

  HTML to XML
Posted by: mustfirst - Oct-05-2019, 09:07 AM - Forum: General Coding Help - Replies (1)

I'm trying to convert HTML to XML. Then load the XML into a database for data manipulation.
I researched and came to the conclusion that I can use Py..... More

Print this item

  Life counter not working
Posted by: joshp2709 - Oct-05-2019, 09:02 AM - Forum: General Coding Help - Replies (1)

So I'm trying to make hangman but the lives lost never go past 1, here's my code:


[python]import random
livesLost = 0
words=["forrest","donkey"..... More

Print this item

  try/except blocks
Posted by: newbieAuggie2019 - Oct-05-2019, 02:02 AM - Forum: General Coding Help - Replies (11)

Hi!

I'm trying (no pun intended! Big Grin ) to understand the try/except blocks. I'm using this program, that returns "Error: Invalid ar..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Another app idea - intera... 23 minutes ago decuser Biks News and Disc...
  My goal to be hired worki... 28 minutes ago GnomeSweetGnome Biks News and Disc...
  real community 28 minutes ago decuser Biks News and Disc...
  Cannot update or install ... 54 minutes ago nickystixx45 Williamcaurb General Codin...
  Доставка цветов в Томске 55 minutes ago Williamcaurb Williamcaurb General Codin...
  print does not open conso... 2 hours ago Tycho_2025 Tycho_2025 General Codin...
  create ocr to detect lice... 5 hours ago bimosora Pedroski55 General Codin...
  Weird failure in Selenium Yesterday, 08:57 glestwid Larz60+ General Codin...
  Fred Economic Data API 10-02, 15:05 warrior42 Trickety Web Scraping ...
  Parse Markdown / get the ... 10-02, 13:56 SpongeB0B noisefloor General Codin...
  Error: cannot mix str wit... 10-01, 03:05 ngregistrations Joliekeva General Codin...
Most views
  The best Prog... 577501
  Tutorial Requ... 501513
  Web Scraping ... 441113
  Newbie with P... 385164
  New Users Int... 369995
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
Williamcaurb Today
lauren557 Yesterday
maribita Yesterday
AnalystRobert Yesterday
Safariscampoea Yesterday

User Panel Messages

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