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,958
» Latest member: GnomeSweetGnome
» Forum threads: 38,728
» Forum posts: 175,528

Full Statistics

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

Latest Threads
ARE YOU A VICTIM OF A CRY...
Forum: General Coding Help
Last Post: helenchris842
2 hours ago
» Replies: 0
» Views: 38
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
10 hours ago
» Replies: 2
» Views: 179
how to export a dictionar...
Forum: GUI
Last Post: Pedroski55
Today, 03:45 AM
» Replies: 3
» Views: 225
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
Today, 01:04 AM
» Replies: 0
» Views: 397
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 02:48 PM
» Replies: 10
» Views: 29,485
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Sep-23-2025, 12:00 PM
» Replies: 4
» Views: 9,453
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
Sep-23-2025, 09:08 AM
» Replies: 0
» Views: 328
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Sep-23-2025, 03:29 AM
» Replies: 2
» Views: 788
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Sep-22-2025, 08:56 PM
» Replies: 9
» Views: 1,003
403 error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 5,272

 
  [Help] Using "Class" with User Input in an online sign up form
Posted by: vanicci - Aug-23-2018, 02:03 PM - Forum: General Coding Help - Replies (8)

Hi Python Mentors,


This task is using "Class" with User Input in a sign up form online. The code is running but I would like a code review from a..... More

Print this item

  how to create desktop shortcut
Posted by: shlomi27 - Aug-23-2018, 12:45 PM - Forum: General Coding Help - Replies (3)

I am writing python script that install program under program files
and would like to create shortcut using same script to desktop.
how to make tha..... More

Print this item

  program automatization
Posted by: clarablanes - Aug-23-2018, 11:54 AM - Forum: General Coding Help - Replies (3)

Good morning.
I'm very new with python but I have been reading and trying a lot of code. My problem is the following:

I have to use a binary calle..... More

Print this item

  Python Proxy Requests
Posted by: rootVIII - Aug-23-2018, 11:43 AM - Forum: News and Discussions - Replies (2)

Here is the repo: https://github.com/rootVIII/proxy_requests

Also available vis pip

You can make various types of HTTP POST/GET using a scraped ..... More

Print this item

  how to put string in random order
Posted by: witch - Aug-23-2018, 11:21 AM - Forum: General Coding Help - Replies (2)

so I have a randomly generated string consisting of numbers and letters , it looks like 184uwkdf, how do i make it random like 1u4df8kw ? Is there a f..... More

Print this item

  Redirect to file
Posted by: vndywarhol - Aug-23-2018, 10:40 AM - Forum: General Coding Help - Replies (1)

I would like to redirect all the function outputs and errors to a separate file using the context manager. I wrote the code for a function that execut..... More

Print this item

  convert v2 code to v3
Posted by: pandeyrajeev80 - Aug-23-2018, 10:25 AM - Forum: General Coding Help - Replies (2)

Hi all, please help am new to python 3 and attached is py2 code and getting bellow error. please help to solve.

Error .......
[error]"a bytes-lik..... More

Print this item

  Help with Tempfile Required
Posted by: KirkmanJ - Aug-23-2018, 09:08 AM - Forum: General Coding Help - Replies (2)

I plan to use tempfile to read a pdf file and store it. Then open the file in a DIFFERENT function and upload it to a flask table as a BLOB.

I cur..... More

Print this item

  Big chunck of memory using pandas loc
Posted by: mr_byte31 - Aug-23-2018, 08:56 AM - Forum: Data Science - No Replies

Hi All,

I created a script to save information from internet into pandas dataframe and later I save it in CSV file.

First I create an empty pd u..... More

Print this item

  Scrap Yahoo Finance using BS4
Posted by: mr_byte31 - Aug-23-2018, 08:53 AM - Forum: Web Scraping & Web Development - Replies (7)

Hi All,

I am trying to scrap some information from yahoo finance.
I could collect what I want but I have an issue to scrap the price !
I attached..... More


Attached Files

Thumbnail(s)
   
Print this item

  call an instance of a class in the interactive
Posted by: nzcan - Aug-23-2018, 05:54 AM - Forum: Homework - Replies (3)

