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: virvainfotech
» Forum threads: 38,798
» Forum posts: 175,907

Full Statistics

Online Users
There are currently 58 online users.
» 1 Member(s) | 53 Guest(s)
Bing, AOL, Google, AOL, snippsat

Latest Threads
Python Online Compiler
Forum: News and Discussions
Last Post: ichsanputr
2 hours ago
» Replies: 3
» Views: 11,083
No new line from print in...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 06:10 PM
» Replies: 4
» Views: 169
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 10:44 AM
» Replies: 4
» Views: 174
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 04:44 AM
» Replies: 8
» Views: 695
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Nov-27-2025, 04:48 AM
» Replies: 6
» Views: 7,816
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 164
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 142
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 229
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Nov-26-2025, 04:40 AM
» Replies: 6
» Views: 3,223
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 336

 
  Date format conversion "/Date(158889600000)/"
Posted by: lbitten - Nov-29-2018, 12:22 PM - Forum: General Coding Help - Replies (2)

From a JSON file, I'm getting this type of date "/Date(158889600000)/" and I would like to convert this string to a date type.
Does anyone kno..... More

Print this item

  help with assignment 2
Posted by: Mof44 - Nov-29-2018, 11:14 AM - Forum: Homework - Replies (4)

Hi,

I have to write a program:
1. User enters the upper and lower range.
2. The code generates a random number, divisible by x and y.
I have to..... More

Print this item

  Is it possible to recombine values in python?
Posted by: synthex - Nov-29-2018, 10:42 AM - Forum: Data Science - Replies (6)

If i post in wrong branch, please let me know.
I was advised to submit this question on python forum, when i asked it in SQL MSDN forum
https://soci..... More

Print this item

  Cross word puzzle solve using python constraint library
Posted by: aliyark145 - Nov-29-2018, 09:33 AM - Forum: Homework - Replies (1)

