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,937
» Latest member: AdrianCocian
» Forum threads: 38,722
» Forum posts: 175,510

Full Statistics

Online Users
There are currently 70 online users.
» 0 Member(s) | 62 Guest(s)
Facebook Dev, Bing, AOL, Google, AOL

Latest Threads
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Yesterday, 07:55 PM
» Replies: 2
» Views: 399
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
Yesterday, 06:57 PM
» Replies: 10
» Views: 3,874
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Yesterday, 12:30 PM
» Replies: 1
» Views: 3,416
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Yesterday, 11:11 AM
» Replies: 4
» Views: 763
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,239
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,106
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,333
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,319
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,447
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 1,008

 
  Picking out integers from a non-list variable
Posted by: AnOrdinaryFolk - Dec-22-2017, 04:18 PM - Forum: General Coding Help - Replies (2)

Imagine there are two variables:

source=123456
selected=[]


Is there a way to append the first integer from the variable 'source' into th..... More

Print this item

  Memory error while recursively adding np.arrays
Posted by: Afterdarkreader - Dec-22-2017, 04:02 PM - Forum: Data Science - No Replies

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  socket.timeout: timed out
Posted by: DanielGraham - Dec-22-2017, 02:12 PM - Forum: General Coding Help - Replies (2)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  Word search in grid
Posted by: Skelbo - Dec-22-2017, 01:00 PM - Forum: Homework - Replies (9)

Supposed to ask the user to input the file name, then read and append each line from the file to a list and display the grid. Then find some words in ..... More

Print this item

  Error while scraping links with beautiful soup
Posted by: mgtheboss - Dec-22-2017, 10:42 AM - Forum: Web Scraping & Web Development - Replies (4)

I am getting error while scraping links with beautiful soup. Here is the program.

[python]fr..... More

Print this item

  Want to see sample graphic output for python
Posted by: omar - Dec-22-2017, 10:32 AM - Forum: GUI - Replies (3)

I wanted to see how good the graphical output of python was

Just seeing random pics of well developed apps or programs 

I searched Google for py..... More

Print this item

  [Python Class] save method output to global file/list
Posted by: Vijay - Dec-22-2017, 09:42 AM - Forum: General Coding Help - Replies (3)

Hi All,

--------------
class Xyz(object):


Hi All,

I want to save mutliple method output to a global file so that I can use it in another m..... More

Print this item

  Dictionary Comprehension - ValueError: too many values to unpack (expected 2)
Posted by: samRddhi - Dec-22-2017, 08:45 AM - Forum: General Coding Help - Replies (2)

Hi,