hello,
I have created a class 'User':
[python]class User:
def __init__(self, name, gender, age):
self.name = name
s..... More

Print this item

  python limitations?
Posted by: TheNumericDolfin - Aug-23-2018, 02:29 AM - Forum: GUI - Replies (7)

I am just starting to learn to program, but I found that if I draw an image on my screen, pygame only runs at 7 fps. I am told that this is normal, an..... More

Print this item

  detecting mouse not working
Posted by: TheNumericDolfin - Aug-23-2018, 12:45 AM - Forum: General Coding Help - Replies (6)

[python]
import pygame
from pygame.locals import *
import os

pygame.init()

def keyhandler(screenxsize, screenysize, mouseclicked):
keycombo = Fa..... More

Print this item

  True == not False
Posted by: Skaperen - Aug-23-2018, 12:33 AM - Forum: General Coding Help - Replies (6)

i read that True == not False is a syntax error ... but why?

Print this item

  Understanding Python version releases
Posted by: venami - Aug-22-2018, 11:47 PM - Forum: News and Discussions - Replies (3)

Hi,

As I am new to using python, I have a basic question about python version releases.
I could see python version 3.4.9 got released after 3.7.0,..... More

Print this item

  Web scraping: os.path.basename
Posted by: Truman - Aug-22-2018, 11:39 PM - Forum: Web Scraping & Web Development - Replies (4)

I'm looking at tutorial Web-scraping part-2 and have a question regarding this code:

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

Print this item

  Is there a way to detect the text font, size and color from an image in python?
Posted by: Maia07 - Aug-22-2018, 10:36 PM - Forum: General Coding Help - Replies (2)

I've done a lot of research and i cannot find a way to detect the the text font, size and color from an image in python.

Here is an example of an i..... More

Print this item

  Python seems to be randomly blowing up
Posted by: parmort - Aug-22-2018, 09:15 PM - Forum: General Coding Help - Replies (6)

I've been getting this weird error that seems to be unfounded:
[python]
# class.py
class Name(Parent):
def __init__(self, dictionary):
..... More

Print this item

  Selenium sends enter instead of space
Posted by: shinaco - Aug-22-2018, 08:24 PM - Forum: Web Scraping & Web Development - Replies (1)

Hello, I am trying to send a simple query to google using selenium, but instead of typing spaces it presses the enter key. I even tried making it type..... More

Print this item

  Valve forks WINE for a focus on gaming
Posted by: nilamo - Aug-22-2018, 05:43 PM - Forum: News and Discussions - Replies (1)

https://github.com/ValveSoftware/Proton
https://steamcommunity.com/games/221410/...5739350561

With more graphics libs, ..... More

Print this item

  unexpected output for global variable
Posted by: bhdebasish - Aug-22-2018, 04:47 PM - Forum: General Coding Help - Replies (1)

Hello,
I am a beginner in python.
I am trying to use a global variable in local namespace i.e. within a function.The program is following:

[pytho..... More

Print this item

  GUI, Games and Java
Posted by: haazimoto - Aug-22-2018, 04:21 PM - Forum: News and Discussions - Replies (2)

Please forgive what must be a very recurring question.
I have been trying to decide between specific GUI solutions to fully vest myself in for both w..... More

Print this item

  Word based Game of 21
Posted by: DatNerdKid - Aug-22-2018, 04:03 PM - Forum: Homework - Replies (2)

Hi, I'm new to this forum and to python. I'm studying software development and I created a word based game of 21 with adjusted rules and a point syste..... More

Print this item

  SyntaxError: invalid syntax at run .py
Posted by: tuxo9999 - Aug-22-2018, 02:32 PM - Forum: Homework - Replies (10)

Hello,

when i run this program it is giving me problems.

the sales.py right now it is only print ("sales"), but later on i am planning in chang..... More

Print this item

  NameError: Global Name is not defined
Posted by: MartinBerlin - Aug-22-2018, 02:29 PM - Forum: General Coding Help - Replies (3)

I compiled the following first steps of a quiz:

[python]easy_text = '''The Simpsons is an animated sitcom created by ___1___ .
The father of the f..... More

Print this item

  .pyplot has not attribute zlim
Posted by: SchroedingersLion - Aug-22-2018, 12:56 PM - Forum: General Coding Help - Replies (5)

Hey guys,

can someone explain to me this error?

"AttributeError: module 'matplotlib.pyplot' has no attribute 'zlim'"

I try to read in coordinates f..... More

Print this item

  convert py to exe python 3.7
Posted by: tasakos - Aug-22-2018, 12:38 PM - Forum: General Coding Help - Replies (2)

Hello, i want to make my project's executable's.I try pyinstaller but doesn't wirk with python 3.7 please help me

Print this item

  Preferences Window in headless mode
Posted by: Stumpy_L - Aug-22-2018, 11:56 AM - Forum: General Coding Help - Replies (2)

When in the headless mode and using the GUI interface, I click on "Preferences/Raspberry Pi Configuration" the configuration window does not open. The..... More

Print this item

  Code runs as pure python but not jupyter notebook
Posted by: miner_tom - Aug-22-2018, 04:32 AM - Forum: General Coding Help - Replies (3)

[size=small]Hello to the forum. As you can tell from the title, I am just learning python, and its use as a jupyter notbook.

I have this cell with ..... More

Print this item

  Inventory Low Level ReOrder Alert
Posted by: DuaneJack - Aug-22-2018, 02:04 AM - Forum: Bar - Replies (2)

Hello All,

I have been looking for months, mostly on YT, and I have not been able to find any code that will alert the user when an item in invent..... More

Print this item

  Botnet/Malware Webcrawler?
Posted by: Kernelex - Aug-22-2018, 01:18 AM - Forum: Networking - Replies (1)

Hey guys,

I am wondering where to start. I want to build a web crawler using python that can web crawl for malware C2 servers/Admin Panels. An exam..... More

Print this item

  Populating Array2 from Array1
Posted by: PappaBear - Aug-22-2018, 12:20 AM - Forum: General Coding Help - Replies (1)

High level -- working on converting vendor-A network switch config to Vendor-B syntax

I am reading a config file, of which I have the current line;..... More

Print this item

  Fatal Python error: init_sys_streams: can't initialize sys standard streams Attribute
Posted by: FatalPythonError - Aug-21-2018, 11:56 PM - Forum: General Coding Help - Replies (24)

Python 3 installation was working fine until yesterday. Then this happened today. Output from command prompt (Windows 10) when I type Python:

[pyth..... More

Print this item

  GUI Progress Bar
Posted by: Anysja - Aug-21-2018, 10:54 PM - Forum: GUI - Replies (6)

My program is trying to save an image which takes a little while. I am trying to create a progress bar that will let the user know when the image is s..... More

Print this item

  18 books 1 game MIT for $15 on Humble Bundle
Posted by: Larz60+ - Aug-21-2018, 10:52 PM - Forum: Bar - Replies (3)

18 great books and star trek online game

All for $15.00

offer from MIT newsletter

https://www.humblebundle.com/books/essen...wledge-boo..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  ARE YOU A VICTIM OF A CRY... 2 hours ago helenchris842 helenchris842 General Codin...
  extracting data from a us... 10 hours ago Perry DeaD_EyE General Codin...
  [Tkinter] how to export a... Today, 03:45 RonR Pedroski55 GUI
  Is the interpreter that c... Today, 01:04 helendamdam helendamdam General Codin...
  pip install requests does... Yesterday, 14:48 misodca DeaD_EyE General Codin...
  Creating a Mindmap progra... 09-23, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... 09-23, 09:08 compuman145 compuman145 General Codin...
  A coding beginner needs h... 09-23, 03:29 Littlefish Littlefish General Codin...
  Using a For Loop to subtr... 09-22, 20:56 Anunderling deanhystad General Codin...
  403 error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
Most views
  The best Prog... 576888
  Tutorial Requ... 499480
  Web Scraping ... 440664
  Newbie with P... 384636
  New Users Int... 368621
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+ 12088
buran 8176
snippsat 7367
deanhystad 6895
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
GnomeSweetGnome Today
helenchris842 Today
alxpetrovo2272 Today
Jamirul Today
Perry Today

User Panel Messages

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