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,983
» Latest member: kyleconor797
» Forum threads: 38,733
» Forum posts: 175,567

Full Statistics

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

Latest Threads
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: SpongeB0B
3 hours ago
» Replies: 2
» Views: 98
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Today, 03:05 AM
» Replies: 4
» Views: 2,022
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Yesterday, 07:43 AM
» Replies: 2
» Views: 429
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Yesterday, 12:21 AM
» Replies: 2
» Views: 1,072
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,133
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 800
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 3,091
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,539
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 9,126
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,583

 
  forming a str one by one
Posted by: Skaperen - Jan-24-2020, 08:58 PM - Forum: General Coding Help - Replies (2)

some complicated code needs to form a str one character at a time, as it figures out each character, one at a time. these characters can be any Unico..... More

Print this item

  Importing acting weird
Posted by: IILawrenceII - Jan-24-2020, 07:43 PM - Forum: General Coding Help - Replies (3)

I'm trying to call functions from my "functions.py" module to my "mainTest.py" module.

Here is basically what I write:

from functions import fun..... More

Print this item

  my first attempt, please advise me of any thing
Posted by: danak - Jan-24-2020, 07:01 PM - Forum: Code Review - Replies (6)

My first bit of code, I've only just started to learn, I understand this is very basic but this is the best way I learn.

I'm not sure how this shou..... More

Print this item

  remove and reinstall base 1.0.4
Posted by: KipCarter - Jan-24-2020, 06:50 PM - Forum: General Coding Help - Replies (3)

I'm having issues with base 1.0.4, so I thought that I would remove it and reinstall it.

The only version of base I see is what I've found on Pypi...... More

Print this item

  Parsing JSON with backslashes
Posted by: bazcurtis - Jan-24-2020, 04:45 PM - Forum: General Coding Help - Replies (3)

I have a script where the users will need to edit some variables. I don't want them to mess the script up so decided I would make a config json file w..... More

Print this item

  python beginner HTTP Error 500
Posted by: leofcastro - Jan-24-2020, 04:37 PM - Forum: Web Scraping & Web Development - No Replies

Dear all, this is my first time sharing doubts in a forum. I would be very grateful if you could help me.

I have succeeded in scrapping the data of..... More

Print this item

  How to execute code WHILE a function runs
Posted by: t4keheart - Jan-24-2020, 03:25 PM - Forum: General Coding Help - Replies (4)

Hi everyone,
I have some code for a loading bar animation that I would like to run during execution of specific functions. I know some sort of while..... More

Print this item

  syntax error: can't assign to operator
Posted by: liam - Jan-24-2020, 02:25 PM - Forum: Homework - Replies (3)

Below is my code, the error was "syntax error: can't assign to operator" at line 6, " L**2 - (2*a**2*L) + (16*area**2)= 0 ". I need help in debugging ..... More

Print this item

  start and stop omxlayer playback
Posted by: dezmob - Jan-24-2020, 01:33 PM - Forum: General Coding Help - Replies (2)

Hi,

I'm trying to find an elegant way to start / stop the playback of a video from a cluster of raspberry pi

To playback the video in sync I use..... More

Print this item

  "for loop" not indexing correctly?
Posted by: melblanc - Jan-24-2020, 01:03 PM - Forum: General Coding Help - Replies (4)

Wall
I am using a for loop with regular expressions to scrape a file
for ordered pairs of geographic co-ordinates. All seemed to be
working u..... More

Print this item

  Python module wifi not showing all wireless networks
Posted by: marozsas - Jan-24-2020, 12:03 PM - Forum: Networking - Replies (3)

The call to wifi.Cell.all is not returning all wireless networks as regular user but is does as root user !
I don't know if it is a bug or by design...... More

Print this item

  Python Application in Taskbar
Posted by: constantin01 - Jan-24-2020, 10:24 AM - Forum: GUI - Replies (3)

I have an application that uses tkinter for GUI and pyinstaller for building.

Now it just opens in window. I would like to make it possible to clos..... More

Print this item

  need help
Posted by: deepakkr3110 - Jan-24-2020, 09:56 AM - Forum: General Coding Help - Replies (3)

Hello

i have ten line of results like

Count
0
0
0
0
0
0
0
0
0
0

this is the results of 10 lines and i want to run a loop to check if the value of m..... More

Print this item

  Ubuntu Taskbar icon shows title as "Unknown" while hover
Posted by: davidmuni - Jan-24-2020, 06:47 AM - Forum: GUI - Replies (3)

Hi all,
I am a new user in python and Qt. I did a small application using PyQt5. It is really wonderful tool. It is working awesome. I face a sm..... More

Print this item

  read_dotenv problem
Posted by: wolf8963 - Jan-24-2020, 04:21 AM - Forum: General Coding Help - Replies (4)

Hi

I am working with some sample code from ciscoAxl sdk

part of the sample code is this:

[python]
import os #for ciscoaxl sdk
from ciscoax..... More

Print this item

  does try really need to be a keyword?
Posted by: Skaperen - Jan-23-2020, 11:57 PM - Forum: Bar - Replies (14)

does try really need to be a keyword? perhaps not. maybe all that was needed was for try: to be a ke..... More

Print this item

  site packages, python 3.8
Posted by: Dixon - Jan-23-2020, 11:45 PM - Forum: General Coding Help - Replies (12)

[python]from setuptools import setup

