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,940
» Latest member: Littlefish
» Forum threads: 38,723
» Forum posts: 175,516

Full Statistics

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

Latest Threads
A coding beginner needs h...
Forum: General Coding Help
Last Post: paul18fr
6 hours ago
» Replies: 1
» Views: 230
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
10 hours ago
» Replies: 8
» Views: 384
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,583
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 957
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,307
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,845
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,628
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,728
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,915
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 1,465

 
  Need help understanding the math in the code
Posted by: wansu - Apr-06-2018, 09:13 PM - Forum: General Coding Help - Replies (3)

I am a middle school technology teacher and I am creating tutorials for the Raspberry Pi. This code lights up a 7 segment display which lights up the ..... More

Print this item

  __call__() got an unexpected keyword argument 'text'
Posted by: saba_keon - Apr-06-2018, 08:10 PM - Forum: General Coding Help - Replies (5)

IDK what my problem is, i run it and i have come to this conclusion that if i get rid of the startClick function it runs if i put it back it breaks. p..... More

Print this item

  Error building trac hacks plugin
Posted by: lapjunior - Apr-06-2018, 07:54 PM - Forum: General Coding Help - Replies (1)

I am trying to build a Trac Subtickets plugin (https://trac-hacks.org/wiki/SubticketsPlugin) to use it in my environment.

I downloaded the source a..... More

Print this item

  Importing modules
Posted by: SBachar - Apr-06-2018, 07:43 PM - Forum: General Coding Help - Replies (2)

What is the difference between:
import my_module
and
from my_module import *
Aren't they the same?

Print this item

  Comparing two files data while one got hex and other binary
Posted by: A_Embedded - Apr-06-2018, 06:26 PM - Forum: General Coding Help - Replies (3)

I am new to python. I am trying trying to use it for the problem as follows:
I have one file with 3 coloums of 32 bit data in hex representation. Seco..... More

Print this item

  loop through files
Posted by: Jrherbert - Apr-06-2018, 05:15 PM - Forum: General Coding Help - Replies (2)

Trying to loop through files in a directory, open the files that contain a certain string in the file name, and then edit those files. Here is what I..... More

Print this item

  Errors in simple text adventure game?
Posted by: ecloev - Apr-06-2018, 05:12 PM - Forum: General Coding Help - Replies (5)

Hello,
I am doing a simple text adventure game for school and so far I have the following.
On line 61 (elif choice == 2:) which in the function prom..... More

Print this item

  search and store a value from linux command output in to variable python
Posted by: prazy29 - Apr-06-2018, 12:19 PM - Forum: General Coding Help - Replies (1)

Hi I am a python bigginer, I have a scenario where I need to search and select a particular value from linux command "df -h".

dumpe2fs 1.42.13.x5 (..... More

Print this item

  Regular Expression Help
Posted by: Dazzler - Apr-06-2018, 11:26 AM - Forum: General Coding Help - Replies (7)

Hi All

I wonder if somebody can help. I'm running a script to help me order files for a 3d pdf application...basically i have a software which outp..... More

Print this item

  Read or save email in Outlook 2013
Posted by: rolan - Apr-06-2018, 09:35 AM - Forum: General Coding Help - Replies (1)

Hi there! I am new in python programming, would anyone can guide me if there is a python coding to read and save mail from MS Outlook 2013?

Print this item

  lxml
Posted by: Prince - Apr-06-2018, 09:00 AM - Forum: General Coding Help - No Replies

Hi Guys, i needed to dynamically compare two xml files xpaths, if the xpaths are the same , compare the values which is text in xml, anyone did it bef..... More

Print this item

  Factory Design Pattern
Posted by: Prince - Apr-06-2018, 08:54 AM - Forum: General Coding Help - Replies (1)

Hi Guys, i need help on understanding factory design pattern, any resources that anyone can refer me to?

Print this item

  Can I browse the net using python?
Posted by: omar - Apr-06-2018, 04:24 AM - Forum: Web Scraping & Web Development - Replies (3)

This might sound crazy...
Let's say I have a pc in USA
Can I browse from the UK using python?
Assuming we have a remote connection of some sort? ..... More

Print this item

  pip3 under Mac
Posted by: sgbotsford - Apr-06-2018, 03:54 AM - Forum: News and Discussions - Replies (1)

I'm in the process of coming up to speed on python on mac.

I downloaded the Mac installer ran it.

The app I want to turn under python tells me t..... More

Print this item

  Sequence subtraction
Posted by: Tbot - Apr-06-2018, 12:52 AM - Forum: Game Development - Replies (9)

Hello! I am making a game where you enter a path for a drone to fly in, and you must enter the movements right. In the case below, the correct way to ..... More

Print this item

  Colored text output in python 3
Posted by: groovydingo - Apr-06-2018, 12:14 AM - Forum: Homework - Replies (3)

print("Hello world!")
or
Hello wor Smile Tongue ld!

I am again turning to the community forum for help... I have been doing a project at..... More

Print this item

  install DB API failed...
Posted by: netbanker - Apr-05-2018, 10:54 PM - Forum: General Coding Help - Replies (1)

stzhao@STZHAO-LAP1 ~
$ python -m pip install MySQL-python
Collecting MySQL-python
Downloading MySQL-python-1.2.5.zip (108kB)
100% |█████████..... More

Print this item

  Programming - beginner
Posted by: dexter7d - Apr-05-2018, 08:16 PM - Forum: General Coding Help - Replies (5)

I am participating in the online course.
Its my first week with limited 1hour/day time for learning so please be understanding.
My question concerns..... More

Print this item

  Exclude words with specific endings from list
Posted by: Epileptiker - Apr-05-2018, 07:48 PM - Forum: General Coding Help - Replies (5)

Hey, is there a way to exclude words from a list that have specific endings, like every single word that ends with -s or -en? In my scri..... More

Print this item

  Pythonscript error
Posted by: HSRStudent - Apr-05-2018, 06:35 PM - Forum: General Coding Help - Replies (2)

Hello everyone

I have no idea about working with python. I actually just use it through other programms so not even direct.
So I hope!! That you ..... More

Print this item

  python list iter issue
Posted by: anna - Apr-05-2018, 06:18 PM - Forum: General Coding Help - Replies (6)

[python]from easysnmp import snmp_get, snmp_set, snmp_walk
from collections import Counter
import sys
#start = time.time()
host = '172.19.2.130'
..... More

Print this item

  1 What is Jupyter? and what's the difference between it and "pure python"?
Posted by: InigoSJ - Apr-05-2018, 06:18 PM - Forum: General Coding Help - Replies (2)

Hi there! Today I had a job interview and they ask me about my python knowledge and if i used a framework, so I told her that during my mathematics de..... More

Print this item

  Using Terminating Signal to Terminate Long Threads
Posted by: crcali - Apr-05-2018, 06:07 PM - Forum: General Coding Help - Replies (1)

Hello,
I am trying to run a thread and terminate it; this method is described ..... More

Print this item

  Looping issue, stops working
Posted by: JohnOsis - Apr-05-2018, 05:33 PM - Forum: General Coding Help - Replies (7)

The code will loop itself for around 5 minutes. That no functions will be running in the while loops and it loops 700+ it breaks and loops really fast..... More

Print this item

  How to import list from file?
Posted by: Epileptiker - Apr-05-2018, 04:47 PM - Forum: General Coding Help - Replies (3)

Hey, i've got a list inside a file like ["one", "two", "three"], which i'd like to import into my python script. I've tried it with
[i]list1 = open(..... More

Print this item

  Unable to read data from string base64 representing a .xlsx file
Posted by: max - Apr-05-2018, 03:38 PM - Forum: General Coding Help - Replies (2)

Im struggling so much. And my deadline is tomorrow T_T

I have a string base64 containing a full excel (.xlsx) report and i need to be able to read ..... More

Print this item

  Why is this code wrong?
Posted by: Lemmy - Apr-05-2018, 02:56 PM - Forum: Homework - Replies (4)

This is the quiz:

The function in this quiz, median, returns the median value of an input list. Unfortunately it only works with lists that ..... More

Print this item

  Mid/Senior Django Developer [Remote][Blockchain]
Posted by: Milo_Solutions - Apr-05-2018, 02:43 PM - Forum: Web Scraping & Web Development - Replies (1)

Milo Solutions is looking for strong Python/Django developers for blockchain related project(and longterm relationship).

We are [color=#E74C..... More

Print this item

  Newbie help with configuring IDE please
Posted by: new_learner_999 - Apr-05-2018, 01:21 PM - Forum: General Coding Help - Replies (1)

Further to the thread by mehenaveen, I'd like some help please with configuring Geany. My specific problem is this:

I'm running a Linux distro. Fol..... More

Print this item

  flask, I want to send a json from the front end and update it to the postgresql DB wi
Posted by: passion044 - Apr-05-2018, 11:35 AM - Forum: Web Scraping & Web Development - Replies (1)

//run.py
from flask import Flask, render_template, jsonify, request
from flask_cors import CORS
from src.models.models import Memeber0
from src.mo..... More

Print this item

  Am I right?
Posted by: sun30812 - Apr-05-2018, 05:38 AM - Forum: General Coding Help - Replies (3)

a = 3
b = 5
print("The product of the two numbers is %d." % a*b)

I don't know that is right.


[python]
a = 3
b = 5
print("The product of t..... More

Print this item

  Create GUI that works like Web app
Posted by: Prince_Bhatia - Apr-05-2018, 05:27 AM - Forum: General Coding Help - Replies (4)

hi,

I have created a form in tkinter which is connected to the database (postgresql). Now problem is that only i can use this application . My ques..... More

Print this item

  PyCharm
Posted by: miranda - Apr-05-2018, 04:29 AM - Forum: Homework - Replies (5)

Has anyone used PyCharm? Is PyCharm for Data scientist or for developer? Any sharing about PyCharm is appreciated.

Thank you.

Print this item

  I'm trying to make a constructor without hardcoding all of the values
Posted by: RedSkeleton007 - Apr-05-2018, 04:05 AM - Forum: General Coding Help - Replies (7)

I'm new to Python Classes. I'm trying to tell the constructor to associate a size with a price, but it's not liking it.

Here is the module code (Pu..... More

Print this item

  io.UnsupportedOperation: not readable
Posted by: RedSkeleton007 - Apr-05-2018, 12:46 AM - Forum: General Coding Help - Replies (2)

I've already imported csv, so I don't understand why it's complaining about line 20 in the following code:

[python]
#!/usr/bin/env python3
#Movie..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  A coding beginner needs h... 6 hours ago Littlefish paul18fr General Codin...
  Using a For Loop to subtr... 10 hours ago 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...
  C++ program embedding Pyt... 09-19, 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...
  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... 576597
  Tutorial Requ... 498600
  Web Scraping ... 440454
  Newbie with P... 384362
  New Users Int... 367578
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+ 12087
buran 8175
snippsat 7368
deanhystad 6893
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Littlefish Today
Noya_Yonatan Yesterday
Saipython555 Yesterday
Anunderling Yesterday
Monir Yesterday

User Panel Messages

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