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,620
» Latest member: SPODGEBOB
» Forum threads: 38,637
» Forum posts: 175,057

Full Statistics

Online Users
There are currently 349 online users.
» 1 Member(s) | 342 Guest(s)
Bing, Baidu, Google, Yandex, Applebot, SPODGEBOB

Latest Threads
List[] in Python needs so...
Forum: Game Development
Last Post: miajones
4 hours ago
» Replies: 2
» Views: 339
Unable to install pygame ...
Forum: Game Development
Last Post: Thatedge
7 hours ago
» Replies: 2
» Views: 2,065
can't use pyrepl: bad mag...
Forum: News and Discussions
Last Post: Plyth
9 hours ago
» Replies: 2
» Views: 230
Setting AST node lineno c...
Forum: General Coding Help
Last Post: voidtrance
Jun-24-2025, 02:10 PM
» Replies: 5
» Views: 465
[SOLVED] Let user search ...
Forum: GUI
Last Post: deanhystad
Jun-24-2025, 02:04 PM
» Replies: 3
» Views: 188
color names
Forum: General Coding Help
Last Post: DeaD_EyE
Jun-24-2025, 08:10 AM
» Replies: 9
» Views: 199,376
Python Install Mager Help
Forum: News and Discussions
Last Post: DeaD_EyE
Jun-24-2025, 04:43 AM
» Replies: 1
» Views: 134
tracking version during r...
Forum: News and Discussions
Last Post: DeaD_EyE
Jun-24-2025, 04:15 AM
» Replies: 3
» Views: 631
Comparing two columns wit...
Forum: General Coding Help
Last Post: Pedroski55
Jun-24-2025, 03:41 AM
» Replies: 3
» Views: 1,534
Convert any Python expres...
Forum: General Coding Help
Last Post: DeaD_EyE
Jun-23-2025, 07:06 AM
» Replies: 2
» Views: 334

 
  Total after tax
Posted by: theunknown - Apr-26-2017, 05:30 AM - Forum: Homework - Replies (5)

Hello everyone! :)

Can someone please explain to me what is wrong with my code? I need to give the total of the amount a user enters and show how m..... More

Print this item

  documentation for raw bytes
Posted by: Skaperen - Apr-26-2017, 04:55 AM - Forum: News and Discussions - Replies (4)

i have a few programs to write that i could have written in C and would have had no problems.  but i started writing them in Python3 and am running in..... More

Print this item

  Using mmap.mmap and re.finditer
Posted by: Larz60+ - Apr-26-2017, 12:31 AM - Forum: General Coding Help - Replies (3)

Does anyone have an example of using Using mmap.mmap
and re.finditer with a marker to split binary files?

Forgot to add ... on binary data

Print this item

  Hex3d: 3-dimensional hex maps with Pygame
Posted by: Mekire - Apr-25-2017, 10:46 PM - Forum: Code sharing - No Replies

Repo:
https://github.com/Mekire/hex3d

Overview:
Generates 3-dime..... More

Print this item

  while loop help
Posted by: jhall710 - Apr-25-2017, 09:36 PM - Forum: Homework - Replies (15)

Hey everyone, have all of my code correct thus far (so I think lol) but steps 6 & 7 have me very lost. My instructor never gave us any information on ..... More

Print this item

  Assistance Modifying Code
Posted by: chuco61 - Apr-25-2017, 08:49 PM - Forum: General Coding Help - Replies (2)

my question here

I have these two script working perfectly on my Raspberry pi and Arduino respectively.

I am trying to add in two features to t..... More

Print this item

  Write to CSV
Posted by: arsenal88 - Apr-25-2017, 08:10 PM - Forum: General Coding Help - Replies (5)

I have a list of values [abc123, abc123, abc123, abc123, etc..]

I want to input that list into a CSV whereby the first 3 characters of each index a..... More

Print this item

  os.environ not setting current shell variables in Windows?
Posted by: brian6667 - Apr-25-2017, 07:24 PM - Forum: General Coding Help - Replies (2)

Hi,
Having some trouble with a project. Using Python 2.7 and 3.5 (trying to keep things compatible with both for simplicity). Using 3.5 for most of m..... More

Print this item

  how to get an ip address i can use