setup(
name = 'vsearch'
version = '1.0'
description = 'The Head First PYthon Search Tools',
..... More

Print this item

  I'm getting error for use this script
Posted by: Danielab - Jan-23-2020, 11:31 PM - Forum: General Coding Help - Replies (3)

hi
I'm getting error for use this code
this code for download from viu.com
I saved in notepad and changed a.txt to a.bat but I can't use this
how ..... More

Print this item

  ValueError: could not convert string to float: '4 AVENUE'
Posted by: Kudzo - Jan-23-2020, 10:49 PM - Forum: Data Science - Replies (4)

I tried to run regression using

regr = linear_model.LinearRegression()
regr.fit(X, y)
My data contains columns with DateTime format..... More

Print this item

  How to fix statement seems to have no effect
Posted by: hernancrespo89 - Jan-23-2020, 09:22 PM - Forum: General Coding Help - No Replies

Hi, i know there are similar questions but they didn't solve my problem. I have been trying to read brightness of my webcam using OpenCV and QT. I hav..... More

Print this item

  Transfer Toplevel window entry to root window entry with TKinter
Posted by: HBH - Jan-23-2020, 09:00 PM - Forum: GUI - No Replies

With Tkinter, on a PopUp Toplevel window with an Entry and Button, when Destroy by the button, I want the TopLevel window Entry to be transferred to m..... More

Print this item

  for loop for lyrics
Posted by: irba15ab - Jan-23-2020, 08:17 PM - Forum: General Coding Help - Replies (2)

Hello everyone.

Can anyone help me with figuring out how to do the 'for loop' to automatically generate lyrics for each of the songs in a dataset ..... More

Print this item

  Issues installing xlrd
Posted by: KipCarter - Jan-23-2020, 07:52 PM - Forum: General Coding Help - Replies (2)

I've been experimenting with Pandas the last few days and needed to install xlrd to read excel files. Something is blowing up and I don't know why.
..... More

Print this item

  add database rows to dataframe
Posted by: cspower - Jan-23-2020, 06:37 PM - Forum: General Coding Help - Replies (7)

I'm trying to build a dataframe from rows I select incrementally from a database.

SQL = '''select ..... where userid = ? and roleName = ?"" I use t..... More

Print this item

  Running cli program within a wx window?
Posted by: t4keheart - Jan-23-2020, 03:46 PM - Forum: GUI - Replies (2)

Hi everyone,
is there a specific module I should be using to run the python code within a wx window? I mean, like create a gui to pop up and contain..... More

Print this item

  Pass multiple items from one parse to another using Scrapy
Posted by: nazmulfinance - Jan-23-2020, 02:19 PM - Forum: Web Scraping & Web Development - Replies (2)

Dear Members,

I want to pass both name and link_only from parse to parse_country. I know we use the meta function to transfer. Could you please tel..... More

Print this item

  Removing duplicate Image
Posted by: Evil_Patrick - Jan-23-2020, 02:19 PM - Forum: General Coding Help - Replies (8)

So I export a Telegram Channel's All Images and the result is one original image and it's thumbnail as you can see in pic

[img]https://i.postimg.cc/V..... More

Print this item

  Can Python do it?
Posted by: onuruca - Jan-23-2020, 01:34 PM - Forum: Data Science - Replies (1)

I wonder that is python good enough to social data science? for example could python analyze the data ( https://www.kaggle.com/ma7555/schengen-visa-s..... More

Print this item

  How to import data to excel
Posted by: jkessous - Jan-23-2020, 09:37 AM - Forum: General Coding Help - Replies (4)

hi Guys,

I have been working on a script that does parsing to a website (thanks to snippsat).
I am trying to import the data that is recieved to e..... More

Print this item

  Python Tutorial for Beginners in One Lesson (98 minutes)
Posted by: artur_m - Jan-23-2020, 09:15 AM - Forum: Tutorial Requests and Submissions - No Replies

Yesterday, I put a new tutorial on yt, which has been created over the last few weeks. This fast tutorial will give you a introduction into all of the..... More

Print this item

  Substring and If then Condition to create column
Posted by: Chandan - Jan-23-2020, 05:02 AM - Forum: General Coding Help - Replies (2)

Hi There,

I have a requirement to create a new column by classifying the roads as Main roads and local roads.
If Road_No starting with H or M I wa..... More

Print this item

  Python Help
Posted by: acac0606 - Jan-23-2020, 03:46 AM - Forum: Homework - Replies (2)

Hi everyone,

I need help writing a python condition. I cannot use loops (while conditions), and must stick to else/if/elif conditions for it..... More

Print this item

  Pandas issue on Raspberry Pi
Posted by: hesco40 - Jan-23-2020, 03:34 AM - Forum: Data Science - Replies (3)

I have a simple pandas import with a simple script on a raspberry pi. I can run it through the command line and through the editor. However, when I tr..... More

Print this item

  Hardware question re running Anaconda
Posted by: pberrett - Jan-23-2020, 01:51 AM - Forum: General Coding Help - Replies (6)

Hi everyone

I have written a computationally intensive program which I have optimised for speed by using Numpy. Still its a bit slow for my needs and..... More

Print this item

  Working with Lists
Posted by: TheJax - Jan-23-2020, 01:17 AM - Forum: General Coding Help - Replies (3)

Hello -

New to Python and have a question about formatting a list of numbers.

My output is coming out like this:
[(20, 40), (20, 41), (20, 42),..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Parse Markdown / get the ... 3 hours ago SpongeB0B SpongeB0B General Codin...
  Error: cannot mix str wit... Today, 03:05 ngregistrations Joliekeva General Codin...
  Integer Factorization Too... Yesterday, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... Yesterday, 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...
  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...
Most views
  The best Prog... 577449
  Tutorial Requ... 500998
  Web Scraping ... 441078
  Newbie with P... 385145
  New Users Int... 369738
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+ 12092
buran 8178
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
kyleconor797 Today
miriamwilliam Today
Davidkiplimo Today
Joliekeva Today
silversimon2 Yesterday

User Panel Messages

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