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,623
» Latest member: spokedge
» Forum threads: 38,637
» Forum posts: 175,059

Full Statistics

Online Users
There are currently 530 online users.
» 0 Member(s) | 524 Guest(s)
Bing, Google, Baidu, Yandex, Apple

Latest Threads
PyQT5 Thread crashes afte...
Forum: GUI
Last Post: Axel_Erfurt
10 hours ago
» Replies: 2
» Views: 3,051
List[] in Python needs so...
Forum: Game Development
Last Post: miajones
Yesterday, 11:14 AM
» Replies: 2
» Views: 353
Unable to install pygame ...
Forum: Game Development
Last Post: Thatedge
Yesterday, 08:09 AM
» Replies: 2
» Views: 2,075
can't use pyrepl: bad mag...
Forum: News and Discussions
Last Post: Plyth
Yesterday, 05:53 AM
» Replies: 2
» Views: 235
Setting AST node lineno c...
Forum: General Coding Help
Last Post: voidtrance
Jun-24-2025, 02:10 PM
» Replies: 5
» Views: 480
[SOLVED] Let user search ...
Forum: GUI
Last Post: deanhystad
Jun-24-2025, 02:04 PM
» Replies: 3
» Views: 196
color names
Forum: General Coding Help
Last Post: DeaD_EyE
Jun-24-2025, 08:10 AM
» Replies: 9
» Views: 199,382
Python Install Mager Help
Forum: News and Discussions
Last Post: DeaD_EyE
Jun-24-2025, 04:43 AM
» Replies: 1
» Views: 139
tracking version during r...
Forum: News and Discussions
Last Post: DeaD_EyE
Jun-24-2025, 04:15 AM
» Replies: 3
» Views: 633
Comparing two columns wit...
Forum: General Coding Help
Last Post: Pedroski55
Jun-24-2025, 03:41 AM
» Replies: 3
» Views: 1,546

 
  Search and Sort Shapefiles
Posted by: babakkasraie - May-12-2017, 03:39 PM - Forum: General Coding Help - Replies (5)

Hello 
How can I search my shapefiles using python codes to find all shapefiles that start with for instance "landuse" and show the results in a mess..... More

Print this item

  incomplete registration
Posted by: Low_Ki_ - May-12-2017, 12:08 AM - Forum: General Coding Help - Replies (5)

I know you guys have seen me post questions on registration programs... This is, I have not completed one that I actually like. It will be the start o..... More

Print this item

  PIR Sensor to control screensaver
Posted by: toothie96 - May-11-2017, 09:29 PM - Forum: General Coding Help - Replies (5)

Hi All!

I'm fairly new to programming, and am currently trying to build a 'magic mirror' for my partners 21st birthday present. As part of this i'm..... More

Print this item

  Slicing to a file
Posted by: Liquid_Ocelot - May-11-2017, 09:05 PM - Forum: Homework - Replies (11)

Hey everyone just a quick question. I need to omit lines from a file where the number of lines is dictated by the user input then save it as a new fil..... More

Print this item

  Bubble sort on randomized integers
Posted by: bellevie - May-11-2017, 06:12 PM - Forum: General Coding Help - Replies (4)

Hi all,

Apologies in advance - I've just started to learn python and am struggling to grasp it so my question will be at a very "noobish" level.
..... More

Print this item

  How to plot a Graph
Posted by: Kamo - May-11-2017, 05:27 PM - Forum: Homework - Replies (2)

Hello, I have an equation and need to plot a graph using the Euler method, the code looks like this:

[python]h = 0.01
x = [0.0]
y = [0]
n = int(..... More

Print this item

  Getting remote addresses from database
Posted by: desudesu - May-11-2017, 05:02 PM - Forum: General Coding Help - Replies (3)

Hi, im looking to make a program that connects to 20+ remote machines and runs some commands on them and also downloads some files from them.

Becau..... More

Print this item

  the rs232 printer is not working
Posted by: gray - May-11-2017, 04:23 PM - Forum: GUI - Replies (10)

[color=#242729][size=small][font=Arial,]
[size=small]i have a rs232 thermal printer(avasys)...i put a max232cpe on the path of rs232 cable from print..... More

Print this item

  Python In Lunix
Posted by: Wizard - May-11-2017, 03:38 PM - Forum: Homework - Replies (8)

Hello World!

I am in dire need of assistance on a current assignment in my IT class. We are using Linux terminals from our schools system to write ..... More

Print this item

  How to concatenate horizontally
Posted by: SriRajesh - May-11-2017, 01:41 PM - Forum: Homework - Replies (2)

Hi,
I have below two matrices:
a=2
b=4
I want to concatenate them horizontally:

my desired  output:
2
4

Many thanks in advance,

Print this item

  How to extract the matching rows
Posted by: SriRajesh - May-11-2017, 01:10 PM - Forum: Homework - Replies (2)

Hi,

I have below matrix

column1   column2       column3

Mak         2                  3
Lak          4                  5
Nahl        7   ..... More

Print this item

  How can i convert a string to an array with elements type float 64
Posted by: zoya2385 - May-11-2017, 01:08 PM - Forum: Data Science - Replies (3)

Hello,

I have to convert the variable input to an array with dtype float64.

[color..... More

Print this item

  Names and codes
Posted by: janek30 - May-11-2017, 12:27 PM - Forum: Homework - Replies (3)

I have a dictionary to people's names and codes,like this:
[python]  Names_and_codes = {"Emily":30623,
                  'Ethan':21298,
           ..... More

Print this item

  Executing single unittest over a sequence
Posted by: volcano63 - May-11-2017, 09:55 AM - Forum: General Coding Help - Replies (1)

Hi folks,
I have the unittest that may run over some sequence, failing occasionally on some elements.

So, instead of writing
[python]
class MyTe..... More

Print this item

  Simple TCP Server
Posted by: shift838 - May-11-2017, 02:58 AM - Forum: Networking - Replies (4)

I am very new to Python scripting.

I want to create a simple TCP server that will listen on a specified port and as soon as a connection is made it..... More

Print this item

  screen size when editing python
Posted by: Skaperen - May-11-2017, 12:54 AM - Forum: News and Discussions - Replies (12)

what screen size do coders here have?  i have increased my size by moving to a smaller font to better accommodate some cloud facility output.  my 2-wi..... More

Print this item

  How to sum elements of same position in n dimensional array
Posted by: Felipe - May-11-2017, 12:09 AM - Forum: Data Science - Replies (2)

Hi, guys,

I have a numpy array of (2,100,2) dimensions, that I want to sum elements of the same position. In order to clarify my doubts, I wrote th..... More

Print this item

  Amount of letters in a inputted string?
Posted by: CyanSupreme - May-10-2017, 08:16 PM - Forum: General Coding Help - Replies (3)

I'm not sure how to make it so that if the password has less than 5 letters, it says Please select a longer password!


[python]password = input("Plea..... More

Print this item

  How to make it a website?
Posted by: CyanSupreme - May-10-2017, 07:48 PM - Forum: General Coding Help - Replies (3)

How can I make my code appear in a webpage? I once found the code yet I can't find it again.

Print this item

  Why doesn't this WORK?
Posted by: CyanSupreme - May-10-2017, 07:31 PM - Forum: General Coding Help - Replies (1)

Please help me find the problem. Once I verify the password nothing appears.

[python]print("Hello, welcome to WxW's website.")
import time
time.s..... More

Print this item

  How to Print Function Prototype ?
Posted by: harun2525 - May-10-2017, 07:16 PM - Forum: General Coding Help - Replies (7)

i want print function prototype. 

example
[python]
def foo(arg, kwarg = "py3.6", os = "Fedora"):
    pass

get_func_prototype(foo)

# output..... More

Print this item

  How to parallelize an 2D array?
Posted by: Felipe - May-10-2017, 07:03 PM - Forum: Data Science - Replies (8)

Hi guys,

I need to parallelize my code to improve it's velocity. I tried to understand how to do it reading some internet tutorials, but without succ..... More

Print this item

  Code doesn't seem to write anything
Posted by: PickyBiker - May-10-2017, 06:24 PM - Forum: General Coding Help - Replies (13)

Please help me understand why this doesn't write the count to the status.json file.

[python]import json
import os
import time
import datetime
..... More

Print this item

  Using 3rd party QT widgets in Python
Posted by: Standard_user - May-10-2017, 05:53 PM - Forum: GUI - Replies (4)

Good day,
I'm studying PyQt, so I decided to try adding some external widget to Qt Designer.  Let's say I have this gauge widget: https://github.com/..... More

Print this item

  Pearson InformIT Book sale
Posted by: Larz60+ - May-10-2017, 01:05 PM - Forum: News and Discussions - Replies (1)

Up to 45% off major titles
Promotion code: OPENSALE
URL: http://www.informit.com/promotions/
Sale Ends May 21

Included in the new edition of Dou..... More

Print this item

  make self compiled package available
Posted by: juerg - May-10-2017, 09:43 AM - Forum: General Coding Help - Replies (1)

I am using MS VS 2015 for my pyhton projects.
I am trying to make aruco functions available to my python environment. I have found an aruco library h..... More

Print this item

  dictionary comprehension
Posted by: Skaperen - May-10-2017, 07:18 AM - Forum: General Coding Help - Replies (1)

how can i make a dictionary comprehension for the dictionary being built in this code snippet?

[python]aws_regions = [
    ('us-east-1',      'use..... More

Print this item

  pygame.init help
Posted by: raichu4vuhs - May-10-2017, 07:01 AM - Forum: Game Development - Replies (2)

pygame.init() the internet tells me this is initializing a module. What does that mean?

Print this item

  Best construct? Array, class, other?
Posted by: PappaBear - May-10-2017, 06:08 AM - Forum: General Coding Help - Replies (1)

So as I recently modified my script to now take input from Vendor-A (asa) to Vendor-C (palo alto), I'm seeing that I may be better off using a CLASS...... More

Print this item

  OS Independent way to get network mask
Posted by: AussieSusan - May-10-2017, 02:55 AM - Forum: Networking - Replies (8)

I have an application that needs to send a broadcast message on the same network as my computer. Therefore I (think I) want to read the network mask f..... More

Print this item

  net neutrality
Posted by: metulburr - May-10-2017, 02:06 AM - Forum: Bar - Replies (45)

Im sure you guys have all heard about this.
https://www.theguardian.com/technology/2...rs?CMP=sha..... More

Print this item

  __getitem__ is readonly problem
Posted by: harun2525 - May-10-2017, 12:11 AM - Forum: General Coding Help - Replies (4)

my question here

how can i change readonly variable. this soo nonsense ):

my code
[python] 
example = {"book": "Guliver", "game": "Age of Empi..... More

Print this item

  Does anyone here use Learning Python by Mark Lutz 5th Edition?
Posted by: Luke_Drillbrain - May-10-2017, 12:02 AM - Forum: General Coding Help - Replies (3)

I'm considering buying Learning Python, 5th Edition by Mark Lutz (https://www.amazon.com/dp/1449355730/ref...F8&colid=1..... More

Print this item

  Yaml File escape characters in multiline string
Posted by: harun2525 - May-09-2017, 10:59 PM - Forum: General Coding Help - No Replies

[color=#242729][size=small][font=Arial,]i want use \n character in multiline string but yaml don't allow me to use \n character how can i use \n chara..... More

Print this item

  Subtract Minutes from Datetime.Time
Posted by: tkj80 - May-09-2017, 10:58 PM - Forum: General Coding Help - Replies (2)

Hi, I have a datetime.time object such as:

update_Dt.time()
Output:
datetime.time(21, 30)
How do I subtract 5 minut..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [PyQt] PyQT5 Thread crash... 10 hours ago Suresh Axel_Erfurt GUI
  List[] in Python needs so... Yesterday, 11:14 Codingdesigner12 miajones Game Developm...
  Unable to install pygame ... Yesterday, 08:09 garthE Thatedge Game Developm...
  can't use pyrepl: bad mag... Yesterday, 05:53 eliastw85 Plyth News and Disc...
  Setting AST node lineno c... 06-24, 14:10 voidtrance voidtrance General Codin...
  [WxPython] [SOLVED] Let u... 06-24, 14:04 Winfried deanhystad GUI
  color names 06-24, 08:10 jimrinaldo DeaD_EyE General Codin...
  Python Install Mager Help 06-24, 04:43 bowens1983 DeaD_EyE News and Disc...
  tracking version during r... 06-24, 04:15 Skaperen DeaD_EyE News and Disc...
  Comparing two columns wit... 06-24, 03:41 doug2019 Pedroski55 General Codin...
  Convert any Python expres... 06-23, 07:06 voidtrance DeaD_EyE General Codin...
Most views
  The best Prog... 572346
  Tutorial Requ... 484982
  Web Scraping ... 436870
  Newbie with P... 379706
  Thread remain... 351238
Most reputation
buran 581
snippsat 507
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 450
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12067
buran 8173
snippsat 7340
deanhystad 6840
metulburr 5151
Top referrers
Googlepro 24
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
spokedge Today
avilla Today
Robert_Ruben Yesterday
luxorb Yesterday
SPODGEBOB Yesterday

User Panel Messages

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