Posted by: abrew132 - Apr-25-2017, 06:58 PM - Forum: Networking - Replies (1)

I've asked multiple questions for this piece of code, but this is a dif question
idk how to get an ip address i can use besides 0.0.0.0 that it will ..... More

Print this item

  could not fully run paramiko
Posted by: kajatonas - Apr-25-2017, 06:51 PM - Forum: General Coding Help - Replies (3)

Connection to the device is ok. But when im trying to send some commands, i get an error:

stdin, stdout, stderr = ssh.exec_command('show ip int bri..... More

Print this item

  Function question using Pandas
Posted by: smw10c - Apr-25-2017, 05:05 PM - Forum: Data Science - Replies (7)

I hope you are all having a good day. I am using Datacamp to learn Python and the instructor provided code without explaining each line. There was ver..... More

Print this item

  unexpected output
Posted by: IICatzII - Apr-25-2017, 03:34 PM - Forum: General Coding Help - Replies (1)

my question here
I'm very new to Python and I created a simple number guessing game and for some reason when i enter a number that is 100 or higher i..... More

Print this item

  Scrape Facebook page user posts text
Posted by: stockholm - Apr-25-2017, 02:13 PM - Forum: Web Scraping & Web Development - Replies (6)

Hello! 

I am new to Python and looking for a solution to scrape all user posts with replies from other users and the page (text) from a Facebook pa..... More

Print this item

  Who's been parking in My space?
Posted by: Bass - Apr-25-2017, 11:57 AM - Forum: Bar - No Replies

   

As a newbie to Python, I was a tad amused when I spotted this car this morning.

This afternoon I will be spotting... trains... ..... More

Print this item

  For loop
Posted by: Merlijn - Apr-25-2017, 09:23 AM - Forum: General Coding Help - Replies (2)

Hello,

I use python code in dynamo (visual programming) and I have a situation that can not be done (as far as I know) in Dynamo, but I think it co..... More

Print this item

  List/set
Posted by: janek30 - Apr-25-2017, 08:56 AM - Forum: Homework - Replies (7)

Hi 
I need little help.
I have five Set on  list. Like this:
[python] list = [{"a","b","c","d"},{"k","f","r","c"},{"c","a","o","r"},{"m","p","l"},{..... More

Print this item

  Adding regedit value to glob.glob
Posted by: AlterBlitz - Apr-25-2017, 08:34 AM - Forum: General Coding Help - Replies (2)

[color=#222222]How do I add a value from regedit for example, location of a file to glob.glob function?[/color..... More

Print this item

  Unicode character search
Posted by: Larz60+ - Apr-25-2017, 12:57 AM - Forum: General Coding Help - Replies (2)

I rarely have to worry about unicode, especially at the point (character) level.
I'm finding out that I really don't know how to, and can't find a wh..... More

Print this item

  Python in MAYA
Posted by: I_suck_at_python - Apr-24-2017, 10:25 PM - Forum: General Coding Help - No Replies

Right basically I've got to submit this tomorrow and I'm new to Python and have no idea what  any of it means. I've been provided with a MAYA file and..... More

Print this item

  New beginner, defining point help :(
Posted by: Armandas - Apr-24-2017, 09:17 PM - Forum: General Coding Help - Replies (3)

I'M USING PYTHON 3.2.1
================
So I have bought a book few days ago and got to it today. Its called "More Python Programming..... More

Print this item

  set font from dialog box pyside python
Posted by: Gigux - Apr-24-2017, 08:41 PM - Forum: GUI - Replies (1)

i am setting a simple text editor and one of its item is the capability of formatting the font. i am using a dialog box to chose the font and giving a..... More

Print this item

  HTTP Header request, how to improve efficiency
Posted by: andreamoro - Apr-24-2017, 06:56 PM - Forum: Web Scraping & Web Development - Replies (5)

[color=#242729][size=small][font=Arial,]Just trying to figure out how to improve the efficiency on a routine that uses Scrapy for fetching URLs.[/font..... More

Print this item

  New member with simple coding issue
Posted by: shaikh - Apr-24-2017, 05:28 PM - Forum: General Coding Help - No Replies

Hi All. 

This is my first post here and I am totally new to Python and coding in general. 

I have basically created a simple timing system for u..... More

Print this item

  PyBreakout
Posted by: TerryRitchie - Apr-24-2017, 04:41 PM - Forum: Code sharing - Replies (5)

A simple little breakout program I wrote using PyGame.

[python]####################################################################################..... More

Print this item

  Go up script/menu(a goto command)
Posted by: foxtreat - Apr-24-2017, 04:37 PM - Forum: General Coding Help - Replies (7)

i know there is not a goto or similar command in python,im trying to make a menu with submenus
a main menu that gives you games/math/managment optio..... More

Print this item

  base64 decoding issue or bug
Posted by: rbrahmaa - Apr-24-2017, 04:33 PM - Forum: General Coding Help - Replies (2)

hi,

i am encoding data and sending the same through TCP/IP and then trying to decode the same with base64.b64decode() operations, but for some reas..... More

Print this item

  python3 + gtk3 image sequence
Posted by: changos - Apr-24-2017, 04:10 PM - Forum: GUI - No Replies

Hello, I tried to show some images in a sequence, when click a button show the first image and after one second show the next image, I tried the next ..... More

Print this item

  If Then statement
Posted by: smw10c - Apr-24-2017, 03:15 PM - Forum: Data Science - Replies (18)

I hope you are all having a good day. I want to know why the following code does not work:

for X in df3['diff']:
    if X < 0:
        X=NaN

Print this item

  System Command
Posted by: sushmita13 - Apr-24-2017, 03:06 PM - Forum: General Coding Help - Replies (3)

my question here


[python]
def systemCommand(cmd):
terminalProcess = Popen(cmd, stdout=PIPE, stderr=PIPE, shell=True)
terminalOutput, stderr = ..... More

Print this item

  Adding a New Field
Posted by: swahlay13 - Apr-24-2017, 02:33 PM - Forum: Homework - Replies (1)

I am working on a project where I want to add a new field to a shapefile. This script will be added to a toolbox to be run in ArcCatalog so i will nee..... More

Print this item

  Cant multiply sequence by non-int type 'str'
Posted by: foxtreat - Apr-24-2017, 02:04 PM - Forum: General Coding Help - Replies (6)

trying to make a script that solves a simple math problem (example x(2)+4x-2=0)
however i get this error and can't find why i get it,i went from pyth..... More

Print this item

  SPI Communication
Posted by: Raudert - Apr-24-2017, 01:30 PM - Forum: General Coding Help - No Replies

I have recently purchase a Pi-SPI-2AO Digital to Analog converter for a project I am working on here. I have done quite a bit of research but I still ..... More

Print this item

  using the linkedin api
Posted by: emilevs - Apr-24-2017, 01:23 PM - Forum: General Coding Help - Replies (3)

I am using ubuntu 16.04 and I am using python3

I want to get a bunch of information from a lot of linkedin profiles, so I just want a script that u..... More

Print this item

  matplotlib : Raster Plot
Posted by: adithyakrish - Apr-24-2017, 10:46 AM - Forum: Homework - Replies (1)

Hey Everyone,

I am stuck at a point whee I need a simple python code generate a raster plot based on the values that is generated as the output of ..... More

Print this item

  AttributeError: module 'asyncio' has no attribute 'get_event_loop
Posted by: Susmitha - Apr-24-2017, 09:42 AM - Forum: General Coding Help - Replies (5)

Hi all

I am trying to use Python asyncio module.
Adding my code snippet below :

[i]import asyncio

async def speak_async():  
    print('OMG..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  List[] in Python needs so... 4 hours ago Codingdesigner12 miajones Game Developm...
  Unable to install pygame ... 7 hours ago garthE Thatedge Game Developm...
  can't use pyrepl: bad mag... 9 hours ago 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...
  Using EventSource in Pyth... 06-22, 08:45 rbadis snippsat Web Scraping ...
Most views
  The best Prog... 572344
  Tutorial Requ... 484960
  Web Scraping ... 436868
  Newbie with P... 379697
  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
metulburr 6
python 6
NonEntity 5
as1221 3
Newest members
SPODGEBOB Today
livecricket Today
miajones Today
rajdarbarkarnal Today
Jatayu_12 Yesterday

User Panel Messages

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