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

Full Statistics

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

Latest Threads
A coding beginner needs h...
Forum: General Coding Help
Last Post: paul18fr
3 hours ago
» Replies: 1
» Views: 148
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
7 hours ago
» Replies: 8
» Views: 305
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,500
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 894
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Sep-19-2025, 12:30 PM
» Replies: 1
» Views: 3,713
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,244
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,772
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,568
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,670
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,855

 
  how do i rewrite this code to give me 10 outputs
Posted by: BlackPimpernel - Mar-29-2018, 02:26 AM - Forum: General Coding Help - Replies (2)

[python]
# File: Futurevalue.py
# A simple program illustrating the future value of a savings account in 10 years
def main():
p = eval(input (..... More

Print this item

  Trouble with global variables
Posted by: maymac789 - Mar-29-2018, 02:18 AM - Forum: General Coding Help - Replies (1)

In the simple code below, schedule_last_update in the function check_schedule_file() is seen as a local variable and generates an error at line 15 cla..... More

Print this item

  Trusting the garbage collector
Posted by: Mekire - Mar-29-2018, 02:01 AM - Forum: News and Discussions - Replies (3)

Just ran into a case where the garbage collector is absolutely not doing what I need it to do.

Context: I'm creating a game hub from which users ca..... More

Print this item

  ValueError
Posted by: mazzz56 - Mar-28-2018, 10:05 PM - Forum: Homework - Replies (1)

Hello people,

I am running this code from github(https://github.com/ofirlevy/repcount) when I run the script I am receiving this error message. Ple..... More

Print this item

  Code dont work
Posted by: FrankWhite - Mar-28-2018, 09:42 PM - Forum: General Coding Help - Replies (11)

Hello Everyone,

im new here and have no experience in programming. I have a python 2 program which wont run:
I have installed python 2.7 and want ..... More

Print this item

  Nothing happens - its a simple multiplication table!
Posted by: tjnichols - Mar-28-2018, 09:05 PM - Forum: General Coding Help - Replies (10)

[code]def create_multiplcation_table(width, height):
output = ""
num_chars = len(str(width*height)) + 1

for a in range(1, height+1):
fo..... More

Print this item

  Two questions
Posted by: jure98 - Mar-28-2018, 08:45 PM - Forum: General Coding Help - Replies (3)

Hi guys,

I'm today start in Python so i have two questions.

1)I want to generate all possible characters.I'm do it,but i don't have idea how tha..... More

Print this item

  Windows DIB format in bytearray to image?
Posted by: dusca - Mar-28-2018, 08:02 PM - Forum: General Coding Help - Replies (2)

Hello,

I have OLE Object with bytearray (h++ps://ufile.io/5mnfn)

How to convert this info (Windows DIB) to image?

Thanks

Print this item

  Python not correctly choosing numbers for my game.
Posted by: LavaCreeperKing - Mar-28-2018, 07:58 PM - Forum: Game Development - Replies (10)

So there is this game, the name of it starts with an S, I don't know how to spell it. The game is a number game where you have so many rows and column..... More

Print this item

  UDP Listen without Bind()
Posted by: GaryFunk - Mar-28-2018, 06:55 PM - Forum: Networking - Replies (3)

I need to create a UDP listener without using bind() as other applications also listen to the port on the same device.

The following code works but..... More

Print this item

  Python newbie is asking
Posted by: Marcus_Gondwe - Mar-28-2018, 03:37 PM - Forum: General Coding Help - Replies (4)

Hie, am just a newbie to python. i downloaded pycharm as my IDE and python 3.6 installed. I have a book which I am studying but when I try to practice..... More

Print this item

  package addtion help
Posted by: PyMan - Mar-28-2018, 01:13 PM - Forum: Homework - Replies (1)

like this following example how can i do addition program.
[python]
class Mammals:
def __init__(self):
''' Constructor for this class. '''..... More

Print this item

  MPU6050 +Arduino+Python
Posted by: MeenakshiChowdhary - Mar-28-2018, 07:07 AM - Forum: Data Science - Replies (16)

I am trying to read the output of MPU6050 connected to Arduino using Python so that I could do vibration measurement of the motor. I am able to split ..... More

Print this item

  SPADE installation
Posted by: pushpendra - Mar-28-2018, 06:27 AM - Forum: General Coding Help - No Replies

I am trying to install SPADE on windows with pip install spade, but getting following error.
I also tried with easy_install spade got the same error...... More

Print this item

  one comprehension with more elements
Posted by: Skaperen - Mar-28-2018, 04:28 AM - Forum: General Coding Help - Replies (4)

i have a list of 2-tuples like [(2,4),(3,9),{4,16),(5,25)...]. i would like to serialize/flatten all the elemen..... More

Print this item

  download dataset from SH file
Posted by: Felix - Mar-28-2018, 04:08 AM - Forum: General Coding Help - Replies (1)

Hello everyone,

I am doing a homework related to CNN.(http://cs231n.github.io/assignments2017/assignment2/)

It needs to download a dataset,..... More

Print this item

  checking a postal code
Posted by: JudeGoodwin - Mar-28-2018, 03:23 AM - Forum: Homework - Replies (3)

I know this is something so simple that I'm missing but I can't figure it out. I'm in first year Python and we've been tasked with setting up a hypoth..... More

Print this item

  what is the __dict__ object?
Posted by: aaron1989041 - Mar-28-2018, 02:44 AM - Forum: General Coding Help - Replies (6)

CODE TO EXECUTE:
class Foo:
pass
class Foo1:
pass
class Foo2:
pass
print(id(Foo),id(Foo.__dict__),type(Foo.__dict__))
pr..... More

Print this item

  pathlib:file in a directory
Posted by: Skaperen - Mar-28-2018, 01:41 AM - Forum: General Coding Help - Replies (1)

i have a reference to a pathlib.Path object that is a reference to a file system object that may not exist. also, i have a reference to a pathlib.Pat..... More

Print this item

  Creating a variable that displays time
Posted by: groovydingo - Mar-28-2018, 01:04 AM - Forum: Homework - Replies (3)

Hi all,

I am doing a year 8 digital media assignment. We are allowed to get help from anywhere and are allowed to get the code as complex as we lik..... More

Print this item

  A combination of Python and MySql
Posted by: xgrzeniu - Mar-27-2018, 09:50 PM - Forum: General Coding Help - Replies (2)

Hello,,

I am not sure if I have started this topic in the right place, if not, please move it.
I have a problem with the connection between Python..... More

Print this item

  Need help GUI programming
Posted by: Styles4gh - Mar-27-2018, 07:13 PM - Forum: News and Discussions - Replies (1)

Apart from Tkinter, which python module can help me program GUI. i want an application that can function like visual studio where i drag and drop the ..... More

Print this item

  x.sum() VS sum(x) - Calling a function
Posted by: glidecode - Mar-27-2018, 04:13 PM - Forum: General Coding Help - Replies (2)

I think there's something rather fundamental I have missed regarding calling functions.

I need to fill a column in one dataframe with the sum of the ..... More

Print this item

  Tkinter widgets not fully loading
Posted by: nortski - Mar-27-2018, 03:16 PM - Forum: GUI - Replies (3)

Can someone please help me troubleshoot this problem.
I have a top level window that asks a user to scan a RFID card and asks how long to activate the..... More

Print this item

  Modulate brown noise in python
Posted by: pyxel - Mar-27-2018, 02:52 PM - Forum: General Coding Help - Replies (2)

Hi everyone,

First of all thank you for taking time to read this. I assure you that I looked at all posts I could find, and other sources, but I ca..... More

Print this item

  [split] suggestion required for new script
Posted by: anna - Mar-27-2018, 01:01 PM - Forum: General Coding Help - Replies (1)

Hi All,

suggestion required for new script

I have below OIDs

Sr.No OID Remark
1 1.3.6.1.4.1.3902.1082.500.1..... More

Print this item

  How to modify video using pixel array or shader?
Posted by: jhovarie - Mar-27-2018, 11:42 AM - Forum: Data Science - Replies (1)

Hello guys I am trying to apply some effects to my video.. what I need is to apply some effects to the realvideo file.. I dont need to display the vi..... More

Print this item

  multiples of 3, smaller than 100
Posted by: sonxy - Mar-27-2018, 09:14 AM - Forum: Homework - Replies (1)

Hello!!
I have some tasks I need to do (not real HW, it's more like tasks to help me understand python from a classmate)
1. Code a program that writ..... More

Print this item

  Using a class to create instances of Tkinter Toplevel() windows
Posted by: nortski - Mar-27-2018, 08:41 AM - Forum: GUI - Replies (2)

I'm a newbie at python and coding in general. I am messing around with Tkinter, trying to understand it. Before I go any further can someone tell me i..... More

Print this item

  where to find keywords used on cmder
Posted by: sylas - Mar-27-2018, 08:01 AM - Forum: Bar - Replies (1)

Hi all ! For example, with "ls FolderName" I see all the files of the folder. I suppose there are many other keywords cmder uses. I don't know where t..... More

Print this item

  pyinstaller problem
Posted by: TamP - Mar-27-2018, 07:54 AM - Forum: Data Science - Replies (8)

I am using python 3.5 on Windows 10
I use a simple script to capture from the WebCam
It produces an avi file called output.avi
This works well
How..... More

Print this item

  Oriented Object
Posted by: ldthan - Mar-27-2018, 06:06 AM - Forum: General Coding Help - Replies (1)

I would like to detect the Object.

Generally, Detect 1 object by python with the input image(with multiple). Then, return position and orientation ..... More

Print this item

  Genetic Algorithm
Posted by: rajeev1729 - Mar-27-2018, 05:55 AM - Forum: General Coding Help - Replies (3)

I want to implement cocomo model using Genetic Algorithm for parameter tunning of a b c and d.
formula is Effort Applied (E) = a(KLOC)b [ man-months ..... More

Print this item

  my thoughts on a vsplice command
Posted by: Skaperen - Mar-27-2018, 05:34 AM - Forum: Bar - No Replies

i'm thinking of calling this command vsplice. its duty is to splice (maybe many) files together from selected vertical alignments and ranges. ..... More

Print this item

  Importing Packages/Modules
Posted by: Upandon - Mar-27-2018, 01:23 AM - Forum: Data Science - Replies (7)

I know this is a basic question, and trust me, I have exhausted other resources and it still won't work.

I am unable to import any modules when ru..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  A coding beginner needs h... 3 hours ago Littlefish paul18fr General Codin...
  Using a For Loop to subtr... 7 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...
  Scraping a page with log ... 09-19, 12:30 iamaghost Hershien Web Scraping ...
  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
Most views
  The best Prog... 576563
  Tutorial Requ... 498545
  Web Scraping ... 440432
  Newbie with P... 384334
  New Users Int... 367536
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