[Image: open?id=1GAH82jPFC-OSY-HPY9VZixf7Tjn_YPe3]
[python]
# -*- coding: utf-8 -*-
"""
Spyder Editor
This is a tempor..... More

Print this item

  Prediction Herobots - The 1st Biannual International AI Challenge For Students
Posted by: predictionherobots - Nov-29-2018, 06:24 AM - Forum: News and Discussions - No Replies

CosmicBC is holding a biannual international AI challenge to develop blockchain-based AI algorithms for classification, regression and prediction of c..... More

Print this item

  about List question
Posted by: longmail - Nov-29-2018, 04:58 AM - Forum: General Coding Help - Replies (2)

The last line I expected is [[1], [0], [0], [0]],
But as below the result is [[1], [0], [1], [0]],
Is This OK?
[python]
>>> a=[0,0]
>>> a
[0, ..... More

Print this item

  defining a function to see if a list is sorted
Posted by: Siylo - Nov-29-2018, 02:06 AM - Forum: Homework - Replies (14)

I am trying to define a function called isSorted that should take a list as an argument an return True if it is sorted and False if it is not sorted. ..... More

Print this item

  a class to memory map a disk
Posted by: Skaperen - Nov-29-2018, 02:05 AM - Forum: News and Discussions - Replies (4)

i have fuzzy memory of a class that would let me expose each sector of a disk. what i want to do is write a program to update selected bytes of a dri..... More

Print this item

  shutils.get_terminal_size()
Posted by: Skaperen - Nov-28-2018, 10:01 PM - Forum: News and Discussions - Replies (11)

a while back someone suggested using shutil.get_terminal_size() instead of doing syscalls to get the terminal size info. my objection at the time was..... More

Print this item

  Program: Foot Bones Quiz
Posted by: silverdog - Nov-28-2018, 09:23 PM - Forum: Homework - Replies (2)

[quote]Program: Foot Bones Quiz
Create a function that will iterate through foot_bones looking for a match of a string argument
Call the functio..... More

Print this item

  Fatal Python error: initfsencoding: unable to load the file system codec
Posted by: gauravbhardwajee - Nov-28-2018, 08:18 PM - Forum: Data Science - Replies (12)

Good Day Everyone

I am very new to Python programming and created program to compare two csv files and produce a result in Excel. The program worke..... More

Print this item

  tar module - how usable is it?
Posted by: Skaperen - Nov-28-2018, 07:46 PM - Forum: News and Discussions - Replies (4)

i am wondering how usable the tar module is. i have a use case where i need to archive files in sorted order. i already have a generator that iterate..... More

Print this item

  Python csv loading help
Posted by: mulltr66 - Nov-28-2018, 07:42 PM - Forum: Homework - Replies (1)

Hello,

I'm just starting out learning python and wanted to see if someone could help me out with loading my csv data.

I have the following infor..... More

Print this item

  Python version compatability
Posted by: saisankalpj - Nov-28-2018, 06:45 PM - Forum: General Coding Help - Replies (5)

Can we make a python code compatable with python version 2.7 and 3.3.right now my code is in 3.3

Print this item

  Display image in tkinter
Posted by: dan789 - Nov-28-2018, 06:15 PM - Forum: GUI - Replies (9)

Hi all, I have a problem with displaying my image in tkinter. I´m creating a class, which creates a canvas and put an image from my file there. This i..... More

Print this item

  Editing excel documents
Posted by: chizz1996 - Nov-28-2018, 03:09 PM - Forum: Homework - Replies (1)

Hi all (if the following thread doesn't comply with the rules let me know and I am happy to change it),

I'm currently tasked with analysing some scho..... More

Print this item

  Working with rain time series
Posted by: dmildem - Nov-28-2018, 02:29 PM - Forum: General Coding Help - Replies (3)

I have rain data with 15 minutes interval, like this:

[yyyy mm dd hh mm rain_value]
2017 1 1 0 0 0.2
2017 1 1 0 15 0.4
2017 1 1 0 30 2.1
2017 ..... More

Print this item

  PyQT5 - connect to mouseMoveEvent
Posted by: kainev - Nov-28-2018, 02:14 PM - Forum: GUI - No Replies

Hi,

I have class which inherits from QGraphicsRectItem which is being displayed in a graphics scene/view. It's just a rectangle that can be moved b..... More

Print this item

  installing PythonOCC and ifcOpenShell
Posted by: IrinaZab - Nov-28-2018, 01:11 PM - Forum: General Coding Help - Replies (1)

hello,
I need to download PythonOCC and ifcOpenShell. It demands lots of pre requirements programmm, that I downloaded from the internet but have no..... More

Print this item

  pygame.surface
Posted by: Graham - Nov-28-2018, 12:52 PM - Forum: Game Development - Replies (10)

The idea is that stars fall from top of screen to bottom.
I have this
[python]starPosX = [50,100,200,300,400]
starPosY = [-10,-20,-40,-500]
imagel..... More

Print this item

  Problems using Wxpython
Posted by: Carles - Nov-28-2018, 12:16 PM - Forum: GUI - Replies (1)

Hi,
I'm using an old aplication that's was build use Python 2.7.9, and wxpython 2.8.12.1.

Then, my problem is in Windows 10 Pro Wall , when e..... More

Print this item

  Travis issue
Posted by: saisankalpj - Nov-28-2018, 10:29 AM - Forum: General Coding Help - Replies (1)

while running Travis CI,for MAC I am getting Error like -
Unable to download 2.7 archive. The archive may not exist. Please consider a different vers..... More

Print this item

  Save and Close and Excel sheet with pre defined name
Posted by: Vinci141 - Nov-28-2018, 04:38 AM - Forum: General Coding Help - Replies (1)

Hello,

I have an automation in progress with following steps and their current status.

Read outlook email (specific to my requirement)<Done>
Do..... More

Print this item

  Saving Values Changed in a database
Posted by: themick789 - Nov-28-2018, 03:56 AM - Forum: General Coding Help - Replies (1)

Hey everybody, I'm fairly new to Python (and coding in general) and I have a question:

Is there a way that I can save any changes I made to a csv d..... More

Print this item

  Changing "import numpy as np" to "from numpy import"
Posted by: ClintWestwood - Nov-28-2018, 03:18 AM - Forum: Homework - Replies (4)

Hello. I'm new to this website and need to help. I'm trying to change code that loads the python library by "import numpy as np" to loading the librar..... More

Print this item

  Directory path EOF
Posted by: Graham - Nov-27-2018, 11:33 PM - Forum: General Coding Help - Replies (8)

I just want to get a list of images in a directory trying this
[python]from PIL import Image
import os, os.path

imgs = []
path = "C:\Users\me\pi..... More

Print this item

  Decimal to binary weighted number converter
Posted by: hobbyprogrammer - Nov-27-2018, 11:21 PM - Forum: Code sharing - Replies (1)

Hi, I'm Learning more about lists and loops, to be able to make my own
projects as a hobby. My code is very amaturish, I'm not a coder by
professio..... More

Print this item

  MIT Interview with Guido
Posted by: Larz60+ - Nov-27-2018, 08:39 PM - Forum: News and Discussions - Replies (3)

If interested, dated Nov 22
https://www.youtube.com/watch?v=ghwaIiE3Nd8

Print this item

  Read binary from file
Posted by: nextor - Nov-27-2018, 08:08 PM - Forum: General Coding Help - Replies (6)

I have some trouble reading binary file



[python]with open('myfile', 'rb') as fl:
b = fl.read( 1 )
for x in range( 0,4):
tu..... More

Print this item

  MemoryError
Posted by: mitmoot - Nov-27-2018, 07:49 PM - Forum: General Coding Help - Replies (5)

First of all Hello guys,

I am quit definitely a newbie in the world of python programming.

I use to do R programming but not really objec..... More

Print this item

  Python List with Total and Average
Posted by: mcnhscc39 - Nov-27-2018, 07:13 PM - Forum: Homework - Replies (3)

This is not homework. I was practicing python lists and wanted to total and average the simple list that I wrote. The code runs with no errors but i..... More

Print this item

  Module 2 Required Coding Activity
Posted by: silverdog - Nov-27-2018, 04:41 PM - Forum: Homework - Replies (3)

Hi,
My code seems running fine on jupyter notebook,
but when pasted into the Module 2 Required Code Submission gived me error ... Huh
Any hi..... More

Print this item

  SMS Client
Posted by: Hunapuh - Nov-27-2018, 04:38 PM - Forum: General Coding Help - Replies (7)

Hello there:

I am a newbie in Python but I am interesting in make a SMS Client. The questión.

- Somebody know if exists some framework or libr..... More

Print this item

  Prime numbers calculations
Posted by: frequency - Nov-27-2018, 04:21 PM - Forum: Homework - Replies (3)

with this code
[PYTHON]
primes=[2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89,97, 101, 103, 107, 109, 1..... More

Print this item

  Missing characters in PyQt5
Posted by: LittleGrim13 - Nov-27-2018, 03:07 PM - Forum: GUI - Replies (2)

When running a QT GUI it randomly drops characters.
Most common is it will just leave out full stops and commas, but sometimes it will just leave out..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Python Online Compiler 2 hours ago alexmaxwell1 ichsanputr News and Disc...
  No new line from print in... Yesterday, 18:10 Lou snippsat General Codin...
  Python is not working on ... Yesterday, 10:44 lary_p noisefloor General Codin...
  Help with Serial.write in... Yesterday, 04:44 racingsubby Larz60+ General Codin...
  Can I develop a live vide... 11-27, 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
Most views
  The best Prog... 579481
  Tutorial Requ... 512704
  Web Scraping ... 442344
  Newbie with P... 386393
  New Users Int... 381499
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 7391
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
virvainfotech Today
IFDA123 Yesterday
TimTom420 11-27
cruisesfares 11-27
SNR 11-27

User Panel Messages

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