Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,304
» Latest member: IFDA123
» Forum threads: 38,798
» Forum posts: 175,905

Full Statistics

Online Users
There are currently 125 online users.
» 0 Member(s) | 123 Guest(s)
Bing, Google

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: noisefloor
1 hour ago
» Replies: 3
» Views: 64
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
1 hour ago
» Replies: 4
» Views: 132
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
7 hours ago
» Replies: 8
» Views: 654
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Yesterday, 04:48 AM
» Replies: 6
» Views: 7,808
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 134
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 117
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 202
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Nov-26-2025, 04:40 AM
» Replies: 6
» Views: 3,213
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 313
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 194

 
  Download multiple large json files at once
Posted by: halcynthis - Feb-14-2019, 08:41 AM - Forum: General Coding Help - No Replies

I'm trying to get the auction data from the world of warcraft API for all realms to be able to scan for certain items posted across all realms.

[py..... More

Print this item

  Want a list utf8 formatted but bytestrings found
Posted by: nikos - Feb-14-2019, 07:47 AM - Forum: General Coding Help - Replies (28)

[python]populate client listing into list
names.append( name )

names.append( '' )
names.sort()
names = tuple( [s.encode('utf8') for s in names] )[/py..... More

Print this item

  How I can fill class members?
Posted by: AlekseyPython - Feb-14-2019, 06:32 AM - Forum: General Coding Help - No Replies

If I set the class fields in the __init__ method, they will be set in every time when object is created, which is incorrect. At that not all classes h..... More

Print this item

  How to implement class register?
Posted by: AlekseyPython - Feb-14-2019, 06:19 AM - Forum: General Coding Help - No Replies

I write this code:
Creater.py:
[python]from Database.Tables import Career

class Creater:
REGISTRY = []

@classmethod
def register(cls..... More

Print this item

  Python Unittest
Posted by: roadrage - Feb-14-2019, 06:11 AM - Forum: Homework - No Replies

Hello,
I'm new to writing unittests for python scripts

below is a function I have written, so that scheduled start time for a Jira ticket can be a..... More

Print this item

  Calling from many different files
Posted by: davy_yg - Feb-14-2019, 04:31 AM - Forum: General Coding Help - Replies (1)

I wonder if in python you can call function from many different files without having to reference it yourself?


for example:

bet.py
[python]de..... More

Print this item

  modifying a list in an expression
Posted by: Skaperen - Feb-14-2019, 04:25 AM - Forum: General Coding Help - Replies (2)

i have some incoming data. each unit of data can be converted to a list. that list can be converted back to that data. the conversions are expressi..... More

Print this item

  invalid syntax
Posted by: davy_yg - Feb-14-2019, 04:20 AM - Forum: General Coding Help - Replies (5)

Hello,

I get this error message:


File "D:\Python\Python\bet.py", line 5
def __init__(self.total=100)
^
SyntaxErro..... More

Print this item

  Rock Paper Scissors Game, I need help.
Posted by: extraguac - Feb-14-2019, 03:47 AM - Forum: Game Development - Replies (2)

Hello,

I recently started learning python and I'm having lots of fun!
I made a very very simple, beginner game of Rock Paper Scissors, but I've h..... More

Print this item

  Help with Dictionaries and List of Lists
Posted by: artblinked - Feb-14-2019, 03:23 AM - Forum: General Coding Help - Replies (7)

Hello all!

I have been stuck for far too long on this issue and appreciate any and all help.

I have a global dictionary and I'm trying to add to..... More

Print this item

  Help with ValueError using ranint from random.
Posted by: FWendeburg - Feb-14-2019, 02:49 AM - Forum: General Coding Help - Replies (2)

Hi, I'm making a program that generates a given quantity of numbers randomly and prints them, but I don't understand why I get this error:

The cod..... More

Print this item

  remainder operator %
Posted by: noweare - Feb-14-2019, 01:02 AM - Forum: General Coding Help - Replies (3)

Hello, just joined the forum
I am going through the pdf Automating the boring stuff with Python and I am stuck on this little program.
I don't what I ..... More

Print this item

  Comparing the count of rows from the tables that are present in two different databas
Posted by: krt5 - Feb-13-2019, 10:03 PM - Forum: General Coding Help - Replies (6)

Say for example I have a database named A and B with same table name and with different set of records. I want to compare the count of the table 1 tha..... More

Print this item

  Passing basic auth data between views
Posted by: nikos - Feb-13-2019, 09:32 PM - Forum: General Coding Help - No Replies

I am trying to give files only to authenticated users. In one viewpoint i have this code:

[python] auth = request.authorization
if not auth or no..... More

Print this item

  Help Please guys
Posted by: AbuSiraj - Feb-13-2019, 09:20 PM - Forum: General Coding Help - Replies (2)

Help Please Guys Im to Programming .Problem scenario !!! to create a program for an online shop deal where if a customer buys five items they get the ..... More

Print this item

  Two dice Game of Pig help
Posted by: elliemehl - Feb-13-2019, 07:59 PM - Forum: Homework - Replies (2)

I've been working on my python assignment and have been hitting a lot of road blocks when trying to make my game of pig. I know I need an outside loop..... More

Print this item

  PySide2 with QtQuick & pyInstaller --> big executeable
Posted by: mame - Feb-13-2019, 07:38 PM - Forum: GUI - Replies (3)

Hi,

i experimented a little bit with PySide2 in combinatin with QtQuick & pyInstaller. I just build a small demo application which loads a QML file..... More

Print this item

  How to access routes using Bottle Framework
Posted by: nikos - Feb-13-2019, 06:48 PM - Forum: Web Scraping & Web Development - Replies (5)

i'am trying ti find the bottle's equivalenr for flask's

Quote:url_for( '/log', page=page[0] ), page[0] )

i try this as i actually i fin..... More

Print this item

  Displaying list of lists in template
Posted by: iFunKtion - Feb-13-2019, 05:46 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi,

I'm trying to create a list of url links in categories on a site at work, they use about 80 web based tools for content discovery and other thi..... More

Print this item

  Multiple inheritance - the right way ?
Posted by: denis_beurive - Feb-13-2019, 04:19 PM - Forum: General Coding Help - Replies (6)

Hello,

I am not sure to fully understand multiple inheritance with Python 3. I can implement what I want to implement. It works. However, I am not ..... More

Print this item

  AWS lambda script help - Listing untagged volumes
Posted by: jutler - Feb-13-2019, 02:36 PM - Forum: General Coding Help - No Replies

Below is my code and I am hoping someone can help me with the cleaning up the code and making it more effiencient. Basically, the code should iterate ..... More

Print this item

  How to in PySide/PyQt, zooming in and out UI
Posted by: Vladlen - Feb-13-2019, 02:11 PM - Forum: GUI - No Replies

I am once in a while practicing PySide in Maya and right now I want to have UI which will act differently with different zoom range. Basically, when I..... More

Print this item

  Superfluous whitespace found?
Posted by: CaptainCsaba - Feb-13-2019, 01:54 PM - Forum: General Coding Help - Replies (2)

hey! I wrote the following innocent little code:

[python]import glob, os
import PyPDF2

object = open("test" + '.pdf','rb')
reader = PyPDF2.Pdf..... More

Print this item

  Word replace with string
Posted by: dabozz - Feb-13-2019, 01:29 PM - Forum: General Coding Help - Replies (1)

Hi,

I would like to replace a word with a variable in a html file.
My code is:
[python]name = raw_input("Name: ")
s = open("helloworld.html").re..... More

Print this item

  SQL and fetchone
Posted by: Scorpio - Feb-13-2019, 12:52 PM - Forum: General Coding Help - Replies (6)

hello,

I don't understand the following error. you Ould find under my code and the file I try to enter in a database.
[python]import xml.etree.Ele..... More

Print this item

  Getting the Respective Value
Posted by: Vicolas - Feb-13-2019, 12:41 PM - Forum: GUI - Replies (4)

[python]
from tkinter import *
import Pmw

class Message:
def __init__(self):
self.root = Tk()
self.build_Message()
..... More

Print this item

  Delete directories in folder is not working after folder is updated
Posted by: asheru93 - Feb-13-2019, 11:59 AM - Forum: General Coding Help - Replies (2)

So I'm having an automated test that is deleting all the projects inside Projects folder.

[python]

folder = myPath\Projects\Project1
..... More

Print this item

  Bug that crashes the Python interpreter 3.7 on Mac OS X
Posted by: Stef - Feb-13-2019, 11:35 AM - Forum: General Coding Help - Replies (1)

I'm pretty new to Python and am currently exploring Flask. I wanted to subclass one the Field classes to create a percentage field but when I add it t..... More

Print this item

  literate programming
Posted by: DavidEpstein - Feb-13-2019, 11:05 AM - Forum: General Coding Help - Replies (3)

A Python beginner, I am writing up some python code that would be more understandable with some latex documentation (producing a PDF) with mathematica..... More

Print this item

  Module which run in PyCharm but not as exe or terminal.
Posted by: diegoctn - Feb-13-2019, 10:12 AM - Forum: General Coding Help - Replies (3)

Hello everyone,

I've built a nice moduel using pandas, pyodbc and tkinter. Everything looks fime when I trigegr the module from PyCharm. However, ..... More

Print this item

  http server whit proxy
Posted by: jrcruz - Feb-13-2019, 10:02 AM - Forum: Networking - No Replies

Im tying to implement an httpserver for handling request and i want that request passe to another url behind proxy, so far i got this code.

[python..... More

Print this item

  Iterate a tuple with dict inside
Posted by: anna - Feb-13-2019, 09:50 AM - Forum: General Coding Help - Replies (2)

My output is below, its tuple inside dict, help iterate

for interface in result["interfaces"].items():
print(interface)


..... More

Print this item

  Socket creation speed difference Python 2.7 / Python 3.7
Posted by: PiAil - Feb-13-2019, 09:49 AM - Forum: General Coding Help - Replies (1)

Hello,

I'm trying to create a socket, then connect to the same server until I can't make any connection from my PC and I face a problem : my progra..... More

Print this item

  Python, Tkinter. How to search a specific file in a folder
Posted by: Roo - Feb-13-2019, 09:29 AM - Forum: GUI - Replies (3)

Hi everybody!!
I created a program using Tkinter that allows me to fill up a form with some details and write a text file to store all the details. E..... More

Print this item

  [new] Need help in get data from AWS App
Posted by: shreehacker - Feb-13-2019, 07:35 AM - Forum: Web Scraping & Web Development - No Replies

Hello
I don't know python and programming.
I have a Application backup of my AWS that's in python (my be).
I need some data from that app
Some s..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 1 hour ago Lou noisefloor General Codin...
  Python is not working on ... 1 hour ago lary_p noisefloor General Codin...
  Help with Serial.write in... 7 hours ago racingsubby Larz60+ General Codin...
  Can I develop a live vide... Yesterday, 04:48 mtrkhan mamta25 Web Scraping ...
  silent deployment Python ... 11-26, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP 11-26, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... 11-26, 08:47 Moltar1997 perfringo General Codin...
  best way to learn python 11-26, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... 11-25, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
Most views
  The best Prog... 579441
  Tutorial Requ... 512563
  Web Scraping ... 442318
  Newbie with P... 386371
  New Users Int... 380624
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12113
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
IFDA123 Today
TimTom420 Yesterday
cruisesfares Yesterday
SNR Yesterday
Jonathan Yesterday

User Panel Messages

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