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,273
» Latest member: Astrobert
» Forum threads: 38,788
» Forum posts: 175,860

Full Statistics

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

Latest Threads
link variable to exc bloc...
Forum: General Coding Help
Last Post: Astrobert
35 minutes ago
» Replies: 0
» Views: 15
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
2 hours ago
» Replies: 2
» Views: 130
best way to learn python
Forum: News and Discussions
Last Post: mamta25
5 hours ago
» Replies: 5
» Views: 3,061
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 10:27 PM
» Replies: 3
» Views: 186
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Yesterday, 11:47 AM
» Replies: 4
» Views: 173
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
Yesterday, 08:44 AM
» Replies: 2
» Views: 132
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 178
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 354
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 73
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 376

 
  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

  Tic Tac Toe using Tkinter
Posted by: dmacch24 - Mar-26-2018, 10:53 PM - Forum: GUI - No Replies

I'm trying to write a program using Tkinter that makes the computer play against you. In this code, the computer wins everytime using the minimax algo..... More

Print this item

  A little idea to remember wxPython classes
Posted by: Sebastian_Adil - Mar-26-2018, 10:23 PM - Forum: GUI - No Replies

wxPython is rich in classes and in the aim to remember some of them I tried this example, please tell me what do you think Big Grin

[attachmen..... More


Attached Files

Thumbnail(s)
   
Print this item

  TypeError: get_formatted_name() missing 1 required positional argument: 'last_name'
Posted by: tjnichols - Mar-26-2018, 08:57 PM - Forum: General Coding Help - Replies (4)

This is my code...

[python]def get_formatted_name(first_name, middle_name, last_name):
"""Return a full name, neatly formatted."""
..... More

Print this item

  True or false if running something?
Posted by: Artdigy - Mar-26-2018, 06:43 PM - Forum: General Coding Help - Replies (4)

Hi, there! I'm writing a program as a project and it is meant to assist users with simple tasks. I have my own set of commands that I have made global..... More

Print this item

  User Input to Choose from Dictionary
Posted by: anelliaf - Mar-26-2018, 06:31 PM - Forum: General Coding Help - Replies (9)

Hello,

I'm looking to post a list of databases from a dictionary, then from the user input choose which database they want to connect.

[python]..... More

Print this item

  Don't understand why this quicksort code works
Posted by: lupoalberto - Mar-26-2018, 03:42 PM - Forum: General Coding Help - Replies (6)

Hi, here there's a quicksort code in Python 3.
It works but my problem is this: i understand what the partition function makes, but i don't understand..... More

Print this item

  Rock, Paper, Scissors Help
Posted by: jyou99 - Mar-26-2018, 03:22 PM - Forum: General Coding Help - Replies (1)

I am trying to code a rock, paper, scissors game but am struggling with the final step. When I run the module, it does everything up to showing what t..... More

Print this item

  fsolve
Posted by: Mahdi1994 - Mar-26-2018, 01:42 PM - Forum: General Coding Help - No Replies

Hi, I'm going to plot each variables - x and y - over a period of time. Would you please help me?
Thank you.

[python]def f(z):
x = z[0]
..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  link variable to exc bloc... 35 minutes ago Astrobert Astrobert General Codin...
  PyQt6 QWidgets and system... 2 hours ago stevecoh1 Axel_Erfurt GUI
  best way to learn python 5 hours ago dutch mamta25 News and Disc...
  Graph Interpolate Difficu... Yesterday, 22:27 Tuurbo46 deanhystad General Codin...
  [SOLVED] Access keys and ... Yesterday, 11:47 Winfried Winfried General Codin...
  PermissionError: [Errno 1... Yesterday, 08:44 Tuurbo46 Tuurbo46 GUI
  How to make ball stay wit... 11-15, 16:07 nathanael deanhystad General Codin...
  sorting a lisr of file pa... 11-15, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  [solved] re.split issue 11-14, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... 11-14, 15:33 pbkurd Larz60+ General Codin...
Most views
  The best Prog... 579117
  Tutorial Requ... 511377
  Web Scraping ... 442078
  Newbie with P... 386143
  New Users Int... 378529
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+ 12108
buran 8196
snippsat 7389
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Astrobert Today
DataScientist071 Today
aminrony1999 Yesterday
fobby888 Yesterday
digitalboy346 Yesterday

User Panel Messages

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