Trying to understand dictionary comprehension.
[python]
dGro = {"Cabbage": 2, "Carrot":3, "Peas":5, "LadyFinger":1}
print (dGro)
dGroD = {v..... More

Print this item

  How to run multiple threads properly
Posted by: cyberion1985 - Dec-22-2017, 07:00 AM - Forum: General Coding Help - Replies (6)

I am trying to run a piece of code that converts csv files to xlsx, adds headers and auto-fits columns. Each "block" checks the file name and then doe..... More

Print this item

  A. very basic micro web framework.
Posted by: RickyWilson - Dec-22-2017, 06:30 AM - Forum: Web Scraping & Web Development - Replies (2)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  Getting Attribute Error In My Code
Posted by: Gabrbot180 - Dec-22-2017, 04:52 AM - Forum: General Coding Help - Replies (1)

this is my output before it breaks

tired from a long day of work
Margot



This is my error

[error]Traceback (most recent call last):
File..... More

Print this item

  Python Editor (PyQt5)
Posted by: Axel_Erfurt - Dec-22-2017, 04:10 AM - Forum: Code sharing - Replies (5)

I've created this editor with PyQt5.

(maybe someone can help to get the subprocess output in real time.)

[img=750x563]https://media-cdn.ubuntu-d..... More

Print this item

  PyGlet Trouble Drawing Cube.
Posted by: Windspar - Dec-21-2017, 10:37 PM - Forum: Game Development - Replies (3)

I missing something. Just can't get that cube to draw.
Using numpy and modern Opengl. My graphic card support upto 4.6.
[python]import pyglet
from..... More

Print this item

  Use of .format()
Posted by: Truman - Dec-21-2017, 10:30 PM - Forum: General Coding Help - Replies (2)

I have some questions regarding this code from tutorial:

[python]
table = {'Sjoerd': 4127, 'Jack': 4098, 'Dcab': 8637678}
for name, phone in tabl..... More

Print this item

  Pigz inside python - Reading compressed .gz file much faster
Posted by: jsmith7279 - Dec-21-2017, 07:21 PM - Forum: General Coding Help - Replies (6)

Hello Pythoners-

I am a linux admin. And one of our users were wondering on how to make the below script faster using pigz or any other multi-threa..... More

Print this item

  use win32wnet to connect shared networks
Posted by: JoanAzpeitia - Dec-21-2017, 06:24 PM - Forum: General Coding Help - No Replies

Hi guys,

Using windows, I am trying to use win32wnet module to connect a shared network through a .py file. However, I am not being able to make it..... More

Print this item

  Unit 18 Procedural Programming Python
Posted by: kanwal121 - Dec-21-2017, 05:53 PM - Forum: Homework - Replies (4)

[python]
import random #this is to import the random number for calculations
initialBalance = 10000 #this is the initial balance £1000
who..... More

Print this item

  Good way to have a worker queue accessible by multiple process?
Posted by: cheater - Dec-21-2017, 05:44 PM - Forum: General Coding Help - Replies (2)

I have a couple scripts scraping data from multiple websites. The next step is processing the data. I want to setup a worker that receives data and pr..... More

Print this item

  Large Data-set Edit | Ideal language?
Posted by: Mothra - Dec-21-2017, 05:34 PM - Forum: General Coding Help - Replies (4)

Hello!
I am primarily a JS & DOS programmer so this issue is giving me some trouble in regards to how to approach it! I would love to know how best t..... More

Print this item

  What would be a way to check if a variable or class existed in an if?
Posted by: Klar - Dec-21-2017, 05:12 PM - Forum: General Coding Help - Replies (8)

Something like:

if !x:
    print("Hey!")
or
class x:
    name = 'x'

if !name:
   print("Hi!")
for an alternative f..... More

Print this item

  How to transmit a dict with dbus and QtDBus
Posted by: Alfalfa - Dec-21-2017, 04:43 PM - Forum: General Coding Help - Replies (1)

I came up with that code to send a string with dbus to QtDBus:

client.py
[python]#!/usr/bin/python3
import dbus
try:
    bus = dbus.SessionBus..... More

Print this item

  How to use BeautifulSoup to parse google search results
Posted by: DevinGP - Dec-21-2017, 04:25 PM - Forum: Web Scraping & Web Development - Replies (16)

I am trying to parse the first page of google search results. Specifically, the Title and the small Summary that is provided. Here is what I have so f..... More

Print this item

  While loop question
Posted by: DPaul - Dec-21-2017, 03:41 PM - Forum: General Coding Help - Replies (9)

Hi,

I have developed a small standalone device using Pi 3 and Python.
Basically it's 5 buttons that activate a countdown timer for 5 different tim..... More

Print this item

  Key Word Scrapper with Python and Selenium
Posted by: MIPython - Dec-21-2017, 03:35 PM - Forum: Web Scraping & Web Development - No Replies

Hey, every one. I've been writing these tutorials, mainly for my self to retain knowledge. I thought they might help some one else out. Please advi..... More

Print this item

  Add column to csv file based on values in existing column
Posted by: Irah - Dec-21-2017, 03:21 PM - Forum: General Coding Help - Replies (3)

I am new to python and I have a csv file of the following type

id, header1, header2
1, 80-80-20, a
2, 30,b
3,,c
4,60-20,d
..... More

Print this item

  Installing Python 3.6.4 & using IDLE
Posted by: freddie0245 - Dec-21-2017, 03:14 PM - Forum: News and Discussions - Replies (5)

I am on MAC Pro running MAC OS Siera 10.12.6 and have installed Python 3.6.4 however when i run idle I get this message

WARNING: The version of Tcl..... More

Print this item

  google description
Posted by: metulburr - Dec-21-2017, 02:51 PM - Forum: Board - Replies (5)

This is what it looks like without a description. It just randomly grabs text from index....in which case here is just gibberish.
   
..... More


Attached Files

Thumbnail(s)
       
Print this item

  Login in a Webpage using a python program
Posted by: sumandas89 - Dec-21-2017, 01:19 PM - Forum: Web Scraping & Web Development - Replies (2)

Can I login in a webpage using id and password and scrap data from there ?
For Example -
Let I want to enter into my facebook profile and then to a..... More

Print this item

  PyCharm SyntaxError: Invalid syntax
Posted by: KasperMikkelsen - Dec-21-2017, 12:25 PM - Forum: General Coding Help - Replies (4)

Hi,

I'm going through the tutorial of the coding app "Mimo" on my iPhone. Part of the tutorial involves trying out the PyCharm Community Edition.
..... More

Print this item

  Tkinter documentation
Posted by: Sebastian_Adil - Dec-21-2017, 11:23 AM - Forum: GUI - Replies (18)

Because the official Tkinter's documentation is not complete I have to learn Tcl/Tk language,learning a new language and translate its syntax take a g..... More

Print this item

  Getting error
Posted by: sumandas89 - Dec-21-2017, 11:13 AM - Forum: Web Scraping & Web Development - Replies (1)

After following the post named https://python-forum.io/Thread-Not-able-...-a-webpage
I used this code to pick up the data a..... More

Print this item

  USB question
Posted by: DPaul - Dec-21-2017, 10:58 AM - Forum: General Coding Help - Replies (2)

Hi,

Can python do the following ?

I have a Pi 3 with 4 USB connections.
Imagine i have 3 usb numeric keypads connected.

Can Python tell me, ..... More

Print this item

  Read url from CSV and Scrape website
Posted by: Prince_Bhatia - Dec-21-2017, 10:43 AM - Forum: Web Scraping & Web Development - Replies (3)

hi,

i have written a code to read data from CSV file and scrape data, but whenever i am running this code i receive HTTP error 400

I have url li..... More


Attached Files

.csv   BOOK.csv (Size: 1,004 bytes / Downloads: 1196)
Print this item

  Just Practicing Posting. Test Thread. “Sandbox” Thread. No Reply needed, Thanks
Posted by: Doc_AElstein - Dec-21-2017, 09:57 AM - Forum: Board - Replies (4)

Practicing Posting. Test Thread. “Sandbox” Thread
Hi,
I just started here and was wondering if you have a Test Sub Forum, or a..... More

Print this item

  Need help with phyton script
Posted by: Achitian - Dec-21-2017, 09:57 AM - Forum: Homework - Replies (4)

I need help with following assignment, I am trying to do it for a week now but couldn't as I am new in phyton. Can any body help to create phyton scri..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  what does % stand for in ... Yesterday, 19:55 arbiel arbiel General Codin...
  403 Error Yesterday, 18:57 CaptainNewb CaptainNewb Web Scraping ...
  Scraping a page with log ... Yesterday, 12:30 iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... Yesterday, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
Most views
  The best Prog... 576318
  Tutorial Requ... 498030
  Web Scraping ... 440236
  Newbie with P... 384085
  New Users Int... 366881
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+ 12089
buran 8175
snippsat 7367
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
AdrianCocian Today
humanoidAI Today
Baran12332 Yesterday
Hershien Yesterday
Diyaseating Yesterday

User Panel Messages

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